CheckA11y function parameters with nulls and cypress folder tuning #1506
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reasons for creating this PR
A table that presents accessibility errors more effectively is necessary, even though SonarCloud reports the error. Additionally, the 'screenshots' and 'videos' directories should be in the correct test directory.
Link to relevant issue(s), if any
Description of the changes in this PR
--- a/cypress.config.js
+++ b/cypress.config.js
@@ -22,6 +22,8 @@ module.exports = defineConfig({
'tests/cypress/accessibility//*.cy.js',
'tests/cypress/template//.cy.js',
'tests/cypress/e2e/**/.cy.js'
}
})
AND
--- a/tests/cypress/support/accessibility.js
+++ b/tests/cypress/support/accessibility.js
@@ -39,7 +39,7 @@ function getConfigurationForCLITests () {
}
function getConfigurationForGUITests () {
return it('Check for possible accessibility errors at all logging levels set below in accordance with WCAG AA requirements', () => {
includedImpacts: ['minor', 'moderate', 'serious', 'critical'],
runOnly: {
type: 'tag',
Known problems or uncertainties in this PR
Checklist
.sr-only
class, color contrast)