Skip to content

AlexKarpinski/cypress-university-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run tests

1. Download and install NodeJS.

https://nodejs.org/en/download/

2. Load the project from the GitHub.

https://github.com/so1ji/SamolazovProject

3. In project go to the root and perform command:

npm install

4. Run testing scripts:

4.1 To run all tests in Electron

npx cypress run

4.2 To run all tests in Chrome:

npx cypress run -b chrome

4.2.1 Parametres for report in the Cypress Dashboard:

npx cypress run --record --key c21525ba-f260-4a95-ae31-2278911df66d

--record means that transfer results to the Cypress Dashboard is on. --key parameter followed by value c21525ba-f260-4a95-ae31-2278911df66d is used for access to project in the Cypress Dashboard.

4.2.2 Results are loaded into the Cypress Dashboard:

https://dashboard.cypress.io/#/projects/gd3x2a/runs

4.3 To run single test use then choose a test and click on him:

npx cypress open

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.8%
  • Groovy 1.2%