component-driven / cypress-axe

Test accessibility with axe-core in Cypress
MIT License
622 stars 86 forks source link

Cypress 7 #90

Closed kfir-mm closed 3 years ago

kfir-mm commented 3 years ago

Thank you for writing up this package! is there a plan to support Cypress 7 soon?

vijar50 commented 3 years ago

Bumping this issue up. I am using cypress-axe 0.12.2, but need to upgrade my Cypress version for fixing an intercept issue to v7+. I cannot do that as V7+ isn't supported by cypress-axe.

Any ETA for support would be much appreciated!

jonbot commented 3 years ago

I'm able to use both Cypress 7 and Cypress-Axe 0.12.2 (though I do get a warning " > cypress-axe@0.12.2" has incorrect peer dependency "cypress@^3 || ^4 || ^5 || ^6".).

$ yarn list | grep cypress                                                                                                                                                                                                                                                                                                   
├─ @cypress/listr-verbose-renderer@0.4.1
├─ @cypress/request@2.88.5
├─ @cypress/xvfb@1.2.4
├─ cypress-axe@0.12.2
├─ cypress@7.1.0
│  ├─ @cypress/listr-verbose-renderer@^0.4.1
│  ├─ @cypress/request@^2.88.5
│  ├─ @cypress/xvfb@^1.2.4

Though I haven't verified anything beyond basic usage works.

kfir-mm commented 3 years ago

I am on the same spot - using deprecated dependency till this is resolved.

jonbot commented 3 years ago

I created a PR here: https://github.com/component-driven/cypress-axe/pull/91. Just bumps up peer dependencies for now.

TobiasHH commented 3 years ago

Could this please merged?

TobiasHH commented 3 years ago

What is with Cypress 8?