-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbackstop.conf.js
More file actions
73 lines (73 loc) · 2.22 KB
/
backstop.conf.js
File metadata and controls
73 lines (73 loc) · 2.22 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
64
65
66
67
68
69
70
71
72
73
module.exports = {
"id": "UI-Testing",
"viewports": [
// see https://sapui5.hana.ondemand.com/sdk/#docs/api/symbols/sap.ui.Device.media.RANGESETS.html
{
"label": "Phone",
"width": 320,
"height": 480
},
{
"label": "Tablet",
"width": 1023,
"height": 768
},
{
"label": "Desktop",
"width": 1439,
"height": 1080
},
{
"label": "LargeDesktop",
"width": 1920,
"height": 1080
}
],
"onBeforeScript": "chromy/onBefore.js",
"onReadyScript": "chromy/onReady.js",
"scenarios": [
{
"label": "Home",
"url": "http://localhost:8001/test/flpSandboxMockServer.html?serverDelay=0#UITesting-display",
"readySelector": "#application-UITesting-display"
},
// {
// "label": "Detail",
// "url": "http://localhost:8001/test/flpSandboxMockServer.html?serverDelay=0#UITesting-display&/Travels/7726398",
// "readySelector": "#application-UITesting-display"
// },
// {
// "label": "Empty",
// "url": "http://localhost:8001/test/flpSandboxMockServer.html?serverDelay=0#UITesting-display&/Travels",
// "readySelector": "#application-UITesting-display"
// },
// {
// "label": "NotFound",
// "url": "http://localhost:8001/test/flpSandboxMockServer.html?serverDelay=0#UITesting-display&/Travels/666",
// "readySelector": "#application-UITesting-display"
// },
// {
// "label": "Detail-Attachments",
// "url": "http://localhost:8001/test/flpSandboxMockServer.html?serverDelay=0#UITesting-display&/Travels/7726398",
// "readySelector": "#application-UITesting-display-component---detail--page",
// "clickSelector": ".sapMITBFilter:nth-child(2)"
// },
],
"paths": {
"bitmaps_reference": "backstop/bitmaps_reference",
"bitmaps_test": "backstop/bitmaps_test",
"engine_scripts": "backstop/engine_scripts",
"html_report": "build/reports/backstop/html",
"ci_report": "build/reports/backstop"
},
"ci": {
"format": "junit" ,
"testReportFileName": "ui-testing-xunit",
"testSuiteName" : "backstopJS"
},
"report": ["CI"], // ["browser"]
"engine": "chrome",
"engineFlags": [],
"debug": false,
"debugWindow": false
};