/CypressCourse_Basic

Sample project for the web automation test basic course of the Talking About Testing online school

Primary LanguageJavaScript

Cypress Basic Course

Sample project for the web automation test basic course of the Talking About Testing online school (https://www.udemy.com/course/testes-automatizados-com-cypress-basico/).

Pre-requirements

It is required to have Node.js and npm installed to run this project.

I used versions v16.13.2 and 8.3.2 of Node.js and npm, respectively. I suggest you use the same or later versions.

Installation

Run npm install (or npm i for the short version) to install the dev dependencies.

Tests

You can run the tests simulating a desktop or mobile viewport.

Desktop

Run npm test (or npm t for the short version) to run the test in headless mode on a desktop viewport.

Or, run npm run cy:open to open Cypress in interactive mode on a desktop viewport.

Mobile

Run npm run cy:open:mobile to open Cypress in interactive mode on a mobile viewport.

Support this project

If you want to support this project, leave a ⭐.