Use new headless Chrome for playwright (#54096)
This commit is contained in:
3
.github/workflows/headless-tests.yml
vendored
3
.github/workflows/headless-tests.yml
vendored
@@ -51,6 +51,9 @@ jobs:
|
||||
- name: Index fixtures into the local Elasticsearch
|
||||
run: npm run index-test-fixtures
|
||||
|
||||
- name: Install headless browser
|
||||
run: npx playwright install --no-shell
|
||||
|
||||
- name: Run Playwright tests
|
||||
env:
|
||||
PLAYWRIGHT_WORKERS: ${{ fromJSON('[1, 4]')[github.repository == 'github/docs-internal'] }}
|
||||
|
||||
3
.github/workflows/local-dev.yml
vendored
3
.github/workflows/local-dev.yml
vendored
@@ -34,6 +34,9 @@ jobs:
|
||||
- name: Disable Next.js telemetry
|
||||
run: npx next telemetry disable
|
||||
|
||||
- name: Install headless browser
|
||||
run: npx playwright install --no-shell
|
||||
|
||||
# The Playwright test, with the env vars we set here, takes care of
|
||||
# starting a server and shutting it down when it's done.
|
||||
# That's why it's important this step comes before the `npm start &`
|
||||
|
||||
Reference in New Issue
Block a user