Skip to content

feat: Accessibility Automated failing tests fix (DTCRCMERC-3548) #204

feat: Accessibility Automated failing tests fix (DTCRCMERC-3548)

feat: Accessibility Automated failing tests fix (DTCRCMERC-3548) #204

Workflow file for this run

name: Playwright Accessibility Tests
on:
# allow for manual triggers
workflow_dispatch: {}
push:
branches: [playwright-automated-testing]
pull_request:
branches: [playwright-automated-testing]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
countries: [AU, DE, GB, FR, IT, ES, US]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm i
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run server
run: |
./.github/scripts/runServerV2.sh
- name: Run Playwright Modals
run: npx playwright test tests/playwright/tests/sdk/modals --grep @${{matrix.countries}} --output=playwright-report-${{matrix.countries}}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-modal-${{matrix.countries}}
path: playwright-report/
retention-days: 1
- name: Run Playwright Messages
run: npx playwright test tests/playwright/tests/sdk/messages --grep @${{matrix.countries}} --output=playwright-report-${{matrix.countries}}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-message-${{matrix.countries}}
path: playwright-report/
retention-days: 1