Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 33 lines (24 sloc) 0.786 kb
36831ec Michał Gołębiowski refactor(jshint): reduce duplication & test all JS files
mzgol authored
1 'use strict';
2
e645f7c Julie Ralph refactor(testing): split travis end to end tests into separate jobs for ...
juliemr authored
3 exports.config = {
4 allScriptsTimeout: 11000,
5
762713e Pete Bacon Darwin chore(docs): configure the base path for protractor tests in examples
petebacondarwin authored
6 baseUrl: 'http://localhost:8000/',
e645f7c Julie Ralph refactor(testing): split travis end to end tests into separate jobs for ...
juliemr authored
7
8 framework: 'jasmine',
9
10 onPrepare: function() {
36831ec Michał Gołębiowski refactor(jshint): reduce duplication & test all JS files
mzgol authored
11 /* global angular: false, browser: false, jasmine: false */
12
e645f7c Julie Ralph refactor(testing): split travis end to end tests into separate jobs for ...
juliemr authored
13 // Disable animations so e2e tests run more quickly
14 var disableNgAnimate = function() {
2730007 Pete Bacon Darwin chore(protractor): annotate $animate to allow tests to run under strict-...
petebacondarwin authored
15 angular.module('disableNgAnimate', []).run(['$animate', function($animate) {
e645f7c Julie Ralph refactor(testing): split travis end to end tests into separate jobs for ...
juliemr authored
16 $animate.enabled(false);
2730007 Pete Bacon Darwin chore(protractor): annotate $animate to allow tests to run under strict-...
petebacondarwin authored
17 }]);
e645f7c Julie Ralph refactor(testing): split travis end to end tests into separate jobs for ...
juliemr authored
18 };
19
20 browser.addMockModule('disableNgAnimate', disableNgAnimate);
39c82f3 Julie Ralph chore(travis): reorganize protractor configs to group by spec instead of...
juliemr authored
21
22 // Store the name of the browser that's currently being used.
23 browser.getCapabilities().then(function(caps) {
24 browser.params.browser = caps.get('browserName');
25 });
e645f7c Julie Ralph refactor(testing): split travis end to end tests into separate jobs for ...
juliemr authored
26 },
27
28 jasmineNodeOpts: {
63e8952 Julie Ralph chore(e2e): update protractor to 1.0.0-rc2 and add more logging
juliemr authored
29 defaultTimeoutInterval: 60000,
30 showTiming: true
e645f7c Julie Ralph refactor(testing): split travis end to end tests into separate jobs for ...
juliemr authored
31 }
32 };
Something went wrong with that request. Please try again.