Skip to content

Commit 04d6368

Browse files
committed
Increase timeout for playwright testing
1 parent d086cb6 commit 04d6368

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
env:
18-
FERRUM_PROCESS_TIMEOUT: 45
18+
FERRUM_PROCESS_TIMEOUT: 60
1919

2020
jobs:
2121
accessibility:

test/playwright/snapshots.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ test.describe('generate snapshots', () => {
3737
// Focus state
3838
await page.keyboard.press('Tab')
3939

40-
await new Promise(resolve => setTimeout(resolve, 100))
40+
await new Promise(resolve => setTimeout(resolve, 500))
4141
await page.keyboard.press('Enter')
4242

4343
// Wait a bit for animations etc to resolve
44-
await new Promise(resolve => setTimeout(resolve, 100))
44+
await new Promise(resolve => setTimeout(resolve, 500))
4545

4646
const focusedScreenshot = await page.screenshot({animations: 'disabled'})
4747
expect(focusedScreenshot).toMatchSnapshot([example.preview_path, `${theme}.png`])

0 commit comments

Comments
 (0)