component-driven / component-driven/cypress-axe
I am facing below error while running tests cases for a11y.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 641
- Forks
- 90
- Avg merge
- 6h 8m
- Merged PRs (30d)
- 1
Description
Oops...we found an error preparing this test file:
/app/cypress/support/index.js
The error was:
Error: Can't walk dependency graph: Cannot find module 'cypress-axe' from '/app/cypress/support'
required by /app/cypress/support/index.js
This occurred while Cypress was compiling and bundling your test code. This is usually caused by:
- A missing file or dependency
- A syntax error in the file or one of its dependencies
Fix the error in your code and re-run your tests.
System configuration:- Ubuntu 18.04 LTS (windows 10)
using below versions.
"axe-core": "^4.1.4",
"cypress": "^4.12.1",
"cypress-axe": "^0.8.2",
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 cypress/support/index.js and the reported Cypress dependency-graph error. Check how cypress-axe is made available when the accessibility tests run, then rerun the tests in the stated environment. Done means Cypress can compile the test file without the missing-module error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, typescript
- Domain
- accessibility, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100