|
2ed4ad5
juliemr authored
|
||
| 1 | exports.config = { | |
| 2 | allScriptsTimeout: 11000, | |
| 3 | ||
| 4 | specs: [ | |
| 5 | 'build/docs/ptore2e/**/*.js', | |
|
039b990
jeffbcross authored
|
||
| 6 | 'test/e2e/docsAppE2E.js' | |
|
2ed4ad5
juliemr authored
|
||
| 7 | ], | |
| 8 | ||
| 9 | capabilities: { | |
| 10 | 'browserName': 'chrome' | |
| 11 | }, | |
| 12 | ||
| 13 | baseUrl: 'http://localhost:8000/build/docs/', | |
| 14 | ||
| 15 | framework: 'jasmine', | |
| 16 | ||
|
82213ef
juliemr authored
|
||
| 17 | onPrepare: function() { | |
| 18 | // Disable animations so e2e tests run more quickly | |
| 19 | var disableNgAnimate = function() { | |
| 20 | angular.module('disableNgAnimate', []).run(function($animate) { | |
| 21 | $animate.enabled(false); | |
| 22 | }); | |
| 23 | }; | |
| 24 | ||
| 25 | browser.addMockModule('disableNgAnimate', disableNgAnimate); | |
| 26 | }, | |
| 27 | ||
|
2ed4ad5
juliemr authored
|
||
| 28 | jasmineNodeOpts: { | |
| 29 | defaultTimeoutInterval: 30000 | |
| 30 | } | |
| 31 | }; |