cypress-keycloak icon indicating copy to clipboard operation
cypress-keycloak copied to clipboard

Compatibility with Cypress 13

Open martin131 opened this issue 1 year ago • 4 comments

Plugin dependency is not compatible with Cypress 13

martin131 avatar Sep 20 '23 06:09 martin131

For now, I have added this code to my package.json.

"overrides": {
    "cypress-keycloak": {
      "cypress": "$cypress"
    }
  }

And it seems to be working well.

martin131 avatar Sep 20 '23 06:09 martin131

Support has been added, but no new npm version has been published :(

mrleblanc101 avatar Dec 20 '23 16:12 mrleblanc101

Look like something was wrong with making a release. In a code cypress 13 is defined, nut release 2.0.1 from npm still referees cypress 12 as max

 npm i [email protected] -D
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/cypress
npm ERR!   dev cypress@"^13.6.4" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer cypress@"^6.5.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0" from [email protected]
npm ERR! node_modules/cypress-keycloak
npm ERR!   dev cypress-keycloak@"2.0.1" from the root project
npm ERR! 

azakrytnoi avatar Mar 07 '24 17:03 azakrytnoi

PR to fix: https://github.com/babangsund/cypress-keycloak/pull/61#issue-2174442926

azakrytnoi avatar Mar 07 '24 18:03 azakrytnoi