Adapt tests to changed UI from 41128b4691ac55c0d8384c7aa0386a8b665eb8… #11
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: CI | |
on: [push] | |
jobs: | |
test: | |
name: Cypress Test | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
#- uses: actions/checkout@v3 | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v3 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
# - name: Checkout | |
# uses: actions/checkout@v2 | |
- name: Node install | |
run: npm install --legacy-peer-deps | |
- name: Cypress run | |
# uses: cypress-io/github-action@v5 | |
uses: cypress-io/github-action@v6 | |
with: | |
working-directory: frontend | |
install: false | |
build: npm run build | |
start: npm start | |
wait-on: "http://localhost:3000" | |
wait-on-timeout: 120 |