We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad881b7 commit 8891364Copy full SHA for 8891364
packages/web-functionality/src/index.ts
@@ -26,7 +26,7 @@ const handler = async (): Promise<void> => {
26
await runTests()
27
break
28
} catch (error) {
29
- console.error(error)
+ console.error(`Failed attempt ${index}:`, error)
30
if (index === 2) {
31
process.exit(error?.exitCode || 1)
32
}
packages/web-functionality/src/smoke.test.ts
@@ -19,5 +19,5 @@ describe('Smoke tests', () => {
19
20
// Expect results count is shown correctly
21
await expect(page).toMatchElement('[data-testid="streaming-progress-count"]', { text: '1 result' })
22
- })
+ }, 5000) // Bigger timeout is required to avoid flakes. Default is 500ms.
23
})
0 commit comments