Skip to content

Test(ci): Update visual snapshots of Alert and Toast #672

Test(ci): Update visual snapshots of Alert and Toast

Test(ci): Update visual snapshots of Alert and Toast #672

Workflow file for this run

name: End-to-end Tests
on:
push:
branches: [main]
pull_request:
types: [labeled]
env:
NODE_ENV: testing
jobs:
test:
if: ${{ (github.event.label.name == 'run visual tests') || (github.ref == 'refs/heads/main') }}
runs-on: ubuntu-22.04
container:
image: mcr.microsoft.com/playwright:v1.40.1-jammy
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
- name: Run Playwright tests
run: HOME=/root yarn playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30