-
Notifications
You must be signed in to change notification settings - Fork 86
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
How to only log violations while running tests #17
Comments
Test fails only due to this assertion : https://github.com/avanslaars/cypress-axe/blob/6f7887c03fdd26ac3bef7de1c1a00353692ea67d/index.js#L41 I think we can pass it as argument to enable disable the fail mode/assertion which will avoid the tests to fail. Additionally you would like to log the violations and for that can use |
I received quite some emails asking about how to achieve this so I think its best to update in this thread : I forked the repo and created a solution here : And this is how you I am handling it : So in nutshell the workflow will be :
Hope this helps :) |
@chit786 Really appreciate it for showing us how to use it! 👍 Will give it a try soon. |
@pgroot91 i created a pull request on this project with the solution . Can you please reopen this issue so that it can be closed once the changes are merged or a solution is there .. it’s an interesting functionality to have :) |
The PR with the fix for this has been merged and is included in |
i dont understand how to solve this problem. can anyone assist? |
Hi Guys,
Is it possible to report/log accessibility violations only and not making our tests to fail?
Patrick
The text was updated successfully, but these errors were encountered: