Updated 3rd Sept 2020
-
yarn add cypress -D
-
yarn run cypress open
2.1 Wait for cypress to completely load and then close it. We're just running this to instantiate the files we need.
-
Follow these steps for TypeScript or basically just follow the below:
3.1. Basically make sure that tsconfig.json
exists in the ./cypress
folder with the minimum below: