Skip to content

Commit

Permalink
ci: run tests on *cypress* branches (#5298)
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski committed Jan 22, 2024
1 parent cb0de9c commit bf8803d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ jobs:
with:
runTests: false
install-command: yarn install
build: yarn build
- name: Run Cypress tests without a user
uses: cypress-io/github-action@v4
with:
config: baseUrl=${{env.MAAS_URL}},pageLoadTimeout=100000
config: baseUrl="http://localhost:8400/",pageLoadTimeout=100000
install: false
start: yarn start
spec: "cypress/e2e/no-users/**/*.spec.ts"
wait-on: "${{env.MAAS_URL}}/MAAS/r/machines"
wait-on: "http://localhost:8400/MAAS/r/machines"
- name: Create MAAS admin
run: sudo maas createadmin --username=admin --password=test --email=fake@example.org
- name: Create MAAS non-admin user
Expand Down

0 comments on commit bf8803d

Please sign in to comment.