Skip to content

Devex 10382: moved accessibility tests to local-only and added tests … #4

Devex 10382: moved accessibility tests to local-only and added tests …

Devex 10382: moved accessibility tests to local-only and added tests … #4

name: E2E Cypress Accessibility
on:
push:
branches:
- devex-10382
jobs:
e2e_cypress:
runs-on: ubuntu-latest
env:
CI: true
CI_NODE_TOTAL: ${{ matrix.ci_node_total }}
CI_NODE_INDEX: ${{ matrix.ci_node_index }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.12.0'
- name: Runs Elasticsearch
uses: elastic/elastic-github-actions/elasticsearch@master
with:
stack-version: 7.10.2
security-enabled: false
- name: Setup DynamoDB Local
uses: rrainn/[email protected]
with:
port: 8000
cors: '*'
- name: Collect Workflow Telemetry
uses: runforesight/workflow-telemetry-action@v2
with:
comment_on_pr: false
- name: Install Node Dependencies
run: npm ci
- name: Run Cypress Accessibility
run: |
mkdir -p /tmp/cypress/
npm run start:all:ci >> /tmp/cypress/cypress-output.txt &
./wait-until-services.sh
sleep 5
export TESTFILES=$(npx ts-node split-tests-cypress.ts)
npm run cypress:accessibility