0.0.14 • Published 9 months ago
@11joselu/cypress-to-playwright v0.0.14
Automatic migration from cypress to playwright
Prerequisites
- node >=16.0.0
Install
npm install @11joselu/cypress-to-playwright -D
Usage
npx @11joselu/cypress-to-playwright <cypress_directory>
How it works
- 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
Supported migrations
Author
Jose Cabrera
- Website: https://twitter.com/11joselu
- Twitter: @11joselu
- Github: @11joselu
Contributing
Run tests
npm run test
Contributions, issues and feature requests are welcome!Feel free to check issues page.
License
Copyright © 2023 Jose Cabrera. This project is MIT licensed.