ci: retry transient Playwright failures

This commit is contained in:
codex 2026-08-11 06:22:36 -03:00
parent 9c33cedf3f
commit a722ca2b3b
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ const testingDir = path.dirname(fileURLToPath(import.meta.url));
export default defineConfig({
testDir: path.resolve(testingDir, "component"),
retries: process.env.CI ? 1 : 0,
use: {
ctPort: 3100,
ctTemplateDir: "../../frontend/playwright",

View File

@ -9,6 +9,7 @@ const webServerCommand = process.env.PLAYWRIGHT_REUSE_DIST === "1" ? previewComm
export default defineConfig({
testDir: path.resolve(testingDir, "e2e"),
retries: process.env.CI ? 1 : 0,
workers: 1,
timeout: 60000,
expect: {