Skip to content

Commit

Permalink
USAGOV-2050-Cypress-Github-Actions: Github Actions Files
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelLaurenceau committed Nov 15, 2024
1 parent 6bbac64 commit 9851dfb
Show file tree
Hide file tree
Showing 4 changed files with 3,237 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/prod-a11y-regression-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Prod A11Y Regression Tests
on: workflow_dispatch
jobs:
run-regression-tests:
name: run-regression-tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set env
run: echo "CYPRESS_BASE_URL=https://usa.gov/" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v6
with:
working-directory: automated_tests/e2e-cypress
spec: cypress/e2e/regression_testing/*.cy.js
16 changes: 16 additions & 0 deletions .github/workflows/stage-a11y-regression-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Stage A11Y Regression Tests
on: workflow_dispatch
jobs:
run-regression-tests:
name: run-regression-tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set env
run: echo "CYPRESS_BASE_URL=https://beta-stage.usa.gov/" >> $GITHUB_ENV
- name: Cypress run
uses: cypress-io/github-action@v6
with:
working-directory: automated_tests/e2e-cypress
spec: cypress/e2e/regression_testing/*.cy.js
Loading

0 comments on commit 9851dfb

Please sign in to comment.