Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sketching from zero

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

  1. Installing

(if you don’t have initiated the project) Open your folder on VSCode, open the terminal, and type

...

c. After initializing and installing the cypress you should check and confirm that the cypress is on dependencies and it’s on the version that you want

...

2. Running cypress

a. Npm

i. Open the terminal and type npx cypress open

...

3 After this you should be able to see that folders and files were created

...

a. cypress.json

i. Here you’ll change configurations regarding cypress, for example:

...

Remember that you can read the official documentation to study what’s the best approach to code your methods

Info

You can find ithere

...

.

...

}

...

Building your tests

  1. Create your spec.js file with an intuitive name for the task

Running your tests

  1. If you don’t have opened cypress

...