refactor: close menu in small screen navigation

This commit is contained in:
Carlos Valente
2025-11-12 06:08:43 +01:00
committed by Carlos Valente
parent 19d6b40bdb
commit e09b6bbc16
4 changed files with 36 additions and 7 deletions
@@ -9,7 +9,6 @@ test('View params configures timer view', async ({ page }) => {
await page.getByTestId('navigation__toggle-settings').click();
await page.locator('label').filter({ hasText: 'Hide Time NowHides the Time' }).locator('span').nth(2).click();
await page.getByTestId('apply-view-params').click();
await page.getByTestId('close-view-params').click();
await expect(page.getByText('TIME NOW', { exact: true })).not.toBeInViewport();
await expect(page).toHaveURL(/.*hideClock=true/);