Skip to content

Merge pull request #1482 from micronutrientsupport/andan_ce-tweaks #3737

Merge pull request #1482 from micronutrientsupport/andan_ce-tweaks

Merge pull request #1482 from micronutrientsupport/andan_ce-tweaks #3737

Workflow file for this run

name: Cypress Tests
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cypress run
uses: cypress-io/github-action@v5
with:
# build: npm run build
start: npm run start-cypress
# config: requestTimeout=120s
wait-on: 'npx wait-on --timeout 120000 http://localhost:8100'
- name: Upload Cypress Screenshots
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- name: Upload Cypress videos
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos
path: cypress/videos