mariafantuci / cypress-basico-v2

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

Home Page:https://www.udemy.com/course/testes-automatizados-com-cypress-basico/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cypress

Sample project to demonstrate a cypress testing commands.

Pre-requirements

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

I used versions v16.13.0 and 8.1.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

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

Run npm run cy:open-mobile to open Cypress in interactive mode (mobile viewport). Run npm run cy:open to open Cypress in interactive mode (desktop viewport).

Note: After running the dependencies, copy these lines in the cypress.json file { "pluginsFile": false, "viewportHeight": 880, "viewportWidth": 1280 }

About

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

https://www.udemy.com/course/testes-automatizados-com-cypress-basico/

License:MIT License


Languages

Language:JavaScript 58.2%Language:HTML 26.1%Language:CSS 15.7%