/cypress-basico-v2

Repositório da versão 2 do curso básico de Cypress da Escola Talking About Testing

Primary LanguageJavaScriptMIT LicenseMIT

cypress-basico-v2

Automated Testing with Cypress - Basic

Pre-requirements

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

I used versions v16.15.0 and 8.5.5 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 viewport

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

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

Mobile viewport

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

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

Support this project

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


This project was created with 💚 by Walmyr.