Automatic migration from cypress to playwright
- node >=16.0.0
npm install @11joselu/cypress-to-playwright -D
npx @11joselu/cypress-to-playwright <cypress_directory>
- It will read all js files found in the <cypress_directory> folder.
- It will convert each cypress command (supported ones) to the playwright version.
- It will write the new files in the playwright folder at the same level as the indicated folder.
- Follow the steps indicated in the script.
Warning
Migration is not perfect, therefore you will have to make modifications in the new code
Jose Cabrera
- Website: https://twitter.com/11joselu
- Twitter: @11joselu
- Github: @11joselu
npm run test
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Copyright © 2023 Jose Cabrera.
This project is MIT licensed.