diff options
Diffstat (limited to 'protractor-jenkins-conf.js')
| -rw-r--r-- | protractor-jenkins-conf.js | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/protractor-jenkins-conf.js b/protractor-jenkins-conf.js new file mode 100644 index 00000000..a2491474 --- /dev/null +++ b/protractor-jenkins-conf.js @@ -0,0 +1,36 @@ +exports.config = { + allScriptsTimeout: 11000, + + specs: [ + 'build/docs/ptore2e/**/*.js', + 'test/e2e/docsAppE2E.js' + ], + + capabilities: { + 'browserName': 'chrome' + }, + + baseUrl: 'http://localhost:8000/build/docs/', + + framework: 'jasmine', + + onPrepare: function() { + // Disable animations so e2e tests run more quickly + var disableNgAnimate = function() { + angular.module('disableNgAnimate', []).run(function($animate) { + $animate.enabled(false); + }); + }; + + browser.addMockModule('disableNgAnimate', disableNgAnimate); + + require('jasmine-reporters'); + jasmine.getEnv().addReporter( + new jasmine.JUnitXmlReporter('test_out/e2e-' + this.capabilities.browserName + '-', true, true)); + }, + + jasmineNodeOpts: { + defaultTimeoutInterval: 30000, + showColors: false + } +}; |
