From 620a5340c244d443c19371b00f243c6e962092b0 Mon Sep 17 00:00:00 2001 From: ismay Date: Wed, 8 Mar 2023 11:49:45 +0100 Subject: [PATCH] ci(e2e): test against debug --- .github/workflows/dhis2-verify-app.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index 243da7b09..06cf3a927 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -85,29 +85,22 @@ jobs: e2e: runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - containers: [1, 2, 3, 4] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: node-version: 16 - name: End-to-End tests - uses: cypress-io/github-action@v2 + uses: cypress-io/github-action@v5 with: start: yarn start:nobrowser wait-on: 'http://localhost:3000' wait-on-timeout: 300 - record: true - parallel: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_dhis2BaseUrl: http://localhost:8080 - CYPRESS_dhis2ApiVersion: 40 - CYPRESS_networkMode: stub + CYPRESS_LOGIN_NAME: ${{ secrets.CYPRESS_LOGIN_NAME }} + CYPRESS_LOGIN_PASSWORD: ${{ secrets.CYPRESS_LOGIN_PASSWORD }} + CYPRESS_LOGIN_SERVER: https://debug.dhis2.org/dev release: runs-on: ubuntu-latest