Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 8 additions & 1 deletion .github/workflows/test-live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,11 @@ jobs:
run: vp exec playwright install --with-deps chromium firefox webkit
- name: Safe live browser smoke
if: ${{ inputs.browser }}
run: vp run test:browser
# A virtual display on Linux, for repositories that run a browser headed.
shell: bash
run: |
if [[ "$RUNNER_OS" == Linux ]]; then
xvfb-run -a vp run test:browser
else
vp run test:browser
fi
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,14 @@ jobs:
BASE_URL: ${{ steps.preview.outputs.base-url }}
QA_DEPLOY_URLS: ${{ steps.preview.outputs.deploy-urls }}
TESTING_SECRET: ${{ secrets.testing-secret }}
run: vp run test:browser
# A virtual display on Linux, for repositories that run a browser headed.
shell: bash
run: |
if [[ "$RUNNER_OS" == Linux ]]; then
xvfb-run -a vp run test:browser
else
vp run test:browser
fi
- name: Upload browser failure output
if: ${{ failure() && steps.browser.outcome == 'failure' && inputs.browser-artifacts != '' }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
Loading