Test(web-twig): Update snapshots according to the modified icons #670
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |