component-driven/cypress-axe

I am facing below error while running tests cases for a11y.

Reshma-git opened this issue · 0 comments

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",