use only installed browser chrome on ci

This commit is contained in:
einhornimmond 2025-06-28 16:42:07 +02:00
parent 3ddd7e5c58
commit c452dfcc21
2 changed files with 5 additions and 8 deletions

View File

@ -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

View File

@ -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 */