Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 920 Bytes

README.md

File metadata and controls

33 lines (17 loc) · 920 Bytes

Cypress-Básico-V2

Sample project for the basic course of the Talking About Testing Online School.

Pre-requirements

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

I used versions v19.4.0 and 9.2.0 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 testes simulating a desktop or mobile viewport

Desktop

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

Or, run npm run cy:open:mobile to open Cypress in interactive mode.

Mobile

Run npm test:mobile to run the test in headless mode on a mobile viewport.

Or, 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 ⭐.