-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved the Cypress folder into the same directory as other tests (test…
…s). All template tests were moved under a new directory called template-tests, while the e2e directory was left for e2e tests. Additionally, accessibility tests now have their own directory at the same level as other test directories. Configuration changes were made because changing the directory structure affected the functionality of Cypress Axe
- Loading branch information
1 parent
c444458
commit f5827ad
Showing
24 changed files
with
68 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const { defineConfig } = require("cypress"); | ||
|
||
module.exports = defineConfig({ | ||
e2e: { | ||
setupNodeEvents(on, config) { | ||
// implement node event listeners here | ||
}, | ||
}, | ||
}); |
5 changes: 3 additions & 2 deletions
5
...s/e2e/accessibility-tests/axe-about.cy.js → ...press/accessibility-tests/axe-about.cy.js
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
7 changes: 7 additions & 0 deletions
7
...e2e/accessibility-tests/axe-concept.cy.js → ...ess/accessibility-tests/axe-concept.cy.js
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
// When you start creating tests, remove the following comment(s). | ||
// import { accessibilityTestRunner } from '../support/accessibility.js' | ||
// import 'cypress-axe'; | ||
|
||
/* If you want the test to be skipped, add a skip command after the describe part: | ||
- test enabled: describe('Check accessibility of ... | ||
- test to be skipped: describe.skip('Check accessibility of ... */ | ||
describe.skip('Check accessibility of the concept page', () => { | ||
it('no-op test', () => {}) | ||
|
||
// When you start creating tests, remove the following comment(s). | ||
// accessibilityTestRunner() | ||
}) |
5 changes: 3 additions & 2 deletions
5
...2e/accessibility-tests/axe-feedback.cy.js → ...ss/accessibility-tests/axe-feedback.cy.js
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
6 changes: 6 additions & 0 deletions
6
...cessibility-tests/axe-global-search.cy.js → ...cessibility-tests/axe-global-search.cy.js
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 |
---|---|---|
@@ -1,6 +1,12 @@ | ||
// import { accessibilityTestRunner } from '../support/accessibility.js' | ||
// import 'cypress-axe'; | ||
|
||
/* If you want the test to be skipped, add a skip command after the describe part: | ||
- test enabled: describe('Check accessibility of ... | ||
- test to be skipped: describe.skip('Check accessibility of ... */ | ||
describe.skip('Check accessibility of the global search page', () => { | ||
it('no-op test', () => {}) | ||
|
||
// When you start creating tests, remove the following comment(s). | ||
// accessibilityTestRunner() | ||
}) |
6 changes: 3 additions & 3 deletions
6
...e2e/accessibility-tests/axe-landing.cy.js → ...ess/accessibility-tests/axe-landing.cy.js
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
5 changes: 3 additions & 2 deletions
5
.../accessibility-tests/axe-vocab-home.cy.js → .../accessibility-tests/axe-vocab-home.cy.js
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
7 changes: 7 additions & 0 deletions
7
...ccessibility-tests/axe-vocab-search.cy.js → ...ccessibility-tests/axe-vocab-search.cy.js
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
// When you start creating tests, remove the following comment(s). | ||
// import { accessibilityTestRunner } from '../support/accessibility.js' | ||
// import 'cypress-axe'; | ||
|
||
/* If you want the test to be skipped, add a skip command after the describe part: | ||
- test enabled: describe('Check accessibility of ... | ||
- test to be skipped: describe.skip('Check accessibility of ... */ | ||
describe.skip('Check accessibility of the vocabulary search page', () => { | ||
it('no-op test', () => {}) | ||
|
||
// When you start creating tests, remove the following comment(s). | ||
// accessibilityTestRunner() | ||
}) |
5 changes: 3 additions & 2 deletions
5
...s/e2e/accessibility-tests/axe-vocab.cy.js → ...press/accessibility-tests/axe-vocab.cy.js
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,5 @@ | ||
{ | ||
"name": "Using fixtures to represent data", | ||
"email": "[email protected]", | ||
"body": "Fixtures are a great way to mock data for responses to routes" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.