From 302209e957f257858c280f0283e90d92b80c8488 Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Thu, 30 Nov 2023 20:05:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci(metamask):=20Reduce=20the=20f?= =?UTF-8?q?eedback=20loop=20to=20minimum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wallets/metamask/playwright.config.ts | 3 +++ 1 file changed, 3 insertions(+) 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,