summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-os/protractor.conf.js
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2017-05-04 07:48:42 -0400
committerst782s <statta@research.att.com>2017-05-04 12:28:17 -0400
commitb54df0ddd0c6a0372327c5aa3668e5a6458fcd64 (patch)
treee69cfa9b314a801bd187cf0145d1d4306436229c /ecomp-portal-FE-os/protractor.conf.js
parent39d1e62c84041831bfc52cca73b5ed5efaf57d27 (diff)
[PORTAL-7] Rebase
This rebasing includes common libraries and common overlays projects abstraction of components Change-Id: I9a24a338665c7cd058978e8636bc412d9e2fdce8 Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-FE-os/protractor.conf.js')
-rw-r--r--ecomp-portal-FE-os/protractor.conf.js51
1 files changed, 51 insertions, 0 deletions
diff --git a/ecomp-portal-FE-os/protractor.conf.js b/ecomp-portal-FE-os/protractor.conf.js
new file mode 100644
index 00000000..154976f0
--- /dev/null
+++ b/ecomp-portal-FE-os/protractor.conf.js
@@ -0,0 +1,51 @@
+// Protractor configuration
+// https://github.com/angular/protractor/blob/master/referenceConf.js
+
+'use strict';
+
+exports.config = {
+ // The timeout for each script run on the browser. This should be longer
+ // than the maximum time your application needs to stabilize between tasks.
+ allScriptsTimeout: 110000,
+
+ // A base URL for your application under test. Calls to protractor.get()
+ // with relative paths will be prepended with this.
+ baseUrl: 'http://localhost:' + (process.env.PORT || '9000'),
+
+ // If true, only chromedriver will be started, not a standalone selenium.
+ // Tests for browsers other than chrome will not run.
+
+ // chromeOnly: true,
+
+ // list of files / patterns to load in the browser
+ specs: [
+ 'e2e/**/*.spec.js'
+ ],
+
+ // Patterns to exclude.
+ exclude: [],
+
+ // ----- Capabilities to be passed to the webdriver instance ----
+ //
+ // For a full list of available capabilities, see
+ // https://code.google.com/p/selenium/wiki/DesiredCapabilities
+ // and
+ // https://code.google.com/p/selenium/source/browse/javascript/webdriver/capabilities.js
+ capabilities: {
+ 'browserName': 'firefox'
+ },
+
+ // ----- The test framework -----
+ //
+ // Jasmine and Cucumber are fully supported as a test and assertion framework.
+ // Mocha has limited beta support. You will need to include your own
+ // assertion framework if working with mocha.
+ framework: 'jasmine',
+
+ // ----- Options to be passed to minijasminenode -----
+ //
+ // See the full list at https://github.com/juliemr/minijasminenode
+ jasmineNodeOpts: {
+ defaultTimeoutInterval: 30000
+ }
+};