mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Andrew Kushnir
parent
c7346bfdba
commit
c7d1890aaa
@@ -13,28 +13,16 @@ require('reflect-metadata');
|
||||
|
||||
Error.stackTraceLimit = 9999;
|
||||
|
||||
var BROWSER_OPTIONS = {
|
||||
LocalChrome: {
|
||||
'browserName': 'chrome',
|
||||
|
||||
// Enables concurrent testing. Currently runs four e2e files in parallel.
|
||||
shardTestFiles: true,
|
||||
maxInstances: 4,
|
||||
},
|
||||
ChromeOnTravis: {
|
||||
browserName: 'chrome',
|
||||
chromeOptions: {
|
||||
'args': ['--no-sandbox'],
|
||||
'binary': process.env.CHROME_BIN,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
exports.config = {
|
||||
onPrepare: function() { beforeEach(function() { browser.ignoreSynchronization = false; }); },
|
||||
allScriptsTimeout: 11000,
|
||||
specs: ['dist/examples/**/e2e_test/*_spec.js'],
|
||||
capabilities: process.env.TRAVIS ? BROWSER_OPTIONS.ChromeOnTravis : BROWSER_OPTIONS.LocalChrome,
|
||||
capabilities: {
|
||||
'browserName': 'chrome',
|
||||
// Enables concurrent testing. Currently runs four e2e files in parallel.
|
||||
shardTestFiles: true,
|
||||
maxInstances: 4,
|
||||
},
|
||||
directConnect: true,
|
||||
baseUrl: 'http://localhost:8001/',
|
||||
framework: 'jasmine2',
|
||||
|
||||
Reference in New Issue
Block a user