Here is the my Package.json
{
"name": "AUT",
"version": "1.0.0",
"description": "AUTtest",
"main": "AUTtest_conf.js",
"dependencies": {
"jshint": "^2.10.2",
"node-fetch": "^1.5.3",
"protractor-multiple-cucumber-html-reporter-plugin": "^1.8.0",
"shelljs": "^0.8.1",
"xmldom": "^0.1.27"
},
"devDependencies": {
"chai": "^4.1.0",
"chai-as-promised": "^7.1.1",
"cucumber": "^2.3.1",
"cucumber-html-report": "^0.6.0",
"cucumber-html-reporter": "^2.0.3",
"phantomjs": "2.1.7",
"protractor": "5.4.2",
"protractor-cucumber": "^0.1.8",
"protractor-cucumber-framework": "^3.1.0",
"protractor-helper": "^3.7.4",
"protractor-helpers": "^1.1.501",
"selenium-server-standalone-jar": "^3.4.0"
},
"scripts": {
"debug": "node --inspect-brk ./node_modules/.bin/protractor conf.js",
"pretest": "npm run webdriver-update",
"test": "protractor conf.js",
"webdriver-update": "webdriver-manager update --standalone=false
--gecko=false",
"testc": "protractor ./conf.js --disableChecks --browser=chrome
[email protected] --params.login.passw=Cr4b5c
--params.authURL=\"URL\" --cucumberOpts.tags \"(@smoke or @rt)\"",
},
"author": "",
"license": "ISC"
}
Shell Script :
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
npm install protractor-helpers --save-dev --save-exact ;
npm install protractor-helper --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev
--save-exact;
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
npm install [email protected] --save-dev --save-exact;
mv node_modules/selenium-server-standalone-jar/jar/selenium-server-
standalone*.jar node_modules/selenium-server-standalone-jar/jar/selenium-
server-standalone.jar
All tests run fine in my windows 10 local with Chrome; they get timedout
when using phantomJS
Please help and thank you for the quick response.
On Thursday, April 18, 2019 at 9:51:52 AM UTC-5, Sander Elias wrote:
>
> Hi Skumar,
>
> It seems to be missing dependencies, check the setup of your
> Jenkins server.
> Also, the whole setup with web driver will always be a little
> fragile/flakey, so occasional errors might happen anyway.
>
> Regards
> Sander
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.