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

20 lines
761 B
JavaScript
Raw Normal View History

const { test } = require('../fixtures');
2023-03-22 03:46:52 +08:00
const { Reconnection } = require('./reconnection');
const { checkRootPermission } = require('../core/helpers');
2023-03-22 03:46:52 +08:00
test.describe.parallel('Reconnection', () => {
2023-03-22 03:46:52 +08:00
test('Chat', async ({ browser, context, page }) => {
await checkRootPermission(); // check sudo permission before starting test
2023-03-22 03:46:52 +08:00
const reconnection = new Reconnection(browser, context);
await reconnection.initModPage(page);
await reconnection.chat();
});
test('Audio', async ({ browser, context, page }) => {
await checkRootPermission(); // check sudo permission before starting test
2023-03-22 03:46:52 +08:00
const reconnection = new Reconnection(browser, context);
await reconnection.initModPage(page);
await reconnection.microphone();
2023-03-22 03:46:52 +08:00
});
});