test(e2e): account for skip-link initial focus (double Tab before Desktop)
CI / test (pull_request) Failing after 32s

This commit is contained in:
2025-11-14 18:23:29 +09:00
parent b24ada3397
commit f09dc5320b
+1
View File
@@ -7,6 +7,7 @@ test('Preview viewport toggle via keyboard (Tab + Enter/Space)', async ({ page }
// Tab to first button (Desktop)
await page.keyboard.press('Tab')
await page.keyboard.press('Tab')
await expect(page.getByRole('button', { name: 'Desktop' })).toBeFocused()
// Press Space to toggle Mobile (first ensure Desktop is selected, then move to Mobile with Tab)