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

34 lines
882 B
JavaScript

const { test } = require('../fixtures');
const { fullyParallel } = require('../playwright.config');
const { Options } = require('./options');
const { initializePages } = require('../core/helpers');
test.describe('Options', () => {
const options = new Options();
test.describe.configure({ mode: fullyParallel ? 'parallel' : 'serial' });
test[fullyParallel ? 'beforeEach' : 'beforeAll'](async ({ browser }) => {
await initializePages(options, browser);
});
test('Open about modal', async () => {
await options.openedAboutModal();
});
test('Open Help Button', async () => {
await options.openHelp();
});
test('Locales test', async () => {
await options.localesTest();
});
test('Dark mode @ci @flaky', async () => {
await options.darkMode();
});
test('Font size @ci @flaky', async () => {
await options.fontSizeTest();
});
});