bigbluebutton-Github/bigbluebutton-tests/playwright/options/options.spec.js
2023-04-24 17:52:47 -03:00

33 lines
777 B
JavaScript

const { test } = require('@playwright/test');
const { Options } = require('./options');
test.describe.serial('Options', () => {
const options = new Options();
test.beforeAll(async ({ browser }) => {
const context = await browser.newContext();
const page = await context.newPage();
await options.initModPage(page, true);
await options.handleHelpPage(context);
});
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', async () => {
await options.darkMode();
});
test('Font size', async () => {
await options.fontSizeTest();
});
});