Skip to content

Commit

Permalink
TEST - use manual run of cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
asteel-gsa committed Oct 5, 2023
1 parent 535060f commit b08037e
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/local-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# Cypress Related ENV
CYPRESS_API_GOV_KEY: ${{ secrets.CYPRESS_API_GOV_KEY }}
CYPRESS_API_GOV_URL: ${{ secrets.CYPRESS_API_GOV_URL }}
CYPRESS_BASE_URL: 'http://localhost:8000/'
CYPRESS_BASE_URL: 'https://fac-dev.app.cloud.gov'
CYPRESS_LOGIN_TEST_EMAIL: ${{ secrets.CYPRESS_LOGIN_TEST_EMAIL }}
CYPRESS_LOGIN_TEST_PASSWORD: ${{ secrets.CYPRESS_LOGIN_TEST_PASSWORD }}
CYPRESS_LOGIN_TEST_OTP_SECRET: ${{ secrets.CYPRESS_LOGIN_TEST_OTP_SECRET }}
Expand Down Expand Up @@ -71,19 +71,6 @@ jobs:
run: npm install

- name: Run Cypress full submission test
uses: Wandalen/wretry.action@master
with:
action: cypress-io/github-action@v6
with: |
working-directory: ./backend
spec: cypress/e2e/full-submission.cy.js
attempt_limit: 5
attempt_delay: 2000

- uses: actions/upload-artifact@v3
# add the line below to store screenshots only on failures
if: failure()
with:
name: cypress-screenshots
path: backend/cypress/screenshots
if-no-files-found: warn # 'warn' or 'error' are also available, defaults to `warn`
working-directory: ./backend
run: |
npx cypress run

0 comments on commit b08037e

Please sign in to comment.