Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Cypress Link and Github Action Updates (#993)
Browse files Browse the repository at this point in the history
* adding maryland link that is closed

* Update node set up to V4 for node >18
  • Loading branch information
clmedders authored Apr 26, 2024
1 parent c57d9eb commit 9c6201e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-axe-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Install node.js.
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-functional-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Install node.js.
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-links-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Install node.js.
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'

Expand Down
6 changes: 4 additions & 2 deletions cypress/e2e/externalLinks/external-links-valdator.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ const allPages = require("../../fixtures/site-pages.json");

const excludedlinks = [
'https://voterregistration.ct.gov/OLVR/welcome.do?ref=voteusa_es',
'https://voterregistration.ct.gov/OLVR/welcome.do?ref=voteusa_en'
// the above link will throw error code "read ECONNRESET" this will not pass through cypress test and has been checked manually
'https://voterregistration.ct.gov/OLVR/welcome.do?ref=voteusa_en',
// the above link will throw error code "read ECONNRESET" this will not pass through cypress test and has been checked manually
'https://voterservices.elections.maryland.gov/OnlineVoterRegistration/InstructionsStep1',
// maryland has online reg closed... link will be active again on May 27th
];

describe("External Link Validator Test", () => {
Expand Down

0 comments on commit 9c6201e

Please sign in to comment.