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

Error: Arguments are invalid whening passing Options object in cy.checkA11y #61

Open
araujosnathan opened this issue Sep 17, 2020 · 0 comments

Comments

@araujosnathan
Copy link

araujosnathan commented Sep 17, 2020

Hello there,

Im using cypress with typescript and when i set the variable:

const A11yConfig: Options = {
  includedImpacts: ["critical"],
  runOnly: {
    type: "tag",
    values: ["section508"]
  }
}; 

Then, i use the cy.checkA11y(A11yConfig), when i run the tests an error happens:

axe.run arguments are invalid

Am i doing something wrong?

Thanks!

Versions:
"cypress": "^4.12.1"
"@types/cypress-axe": "^0.8.0"
"axe-core": "^3.5.5"

@araujosnathan araujosnathan changed the title Error: Arguments are invalid when pass Options object to cy.checkA11y Error: Arguments are invalid whening pass Options object in cy.checkA11y Sep 17, 2020
@araujosnathan araujosnathan changed the title Error: Arguments are invalid whening pass Options object in cy.checkA11y Error: Arguments are invalid whening passing Options object in cy.checkA11y Sep 17, 2020
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

No branches or pull requests

1 participant