mfrachet / cypress-audit

⚡ Run Lighthouse and Pa11y audits directly in your E2E test suites
https://mfrachet.github.io/cypress-audit/
MIT License
351 stars 44 forks source link

feat: improve pa11y typings #220

Open stefanonardo opened 1 year ago

stefanonardo commented 1 year ago

Same changes as https://github.com/mfrachet/cypress-audit/pull/186 for pa11y

af-owe commented 2 months ago

@mfrachet Can you merge this PR, so we have proper typings for pa11y?

af-owe commented 2 months ago

Hey, I forked the package, fixed the typings, allowed selecting the html element with errors in pa11y and updated pa11y and lighthouse. Also extended the README, replaced the examples and published to NPM. It is now only one package for both pa11y and lighthouse. I did not want to manage multiple npm packages. But it should be explained here:

https://github.com/appsfactorygmbh/cypress-audit

npm i -D @appsfactory/cypress-audit