From 02482ab8d455169e4a51e8da08128b4a00b67097 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak <42989099+gtsteffaniak@users.noreply.github.com> Date: Mon, 27 Jan 2025 17:27:33 -0500 Subject: [PATCH] make playwright more lenient and do retires (#318) --- frontend/playwright.config.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index d36487a7..3d45163e 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -11,16 +11,16 @@ import { defineConfig, devices } from "@playwright/test"; */ export default defineConfig({ globalSetup: "./global-setup", - timeout: 3000, + timeout: 6000, testDir: "./tests", /* Run tests in files in parallel */ - fullyParallel: true, + fullyParallel: false, /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: Boolean(process.env.CI), /* Retry on CI only */ - retries: process.env.CI ? 2 : 0, + retries: 2, /* Opt out of parallel tests on CI. */ - workers: process.env.CI ? 1 : 1, // required for now! todo parallel some tests + workers: 1, // required for now! todo parallel some tests /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: "line", /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ @@ -44,4 +44,4 @@ export default defineConfig({ use: { ...devices["Desktop Firefox"] }, }, ], -}); \ No newline at end of file +});