5fe823948f
Follow-up toc72e13fanda82a8a5. Closes #14889
43 lines
982 B
JavaScript
43 lines
982 B
JavaScript
'use strict';
|
|
|
|
exports.config = {
|
|
allScriptsTimeout: 11000,
|
|
|
|
specs: [
|
|
'test/e2e/tests/**/*.js',
|
|
'build/docs/ptore2e/**/*.js',
|
|
'docs/app/e2e/*.scenario.js'
|
|
],
|
|
|
|
capabilities: {
|
|
'browserName': 'chrome'
|
|
},
|
|
|
|
baseUrl: 'http://localhost:8000/',
|
|
|
|
framework: 'jasmine2',
|
|
|
|
onPrepare: function() {
|
|
/* global angular: false, browser: false, jasmine: false */
|
|
|
|
// Disable animations so e2e tests run more quickly
|
|
var disableNgAnimate = function() {
|
|
angular.module('disableNgAnimate', []).run(['$animate', function($animate) {
|
|
$animate.enabled(false);
|
|
}]);
|
|
};
|
|
|
|
browser.addMockModule('disableNgAnimate', disableNgAnimate);
|
|
|
|
var reporters = require('jasmine-reporters');
|
|
jasmine.getEnv().addReporter(new reporters.JUnitXmlReporter({
|
|
savePath: 'test_out/docs-e2e-' + exports.config.capabilities.browserName + '-'
|
|
}));
|
|
},
|
|
|
|
jasmineNodeOpts: {
|
|
defaultTimeoutInterval: 30000,
|
|
showColors: false
|
|
}
|
|
};
|