From 1656a1cffbe0292d47b963089bce792917cfe895 Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Fri, 6 Oct 2023 17:47:20 +0200 Subject: [PATCH] Debug pw:browser + timeout 60s --- wallets/metamask/package.json | 2 +- wallets/metamask/playwright.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wallets/metamask/package.json b/wallets/metamask/package.json index e70ff6819..1f178c6b3 100644 --- a/wallets/metamask/package.json +++ b/wallets/metamask/package.json @@ -24,7 +24,7 @@ "test": "vitest run", "test:coverage": "vitest run --coverage", "test:e2e": "playwright test", - "test:e2e:headless": "HEADLESS=true playwright test", + "test:e2e:headless": "DEBUG=pw:browser HEADLESS=true playwright test", "test:watch": "vitest watch", "types:check": "tsc --noEmit" }, diff --git a/wallets/metamask/playwright.config.ts b/wallets/metamask/playwright.config.ts index e22f8eea5..35798a0ac 100644 --- a/wallets/metamask/playwright.config.ts +++ b/wallets/metamask/playwright.config.ts @@ -16,6 +16,7 @@ export default defineConfig({ // Opt out of parallel tests on CI. workers: process.env.CI ? 1 : undefined, + timeout: 60 * 1000, // Concise 'dot' for CI, default 'html' when running locally. // See https://playwright.dev/docs/test-reporters.