Skip to content

Commit

Permalink
Increase package tests' timeout on expectations after loading a new p…
Browse files Browse the repository at this point in the history
…age. (#12005)

The package tests started failing randomly, because loading initial screen started taking more than 5 seconds.

The investigation is still in progress, but this is to not block innocent PRs.
  • Loading branch information
farmaazon authored Jan 8, 2025
1 parent e162c6a commit b72eb92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/ide-desktop/client/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ export default defineConfig({
testDir: './tests',
forbidOnly: !!process.env.CI,
workers: 1,
timeout: 120000,
timeout: 180000,
reportSlowTests: { max: 5, threshold: 60000 },
globalSetup: './tests/setup.ts',
expect: {
timeout: 5000,
timeout: 30000,
toHaveScreenshot: { threshold: 0 },
},
use: {
Expand Down

0 comments on commit b72eb92

Please sign in to comment.