Closed sinedied closed 2 years ago
Hi I created a WIP Pull Request https://github.com/ngx-rocket/generator-ngx-rocket/pull/605
What I do so far is:
1) Generate a sample basic project... no auth, no pwa, no e2e (protractor), english language, and only JEST as unit test tool
2) Using cypress schematics on it ng add @cypress/schematic
--> Install Cypress
3) Add 2 basic tests home.ts and about.ts
4) try it ;)
After this I created a new entry option for cypress next to e2e (protractor) in feature prompt section manually merge the diff and added the conditions for props.cypress this is the result:
... cypress have a lot of useful tools like plugin, code coverage etc... maybe will the better to have it into a separate prompt entry
Feel free to use/merge this branch to complete the feature
Awesome, I'll have a look thanks!
Released with 10.1 😉
Would love to see a Cypress option for E2E tests: https://www.cypress.io/