test(doc:protractor): turn off animation for doc end to end tests to speed things up

This commit is contained in:
Julie
2014-01-13 15:20:44 -08:00
committed by Matias Niemelä
parent ec59be67bc
commit 82213efff2

View File

@@ -14,6 +14,17 @@ exports.config = {
framework: 'jasmine',
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);
},
jasmineNodeOpts: {
defaultTimeoutInterval: 30000
}