aboutsummaryrefslogtreecommitdiffstats
path: root/protractor-jquery-conf.js
diff options
context:
space:
mode:
authorJulie2014-02-06 11:29:24 -0800
committerIgor Minar2014-02-07 20:41:39 -0800
commite645f7cae14618bd8fc7d6b3eadf9307f5a1aeb7 (patch)
tree8b29f6602f45e83becac49e1311ad05ac15d052e /protractor-jquery-conf.js
parentad275b226551e45b68dace46af5fcd8178e31a60 (diff)
downloadangular.js-e645f7cae14618bd8fc7d6b3eadf9307f5a1aeb7.tar.bz2
refactor(testing): split travis end to end tests into separate jobs for jquery and jqlite
Closes #6159
Diffstat (limited to 'protractor-jquery-conf.js')
-rw-r--r--protractor-jquery-conf.js32
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
+ }
+};