ci(aio): fix and enable e2e tests on Travis (#14174)

This commit is contained in:
George Kalpakas
2017-02-01 07:59:37 +02:00
committed by Igor Minar
parent e0e5e78835
commit 676081fe66
2 changed files with 17 additions and 13 deletions

View File

@ -6,6 +6,7 @@ var SpecReporter = require('jasmine-spec-reporter');
exports.config = {
allScriptsTimeout: 11000,
getPageTimeout: 30000,
specs: [
'./e2e/**/*.e2e-spec.ts'
],
@ -14,7 +15,7 @@ exports.config = {
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
framework: 'jasmine',
framework: 'jasmine2',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
@ -30,3 +31,9 @@ exports.config = {
jasmine.getEnv().addReporter(new SpecReporter());
}
};
if (process.env.TRAVIS) {
exports.config.capabilities.chromeOptions = {
binary: process.env.CHROME_BIN
};
}