Skip to content

Implementing Jenkins ci with cypress dashboard on the demo e-commerce web

Notifications You must be signed in to change notification settings

orensrauch/cypress-automation-lab-v1.3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cypress-automation-lab-v1.3

setup cypress ci with jenkins

jenkins-demo

  • Drag the downloaded file into the project IDE

  • In the IDE terminal run npm run jenkins

  • Go to http://localhost:8080

  • Copy your generated admin password

  • Install all recommended plugins

  • create admin user

Approve Instance Configuration for Jenkins URL at http://localhost:8080/

In Jenkins admin dashboard Create new Item

  • Give item name

Select Freestyle project scroll down and click OK

In the build config General tab • give project description • select use custom workspace • in IDE terminal run command pwd and copy the folder address • give display name

  • Enter content to create parameterized build

In the choices

cy:run:chrome cy:run:firefox cy:run:electron cy:run-dashboar

In the description

Select the testing method: 1. chrome 2. firefox 3. electron 4. cypress dashboard

In the build section select option Execute shell and enter npm run "$script"

Hit save and enjoy run the build🚀

About

Implementing Jenkins ci with cypress dashboard on the demo e-commerce web

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published