Merged in chore/improve-e2e-tests-in-sas (pull request #2663)

chore: Increase expect timeout in SAS e2e tests

* Increase expect timeout


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-08-25 07:51:26 +00:00
parent d6b7361a26
commit 4f8c51298f
2 changed files with 6 additions and 1 deletions

View File

@@ -12,7 +12,9 @@
"check-types": "tsc --noEmit", "check-types": "tsc --noEmit",
"test": "vitest run --passWithNoTests", "test": "vitest run --passWithNoTests",
"test:watch": "vitest", "test:watch": "vitest",
"test:e2e": "playwright test" "test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug"
}, },
"dependencies": { "dependencies": {
"@formatjs/intl": "^3.1.6", "@formatjs/intl": "^3.1.6",

View File

@@ -34,6 +34,9 @@ export default defineConfig({
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: process.env.CI ? "on-first-retry" : "retain-on-failure", trace: process.env.CI ? "on-first-retry" : "retain-on-failure",
}, },
expect: {
timeout: 10_000,
},
/* Configure projects for major browsers */ /* Configure projects for major browsers */
projects: [ projects: [