Skip to content

Commit f5b5030

Browse files
committed
test(e2e): add more flakey test protection
Signed-off-by: Tyler Slaton <[email protected]>
1 parent 0073957 commit f5b5030

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typescript-sdk/apps/dojo/e2e/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function getBaseUrl(): string {
4646
export default defineConfig({
4747
timeout: process.env.CI ? 300_000 : 120_000, // 5min in CI, 2min locally for AI tests
4848
testDir: "./tests",
49-
retries: process.env.CI ? 1 : 0, // More retries for flaky AI tests in CI, 0 for local
49+
retries: process.env.CI ? 3 : 0, // More retries for flaky AI tests in CI, 0 for local
5050
// Make this sequential for now to avoid race conditions
5151
workers: process.env.CI ? 1 : undefined,
5252
fullyParallel: process.env.CI ? false : true,
@@ -66,7 +66,7 @@ export default defineConfig({
6666
baseURL: getBaseUrl(),
6767
},
6868
expect: {
69-
timeout: 90_000, // 1.5 minutes for AI-generated content to appear
69+
timeout: 120_000, // 2 minutes for AI-generated content to appear
7070
},
7171
// Test isolation between each test
7272
projects: [

0 commit comments

Comments
 (0)