component-driven / component-driven/cypress-axe
How to use the cypress-axe with component-testing (angular)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 641
- Forks
- 90
- Avg merge
- 6h 8m
- Merged PRs (30d)
- 1
Description
It seems you are unable to run cy.visit('/') within a component test (angular).
So I am unable to run cy.injectAxe() and cy.checkA11y().
Any suggestions would be appreciated. I was unsure how to flag this as a question, rather than an issue.
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
Reproduce the Angular component-test scenario described in the issue, focusing on cy.visit('/'), cy.injectAxe(), and cy.checkA11y(). The issue names no source file or test, so first determine whether this is a Cypress limitation or a cypress-axe integration problem; done should be a confirmed usage path or a clearly documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, cypress, typescript
- Domain
- frontend, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100