[CORD-1133] E2E GUI Tests
Change-Id: I521d0cc068a3e328f3d4f421ba4b342bea167e19
diff --git a/conf/protractor.conf.js b/conf/protractor.conf.js
new file mode 100644
index 0000000..5709ce0
--- /dev/null
+++ b/conf/protractor.conf.js
@@ -0,0 +1,24 @@
+const SpecReporter = require('jasmine-spec-reporter').SpecReporter;
+
+exports.config = {
+ seleniumAddress: 'http://localhost:4444/wd/hub',
+ suites: {
+ login: '../e2e/login/*.spec.js',
+ dashboard: '../e2e/dashboard/*.spec.js',
+ keyboard: '../e2e/keyboard-shortcuts/*.spec.js',
+ crud: '../e2e/crud/*.spec.js'
+ },
+ onPrepare: function () {
+ jasmine.getEnv().addReporter(new SpecReporter({
+ spec: {
+ displayStacktrace: true
+ }
+ }));
+ },
+ jasmineNodeOpts: {
+ print: function() {},
+ showColors: true, // Use colors in the command line report.
+ defaultTimeoutInterval: (parseInt(process.env.TIMEOUT, 10) + 1000) || 30 * 1000
+ },
+ allScriptsTimeout: parseInt(process.env.TIMEOUT, 10) || 10 * 1000
+};
\ No newline at end of file