Cypess e2e Testing Using Jenkins


Cypess e2e Testing Using Jenkins


In this article, we will learn on steps to integrate our cypress test with continuous integration tools like Jenkins.

Step 1: Login into Jenkins and Click on Create New Item.

Step 2:Enter Jenkins job name and select the project style as “Freestyle”.


Step 3: From the Build Section, click on add Build step and select the option as “Execute Windows batch command”.


Step 4: Here we need to first navigate to our cypress project and provide the path of the record run key that we have generated in the last article.


Step 5: Click on apply and save the Jenkins job.



Step 6: Now once this Jenkins job will execute we would be able to view our cypress test executing in headless mode via Jenkins.









SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
Anonymous
September 24, 2019 at 12:44 PM

Hi Ankur,

I have been using cypress+Jenkins, just want to know are you able to generate Test Trend report using Junit report plugin ?

Reply
avatar