MSW & Cypress
Unanswered
Asiatic Lion posted this in #help-forum
Asiatic LionOP
Info: NextJS (pages) with Cypress and MSW.
work fine in Cypress v9. But after updating Cypress to v12 result in error messages running Cypress. (see image)
What I did after working commit:
Here is all code:
working commit: https://github.com/stephyswe/tests-nextjs-msw-jest-cypress/commit/e58484d072ee046c2de69f93d7d6be5623d2b29f
next commit it break: https://github.com/stephyswe/tests-nextjs-msw-jest-cypress/commit/11daea45f9fbb0a0d4e9cb3ddad7258b7f495e91
Original Repo https://github.com/jmagrippis/eri
Images:
work fine in Cypress v9. But after updating Cypress to v12 result in error messages running Cypress. (see image)
What I did after working commit:
npm install cypress@latest
npx cypress open
migrated all files according to guide.
run test again.Here is all code:
working commit: https://github.com/stephyswe/tests-nextjs-msw-jest-cypress/commit/e58484d072ee046c2de69f93d7d6be5623d2b29f
next commit it break: https://github.com/stephyswe/tests-nextjs-msw-jest-cypress/commit/11daea45f9fbb0a0d4e9cb3ddad7258b7f495e91
Original Repo https://github.com/jmagrippis/eri
Images: