feat: V2 ontime menu (#259)

This commit is contained in:
Carlos Valente
2022-11-20 15:31:07 +01:00
committed by GitHub
parent 2a5ba90530
commit edd983dfd6
24 changed files with 347 additions and 249 deletions
-36
View File
@@ -39,40 +39,4 @@ test.describe('pages routes are available', () => {
await page.getByTestId('panel-info').click();
});
});
test.describe('client routes', () => {
test('stage timer', async ({ page }) => {
await page.goto('http://localhost:4001/timer');
await page.getByTestId('timer-view').click();
});
test('clock', async ({ page }) => {
await page.goto('http://localhost:4001/clock');
await page.getByTestId('clock-view').click();
});
test('minimal timer', async ({ page }) => {
await page.goto('http://localhost:4001/minimal');
await page.getByTestId('minimal-timer').click();
});
test('backstage', async ({ page }) => {
await page.goto('http://localhost:4001/backstage');
await page.getByTestId('backstage-view').click();
});
test('public', async ({ page }) => {
await page.goto('http://localhost:4001/public');
await page.getByTestId('public-view').click();
});
test('pip', async ({ page }) => {
await page.goto('http://localhost:4001/pip');
await page.getByTestId('pip-view').click();
});
test('studio clock', async ({ page }) => {
await page.goto('http://localhost:4001/studio');
await page.getByTestId('studio-view').click();
});
test('lower', async ({ page }) => {
await page.goto('http://localhost:4001/lower');
const errorBoundary = await page.locator('data-test-id=error-container');
await expect(errorBoundary).toHaveCount(0);
});
});
});