cypress-io / cypress-example-recipes

Various recipes for testing common scenarios with Cypress
https://on.cypress.io/examples
3.42k stars 1.34k forks source link

Missing scripts & dependencies in package.json #703

Open a-onkar opened 3 years ago

a-onkar commented 3 years ago

I have forked this repo & cloned it to my machine. Followed the steps as mentioned in the readme file. image

Had below observations:

Case 1: Navigated to cypress-example-recipes\examples\blogs__dayjs project Run command: npm start Failed to start the server. Issue: I am assuming that the start script is missing from the package.json of

image

Case 2: Navigated to cypress-example-recipes\examples\blogsdayjs project Run command: npx cypress open or npm run cypress:open Failed to open Cypress Test Runner as the dependency is missing in both (Root & blogsdayjs) packaje.json files.

image

Suggestion 1: To remove the '&' symbol from the readme file as it creates confusion for beginners. Or modify it in a way that is easy to follow. (Just suggesting not a mandate)

image

a90100 commented 6 months ago

Good suggestion. The '&' symbol should be removed.

I can open cypress App by using the 'npx cypress open' command.