From c452dfcc215071369d7631a9503a924ff64dbd74 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Sat, 28 Jun 2025 16:42:07 +0200 Subject: [PATCH] use only installed browser chrome on ci --- .github/workflows/test_e2e.yml | 5 +---- e2e-tests/playwright/typescript/playwright.config.ts | 8 ++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_e2e.yml b/.github/workflows/test_e2e.yml index 4a89afaf0..b2e0d4315 100644 --- a/.github/workflows/test_e2e.yml +++ b/.github/workflows/test_e2e.yml @@ -146,15 +146,12 @@ jobs: cd ../backend cp .env.test_e2e .env cd .. - bun turbo backend#build - bun turbo frontend#build bun turbo backend#start frontend#start --env-mode=loose & - name: End-to-end tests | prepare run: | cd e2e-tests/playwright/typescript bun install - npx playwright install --with-deps - name: wait for frontend and backend to be ready run: | @@ -175,7 +172,7 @@ jobs: id: e2e-tests run: | cd e2e-tests/playwright/typescript - bun run test + bun run test --project="Google Chrome" - name: End-to-end tests | if tests failed, upload video id: e2e-video diff --git a/e2e-tests/playwright/typescript/playwright.config.ts b/e2e-tests/playwright/typescript/playwright.config.ts index af1356ed4..1418b5af9 100644 --- a/e2e-tests/playwright/typescript/playwright.config.ts +++ b/e2e-tests/playwright/typescript/playwright.config.ts @@ -67,10 +67,10 @@ export default defineConfig({ // name: 'Microsoft Edge', // use: { ...devices['Desktop Edge'], channel: 'msedge' }, // }, - // { - // name: 'Google Chrome', - // use: { ...devices['Desktop Chrome'], channel: 'chrome' }, - // }, + { + name: 'Google Chrome', + use: { ...devices['Desktop Chrome'], channel: 'chrome' }, + }, ], /* Run your local dev server before starting the tests */