bigbluebutton-Github/bigbluebutton-tests/playwright/options/options.spec.js
2023-04-25 10:25:23 -03:00

33 lines
750 B
JavaScript

const { test } = require('@playwright/test');
const { Options } = require('./options');
test.describe.serial('Options', () => {
const options = new Options();
let context;
test.beforeAll(async ({ browser }) => {
context = await browser.newContext();
const page = await context.newPage();
await options.initModPage(page, true);
});
test('Open about modal', async () => {
await options.openedAboutModal();
});
test('Open Help Button', async () => {
await options.openHelp(context);
});
test('Locales test', async () => {
await options.localesTest();
});
test('Dark mode', async () => {
await options.darkMode();
});
test('Font size', async () => {
await options.fontSizeTest();
});
});