lpelypenko / axe-html-reporter

Creates easy to read HTML file from axe-core® accessibility results object
MIT License
30 stars 22 forks source link

TypeError: axe.run arguments are invalid #4

Closed rkettelerij closed 3 years ago

rkettelerij commented 3 years ago

I know this is an early project. Nevertheless I tried the setup as described in the README but await runAxe(axeContext, axeOptions); gives TypeError: axe.run arguments are invalid

Note this might be more of an issue with https://github.com/testcafe-community/axe but since you've introduced runAxe for the sake of this reporter I thought I fill an issue here.

lpelypenko commented 3 years ago

Want to check some details:

I have some type fixes in https://github.com/testcafe-community/axe/pull/4 and I hope to have them published soon but I haven't reproduced TypeError: axe.run arguments are invalid yet.

lpelypenko commented 3 years ago

Can you please also check how I set up axe rules and options in this demo project:

https://github.com/lpelypenko/axe-testcafe-demo

rkettelerij commented 3 years ago

Tx for your response. I've grabbed te latest version of https://github.com/testcafe-community/axe and I'm not seeing this issue anymore. So fixed.