2014-01-07 19:51:32 +00:00
|
|
|
exports.config = {
|
|
|
|
|
allScriptsTimeout: 11000,
|
|
|
|
|
|
|
|
|
|
specs: [
|
|
|
|
|
'build/docs/ptore2e/**/*.js',
|
2014-01-09 19:21:54 +00:00
|
|
|
'test/e2e/docsAppE2E.js'
|
2014-01-07 19:51:32 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
|
|
capabilities: {
|
|
|
|
|
'browserName': 'chrome'
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
baseUrl: 'http://localhost:8000/build/docs/',
|
|
|
|
|
|
|
|
|
|
framework: 'jasmine',
|
|
|
|
|
|
2014-01-13 23:20:44 +00:00
|
|
|
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);
|
|
|
|
|
},
|
|
|
|
|
|
2014-01-07 19:51:32 +00:00
|
|
|
jasmineNodeOpts: {
|
|
|
|
|
defaultTimeoutInterval: 30000
|
|
|
|
|
}
|
|
|
|
|
};
|