Skip to content

unrulytony/UI-Automation-Bootcamp-Project

Repository files navigation

UI-Automation-Bootcamp-Project

Cypress project for QualityWorks UI Automation Bootcamp

Dependencies

  1. NodeJS v12, v14 or above
  2. NPM v6 or above
  3. Chrome browser

Getting Started

Clone the repository & install dependencies

$ git clone 
$ cd UI-Automation-Bootcamp-Project
$ npm install

Folder Structure

  • cypress/e2e/page: Page object files which include element selectors and functions that are used in tests.
  • cypress/e2e/test: Test files which include the actual tests.

Execute tests

Execute the Cypress GUI

npx cypress open

Execute the Cypress via commandline

npx cypress run

Executes all tests in the Chrome browser and generates a Mochawesome report.

npm test

Execute tests in a different browser

npx cypress run --browser firefox

N.B. The browser must be installed on the device.

Execute a specific test file

Without Report

npx cypress run --spec cypress/e2e/test/search.cy.js

OR

With Report

npm run test:spec cypress/e2e/test/search.cy.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published