feat: project info view

This commit is contained in:
Carlos Valente
2024-11-18 14:53:00 +01:00
committed by Carlos Valente
parent 312b294a61
commit 7aec3e0d73
9 changed files with 205 additions and 0 deletions
+6
View File
@@ -55,6 +55,12 @@ test.describe('test view navigation feature', () => {
page.locator('data-test-id=countdown-view');
await expect(page).toHaveURL('http://localhost:4001/countdown');
await page.getByRole('button', { name: 'toggle menu' }).click();
page.locator('data-test-id=navigation__menu');
await page.getByRole('link', { name: 'Project Info' }).click();
page.locator('data-test-id=project-view');
await expect(page).toHaveURL('http://localhost:4001/info');
await page.getByRole('button', { name: 'toggle menu' }).click();
page.locator('data-test-id=navigation__menu');
await page.getByRole('link', { name: 'Timer', exact: true }).click();