Skip to content

Commit

Permalink
chore: add comment for crude wait in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg committed Jun 10, 2022
1 parent 7637784 commit 4a82b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/test/apps/basics/test/test.js
Expand Up @@ -2289,7 +2289,7 @@ test.describe.parallel('Routing', () => {
await page.goto('/routing/hashes/target#p2');

await page.keyboard.press(browserName === 'webkit' ? 'Alt+Tab' : 'Tab');
await page.waitForTimeout(50);
await page.waitForTimeout(50); // give browser a bit of time to complete the native behavior of the key press
expect(
await page.evaluate(
() => document.activeElement?.textContent || 'ERROR: document.activeElement not set'
Expand Down

0 comments on commit 4a82b3e

Please sign in to comment.