Upgrade to Cypress 15

Proprietary

Upgrades a Cypress 12, 13 or 14 project to Cypress 15, first applying the Cypress 14 upgrade, then rewrites cy.exec(...).its('code') to exitCode, cy.stub(object, name, fn) to .callsFake(fn) and Cypress.SelectorPlayground to Cypress.ElementSelector, raises engines.node to 20 where cypress is declared, and upgrades cypress to 15.x. Marks getSelector(), onElement defaults, and the cy.stub() calls it cannot rewrite.

io.moderne.javascript.testing.cypress.UpgradeToCypress15
mod run . --recipe=io.moderne.javascript.testing.cypress.UpgradeToCypress15

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.