Versions Compared

Key

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

...

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

npm init --y or yarn init (it depends on which package manager you’re using)

  1. Npm

    1. 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

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

    Image Modified

    1. Image Modified

  • Running your tests

  1. If you don’t have opened cypress

i. open the terminal on VSCode

...