bigbluebutton-Github/bigbluebutton-tests/playwright/connectionStatus/connectionStatus.spec.js

23 lines
976 B
JavaScript
Raw Normal View History

2022-01-20 03:50:59 +08:00
const { test } = require('@playwright/test');
const { ConnectionStatus } = require('./connectionStatus');
test.describe.parallel('Connection Status', () => {
2022-06-08 02:52:22 +08:00
test('Open connection Status Modal @ci', async ({ browser, context, page }) => {
2022-01-20 03:50:59 +08:00
const connectionStatus = new ConnectionStatus(browser, context);
await connectionStatus.initModPage(page);
await connectionStatus.connectionStatusModal();
});
2022-06-08 02:52:22 +08:00
test('Show network data in Connection Status @ci', async ({ browser, context, page }) => {
2022-01-20 03:50:59 +08:00
const connectionStatus = new ConnectionStatus(browser, context);
await connectionStatus.initModPage(page);
await connectionStatus.usersConnectionStatus();
});
2022-06-08 02:52:22 +08:00
test('Report a User with bad connection in Connection Issues @ci', async ({ browser, context, page }) => {
2022-01-20 03:50:59 +08:00
const connectionStatus = new ConnectionStatus(browser, context);
await connectionStatus.initModPage(page);
await connectionStatus.reportUserInConnectionIssues();
});
});