mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-07 19:44:18 -07:00
Fix all failing cypress tests (#774)
* Fix all failing cypress tests - update test name to be more appropriate - update download packet tests to CDN - update data-cy tag on About heading * Update snapshot
This commit is contained in:
parent
e47cffc3f9
commit
819113ceb7
11 changed files with 52 additions and 41 deletions
|
@ -47,9 +47,9 @@ function terminalLog(violations) {
|
|||
}
|
||||
|
||||
|
||||
describe('Accessibility checks', () => {
|
||||
describe('Do the accessibility checks pass on each page?', () => {
|
||||
endpoints.forEach((endpoint) => {
|
||||
it(`Check Accessibility on ${endpoint} page`, () => {
|
||||
it(`Check accessibility on ${endpoint} page`, () => {
|
||||
cy.visit(endpoint).get('main').then(() => {
|
||||
cy.injectAxe();
|
||||
cy.checkA11y(null, null, terminalLog);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue