diff --git a/.github/workflows/test-chapter5.yml b/.github/workflows/test-chapter5.yml index 44e5bd0..3508e0c 100644 --- a/.github/workflows/test-chapter5.yml +++ b/.github/workflows/test-chapter5.yml @@ -4,6 +4,7 @@ on: # push: # branches: [ main, master ] workflow_dispatch: + jobs: e2e-tests: @@ -30,10 +31,6 @@ jobs: working-directory: tests-chapter5 run: npm ci - - name: Install Playwright browsers - working-directory: tests-chapter5 - run: npx playwright install chromium --with-deps - - name: Run E2E tests working-directory: tests-chapter5 run: npx playwright test diff --git a/tests-chapter5/playwright.config.js b/tests-chapter5/playwright.config.js index d4cef8e..5b2ff06 100644 --- a/tests-chapter5/playwright.config.js +++ b/tests-chapter5/playwright.config.js @@ -15,7 +15,7 @@ module.exports = defineConfig({ projects: [ { name: 'chromium', - use: { ...devices['Desktop Chrome'] }, + use: { ...devices['Desktop Chrome'], channel: 'chrome'}, }, ], webServer: [