Skip to content

Commit

Permalink
test(cypress): use local backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Mar 8, 2023
1 parent 95a788d commit 49a8a85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ jobs:
- name: End-to-End tests
uses: cypress-io/github-action@v5
with:
start: yarn start:nobrowser
wait-on: 'http://localhost:3000'
wait-on-timeout: 300
start: npx --yes @dhis2/cli-cluster up 2.40.0 --db-version 2.40 --seed, yarn start:nobrowser
wait-on: 'http://localhost:8080/dhis-web-commons/security/login.action, http://localhost:3000'
wait-on-timeout: 600
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_LOGIN_NAME: ${{ secrets.CYPRESS_LOGIN_NAME }}
CYPRESS_LOGIN_PASSWORD: ${{ secrets.CYPRESS_LOGIN_PASSWORD }}
CYPRESS_LOGIN_SERVER: https://debug.dhis2.org/dev
CYPRESS_LOGIN_SERVER: http://localhost:8080

release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 49a8a85

Please sign in to comment.