cc7aff8686
* initial tldraw v2 alpha 18 with graph-ql * add @apollo/client * update whiteboard test element * update whiteboard test elements * update whiteboard test elements * load .tldr file shapes into bbb * temporarily disable infinite canvas limit in client * disabling failing tests on ci * restore poll results on whiteboard * restore hideViewerCursor functionality * disabling failing tests that needs to be updated --------- Co-authored-by: Gabriel Porfirio <gabrielporfirio1994@gmail.com>
36 lines
890 B
JavaScript
36 lines
890 B
JavaScript
const { test } = require('@playwright/test');
|
|
const { fullyParallel } = require('../playwright.config');
|
|
const { Options } = require('./options');
|
|
|
|
if (!fullyParallel) test.describe.configure({ mode: 'serial' });
|
|
|
|
test.describe('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 @ci @flaky', async () => {
|
|
await options.darkMode();
|
|
});
|
|
|
|
test('Font size @ci @flaky', async () => {
|
|
await options.fontSizeTest();
|
|
});
|
|
});
|