UserController tests up
[portal.git] / ecomp-portal-FE-os / protractor.conf.js
1 // Protractor configuration
2 // https://github.com/angular/protractor/blob/master/referenceConf.js
3
4 'use strict';
5
6 exports.config = {
7   // The timeout for each script run on the browser. This should be longer
8   // than the maximum time your application needs to stabilize between tasks.
9   allScriptsTimeout: 110000,
10
11   // A base URL for your application under test. Calls to protractor.get()
12   // with relative paths will be prepended with this.
13   baseUrl: 'http://localhost:' + (process.env.PORT || '9000'),
14
15   // If true, only chromedriver will be started, not a standalone selenium.
16   // Tests for browsers other than chrome will not run.
17
18  // chromeOnly: true,
19
20   // list of files / patterns to load in the browser
21   specs: [
22     'e2e/**/*.spec.js'
23   ],
24
25   // Patterns to exclude.
26   exclude: [],
27
28   // ----- Capabilities to be passed to the webdriver instance ----
29   //
30   // For a full list of available capabilities, see
31   // https://code.google.com/p/selenium/wiki/DesiredCapabilities
32   // and
33   // https://code.google.com/p/selenium/source/browse/javascript/webdriver/capabilities.js
34   capabilities: {
35     'browserName': 'firefox'
36   },
37
38   // ----- The test framework -----
39   //
40   // Jasmine and Cucumber are fully supported as a test and assertion framework.
41   // Mocha has limited beta support. You will need to include your own
42   // assertion framework if working with mocha.
43   framework: 'jasmine',
44
45   // ----- Options to be passed to minijasminenode -----
46   //
47   // See the full list at https://github.com/juliemr/minijasminenode
48   jasmineNodeOpts: {
49     defaultTimeoutInterval: 30000
50   }
51 };