|
e645f7c
juliemr authored
|
||
| 1 | exports.config = { | |
| 2 | allScriptsTimeout: 11000, | |
| 3 | ||
| 4 | baseUrl: 'http://localhost:8000/build/docs/', | |
| 5 | ||
| 6 | framework: 'jasmine', | |
| 7 | ||
| 8 | onPrepare: function() { | |
| 9 | // Disable animations so e2e tests run more quickly | |
| 10 | var disableNgAnimate = function() { | |
| 11 | angular.module('disableNgAnimate', []).run(function($animate) { | |
| 12 | $animate.enabled(false); | |
| 13 | }); | |
| 14 | }; | |
| 15 | ||
| 16 | browser.addMockModule('disableNgAnimate', disableNgAnimate); | |
|
39c82f3
juliemr authored
|
||
| 17 | ||
| 18 | // Store the name of the browser that's currently being used. | |
| 19 | browser.getCapabilities().then(function(caps) { | |
| 20 | browser.params.browser = caps.get('browserName'); | |
| 21 | }); | |
|
e645f7c
juliemr authored
|
||
| 22 | }, | |
| 23 | ||
| 24 | jasmineNodeOpts: { | |
| 25 | defaultTimeoutInterval: 30000 | |
| 26 | } | |
| 27 | }; |