From c36bb832cd1ddce4f01b55ad148b86069229cdd6 Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Fri, 6 Oct 2023 18:37:32 +0200 Subject: [PATCH] Try chrome-beta --- .github/workflows/test.yml | 2 +- wallets/metamask/playwright.config.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa4921a29..0177bda7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,7 @@ jobs: # For now, we only need Chromium. - name: Install browsers for Playwright - run: pnpm dlx playwright install chromium + run: pnpm dlx playwright install chrome-beta - name: Build project run: pnpm run build diff --git a/wallets/metamask/playwright.config.ts b/wallets/metamask/playwright.config.ts index 35798a0ac..56c0b9955 100644 --- a/wallets/metamask/playwright.config.ts +++ b/wallets/metamask/playwright.config.ts @@ -20,20 +20,20 @@ export default defineConfig({ // Concise 'dot' for CI, default 'html' when running locally. // See https://playwright.dev/docs/test-reporters. - reporter: process.env.CI ? 'dot' : 'html', + reporter: process.env.CI ? 'list' : 'html', // Shared settings for all the projects below. // See https://playwright.dev/docs/api/class-testoptions. use: { // Collect all traces on CI, and only traces for failed tests when running locally. // See https://playwright.dev/docs/trace-viewer. - trace: process.env.CI ? 'on' : 'retain-on-failure' + trace: 'on' }, // Configure projects for major browsers. projects: [ { - name: 'chromium', + name: 'chrome', use: { ...devices['Desktop Chrome'] } } ]