updated retires to bypass for multigres

This commit is contained in:
Ali Waseem committed 2026-06-23 12:17:26 -06:00
1 parent 303e129b4c
commit 5877a5576c
2 files changed
+14 -2

No files matched your search

@@ -42,6 +42,10 @@ jobs:
STUDIO_URL: http://localhost:8082
API_URL: http://localhost:8000
IS_PLATFORM: 'false'
# Run the entire suite for full coverage rather than bailing after a few
# failures, and keep retries low so the run stays fast.
PLAYWRIGHT_MAX_FAILURES: '0'
PLAYWRIGHT_RETRIES: '3'
ANON_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
SERVICE_ROLE_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZXJ2aWNlX3JvbGUiLAogICAgImlzcyI6ICJzdXBhYmFzZS1kZW1vIiwKICAgICJpYXQiOiAxNjQxNzY5MjAwLAogICAgImV4cCI6IDE3OTk1MzU2MDAKfQ.DaYlNEoUrrEn2Ig7tqibS-PHK5vgusbcbo7X36XVt4Q
+10 -2
View File
@@ -48,8 +48,16 @@ export default defineConfig({
testDir: './features',
testMatch: /.*\.spec\.ts/,
forbidOnly: IS_CI,
retries: IS_CI ? 5 : 0,
maxFailures: 3,
retries: IS_CI
? process.env.PLAYWRIGHT_RETRIES
? Number(process.env.PLAYWRIGHT_RETRIES)
: 5
: 0,
// 0 = run the whole suite regardless of how many specs fail. Defaults to 3
// so a normal run bails early; override via env when you want full coverage.
maxFailures: process.env.PLAYWRIGHT_MAX_FAILURES
? Number(process.env.PLAYWRIGHT_MAX_FAILURES)
: 3,
expect: {
timeout: 20_000,
},