diff options
Diffstat (limited to 'protractor-jquery-conf.js')
| -rw-r--r-- | protractor-jquery-conf.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/protractor-jquery-conf.js b/protractor-jquery-conf.js new file mode 100644 index 00000000..6b93994b --- /dev/null +++ b/protractor-jquery-conf.js @@ -0,0 +1,32 @@ +exports.config = { + allScriptsTimeout: 11000, + + specs: [ + 'build/docs/ptore2e/**/*jquery_test.js', + 'test/e2e/docsAppE2E.js' + ], + + capabilities: { + 'browserName': 'chrome', + 'name': 'Angular E2E: jquery' + }, + + 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); + }, + + jasmineNodeOpts: { + defaultTimeoutInterval: 30000 + } +}; |
