Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/reusable-end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Install Playwright browsers
if: ${{ inputs.install-playwright }}
run: npm exec --no -- playwright install --with-deps chromium
run: npm exec --no -- playwright install chromium

- name: Build WordPress
run: npm run build
Expand Down Expand Up @@ -143,6 +143,10 @@ jobs:

- name: Run E2E tests
run: npm run test:e2e
env:
# Chromium is installed above and is the only browser the suite runs. Without this,
# `wp-scripts test-playwright` also downloads Firefox and WebKit on every run.
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: ${{ inputs.install-playwright && '1' || '' }}

- name: Archive debug artifacts (screenshots, HTML snapshots)
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
Loading