Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CheckA11y function parameters with nulls and cypress folder tuning #1506

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tests/jena-fuseki*
.DS_Store
.phpunit.result.cache
.php-cs-fixer.cache
cypress/videos/
cypress/screenshots/
tests/cypress/videos/
tests/cypress/screenshots/
/.idea
*.swp
4 changes: 3 additions & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ module.exports = defineConfig({
'tests/cypress/accessibility/**/*.cy.js',
'tests/cypress/template/**/*.cy.js',
'tests/cypress/e2e/**/*.cy.js'
]
],
screenshotsFolder: 'tests/cypress/screenshots',
videosFolder: 'tests/cypress/videos'
}
})
8 changes: 1 addition & 7 deletions tests/cypress/support/accessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ function getConfigurationForCLITests () {
}
function getConfigurationForGUITests () {
return it('Check for possible accessibility errors at all logging levels set below in accordance with WCAG AA requirements', () => {
checkA11y({
includedImpacts: ['minor', 'moderate', 'serious', 'critical'],
runOnly: {
type: 'tag',
values: ['wcag2aa']
}
})
checkA11y(null)
})
}
Loading