diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 2e07825..d5536b3 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -94,7 +94,7 @@ jobs: echo "Enabled Debug Mode" export DEBUG=true fi - pnpm test -- --project=${{ matrix.project }} --max-failures=5 + pnpm test -- --project=${{ matrix.project }} --max-failures=2 - name: Upload Test Results if: always() && steps.test.conclusion != 'skipped' uses: actions/upload-artifact@v4 diff --git a/playwright.config.ts b/playwright.config.ts index 9fefc49..6213b59 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -21,7 +21,7 @@ export default defineConfig({ fullyParallel: true, /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, - maxFailures: process.env.CI ? 8 : undefined, + maxFailures: process.env.CI ? 3 : undefined, /* Retry on CI only */ retries: process.env.CI ? 5 : 0, /* Reporter to use. See https://playwright.dev/docs/test-reporters */