Skip to content

Commit 8891364

Browse files
committed
feat: increase test timeout
1 parent ad881b7 commit 8891364

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/web-functionality/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const handler = async (): Promise<void> => {
2626
await runTests()
2727
break
2828
} catch (error) {
29-
console.error(error)
29+
console.error(`Failed attempt ${index}:`, error)
3030
if (index === 2) {
3131
process.exit(error?.exitCode || 1)
3232
}

packages/web-functionality/src/smoke.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ describe('Smoke tests', () => {
1919

2020
// Expect results count is shown correctly
2121
await expect(page).toMatchElement('[data-testid="streaming-progress-count"]', { text: '1 result' })
22-
})
22+
}, 5000) // Bigger timeout is required to avoid flakes. Default is 500ms.
2323
})

0 commit comments

Comments
 (0)