argos/dmp-frontend/protractor.conf.js

35 lines
705 B
JavaScript
Raw Normal View History

2018-05-28 11:50:42 +02:00
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
2018-11-27 18:33:17 +01:00
const {
SpecReporter
} = require('jasmine-spec-reporter');
2018-05-28 11:50:42 +02:00
exports.config = {
2018-11-27 18:33:17 +01:00
allScriptsTimeout: 11000,
specs: [
'./e2e/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function () {}
},
onPrepare() {
require('ts-node').register({
project: 'e2e/tsconfig.e2e.json'
});
jasmine.getEnv().addReporter(new SpecReporter({
spec: {
displayStacktrace: true
}
}));
}
2018-05-28 11:50:42 +02:00
};