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

test: add accessibility test #1668

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

test: add accessibility test #1668

wants to merge 3 commits into from

Conversation

sdobbert
Copy link
Contributor

Summary

This merge requests imports an accessibility test (e2e-test) from terrestris/shogun-e2e-tests#8 in order to test the gis-client for accessibility issues based on the Web Content Accessibility Guidelines (WCAG).
The test passes when no violations (issues that fail WCAG standards) are reported.

TODO:

terrestris/shogun-e2e-tests#8 hast to be released first in order for this to work.

Copy link

github-actions bot commented Jun 26, 2024

Title Lines Statements Branches Functions
All Coverage: 22%
22.66% (797/3517) 10.83% (197/1819) 26.05% (179/687)

❌ No tests were found related to the files changed

package.json Outdated
@@ -42,6 +42,7 @@
"not IE 11"
],
"dependencies": {
"@axe-core/playwright": "^4.9.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you check if this can be a devDependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, yes, I moved both to devDependencies.

package.json Outdated Show resolved Hide resolved
src/e2e-tests/accessibility.spec.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants