...
Before starting with useful tips and comments is highly recommended that you always check the official documentation
Info |
---|
You can find |
...
the documentation here. |
Getting started
Installing
(if you don’t have initiated the project) Open your folder on VSCode, open the terminal, and type
npm init --y
or yarn init
(it depends on which package manager you’re using)
Npm
Open your folder on VSCode, open the terminal, and type
npm i cypress --save-dev
to install cypress as dev dependencies
...
b. Yarn
i. Open your folder on VSCode, open the terminal, and type yarn add cypress --dev
to install cypress as dev dependencies
...
You can find it here: https://docs.cypress.io/api/table-of-contents
}
...
Building your tests
Create your spec.js file with an intuitive name for the task
Running your tests
If you don’t have opened cypress
i. open the terminal on VSCode
...