https://github.com/fabiangosebrink/nx-protractor-to-cypress
Schematic to turn an Nx Workspace's e2e rest runner from Protractor to Cypress
https://github.com/fabiangosebrink/nx-protractor-to-cypress
Last synced: about 2 months ago
JSON representation
Schematic to turn an Nx Workspace's e2e rest runner from Protractor to Cypress
- Host: GitHub
- URL: https://github.com/fabiangosebrink/nx-protractor-to-cypress
- Owner: FabianGosebrink
- License: mit
- Created: 2020-04-04T13:47:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T16:43:17.000Z (over 2 years ago)
- Last Synced: 2025-03-09T23:01:48.451Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 3.65 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nx Protractor To Cypress Schematic for Angular Projects

[](https://www.npmjs.com/package/@offeringsolutions/nx-protractor-to-cypress)
## Usage
```
ng add @offeringsolutions/nx-protractor-to-cypress
```## Description
This schematic will migrate your Nx Workspace from using Protractor to use Cypress. It will scan the workspace, find all projects and update them all including the workspace itself.
## Actions
This schematic will
- Create Cypress files inside your project-e2e folders
- Delete protractor files
- Update all used sections in the `angular.json` file
- Update the e2e test runner in the `angular.json` file from `protractor` to `cypress`
- Modify `package.json` (removing Protractor deps, adding Cypress deps) and install them