-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
66 lines (41 loc) · 1.62 KB
/
config.js
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
64
65
66
"use strict";
/**
* Custom configuration for handow running, will override the default seeting (_config.js module)
*
* @module config
*/
module.exports = {
// The viewport size, "mobile"==460x720 | "desktop"==1024x768 | "default"==800x600
viewport: "desktop",
// Doesn't make sense for fine setting. Just true: shot each act step, false: no screen shot
screenshot: true,
// Add cookies info to report or not. true -- will add cookies available for current page path to each act
cookies: true,
// Add errors happened currently to report or not. true -- Will add errors existed in current page to each act
pageErrors: true,
// Reacting time (ms) after each Act step, default is 300.
reactTime: 500,
// Wait all XHR resolved after each action step or not, default is true - resolve all XHR after each action before taking screenshot.
handlePendingXHR: true,
// Timeout (ms) for waiting element appear/disappear, default is 30000.
elementAppearTimeout: 10000,
elementDisappearTimeout: 5000,
localRender: true,
localAutoRender: true,
// Coding and building base directory
projectPath: "project",
pwtAPI: "chromium",
storiesPath: "project/stories",
// Where are your custom steps
stepsPath: "project/steps",
reportPath: "records",
autoArchive: 100,
consoleOutput: "step",
outputSkipInfo: true,
headless: true,
browserSessionScope: "plan",
// Timeout (ms) for waiting xhr call response, default is 30000.
xhrResponseTimeout: 10000,
globalParams: 'project/params',
runningException: "continue"
};