diff --git a/apps/client/src/viewerConfig.ts b/apps/client/src/viewerConfig.ts index 6c6ba35ff..610b282bc 100644 --- a/apps/client/src/viewerConfig.ts +++ b/apps/client/src/viewerConfig.ts @@ -1,7 +1,7 @@ export const navigatorConstants = [ { url: 'timer', label: 'Timer' }, - { url: 'clock', label: 'Clock' }, { url: 'minimal', label: 'Minimal Timer' }, + { url: 'clock', label: 'Wall Clock' }, { url: 'backstage', label: 'Backstage' }, { url: 'timeline', label: 'Timeline (beta)' }, { url: 'public', label: 'Public' }, diff --git a/e2e/tests/002-view-navigation.spec.ts b/e2e/tests/002-view-navigation.spec.ts index 7b0707d8e..3cfc7cf0c 100644 --- a/e2e/tests/002-view-navigation.spec.ts +++ b/e2e/tests/002-view-navigation.spec.ts @@ -6,18 +6,18 @@ test.describe('test view navigation feature', () => { await page.goto('http://localhost:4001/'); await page.locator('data-test-id=timer-view'); - await page.getByRole('button', { name: 'toggle menu' }).click(); - await page.locator('data-test-id=navigation__menu'); - await page.getByRole('link', { name: 'Clock', exact: true }).click(); - await page.locator('data-test-id=clock-view'); - await expect(page).toHaveURL('http://localhost:4001/clock'); - await page.getByRole('button', { name: 'toggle menu' }).click(); await page.locator('data-test-id=navigation__menu'); await page.getByRole('link', { name: 'Minimal Timer' }).click(); await page.locator('data-test-id=minimal-timer'); await expect(page).toHaveURL('http://localhost:4001/minimal'); + await page.getByRole('button', { name: 'toggle menu' }).click(); + await page.locator('data-test-id=navigation__menu'); + await page.getByRole('link', { name: 'Wall Clock', exact: true }).click(); + await page.locator('data-test-id=clock-view'); + await expect(page).toHaveURL('http://localhost:4001/clock'); + await page.getByRole('button', { name: 'toggle menu' }).click(); await page.locator('data-test-id=navigation__menu'); await page.getByRole('link', { name: 'Backstage' }).click(); @@ -55,4 +55,4 @@ test.describe('test view navigation feature', () => { await page.locator('data-test-id=timer-view'); await expect(page).toHaveURL('http://localhost:4001/timer'); }); -}); \ No newline at end of file +});