CivicActions / cypress-tests

A repository to store Cypress test recipes created by CivicActions engineers
Other
5 stars 3 forks source link

Add scripts and example tests #5

Closed alexfinnarn closed 1 year ago

alexfinnarn commented 1 year ago

I was thinking something like this:

  "scripts": {
    "cy:run": "cypress run",
    "cy:open": "cypress open"
  },

And using the cy: prefix for Cypress-related commands. Thoughts?

dmundra commented 1 year ago

Works for me!

alexfinnarn commented 1 year ago

Sounds good. I will make a PR after #4 adds the initial package.json file.

alexfinnarn commented 1 year ago

@dmundra I added those scripts and the example tests Cypress adds when first booting up. I gotta say, I'm continually impressed with all their updates and even being able to start writing specs from the test runner, apparently.

I especially like the getting started example with all the code comments. I think that (or tests like it) can be great resources when onboarding people new to Cypress or just starting out at CivicActions.