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

Error while running the plugin in cypress #164

Open
Radhey2040 opened this issue Aug 4, 2023 · 2 comments
Open

Error while running the plugin in cypress #164

Radhey2040 opened this issue Aug 4, 2023 · 2 comments

Comments

@Radhey2040
Copy link

While running my cypress e2e test, I'm getting the below error from the cypress-axe plugin:
Cannot read properties of undefined (reading 'run')

Can anyone guide me ?

@cqc-dave
Copy link

cqc-dave commented Sep 8, 2023

It's possible this is a duplicate of #162

If so, I added a comment on that issue that fixed the issue for me that you might want to check out, but your mileage may vary. Good luck!

@artipsingh
Copy link

I am also seeing something similar to this issue

Cannot read properties of undefined (reading 'run')
"cypress-axe": "1.5.0",
"cypress": "12.17.4", and also on "cypress": "13.13.1",

describe('check a11y', () => {
it('running a11y on google', () => {
cy.visit(https://www.google.com/);
cy.injectAxe();
cy.checkA11y();
});
});

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

3 participants