Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Commit

Permalink
feature: updates
Browse files Browse the repository at this point in the history
- devDependencies to latest stable versions
- add parameter to support uncaught exceptions like exit code 199
  • Loading branch information
wswebcreation committed Jun 13, 2017
1 parent a5c499f commit 3c59780
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "From Scripts to Serenity",
"main": "index.js",
"scripts": {
"preprotractor": "webdriver-manager update --standalone --versions.standalone=2.53.1 --versions.chrome=2.28",
"preprotractor": "webdriver-manager update",
"protractor": "protractor ./protractor.conf.js",
"test": "npm run protractor --silent"
},
Expand All @@ -24,18 +24,18 @@
},
"homepage": "http://serenity-js.org/from-scripts-to-serenity/readme.html",
"devDependencies": {
"@types/chai": "3.4.35",
"@types/chai-as-promised": "0.0.30",
"@types/cucumber": "0.0.38",
"@types/node": "7.0.8",
"chai": "3.5.0",
"chai-as-promised": "6.0.0",
"@types/chai": "4.0.0",
"@types/chai-as-promised": "0.0.31",
"@types/cucumber": "1.3.1",
"@types/node": "7.0.31",
"chai": "4.0.2",
"chai-as-promised": "7.0.0",
"cucumber": "1.3.2",
"cucumber-html-report": "0.5.6",
"protractor": "5.1.1",
"protractor-cucumber-framework": "1.0.2",
"ts-node": "2.1.0",
"tslint": "4.5.1",
"typescript": "2.2.1"
"cucumber-html-report": "0.6.0",
"protractor": "5.1.2",
"protractor-cucumber-framework": "3.1.2",
"ts-node": "3.0.6",
"tslint": "5.4.3",
"typescript": "2.4.0"
}
}
6 changes: 6 additions & 0 deletions protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ exports.config = {
// https://github.com/angular/protractor/blob/master/docs/timeouts.md
allScriptsTimeout: 110000,

disableChecks: true,

// https://github.com/protractor-cucumber-framework/protractor-cucumber-framework#uncaught-exceptions
ignoreUncaughtExceptions: true,

framework: 'custom',
frameworkPath: require.resolve('protractor-cucumber-framework'),

Expand All @@ -20,6 +25,7 @@ exports.config = {
browserName: 'chrome',
chromeOptions: {
args: [
'disable-infobars'
// 'incognito',
// 'disable-extensions',
// 'show-fps-counter=true'
Expand Down

0 comments on commit 3c59780

Please sign in to comment.