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
11 changes: 6 additions & 5 deletions .github/workflows/vrt-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,18 @@ jobs:
pid=$!
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Run VRT
uses: docker://mcr.microsoft.com/playwright:v1.56.1-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
STYLED_REACT_STORYBOOK_URL: 'http://172.17.0.1:6007'
with:
args: npx playwright test --grep @vrt --shard="${{ matrix.shard }}/${{ strategy.job-total }}"
STORYBOOK_URL: 'http://localhost:6006'
STYLED_REACT_STORYBOOK_URL: 'http://localhost:6007'
run: npx playwright test --grep @vrt --shard="${{ matrix.shard }}/${{ strategy.job-total }}"
- name: Stop storybook
if: ${{ always() }}
run: kill ${{ steps.storybook.outputs.pid }}
- name: Stop styled-react storybook
if: ${{ always() }}
run: kill ${{ steps.styled-react-storybook.outputs.pid }}
- name: Upload report
if: ${{ always() }}
Expand Down