diff --git a/wallets/metamask/playwright.config.ts b/wallets/metamask/playwright.config.ts index 88d06a5cd..0994ed0a0 100644 --- a/wallets/metamask/playwright.config.ts +++ b/wallets/metamask/playwright.config.ts @@ -17,6 +17,9 @@ export default defineConfig({ // Fail the build on CI if you accidentally left test.only in the source code. forbidOnly: !!process.env.CI, + // Fail all remaining tests on CI after the first failure. We want to reduce the feedback loop on CI to minimum. + maxFailures: process.env.CI ? 1 : 0, + // Opt out of parallel tests on CI since it supports only 1 worker. workers: process.env.CI ? 1 : undefined,