mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 19:03:47 +00:00
de9a7a87fd
* refactor(project structure): UI * refactor(project structure): extract utilities * refactor(project structure): remove unused * refactor(project structure): electron * refactor(project structure): server refactor: migrate to vitest refactor: monorepo config * refactor: extract application menu * refactor: exit process * refactor: extract tray menu * chore: electron build * Added Seconds in studio clock #282 --------- Co-authored-by: Fabian Posenau <fabian@fphome.de> --------- Co-authored-by: Fabian Posenau <fabian.p99@gmx.de> Co-authored-by: Fabian Posenau <fabian@fphome.de>
15 lines
571 B
TypeScript
15 lines
571 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
test.describe('minimal view behaviour can be changed through params', () => {
|
|
test.use({ viewport: { width: 1920, height: 1080 } });
|
|
test('without overloads', async ({ page }) => {
|
|
await page.goto('http://localhost:4001/minimal');
|
|
await page.getByTestId('minimal-timer').click();
|
|
});
|
|
test('hide nav', async ({ page }) => {
|
|
await page.goto('http://localhost:4001/minimal?hidenav=true');
|
|
const navBar = await page.locator('data-test-id=nav-logo');
|
|
await expect(navBar).toHaveCount(0);
|
|
});
|
|
});
|