Cypress · Senior · Question 19 of 76
What should a team consider when migrating from Cypress to Playwright?
- 1Playwright runs Cypress specs unchanged, so just switch the runner
- 2Migration is impossible, so teams must start a new project
- 3Rewrite effort, the command model differences, and run both during migration
Show the answer
Correct answer: Rewrite effort, the command model differences, and run both during migration
Explanation
The chained command queue becomes await calls. Migrating specs gradually, highest value first, keeps coverage during the switch.