Skip to content

Commit

Permalink
split cypress tests and continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood authored and DaveDarsa committed Feb 29, 2024
1 parent e9be07c commit 841745d
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ui-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,32 @@ jobs:
yarn build
yarn start &
- name: Run Cypress Tests
- name: Run RBAC Cypress Tests
uses: cypress-io/github-action@v6
with:
config-file: ./cypress/cypress.config.ts
auto-cancel-after-failures: 1
wait-on: 'http://localhost:3000'
command: yarn cypress:runAll
command: yarn cypress:runRbac
continue-on-error: true

- name: Run General Cypress Tests
uses: cypress-io/github-action@v6
with:
config-file: ./cypress/cypress.config.ts
auto-cancel-after-failures: 1
wait-on: 'http://localhost:3000'
command: yarn cypress:runGeneral
continue-on-error: true

- name: Run Organization Cypress Tests
uses: cypress-io/github-action@v6
with:
config-file: ./cypress/cypress.config.ts
auto-cancel-after-failures: 1
wait-on: 'http://localhost:3000'
command: yarn cypress:runOrganizations
continue-on-error: true

- name: Stop Docker containers
run: |
Expand Down

0 comments on commit 841745d

Please sign in to comment.