component-driven / component-driven/cypress-axe
Error: Arguments are invalid whening passing Options object in cy.checkA11y
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 641
- Forks
- 90
- Avg merge
- 6h 8m
- Merged PRs (30d)
- 1
Description
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"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported TypeScript Options value and cy.checkA11y(A11yConfig) call, reproducing the axe.run arguments are invalid error with the listed Cypress, @types/cypress-axe, and axe-core versions. Done means the cause and supported usage or compatibility requirement are identified and captured.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- accessibility, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100