-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprotractorUpdateAccount.js
More file actions
63 lines (54 loc) · 2.04 KB
/
protractorUpdateAccount.js
File metadata and controls
63 lines (54 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Protractor configuration
// https://github.com/angular/protractor/blob/master/referenceConf.js
// sudo npm install protractor -g
// sudo webdriver-manager update
'use strict';
exports.config = {
directConnect: true,
// 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,
getPageTimeout: 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,
suites: {
//IMPORTANT
//comment and uncomment specs. only authPath is necessary in all specs.
authPath: ['client/e2e/user/auth/auth.spec.js'],
//athlete: ['client/e2e/athletes/add-athlete.spec.js'],
updateAccount: ['client/e2e/user/account/account.update.spec.js'],
//addCreditCard: ['client/e2e/user/card/create.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': 'chrome'
},
onPrepare: function(done) {
},
// ----- 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: {
showColors: true,
defaultTimeoutInterval: 110000,
isVerbose: true,
includeStackTrace: true
}
};