Skip to content

Commit

Permalink
test- add back upload screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
asteel-gsa committed Oct 5, 2023
1 parent ad8429b commit 1528abd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/local-regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ jobs:
- name: remove node_modules/.bin
run: sudo rm -rf /home/runner/work/FAC/FAC/backend/node_modules/

- name: Create .env file
run: touch .env

- name: Run Cypress full submission test
uses: Wandalen/wretry.action@master
with:
Expand All @@ -81,5 +84,13 @@ jobs:
working-directory: ./backend
spec: cypress/e2e/full-submission.cy.js
browser: chrome
attempt_limit: 5
attempt_limit: 2
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`

0 comments on commit 1528abd

Please sign in to comment.