2016-10-04 23:39:20 -04:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2016-08-30 12:29:39 -04:00
|
|
|
// Make sure that the command line is read as the first thing
|
|
|
|
// as this could exit node if the help script should be printed.
|
|
|
|
require('./dist/all/e2e_util/e2e_util').readCommandLine();
|
|
|
|
|
2016-05-02 01:54:19 -04:00
|
|
|
exports.config = {
|
2016-10-04 23:39:20 -04:00
|
|
|
onPrepare: function() { beforeEach(function() { browser.ignoreSynchronization = false; }); },
|
2016-05-02 01:54:19 -04:00
|
|
|
allScriptsTimeout: 11000,
|
2016-10-04 23:39:20 -04:00
|
|
|
specs: ['dist/all/**/e2e_test/**/*_spec.js'],
|
2016-05-02 01:54:19 -04:00
|
|
|
exclude: [
|
2016-09-07 19:04:33 -04:00
|
|
|
'dist/all/@angular/examples/**',
|
2016-05-02 01:54:19 -04:00
|
|
|
'**/key_events/**', // can't tell why this is failing
|
2016-10-04 23:39:20 -04:00
|
|
|
'**/sourcemap/**' // fails only on travis
|
2016-05-02 01:54:19 -04:00
|
|
|
],
|
2019-01-08 06:41:24 -05:00
|
|
|
capabilities: {
|
|
|
|
'browserName': 'chrome',
|
|
|
|
// Enables concurrent testing. Currently runs four e2e files in parallel.
|
|
|
|
shardTestFiles: true,
|
|
|
|
maxInstances: 4,
|
|
|
|
},
|
2016-05-02 01:54:19 -04:00
|
|
|
directConnect: true,
|
2016-05-24 15:33:14 -04:00
|
|
|
baseUrl: 'http://localhost:8000/',
|
2016-05-02 01:54:19 -04:00
|
|
|
framework: 'jasmine2',
|
2016-10-04 23:39:20 -04:00
|
|
|
jasmineNodeOpts:
|
|
|
|
{showColors: true, defaultTimeoutInterval: 60000, print: function(msg) { console.log(msg) }},
|
|
|
|
useAllAngular2AppRoots: true,
|
2016-05-02 01:54:19 -04:00
|
|
|
};
|