From d29b5141b14f113186f7612303269fd80e99fe61 Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Sat, 15 Feb 2025 13:09:26 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F(ci)=20save=20time=20on=20CI?= =?UTF-8?q?=20by=20not=20downloading=20already=20present=20browser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/microsoft/playwright/issues/23388 --- .github/workflows/people.yml | 3 --- src/frontend/apps/e2e/playwright.config.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/people.yml b/.github/workflows/people.yml index 0502e8d..fd5619c 100644 --- a/.github/workflows/people.yml +++ b/.github/workflows/people.yml @@ -201,9 +201,6 @@ jobs: run: | make dimail-setup-db - - name: Install Playwright Browsers - run: cd src/frontend/apps/e2e && yarn install - - name: Run e2e tests run: cd src/frontend/ && yarn e2e:test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} diff --git a/src/frontend/apps/e2e/playwright.config.ts b/src/frontend/apps/e2e/playwright.config.ts index 8d99414..03f8377 100644 --- a/src/frontend/apps/e2e/playwright.config.ts +++ b/src/frontend/apps/e2e/playwright.config.ts @@ -44,7 +44,7 @@ export default defineConfig({ projects: [ { name: 'chromium', - use: { ...devices['Desktop Chrome'], locale: 'en-US' }, + use: { ...devices['Desktop Chrome'], locale: 'en-US', channel: 'chrome' }, }, ], });