After upgrading from Cypress 8 to 10, we started getting this CypressError using @interactors/with-cypress@1.0.0-rc1.1:
Cypress.Commands.add() cannot create a new command named expect because that name is reserved internally by Cypress.
node_modules/.pnpm/@interactors+with-cypress@1.0.0-rc1.1_cypress@10.2.0/node_modules/@interactors/with-cypress/dist/cypress.js:34:1:
33 | // NOTE: Add interaction assertion function, Cypress also overrides `expect` method to a wrapper function
> 34 | Cypress.Commands.add('expect', (interaction) => interact([].concat(interaction), 'expect'));
| ^
After upgrading from Cypress 8 to 10, we started getting this
CypressErrorusing@interactors/with-cypress@1.0.0-rc1.1:node_modules/.pnpm/@interactors+with-cypress@1.0.0-rc1.1_cypress@10.2.0/node_modules/@interactors/with-cypress/dist/cypress.js:34:1: