bigbluebutton-Github/bigbluebutton-tests/playwright/reconnection/reconnection.spec.js
Anton Barboza de Sá d30b806b47
test: Fix no-flaky tests and properly set the execution mode (#19436)
* test: fix shortcuts, add flaky flag for test requiring graphql data, fix slide change for tldraw v2

* test: properly set the execution mode

* test: use isMultiUser parameter inside options obj

* test: fix banner color test

* test: increase breakout test timeouts for user joining room

* test: redo the change in the hide presentation on join test

* test: change hide presentation steps and add flaky flag on it
2024-01-19 13:42:01 -03:00

20 lines
766 B
JavaScript

const { test } = require('@playwright/test');
const { Reconnection } = require('./reconnection');
const { checkRootPermission } = require('../core/helpers');
test.describe.parallel('Reconnection', () => {
test('Chat', async ({ browser, context, page }) => {
await checkRootPermission(); // check sudo permission before starting test
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
const reconnection = new Reconnection(browser, context);
await reconnection.initModPage(page);
await reconnection.microphone();
});
});