Skip to content

Commit

Permalink
iterating
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot committed Nov 13, 2024
1 parent 2ac2a95 commit 1f04ec6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
### Required
target:
description: 'PR number, test or prod.'
default: test
default: 'test'
required: true
type: string

Expand All @@ -28,7 +28,7 @@ jobs:
- uses: cypress-io/[email protected]
name: Cypress run
env:
CYPRESS_baseUrl: https://${{ github.event.repository.name }}-${{ inputs.target }}-frontend.apps.silver.devops.gov.bc.ca/
CYPRESS_baseUrl: https://${{ github.event.repository.name }}-${{ inputs.target || 'test' }}-frontend.apps.silver.devops.gov.bc.ca/
CYPRESS_bceid_username: ${{vars.BCEID_USERNAME}}
CYPRESS_bceid_password: ${{secrets.BCEID_PASSWORD}}
with:
Expand All @@ -40,5 +40,12 @@ jobs:
if: failure()
with:
name: cypress-screenshots
path: ./cypress/screenshots
path: cypress/screenshots
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`

- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-video
path: cypress/video
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`

0 comments on commit 1f04ec6

Please sign in to comment.