Cypress E2E Testing #4
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: Cypress E2E Testing | |
on: | |
# Runs on pushes targeting the default branch | |
workflow_run: | |
workflows: ["Azure Static Web Apps CI/CD"] | |
branches: ["main"] | |
types: | |
- completed | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
cypress-run: | |
name: Cypress E2E Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cypress E2E on Edge | |
uses: cypress-io/github-action@v6 | |
with: | |
browser: edge | |
spec: | | |
cypress/e2e/neherdata.cy.js | |
- name: Cypress E2E on Chrome | |
uses: cypress-io/github-action@v6 | |
with: | |
browser: chrome | |
spec: | | |
cypress/e2e/neherdata.cy.js | |
- name: Cypress E2E on Firefox | |
uses: cypress-io/github-action@v6 | |
with: | |
browser: firefox | |
spec: | | |
cypress/e2e/neherdata.cy.js |