diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b2b21db0b..375dc34bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: test-e2e-headful: name: Run E2E tests (headful) - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v3 diff --git a/wallets/metamask/playwright.config.ts b/wallets/metamask/playwright.config.ts index 0994ed0a0..f70574ad0 100644 --- a/wallets/metamask/playwright.config.ts +++ b/wallets/metamask/playwright.config.ts @@ -18,10 +18,10 @@ export default defineConfig({ 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, + maxFailures: process.env.CI ? 0 : 0, // Opt out of parallel tests on CI since it supports only 1 worker. - workers: process.env.CI ? 1 : undefined, + workers: process.env.CI ? undefined : undefined, // Concise 'dot' for CI, default 'html' when running locally. // See https://playwright.dev/docs/test-reporters.