-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SBVT-2444: Adding Accessiblity Check (#241)
* SBVT-2444: Updating deps and fixing the GH runner * SBVT-2444: Upgrading the runner * SBVT-2444: Upgrading the runner * SBVT-2444: Adding tests to the axe check * SBVT-2444: Adding GHA tests --------- Co-authored-by: trevor.nelms <trevor.nelms@smartbear.com>
- Loading branch information
Showing
10 changed files
with
292 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: violations-check | ||
#on: [push] | ||
on: [pull_request] | ||
jobs: | ||
cypress-run: | ||
runs-on: self-hosted | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Extract Branch Name and Set Test Run Name | ||
id: set-test-run-name | ||
run: | | ||
BRANCH_NAME=$(echo "${{ github.ref }}" | awk -F'/' '{print $3}') | ||
echo "::set-output name=TEST_RUN_NAME::${{ github.workflow }}—$BRANCH_NAME" | ||
- name: Install root dependencies | ||
run: npm install | ||
|
||
- name: Install test dependencies | ||
run: npm install | ||
working-directory: ./test | ||
|
||
- name: Cypress run | ||
uses: cypress-io/github-action@v6 | ||
with: | ||
quiet: true | ||
working-directory: ./test | ||
spec: cypress/e2e/test-spec/test_axe* | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PROJECT_TOKEN: ${{ secrets.DEV_EXAMPLE_7 }} | ||
TEST_RUN_NAME: ${{ steps.set-test-run-name.outputs.TEST_RUN_NAME }} | ||
DEBUG: TRUE | ||
|
||
|
Oops, something went wrong.