|
36831ec
mzgol authored
|
||
| 1 | 'use strict'; | |
| 2 | ||
|
e645f7c
juliemr authored
|
||
| 3 | exports.config = { | |
| 4 | allScriptsTimeout: 11000, | |
| 5 | ||
| 6 | baseUrl: 'http://localhost:8000/build/docs/', | |
| 7 | ||
| 8 | framework: 'jasmine', | |
| 9 | ||
| 10 | onPrepare: function() { | |
|
36831ec
mzgol authored
|
||
| 11 | /* global angular: false, browser: false, jasmine: false */ | |
| 12 | ||
|
e645f7c
juliemr authored
|
||
| 13 | // Disable animations so e2e tests run more quickly | |
| 14 | var disableNgAnimate = function() { | |
| 15 | angular.module('disableNgAnimate', []).run(function($animate) { | |
| 16 | $animate.enabled(false); | |
| 17 | }); | |
| 18 | }; | |
| 19 | ||
| 20 | browser.addMockModule('disableNgAnimate', disableNgAnimate); | |
|
39c82f3
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
juliemr authored
|
||
| 26 | }, | |
| 27 | ||
| 28 | jasmineNodeOpts: { | |
|
63e8952
juliemr authored
|
||
| 29 | defaultTimeoutInterval: 60000, | |
| 30 | showTiming: true | |
|
e645f7c
juliemr authored
|
||
| 31 | } | |
| 32 | }; |