refactor: inactivity checks keyboard and has initial state

This commit is contained in:
Carlos Valente
2025-06-09 10:05:30 +02:00
committed by Carlos Valente
parent 4320ad26a4
commit 5ad69b458d
4 changed files with 32 additions and 15 deletions
@@ -5,6 +5,7 @@ test('View params configures timer view', async ({ page }) => {
await expect(page.getByText('TIME NOW')).toBeInViewport();
await page.mouse.move(Math.random() * 100, Math.random() * 100);
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.getByRole('button', { name: 'Save' }).click();