[CORD-2338] Single command to run E2E tests
Change-Id: Id8db22b2b496ca16d20d2c4d0739d9b9042540db
diff --git a/conf/protractor.conf.jenkins.js b/conf/protractor.conf.jenkins.js
index a0dd938..b3ea2cc 100644
--- a/conf/protractor.conf.jenkins.js
+++ b/conf/protractor.conf.jenkins.js
@@ -15,16 +15,29 @@
* limitations under the License.
*/
+const SpecReporter = require('jasmine-spec-reporter').SpecReporter;
exports.config = {
- seleniumServerJar: '/home/teone/selenium/selenium-server-standalone-2.44.0.jar',
+ seleniumAddress: 'http://localhost:4444/wd/hub',
capabilities: {
- 'browserName': 'firefox'
+ browserName: 'firefox',
+ 'moz:firefoxOptions': {
+ args: [ "--headless" ]
+ }
},
specs: [
'../e2e/**/*.spec.js'
],
+ onPrepare: function () {
+ jasmine.getEnv().addReporter(new SpecReporter({
+ spec: {
+ displayStacktrace: true
+ }
+ }));
+ },
jasmineNodeOpts: {
- showColors: true
+ print: function() {},
+ showColors: true,
+ allScriptsTimeout: 40000
}
};
\ No newline at end of file