Create fast and simple e2e projects using Cypress.io and Nx
🔎 Smart, Fast and Extensible Testing System
Install nx
globally with npm i -g nx
You can use
npx
instead.
After clone, just install project dependencies with npm i
After clone, just install project dependencies with npm i
Run nx workspace-schematic e2e-project <PROJECT_NAME> --url <PROJECT_BASE_URL>
e.g.:
nx workspace-schematic e2e-project my-awesome-project --url http://my-awesome-project.net
Run nx e2e <PROJECT_NAME>
to execute the end-to-end tests via Cypress.
e.g.:
nx e2e my-awesome-project
# or
nx run my-awesome-project:e2e
Visit the Nx Documentation to learn more.
This project is made thanks to:
- Article: How to Build Generators & Schematics With the Superior Nx Devkit
- Documentation: Nx Workspace Generators
- Repository: @nrwl/nx/packages/react
Special Thanks to Henrique Moreira who guide-us into nx generators creation <3