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

ReferenceError: require is not defined #170

Open
linediconsine opened this issue Jan 5, 2024 · 1 comment
Open

ReferenceError: require is not defined #170

linediconsine opened this issue Jan 5, 2024 · 1 comment

Comments

@linediconsine
Copy link

linediconsine commented Jan 5, 2024

Hi and thanks for develop and maintaining cypress-axe, I see an error with this versions

 "cypress-axe": "^1.5.0",
  "cypress": "^13.6.1",
  "axe-core": "^4.8.2",

Accessibility test are failing with

 [positive] Loader component should have no accessibility violations:

ReferenceError: require is not defined
at exports.injectAxe (http://localhost:6060/__cypress/tests?p=test/integration/support/index.ts:27:190)

I created this patch
#169

That seem to solve the problem

@aneta-kjeldsen
Copy link

I'm experiencing the same error. Is it possible to merge the PR with the fix.

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

2 participants