From e645f7cae14618bd8fc7d6b3eadf9307f5a1aeb7 Mon Sep 17 00:00:00 2001 From: Julie Date: Thu, 6 Feb 2014 11:29:24 -0800 Subject: refactor(testing): split travis end to end tests into separate jobs for jquery and jqlite Closes #6159 --- protractor-jquery-conf.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 protractor-jquery-conf.js (limited to 'protractor-jquery-conf.js') 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 + } +}; -- cgit v1.2.3