blob: 5709ce0c09b055ded17d465e699de612e240b2c7 [file] [log] [blame]
Matteo Scandolo583234d2017-04-20 14:33:04 -07001const SpecReporter = require('jasmine-spec-reporter').SpecReporter;
2
3exports.config = {
4 seleniumAddress: 'http://localhost:4444/wd/hub',
5 suites: {
6 login: '../e2e/login/*.spec.js',
7 dashboard: '../e2e/dashboard/*.spec.js',
8 keyboard: '../e2e/keyboard-shortcuts/*.spec.js',
9 crud: '../e2e/crud/*.spec.js'
10 },
11 onPrepare: function () {
12 jasmine.getEnv().addReporter(new SpecReporter({
13 spec: {
14 displayStacktrace: true
15 }
16 }));
17 },
18 jasmineNodeOpts: {
19 print: function() {},
20 showColors: true, // Use colors in the command line report.
21 defaultTimeoutInterval: (parseInt(process.env.TIMEOUT, 10) + 1000) || 30 * 1000
22 },
23 allScriptsTimeout: parseInt(process.env.TIMEOUT, 10) || 10 * 1000
24};