component-driven / cypress-axe

Test accessibility with axe-core in Cypress
MIT License
618 stars 86 forks source link

Add a callback for getting the full axe-core results object #67

Open gilgold opened 3 years ago

gilgold commented 3 years ago

Hey! In some cases, the full axe-core results object is needed (for logging / tracking or other uses) It would be helpful to have another callback that returns the full results object (similar to how violationsCallback returns the violations object).

I submitted a PR for this - please consider it :) https://github.com/avanslaars/cypress-axe/pull/68

sapegin commented 3 years ago

I drafted my ideas on the new API: #75. I hope this covers your use case — let me know what you think.