diff --git a/package.json b/package.json index f1ad4c5..76e4df4 100644 --- a/package.json +++ b/package.json @@ -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" }, @@ -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" } } diff --git a/protractor.conf.js b/protractor.conf.js index 3a8f25b..8bfbf96 100644 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -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'), @@ -20,6 +25,7 @@ exports.config = { browserName: 'chrome', chromeOptions: { args: [ + 'disable-infobars' // 'incognito', // 'disable-extensions', // 'show-fps-counter=true'