|author||Vikash Sagar <email@example.com>||Tue Oct 17 18:30:50 2017 +0530|
|committer||Vikash Sagar <firstname.lastname@example.org>||Tue Oct 17 18:30:50 2017 +0530|
Merge branch 'branch-regression' of https://github.com/Devops-POC/regression-test into branch-regression
This document will give clear idea regarding the installation of npm packages that are required for regression test implemented for angular Js application. All the installation part will be done in pom.xml and Jenkinsfile will have the execution part of protractor.
Explanation for POM.XML:
The above specified plugin is added in the pom.xml file for installing the npm packages like Protractor and Jasmine reports.
Specify the node js installation path in the tag for installing the additional packages for test execution. This is the place where the protractor and Jasmine report package will get installed.
Explanation for Jenkinsfile:
The above script is added to Jenkinsfile. This script is for executing the Regression test using protractor package.
1 point indicates the new stage is created with the name “Regression Test”
2 point indicates the path environment variable is updated with the protractor installation path.
3 point indicates protractor will execute the test based on the configuration file conf.js