@autifyhq/autify-cli-integration-test 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__recordings__/web%20test%20run%20--autify-connect-client%20--wait%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Fscenarios%2F91437/polly-proxy_3343057686/recording.har +1022 -0
- package/__snapshots__/golden/webTestRunAutifyConnectClient.test.js.snap +47 -0
- package/dist/bin/autify-cli-integration-test.js +4 -2
- package/dist/bin/autify-with-proxy.js +21 -1
- package/dist/test/golden/webTestRunAutifyConnectClient.test.d.ts +1 -0
- package/dist/test/golden/webTestRunAutifyConnectClient.test.js +5 -0
- package/dist/test/helpers/execAutifyCli.js +9 -2
- package/package.json +5 -4
|
@@ -0,0 +1,1022 @@
|
|
|
1
|
+
{
|
|
2
|
+
"log": {
|
|
3
|
+
"_recordingName": "polly-proxy",
|
|
4
|
+
"creator": {
|
|
5
|
+
"comment": "persister:fs",
|
|
6
|
+
"name": "Polly.JS",
|
|
7
|
+
"version": "6.0.5"
|
|
8
|
+
},
|
|
9
|
+
"entries": [
|
|
10
|
+
{
|
|
11
|
+
"_id": "ca1c840c1d5ab757390ab157656f4d13",
|
|
12
|
+
"_order": 0,
|
|
13
|
+
"cache": {},
|
|
14
|
+
"request": {
|
|
15
|
+
"bodySize": 58,
|
|
16
|
+
"cookies": [],
|
|
17
|
+
"headers": [],
|
|
18
|
+
"headersSize": 341,
|
|
19
|
+
"httpVersion": "HTTP/1.1",
|
|
20
|
+
"method": "POST",
|
|
21
|
+
"postData": {
|
|
22
|
+
"mimeType": "application/json",
|
|
23
|
+
"params": [],
|
|
24
|
+
"text": "{\"name\":\"autify-cli-07edc5fc-89cb-41f1-ab09-3f3d55d170fa\"}"
|
|
25
|
+
},
|
|
26
|
+
"queryString": [],
|
|
27
|
+
"url": "https://app.autify.com/api/v1/projects/743/autify_connect/access_points"
|
|
28
|
+
},
|
|
29
|
+
"response": {
|
|
30
|
+
"bodySize": 211,
|
|
31
|
+
"content": {
|
|
32
|
+
"mimeType": "application/json; charset=utf-8",
|
|
33
|
+
"size": 211,
|
|
34
|
+
"text": "{\"name\":\"autify-cli-07edc5fc-89cb-41f1-ab09-3f3d55d170fa\",\"key\":\"000000000000000000000000000000\",\"last_use\":null,\"creator\":\"riywo\",\"created_at\":\"2022-09-12T23:42:29.809Z\",\"updated_at\":\"2022-09-12T23:42:29.809Z\"}"
|
|
35
|
+
},
|
|
36
|
+
"cookies": [],
|
|
37
|
+
"headers": [],
|
|
38
|
+
"headersSize": 643,
|
|
39
|
+
"httpVersion": "HTTP/1.1",
|
|
40
|
+
"redirectURL": "",
|
|
41
|
+
"status": 200,
|
|
42
|
+
"statusText": "OK"
|
|
43
|
+
},
|
|
44
|
+
"startedDateTime": "2022-09-12T23:42:29.046Z",
|
|
45
|
+
"time": 819,
|
|
46
|
+
"timings": {
|
|
47
|
+
"blocked": -1,
|
|
48
|
+
"connect": -1,
|
|
49
|
+
"dns": -1,
|
|
50
|
+
"receive": 0,
|
|
51
|
+
"send": 0,
|
|
52
|
+
"ssl": -1,
|
|
53
|
+
"wait": 819
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"_id": "73a4b3faba67051f9c497fbd51a01ce4",
|
|
58
|
+
"_order": 0,
|
|
59
|
+
"cache": {},
|
|
60
|
+
"request": {
|
|
61
|
+
"bodySize": 0,
|
|
62
|
+
"cookies": [],
|
|
63
|
+
"headers": [],
|
|
64
|
+
"headersSize": 272,
|
|
65
|
+
"httpVersion": "HTTP/1.1",
|
|
66
|
+
"method": "GET",
|
|
67
|
+
"queryString": [],
|
|
68
|
+
"url": "https://app.autify.com/api/v1/projects/743/capabilities"
|
|
69
|
+
},
|
|
70
|
+
"response": {
|
|
71
|
+
"bodySize": 12105,
|
|
72
|
+
"content": {
|
|
73
|
+
"mimeType": "application/json; charset=utf-8",
|
|
74
|
+
"size": 12105,
|
|
75
|
+
"text": "[{\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"Edge\",\"browser_version\":\"104.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"Edge Legacy\",\"browser_version\":\"18.0\",\"device\":null,\"device_type\":null,\"unsupported\":true},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"Firefox\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"IE\",\"browser_version\":\"11.0\",\"device\":null,\"device_type\":null,\"unsupported\":true},{\"os\":\"Windows Server\",\"os_version\":\"2019\",\"browser\":\"Edge\",\"browser_version\":\"104.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows Server\",\"os_version\":\"2019\",\"browser\":\"IE\",\"browser_version\":\"11.0\",\"device\":null,\"device_type\":null,\"unsupported\":true},{\"os\":\"OS X\",\"os_version\":\"Big Sur\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"OS X\",\"os_version\":\"Big Sur\",\"browser\":\"Firefox\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"OS X\",\"os_version\":\"Big Sur\",\"browser\":\"Safari\",\"browser_version\":\"14.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"OS X\",\"os_version\":\"Big Sur\",\"browser\":\"Edge\",\"browser_version\":\"104.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"\",\"device\":\"Galaxy S5\",\"device_type\":\"emulator\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"\",\"device\":\"Pixel 2\",\"device_type\":\"emulator\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"\",\"device\":\"Pixel 2 XL\",\"device_type\":\"emulator\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"11.0\",\"device\":\"Galaxy S21 Ultra\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"11.0\",\"device\":\"Galaxy S21\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"11.0\",\"device\":\"Galaxy S21 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Galaxy Note 20 Ultra\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Galaxy Note 20\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Galaxy A51\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Galaxy A11\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy S10e\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy S10 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy S10\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy Note 10 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy Note 10\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy A10\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"8.1\",\"device\":\"Galaxy J7 Prime\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"11.0\",\"device\":\"Pixel 5\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Galaxy S20\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Galaxy S20 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Galaxy S20 Ultra\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy S9 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy S8 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"8.1\",\"device\":\"Galaxy Note 9\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"8.0\",\"device\":\"Galaxy S9 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"8.0\",\"device\":\"Galaxy S9\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"7.1\",\"device\":\"Galaxy Note 8\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"7.1\",\"device\":\"Galaxy A8\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"7.0\",\"device\":\"Galaxy S8 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"7.0\",\"device\":\"Galaxy S8\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"6.0\",\"device\":\"Galaxy S7\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"5.0\",\"device\":\"Galaxy S6\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"11.0\",\"device\":\"Pixel 4\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Pixel 4 XL\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Pixel 4\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Pixel 3\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Pixel 3a XL\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Pixel 3a\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Pixel 3 XL\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Pixel 3\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Pixel 2\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"8.0\",\"device\":\"Pixel 2\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"8.0\",\"device\":\"Pixel\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"7.1\",\"device\":\"Pixel\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"6.0\",\"device\":\"Nexus 6\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"10.0\",\"device\":\"Galaxy Tab S7\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy Tab S6\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"9.0\",\"device\":\"Galaxy Tab S5e\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"8.0\",\"device\":\"Galaxy Tab S3\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"8.1\",\"device\":\"Galaxy Tab S4\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"\",\"device\":\"iPhone X\",\"device_type\":\"emulator\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"\",\"device\":\"iPhone 6/7/8 Plus\",\"device_type\":\"emulator\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"\",\"device\":\"iPhone 6/7/8\",\"device_type\":\"emulator\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"\",\"device\":\"iPad\",\"device_type\":\"emulator\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"\",\"device\":\"iPad Pro\",\"device_type\":\"emulator\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"15\",\"device\":\"iPhone XS\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"15\",\"device\":\"iPhone 11 Pro\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPhone XS\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPhone 12 Pro Max\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPhone 12 Pro\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPhone 12 Mini\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPhone 12\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPhone 11 Pro Max\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPhone 8 Plus\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPhone 11\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPhone XS\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPhone 11 Pro Max\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPhone 11 Pro\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPhone 11\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPhone XS\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPhone XS Max\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPhone XR\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPhone X\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPhone 8\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPhone 8\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPhone 8\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPhone 8 Plus\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPhone 7\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPhone 6S\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPhone 6S\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPhone 6S Plus\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPhone 6\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPhone SE 2020\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPhone SE\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPad Air 4\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPad Pro 12.9 2021\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPad Pro 12.9 2020\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPad Pro 11 2021\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"15\",\"device\":\"iPad Pro 12.9 2018\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"14\",\"device\":\"iPad 8th\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPad Mini 2019\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPad Air 2019\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPad Pro 12.9 2020\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPad Pro 12.9 2018\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPad Pro 12.9 2018\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPad Pro 11 2020\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPad Pro 11 2018\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPad Pro 9.7 2016\",\"device_type\":\"tablet\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPad Pro 12.9 2017\",\"device_type\":\"tablet\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPad Air 2019\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"12\",\"device\":\"iPad Mini 2019\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPad Mini 4\",\"device_type\":\"tablet\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"13\",\"device\":\"iPad 7th\",\"device_type\":\"tablet\",\"unsupported\":false},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPad 6th\",\"device_type\":\"tablet\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"11\",\"device\":\"iPad 5th\",\"device_type\":\"tablet\",\"unsupported\":true}]"
|
|
76
|
+
},
|
|
77
|
+
"cookies": [
|
|
78
|
+
{
|
|
79
|
+
"expires": "2042-09-12T23:42:30.000Z",
|
|
80
|
+
"httpOnly": true,
|
|
81
|
+
"name": "current_project_id",
|
|
82
|
+
"path": "/",
|
|
83
|
+
"secure": true,
|
|
84
|
+
"value": "743"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"headers": [],
|
|
88
|
+
"headersSize": 744,
|
|
89
|
+
"httpVersion": "HTTP/1.1",
|
|
90
|
+
"redirectURL": "",
|
|
91
|
+
"status": 200,
|
|
92
|
+
"statusText": "OK"
|
|
93
|
+
},
|
|
94
|
+
"startedDateTime": "2022-09-12T23:42:29.891Z",
|
|
95
|
+
"time": 565,
|
|
96
|
+
"timings": {
|
|
97
|
+
"blocked": -1,
|
|
98
|
+
"connect": -1,
|
|
99
|
+
"dns": -1,
|
|
100
|
+
"receive": 0,
|
|
101
|
+
"send": 0,
|
|
102
|
+
"ssl": -1,
|
|
103
|
+
"wait": 565
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"_id": "ac55224fe9a3695e27e1de6aa04c82e5",
|
|
108
|
+
"_order": 0,
|
|
109
|
+
"cache": {},
|
|
110
|
+
"request": {
|
|
111
|
+
"bodySize": 272,
|
|
112
|
+
"cookies": [],
|
|
113
|
+
"headers": [],
|
|
114
|
+
"headersSize": 331,
|
|
115
|
+
"httpVersion": "HTTP/1.1",
|
|
116
|
+
"method": "POST",
|
|
117
|
+
"postData": {
|
|
118
|
+
"mimeType": "application/json",
|
|
119
|
+
"params": [],
|
|
120
|
+
"text": "{\"capabilities\":[{\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"device_type\":null,\"unsupported\":false}],\"scenarios\":[{\"id\":91437}],\"url_replacements\":[],\"autify_connect\":{\"name\":\"autify-cli-07edc5fc-89cb-41f1-ab09-3f3d55d170fa\"}}"
|
|
121
|
+
},
|
|
122
|
+
"queryString": [],
|
|
123
|
+
"url": "https://app.autify.com/api/v1/projects/743/execute_scenarios"
|
|
124
|
+
},
|
|
125
|
+
"response": {
|
|
126
|
+
"bodySize": 21,
|
|
127
|
+
"content": {
|
|
128
|
+
"mimeType": "application/json; charset=utf-8",
|
|
129
|
+
"size": 21,
|
|
130
|
+
"text": "{\"result_id\":1172732}"
|
|
131
|
+
},
|
|
132
|
+
"cookies": [],
|
|
133
|
+
"headers": [],
|
|
134
|
+
"headersSize": 643,
|
|
135
|
+
"httpVersion": "HTTP/1.1",
|
|
136
|
+
"redirectURL": "",
|
|
137
|
+
"status": 200,
|
|
138
|
+
"statusText": "OK"
|
|
139
|
+
},
|
|
140
|
+
"startedDateTime": "2022-09-12T23:42:30.464Z",
|
|
141
|
+
"time": 634,
|
|
142
|
+
"timings": {
|
|
143
|
+
"blocked": -1,
|
|
144
|
+
"connect": -1,
|
|
145
|
+
"dns": -1,
|
|
146
|
+
"receive": 0,
|
|
147
|
+
"send": 0,
|
|
148
|
+
"ssl": -1,
|
|
149
|
+
"wait": 634
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
154
|
+
"_order": 0,
|
|
155
|
+
"cache": {},
|
|
156
|
+
"request": {
|
|
157
|
+
"bodySize": 0,
|
|
158
|
+
"cookies": [],
|
|
159
|
+
"headers": [],
|
|
160
|
+
"headersSize": 275,
|
|
161
|
+
"httpVersion": "HTTP/1.1",
|
|
162
|
+
"method": "GET",
|
|
163
|
+
"queryString": [],
|
|
164
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
165
|
+
},
|
|
166
|
+
"response": {
|
|
167
|
+
"bodySize": 785,
|
|
168
|
+
"content": {
|
|
169
|
+
"mimeType": "application/json; charset=utf-8",
|
|
170
|
+
"size": 785,
|
|
171
|
+
"text": "{\"id\":1172732,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:31.773Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:31.805Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
172
|
+
},
|
|
173
|
+
"cookies": [],
|
|
174
|
+
"headers": [],
|
|
175
|
+
"headersSize": 643,
|
|
176
|
+
"httpVersion": "HTTP/1.1",
|
|
177
|
+
"redirectURL": "",
|
|
178
|
+
"status": 200,
|
|
179
|
+
"statusText": "OK"
|
|
180
|
+
},
|
|
181
|
+
"startedDateTime": "2022-09-12T23:42:32.126Z",
|
|
182
|
+
"time": 504,
|
|
183
|
+
"timings": {
|
|
184
|
+
"blocked": -1,
|
|
185
|
+
"connect": -1,
|
|
186
|
+
"dns": -1,
|
|
187
|
+
"receive": 0,
|
|
188
|
+
"send": 0,
|
|
189
|
+
"ssl": -1,
|
|
190
|
+
"wait": 504
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
195
|
+
"_order": 1,
|
|
196
|
+
"cache": {},
|
|
197
|
+
"request": {
|
|
198
|
+
"bodySize": 0,
|
|
199
|
+
"cookies": [],
|
|
200
|
+
"headers": [],
|
|
201
|
+
"headersSize": 275,
|
|
202
|
+
"httpVersion": "HTTP/1.1",
|
|
203
|
+
"method": "GET",
|
|
204
|
+
"queryString": [],
|
|
205
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
206
|
+
},
|
|
207
|
+
"response": {
|
|
208
|
+
"bodySize": 785,
|
|
209
|
+
"content": {
|
|
210
|
+
"mimeType": "application/json; charset=utf-8",
|
|
211
|
+
"size": 785,
|
|
212
|
+
"text": "{\"id\":1172732,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:31.773Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:31.805Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
213
|
+
},
|
|
214
|
+
"cookies": [],
|
|
215
|
+
"headers": [],
|
|
216
|
+
"headersSize": 643,
|
|
217
|
+
"httpVersion": "HTTP/1.1",
|
|
218
|
+
"redirectURL": "",
|
|
219
|
+
"status": 200,
|
|
220
|
+
"statusText": "OK"
|
|
221
|
+
},
|
|
222
|
+
"startedDateTime": "2022-09-12T23:42:33.126Z",
|
|
223
|
+
"time": 494,
|
|
224
|
+
"timings": {
|
|
225
|
+
"blocked": -1,
|
|
226
|
+
"connect": -1,
|
|
227
|
+
"dns": -1,
|
|
228
|
+
"receive": 0,
|
|
229
|
+
"send": 0,
|
|
230
|
+
"ssl": -1,
|
|
231
|
+
"wait": 494
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
236
|
+
"_order": 2,
|
|
237
|
+
"cache": {},
|
|
238
|
+
"request": {
|
|
239
|
+
"bodySize": 0,
|
|
240
|
+
"cookies": [],
|
|
241
|
+
"headers": [],
|
|
242
|
+
"headersSize": 275,
|
|
243
|
+
"httpVersion": "HTTP/1.1",
|
|
244
|
+
"method": "GET",
|
|
245
|
+
"queryString": [],
|
|
246
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
247
|
+
},
|
|
248
|
+
"response": {
|
|
249
|
+
"bodySize": 785,
|
|
250
|
+
"content": {
|
|
251
|
+
"mimeType": "application/json; charset=utf-8",
|
|
252
|
+
"size": 785,
|
|
253
|
+
"text": "{\"id\":1172732,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:31.773Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:31.805Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
254
|
+
},
|
|
255
|
+
"cookies": [],
|
|
256
|
+
"headers": [],
|
|
257
|
+
"headersSize": 643,
|
|
258
|
+
"httpVersion": "HTTP/1.1",
|
|
259
|
+
"redirectURL": "",
|
|
260
|
+
"status": 200,
|
|
261
|
+
"statusText": "OK"
|
|
262
|
+
},
|
|
263
|
+
"startedDateTime": "2022-09-12T23:42:34.127Z",
|
|
264
|
+
"time": 507,
|
|
265
|
+
"timings": {
|
|
266
|
+
"blocked": -1,
|
|
267
|
+
"connect": -1,
|
|
268
|
+
"dns": -1,
|
|
269
|
+
"receive": 0,
|
|
270
|
+
"send": 0,
|
|
271
|
+
"ssl": -1,
|
|
272
|
+
"wait": 507
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
277
|
+
"_order": 3,
|
|
278
|
+
"cache": {},
|
|
279
|
+
"request": {
|
|
280
|
+
"bodySize": 0,
|
|
281
|
+
"cookies": [],
|
|
282
|
+
"headers": [],
|
|
283
|
+
"headersSize": 275,
|
|
284
|
+
"httpVersion": "HTTP/1.1",
|
|
285
|
+
"method": "GET",
|
|
286
|
+
"queryString": [],
|
|
287
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
288
|
+
},
|
|
289
|
+
"response": {
|
|
290
|
+
"bodySize": 785,
|
|
291
|
+
"content": {
|
|
292
|
+
"mimeType": "application/json; charset=utf-8",
|
|
293
|
+
"size": 785,
|
|
294
|
+
"text": "{\"id\":1172732,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:31.773Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:31.805Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
295
|
+
},
|
|
296
|
+
"cookies": [],
|
|
297
|
+
"headers": [],
|
|
298
|
+
"headersSize": 643,
|
|
299
|
+
"httpVersion": "HTTP/1.1",
|
|
300
|
+
"redirectURL": "",
|
|
301
|
+
"status": 200,
|
|
302
|
+
"statusText": "OK"
|
|
303
|
+
},
|
|
304
|
+
"startedDateTime": "2022-09-12T23:42:35.128Z",
|
|
305
|
+
"time": 523,
|
|
306
|
+
"timings": {
|
|
307
|
+
"blocked": -1,
|
|
308
|
+
"connect": -1,
|
|
309
|
+
"dns": -1,
|
|
310
|
+
"receive": 0,
|
|
311
|
+
"send": 0,
|
|
312
|
+
"ssl": -1,
|
|
313
|
+
"wait": 523
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
318
|
+
"_order": 4,
|
|
319
|
+
"cache": {},
|
|
320
|
+
"request": {
|
|
321
|
+
"bodySize": 0,
|
|
322
|
+
"cookies": [],
|
|
323
|
+
"headers": [],
|
|
324
|
+
"headersSize": 275,
|
|
325
|
+
"httpVersion": "HTTP/1.1",
|
|
326
|
+
"method": "GET",
|
|
327
|
+
"queryString": [],
|
|
328
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
329
|
+
},
|
|
330
|
+
"response": {
|
|
331
|
+
"bodySize": 785,
|
|
332
|
+
"content": {
|
|
333
|
+
"mimeType": "application/json; charset=utf-8",
|
|
334
|
+
"size": 785,
|
|
335
|
+
"text": "{\"id\":1172732,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:31.773Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:31.805Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
336
|
+
},
|
|
337
|
+
"cookies": [],
|
|
338
|
+
"headers": [],
|
|
339
|
+
"headersSize": 643,
|
|
340
|
+
"httpVersion": "HTTP/1.1",
|
|
341
|
+
"redirectURL": "",
|
|
342
|
+
"status": 200,
|
|
343
|
+
"statusText": "OK"
|
|
344
|
+
},
|
|
345
|
+
"startedDateTime": "2022-09-12T23:42:36.128Z",
|
|
346
|
+
"time": 493,
|
|
347
|
+
"timings": {
|
|
348
|
+
"blocked": -1,
|
|
349
|
+
"connect": -1,
|
|
350
|
+
"dns": -1,
|
|
351
|
+
"receive": 0,
|
|
352
|
+
"send": 0,
|
|
353
|
+
"ssl": -1,
|
|
354
|
+
"wait": 493
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
359
|
+
"_order": 5,
|
|
360
|
+
"cache": {},
|
|
361
|
+
"request": {
|
|
362
|
+
"bodySize": 0,
|
|
363
|
+
"cookies": [],
|
|
364
|
+
"headers": [],
|
|
365
|
+
"headersSize": 275,
|
|
366
|
+
"httpVersion": "HTTP/1.1",
|
|
367
|
+
"method": "GET",
|
|
368
|
+
"queryString": [],
|
|
369
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
370
|
+
},
|
|
371
|
+
"response": {
|
|
372
|
+
"bodySize": 785,
|
|
373
|
+
"content": {
|
|
374
|
+
"mimeType": "application/json; charset=utf-8",
|
|
375
|
+
"size": 785,
|
|
376
|
+
"text": "{\"id\":1172732,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:31.773Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:31.805Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
377
|
+
},
|
|
378
|
+
"cookies": [],
|
|
379
|
+
"headers": [],
|
|
380
|
+
"headersSize": 643,
|
|
381
|
+
"httpVersion": "HTTP/1.1",
|
|
382
|
+
"redirectURL": "",
|
|
383
|
+
"status": 200,
|
|
384
|
+
"statusText": "OK"
|
|
385
|
+
},
|
|
386
|
+
"startedDateTime": "2022-09-12T23:42:37.129Z",
|
|
387
|
+
"time": 506,
|
|
388
|
+
"timings": {
|
|
389
|
+
"blocked": -1,
|
|
390
|
+
"connect": -1,
|
|
391
|
+
"dns": -1,
|
|
392
|
+
"receive": 0,
|
|
393
|
+
"send": 0,
|
|
394
|
+
"ssl": -1,
|
|
395
|
+
"wait": 506
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
400
|
+
"_order": 6,
|
|
401
|
+
"cache": {},
|
|
402
|
+
"request": {
|
|
403
|
+
"bodySize": 0,
|
|
404
|
+
"cookies": [],
|
|
405
|
+
"headers": [],
|
|
406
|
+
"headersSize": 275,
|
|
407
|
+
"httpVersion": "HTTP/1.1",
|
|
408
|
+
"method": "GET",
|
|
409
|
+
"queryString": [],
|
|
410
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
411
|
+
},
|
|
412
|
+
"response": {
|
|
413
|
+
"bodySize": 785,
|
|
414
|
+
"content": {
|
|
415
|
+
"mimeType": "application/json; charset=utf-8",
|
|
416
|
+
"size": 785,
|
|
417
|
+
"text": "{\"id\":1172732,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:31.773Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:31.805Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
418
|
+
},
|
|
419
|
+
"cookies": [],
|
|
420
|
+
"headers": [],
|
|
421
|
+
"headersSize": 643,
|
|
422
|
+
"httpVersion": "HTTP/1.1",
|
|
423
|
+
"redirectURL": "",
|
|
424
|
+
"status": 200,
|
|
425
|
+
"statusText": "OK"
|
|
426
|
+
},
|
|
427
|
+
"startedDateTime": "2022-09-12T23:42:38.129Z",
|
|
428
|
+
"time": 535,
|
|
429
|
+
"timings": {
|
|
430
|
+
"blocked": -1,
|
|
431
|
+
"connect": -1,
|
|
432
|
+
"dns": -1,
|
|
433
|
+
"receive": 0,
|
|
434
|
+
"send": 0,
|
|
435
|
+
"ssl": -1,
|
|
436
|
+
"wait": 535
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
441
|
+
"_order": 7,
|
|
442
|
+
"cache": {},
|
|
443
|
+
"request": {
|
|
444
|
+
"bodySize": 0,
|
|
445
|
+
"cookies": [],
|
|
446
|
+
"headers": [],
|
|
447
|
+
"headersSize": 275,
|
|
448
|
+
"httpVersion": "HTTP/1.1",
|
|
449
|
+
"method": "GET",
|
|
450
|
+
"queryString": [],
|
|
451
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
452
|
+
},
|
|
453
|
+
"response": {
|
|
454
|
+
"bodySize": 829,
|
|
455
|
+
"content": {
|
|
456
|
+
"mimeType": "application/json; charset=utf-8",
|
|
457
|
+
"size": 829,
|
|
458
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
459
|
+
},
|
|
460
|
+
"cookies": [],
|
|
461
|
+
"headers": [],
|
|
462
|
+
"headersSize": 643,
|
|
463
|
+
"httpVersion": "HTTP/1.1",
|
|
464
|
+
"redirectURL": "",
|
|
465
|
+
"status": 200,
|
|
466
|
+
"statusText": "OK"
|
|
467
|
+
},
|
|
468
|
+
"startedDateTime": "2022-09-12T23:42:39.129Z",
|
|
469
|
+
"time": 470,
|
|
470
|
+
"timings": {
|
|
471
|
+
"blocked": -1,
|
|
472
|
+
"connect": -1,
|
|
473
|
+
"dns": -1,
|
|
474
|
+
"receive": 0,
|
|
475
|
+
"send": 0,
|
|
476
|
+
"ssl": -1,
|
|
477
|
+
"wait": 470
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
482
|
+
"_order": 8,
|
|
483
|
+
"cache": {},
|
|
484
|
+
"request": {
|
|
485
|
+
"bodySize": 0,
|
|
486
|
+
"cookies": [],
|
|
487
|
+
"headers": [],
|
|
488
|
+
"headersSize": 275,
|
|
489
|
+
"httpVersion": "HTTP/1.1",
|
|
490
|
+
"method": "GET",
|
|
491
|
+
"queryString": [],
|
|
492
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
493
|
+
},
|
|
494
|
+
"response": {
|
|
495
|
+
"bodySize": 829,
|
|
496
|
+
"content": {
|
|
497
|
+
"mimeType": "application/json; charset=utf-8",
|
|
498
|
+
"size": 829,
|
|
499
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
500
|
+
},
|
|
501
|
+
"cookies": [],
|
|
502
|
+
"headers": [],
|
|
503
|
+
"headersSize": 643,
|
|
504
|
+
"httpVersion": "HTTP/1.1",
|
|
505
|
+
"redirectURL": "",
|
|
506
|
+
"status": 200,
|
|
507
|
+
"statusText": "OK"
|
|
508
|
+
},
|
|
509
|
+
"startedDateTime": "2022-09-12T23:42:40.130Z",
|
|
510
|
+
"time": 499,
|
|
511
|
+
"timings": {
|
|
512
|
+
"blocked": -1,
|
|
513
|
+
"connect": -1,
|
|
514
|
+
"dns": -1,
|
|
515
|
+
"receive": 0,
|
|
516
|
+
"send": 0,
|
|
517
|
+
"ssl": -1,
|
|
518
|
+
"wait": 499
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
523
|
+
"_order": 9,
|
|
524
|
+
"cache": {},
|
|
525
|
+
"request": {
|
|
526
|
+
"bodySize": 0,
|
|
527
|
+
"cookies": [],
|
|
528
|
+
"headers": [],
|
|
529
|
+
"headersSize": 275,
|
|
530
|
+
"httpVersion": "HTTP/1.1",
|
|
531
|
+
"method": "GET",
|
|
532
|
+
"queryString": [],
|
|
533
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
534
|
+
},
|
|
535
|
+
"response": {
|
|
536
|
+
"bodySize": 829,
|
|
537
|
+
"content": {
|
|
538
|
+
"mimeType": "application/json; charset=utf-8",
|
|
539
|
+
"size": 829,
|
|
540
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
541
|
+
},
|
|
542
|
+
"cookies": [],
|
|
543
|
+
"headers": [],
|
|
544
|
+
"headersSize": 643,
|
|
545
|
+
"httpVersion": "HTTP/1.1",
|
|
546
|
+
"redirectURL": "",
|
|
547
|
+
"status": 200,
|
|
548
|
+
"statusText": "OK"
|
|
549
|
+
},
|
|
550
|
+
"startedDateTime": "2022-09-12T23:42:41.130Z",
|
|
551
|
+
"time": 497,
|
|
552
|
+
"timings": {
|
|
553
|
+
"blocked": -1,
|
|
554
|
+
"connect": -1,
|
|
555
|
+
"dns": -1,
|
|
556
|
+
"receive": 0,
|
|
557
|
+
"send": 0,
|
|
558
|
+
"ssl": -1,
|
|
559
|
+
"wait": 497
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
564
|
+
"_order": 10,
|
|
565
|
+
"cache": {},
|
|
566
|
+
"request": {
|
|
567
|
+
"bodySize": 0,
|
|
568
|
+
"cookies": [],
|
|
569
|
+
"headers": [],
|
|
570
|
+
"headersSize": 275,
|
|
571
|
+
"httpVersion": "HTTP/1.1",
|
|
572
|
+
"method": "GET",
|
|
573
|
+
"queryString": [],
|
|
574
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
575
|
+
},
|
|
576
|
+
"response": {
|
|
577
|
+
"bodySize": 829,
|
|
578
|
+
"content": {
|
|
579
|
+
"mimeType": "application/json; charset=utf-8",
|
|
580
|
+
"size": 829,
|
|
581
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
582
|
+
},
|
|
583
|
+
"cookies": [],
|
|
584
|
+
"headers": [],
|
|
585
|
+
"headersSize": 643,
|
|
586
|
+
"httpVersion": "HTTP/1.1",
|
|
587
|
+
"redirectURL": "",
|
|
588
|
+
"status": 200,
|
|
589
|
+
"statusText": "OK"
|
|
590
|
+
},
|
|
591
|
+
"startedDateTime": "2022-09-12T23:42:42.130Z",
|
|
592
|
+
"time": 505,
|
|
593
|
+
"timings": {
|
|
594
|
+
"blocked": -1,
|
|
595
|
+
"connect": -1,
|
|
596
|
+
"dns": -1,
|
|
597
|
+
"receive": 0,
|
|
598
|
+
"send": 0,
|
|
599
|
+
"ssl": -1,
|
|
600
|
+
"wait": 505
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
605
|
+
"_order": 11,
|
|
606
|
+
"cache": {},
|
|
607
|
+
"request": {
|
|
608
|
+
"bodySize": 0,
|
|
609
|
+
"cookies": [],
|
|
610
|
+
"headers": [],
|
|
611
|
+
"headersSize": 275,
|
|
612
|
+
"httpVersion": "HTTP/1.1",
|
|
613
|
+
"method": "GET",
|
|
614
|
+
"queryString": [],
|
|
615
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
616
|
+
},
|
|
617
|
+
"response": {
|
|
618
|
+
"bodySize": 829,
|
|
619
|
+
"content": {
|
|
620
|
+
"mimeType": "application/json; charset=utf-8",
|
|
621
|
+
"size": 829,
|
|
622
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
623
|
+
},
|
|
624
|
+
"cookies": [],
|
|
625
|
+
"headers": [],
|
|
626
|
+
"headersSize": 643,
|
|
627
|
+
"httpVersion": "HTTP/1.1",
|
|
628
|
+
"redirectURL": "",
|
|
629
|
+
"status": 200,
|
|
630
|
+
"statusText": "OK"
|
|
631
|
+
},
|
|
632
|
+
"startedDateTime": "2022-09-12T23:42:43.131Z",
|
|
633
|
+
"time": 542,
|
|
634
|
+
"timings": {
|
|
635
|
+
"blocked": -1,
|
|
636
|
+
"connect": -1,
|
|
637
|
+
"dns": -1,
|
|
638
|
+
"receive": 0,
|
|
639
|
+
"send": 0,
|
|
640
|
+
"ssl": -1,
|
|
641
|
+
"wait": 542
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
646
|
+
"_order": 12,
|
|
647
|
+
"cache": {},
|
|
648
|
+
"request": {
|
|
649
|
+
"bodySize": 0,
|
|
650
|
+
"cookies": [],
|
|
651
|
+
"headers": [],
|
|
652
|
+
"headersSize": 275,
|
|
653
|
+
"httpVersion": "HTTP/1.1",
|
|
654
|
+
"method": "GET",
|
|
655
|
+
"queryString": [],
|
|
656
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
657
|
+
},
|
|
658
|
+
"response": {
|
|
659
|
+
"bodySize": 829,
|
|
660
|
+
"content": {
|
|
661
|
+
"mimeType": "application/json; charset=utf-8",
|
|
662
|
+
"size": 829,
|
|
663
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
664
|
+
},
|
|
665
|
+
"cookies": [],
|
|
666
|
+
"headers": [],
|
|
667
|
+
"headersSize": 643,
|
|
668
|
+
"httpVersion": "HTTP/1.1",
|
|
669
|
+
"redirectURL": "",
|
|
670
|
+
"status": 200,
|
|
671
|
+
"statusText": "OK"
|
|
672
|
+
},
|
|
673
|
+
"startedDateTime": "2022-09-12T23:42:44.131Z",
|
|
674
|
+
"time": 557,
|
|
675
|
+
"timings": {
|
|
676
|
+
"blocked": -1,
|
|
677
|
+
"connect": -1,
|
|
678
|
+
"dns": -1,
|
|
679
|
+
"receive": 0,
|
|
680
|
+
"send": 0,
|
|
681
|
+
"ssl": -1,
|
|
682
|
+
"wait": 557
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
687
|
+
"_order": 13,
|
|
688
|
+
"cache": {},
|
|
689
|
+
"request": {
|
|
690
|
+
"bodySize": 0,
|
|
691
|
+
"cookies": [],
|
|
692
|
+
"headers": [],
|
|
693
|
+
"headersSize": 275,
|
|
694
|
+
"httpVersion": "HTTP/1.1",
|
|
695
|
+
"method": "GET",
|
|
696
|
+
"queryString": [],
|
|
697
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
698
|
+
},
|
|
699
|
+
"response": {
|
|
700
|
+
"bodySize": 829,
|
|
701
|
+
"content": {
|
|
702
|
+
"mimeType": "application/json; charset=utf-8",
|
|
703
|
+
"size": 829,
|
|
704
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
705
|
+
},
|
|
706
|
+
"cookies": [],
|
|
707
|
+
"headers": [],
|
|
708
|
+
"headersSize": 643,
|
|
709
|
+
"httpVersion": "HTTP/1.1",
|
|
710
|
+
"redirectURL": "",
|
|
711
|
+
"status": 200,
|
|
712
|
+
"statusText": "OK"
|
|
713
|
+
},
|
|
714
|
+
"startedDateTime": "2022-09-12T23:42:45.132Z",
|
|
715
|
+
"time": 515,
|
|
716
|
+
"timings": {
|
|
717
|
+
"blocked": -1,
|
|
718
|
+
"connect": -1,
|
|
719
|
+
"dns": -1,
|
|
720
|
+
"receive": 0,
|
|
721
|
+
"send": 0,
|
|
722
|
+
"ssl": -1,
|
|
723
|
+
"wait": 515
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
728
|
+
"_order": 14,
|
|
729
|
+
"cache": {},
|
|
730
|
+
"request": {
|
|
731
|
+
"bodySize": 0,
|
|
732
|
+
"cookies": [],
|
|
733
|
+
"headers": [],
|
|
734
|
+
"headersSize": 275,
|
|
735
|
+
"httpVersion": "HTTP/1.1",
|
|
736
|
+
"method": "GET",
|
|
737
|
+
"queryString": [],
|
|
738
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
739
|
+
},
|
|
740
|
+
"response": {
|
|
741
|
+
"bodySize": 829,
|
|
742
|
+
"content": {
|
|
743
|
+
"mimeType": "application/json; charset=utf-8",
|
|
744
|
+
"size": 829,
|
|
745
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
746
|
+
},
|
|
747
|
+
"cookies": [],
|
|
748
|
+
"headers": [],
|
|
749
|
+
"headersSize": 643,
|
|
750
|
+
"httpVersion": "HTTP/1.1",
|
|
751
|
+
"redirectURL": "",
|
|
752
|
+
"status": 200,
|
|
753
|
+
"statusText": "OK"
|
|
754
|
+
},
|
|
755
|
+
"startedDateTime": "2022-09-12T23:42:46.131Z",
|
|
756
|
+
"time": 510,
|
|
757
|
+
"timings": {
|
|
758
|
+
"blocked": -1,
|
|
759
|
+
"connect": -1,
|
|
760
|
+
"dns": -1,
|
|
761
|
+
"receive": 0,
|
|
762
|
+
"send": 0,
|
|
763
|
+
"ssl": -1,
|
|
764
|
+
"wait": 510
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
769
|
+
"_order": 15,
|
|
770
|
+
"cache": {},
|
|
771
|
+
"request": {
|
|
772
|
+
"bodySize": 0,
|
|
773
|
+
"cookies": [],
|
|
774
|
+
"headers": [],
|
|
775
|
+
"headersSize": 275,
|
|
776
|
+
"httpVersion": "HTTP/1.1",
|
|
777
|
+
"method": "GET",
|
|
778
|
+
"queryString": [],
|
|
779
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
780
|
+
},
|
|
781
|
+
"response": {
|
|
782
|
+
"bodySize": 829,
|
|
783
|
+
"content": {
|
|
784
|
+
"mimeType": "application/json; charset=utf-8",
|
|
785
|
+
"size": 829,
|
|
786
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
787
|
+
},
|
|
788
|
+
"cookies": [],
|
|
789
|
+
"headers": [],
|
|
790
|
+
"headersSize": 643,
|
|
791
|
+
"httpVersion": "HTTP/1.1",
|
|
792
|
+
"redirectURL": "",
|
|
793
|
+
"status": 200,
|
|
794
|
+
"statusText": "OK"
|
|
795
|
+
},
|
|
796
|
+
"startedDateTime": "2022-09-12T23:42:47.131Z",
|
|
797
|
+
"time": 529,
|
|
798
|
+
"timings": {
|
|
799
|
+
"blocked": -1,
|
|
800
|
+
"connect": -1,
|
|
801
|
+
"dns": -1,
|
|
802
|
+
"receive": 0,
|
|
803
|
+
"send": 0,
|
|
804
|
+
"ssl": -1,
|
|
805
|
+
"wait": 529
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
810
|
+
"_order": 16,
|
|
811
|
+
"cache": {},
|
|
812
|
+
"request": {
|
|
813
|
+
"bodySize": 0,
|
|
814
|
+
"cookies": [],
|
|
815
|
+
"headers": [],
|
|
816
|
+
"headersSize": 275,
|
|
817
|
+
"httpVersion": "HTTP/1.1",
|
|
818
|
+
"method": "GET",
|
|
819
|
+
"queryString": [],
|
|
820
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
821
|
+
},
|
|
822
|
+
"response": {
|
|
823
|
+
"bodySize": 829,
|
|
824
|
+
"content": {
|
|
825
|
+
"mimeType": "application/json; charset=utf-8",
|
|
826
|
+
"size": 829,
|
|
827
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
828
|
+
},
|
|
829
|
+
"cookies": [],
|
|
830
|
+
"headers": [],
|
|
831
|
+
"headersSize": 643,
|
|
832
|
+
"httpVersion": "HTTP/1.1",
|
|
833
|
+
"redirectURL": "",
|
|
834
|
+
"status": 200,
|
|
835
|
+
"statusText": "OK"
|
|
836
|
+
},
|
|
837
|
+
"startedDateTime": "2022-09-12T23:42:48.131Z",
|
|
838
|
+
"time": 469,
|
|
839
|
+
"timings": {
|
|
840
|
+
"blocked": -1,
|
|
841
|
+
"connect": -1,
|
|
842
|
+
"dns": -1,
|
|
843
|
+
"receive": 0,
|
|
844
|
+
"send": 0,
|
|
845
|
+
"ssl": -1,
|
|
846
|
+
"wait": 469
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
851
|
+
"_order": 17,
|
|
852
|
+
"cache": {},
|
|
853
|
+
"request": {
|
|
854
|
+
"bodySize": 0,
|
|
855
|
+
"cookies": [],
|
|
856
|
+
"headers": [],
|
|
857
|
+
"headersSize": 275,
|
|
858
|
+
"httpVersion": "HTTP/1.1",
|
|
859
|
+
"method": "GET",
|
|
860
|
+
"queryString": [],
|
|
861
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
862
|
+
},
|
|
863
|
+
"response": {
|
|
864
|
+
"bodySize": 829,
|
|
865
|
+
"content": {
|
|
866
|
+
"mimeType": "application/json; charset=utf-8",
|
|
867
|
+
"size": 829,
|
|
868
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
869
|
+
},
|
|
870
|
+
"cookies": [],
|
|
871
|
+
"headers": [],
|
|
872
|
+
"headersSize": 643,
|
|
873
|
+
"httpVersion": "HTTP/1.1",
|
|
874
|
+
"redirectURL": "",
|
|
875
|
+
"status": 200,
|
|
876
|
+
"statusText": "OK"
|
|
877
|
+
},
|
|
878
|
+
"startedDateTime": "2022-09-12T23:42:49.132Z",
|
|
879
|
+
"time": 454,
|
|
880
|
+
"timings": {
|
|
881
|
+
"blocked": -1,
|
|
882
|
+
"connect": -1,
|
|
883
|
+
"dns": -1,
|
|
884
|
+
"receive": 0,
|
|
885
|
+
"send": 0,
|
|
886
|
+
"ssl": -1,
|
|
887
|
+
"wait": 454
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
892
|
+
"_order": 18,
|
|
893
|
+
"cache": {},
|
|
894
|
+
"request": {
|
|
895
|
+
"bodySize": 0,
|
|
896
|
+
"cookies": [],
|
|
897
|
+
"headers": [],
|
|
898
|
+
"headersSize": 275,
|
|
899
|
+
"httpVersion": "HTTP/1.1",
|
|
900
|
+
"method": "GET",
|
|
901
|
+
"queryString": [],
|
|
902
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
903
|
+
},
|
|
904
|
+
"response": {
|
|
905
|
+
"bodySize": 829,
|
|
906
|
+
"content": {
|
|
907
|
+
"mimeType": "application/json; charset=utf-8",
|
|
908
|
+
"size": 829,
|
|
909
|
+
"text": "{\"id\":1172732,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:39.414Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":null,\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:39.523Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
910
|
+
},
|
|
911
|
+
"cookies": [],
|
|
912
|
+
"headers": [],
|
|
913
|
+
"headersSize": 643,
|
|
914
|
+
"httpVersion": "HTTP/1.1",
|
|
915
|
+
"redirectURL": "",
|
|
916
|
+
"status": 200,
|
|
917
|
+
"statusText": "OK"
|
|
918
|
+
},
|
|
919
|
+
"startedDateTime": "2022-09-12T23:42:50.164Z",
|
|
920
|
+
"time": 463,
|
|
921
|
+
"timings": {
|
|
922
|
+
"blocked": -1,
|
|
923
|
+
"connect": -1,
|
|
924
|
+
"dns": -1,
|
|
925
|
+
"receive": 0,
|
|
926
|
+
"send": 0,
|
|
927
|
+
"ssl": -1,
|
|
928
|
+
"wait": 463
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"_id": "4ec033556c53f539382e892cc7241c1a",
|
|
933
|
+
"_order": 19,
|
|
934
|
+
"cache": {},
|
|
935
|
+
"request": {
|
|
936
|
+
"bodySize": 0,
|
|
937
|
+
"cookies": [],
|
|
938
|
+
"headers": [],
|
|
939
|
+
"headersSize": 275,
|
|
940
|
+
"httpVersion": "HTTP/1.1",
|
|
941
|
+
"method": "GET",
|
|
942
|
+
"queryString": [],
|
|
943
|
+
"url": "https://app.autify.com/api/v1/projects/743/results/1172732"
|
|
944
|
+
},
|
|
945
|
+
"response": {
|
|
946
|
+
"bodySize": 871,
|
|
947
|
+
"content": {
|
|
948
|
+
"mimeType": "application/json; charset=utf-8",
|
|
949
|
+
"size": 871,
|
|
950
|
+
"text": "{\"id\":1172732,\"status\":\"passed\",\"duration\":9323,\"started_at\":\"2022-09-12T23:42:39.380Z\",\"finished_at\":\"2022-09-12T23:42:48.704Z\",\"created_at\":\"2022-09-12T23:42:30.997Z\",\"updated_at\":\"2022-09-12T23:42:51.272Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1388371,\"capability\":{\"id\":366175,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":null,\"created_at\":\"2022-09-12T23:42:30.978Z\",\"updated_at\":\"2022-09-12T23:42:30.978Z\"},\"test_case_results\":[{\"id\":4096337,\"test_case_id\":91437,\"status\":\"passed\",\"duration\":5373,\"started_at\":\"2022-09-12T23:42:43.331Z\",\"finished_at\":\"2022-09-12T23:42:48.704Z\",\"created_at\":\"2022-09-12T23:42:31.759Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1172732/capabilities/1388371/scenarios/4096337\",\"updated_at\":\"2022-09-12T23:42:51.101Z\",\"review_needed\":0}]}],\"test_plan\":null}"
|
|
951
|
+
},
|
|
952
|
+
"cookies": [],
|
|
953
|
+
"headers": [],
|
|
954
|
+
"headersSize": 643,
|
|
955
|
+
"httpVersion": "HTTP/1.1",
|
|
956
|
+
"redirectURL": "",
|
|
957
|
+
"status": 200,
|
|
958
|
+
"statusText": "OK"
|
|
959
|
+
},
|
|
960
|
+
"startedDateTime": "2022-09-12T23:42:51.160Z",
|
|
961
|
+
"time": 549,
|
|
962
|
+
"timings": {
|
|
963
|
+
"blocked": -1,
|
|
964
|
+
"connect": -1,
|
|
965
|
+
"dns": -1,
|
|
966
|
+
"receive": 0,
|
|
967
|
+
"send": 0,
|
|
968
|
+
"ssl": -1,
|
|
969
|
+
"wait": 549
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"_id": "1ac72866dc2e3e0fac4332fdcabc60ed",
|
|
974
|
+
"_order": 0,
|
|
975
|
+
"cache": {},
|
|
976
|
+
"request": {
|
|
977
|
+
"bodySize": 58,
|
|
978
|
+
"cookies": [],
|
|
979
|
+
"headers": [],
|
|
980
|
+
"headersSize": 343,
|
|
981
|
+
"httpVersion": "HTTP/1.1",
|
|
982
|
+
"method": "DELETE",
|
|
983
|
+
"postData": {
|
|
984
|
+
"mimeType": "application/json",
|
|
985
|
+
"params": [],
|
|
986
|
+
"text": "{\"name\":\"autify-cli-07edc5fc-89cb-41f1-ab09-3f3d55d170fa\"}"
|
|
987
|
+
},
|
|
988
|
+
"queryString": [],
|
|
989
|
+
"url": "https://app.autify.com/api/v1/projects/743/autify_connect/access_points"
|
|
990
|
+
},
|
|
991
|
+
"response": {
|
|
992
|
+
"bodySize": 2,
|
|
993
|
+
"content": {
|
|
994
|
+
"mimeType": "application/json; charset=utf-8",
|
|
995
|
+
"size": 2,
|
|
996
|
+
"text": "{}"
|
|
997
|
+
},
|
|
998
|
+
"cookies": [],
|
|
999
|
+
"headers": [],
|
|
1000
|
+
"headersSize": 643,
|
|
1001
|
+
"httpVersion": "HTTP/1.1",
|
|
1002
|
+
"redirectURL": "",
|
|
1003
|
+
"status": 200,
|
|
1004
|
+
"statusText": "OK"
|
|
1005
|
+
},
|
|
1006
|
+
"startedDateTime": "2022-09-12T23:42:51.720Z",
|
|
1007
|
+
"time": 582,
|
|
1008
|
+
"timings": {
|
|
1009
|
+
"blocked": -1,
|
|
1010
|
+
"connect": -1,
|
|
1011
|
+
"dns": -1,
|
|
1012
|
+
"receive": 0,
|
|
1013
|
+
"send": 0,
|
|
1014
|
+
"ssl": -1,
|
|
1015
|
+
"wait": 582
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
],
|
|
1019
|
+
"pages": [],
|
|
1020
|
+
"version": "1.2"
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`autify web test run https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client 1`] = `
|
|
4
|
+
Object {
|
|
5
|
+
"stderr": "",
|
|
6
|
+
"stdout": "[HPM] Proxy created: / -> https://app.autify.com
|
|
7
|
+
[HPM] Proxy created: / -> https://mobile-app.autify.com
|
|
8
|
+
Starting Autify Connect Client for Access Point \\"autify-cli-07edc5fc-89cb-41f1-ab09-3f3d55d170fa\\" (Autify Connect version fake)...
|
|
9
|
+
Waiting until Autify Connect Client is ready...
|
|
10
|
+
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info start serving a debug server on http://localhost:3000
|
|
11
|
+
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting to establish a secure connection with the Autify connect server. Your session ID is \\"fake\\".
|
|
12
|
+
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Successfully connected!
|
|
13
|
+
Autify Connect Client is ready!
|
|
14
|
+
✅ Successfully started: https://app.autify.com/projects/743/results/1172732 (Capability is Linux Chrome 104.0)
|
|
15
|
+
🕐 Waiting for the test result: https://app.autify.com/projects/743/results/1172732
|
|
16
|
+
[HH:MM:SS] Waiting... (timeout: 300 s) [started]
|
|
17
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
18
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
19
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
20
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
21
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
22
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
23
|
+
[HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
|
|
24
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
25
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
26
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
27
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
28
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
29
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
30
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
31
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
32
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
33
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
34
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
35
|
+
[HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
|
|
36
|
+
[HH:MM:SS] → TestPlan: 👍 Passed , TestCases: 👍 Passed
|
|
37
|
+
[HH:MM:SS] Waiting... (timeout: 300 s) [completed]
|
|
38
|
+
✅ Test passed!: https://app.autify.com/projects/743/results/1172732
|
|
39
|
+
Waiting until Autify Connect Client exits...
|
|
40
|
+
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Interrupt received.
|
|
41
|
+
[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Shutdown completed.
|
|
42
|
+
Autify Connect Access Point was deleted: \\"autify-cli-07edc5fc-89cb-41f1-ab09-3f3d55d170fa\\"
|
|
43
|
+
Autify Connect Client exited
|
|
44
|
+
[HPM] server close signal received: closing proxy server
|
|
45
|
+
",
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
@@ -7,9 +7,11 @@ const node_process_1 = require("node:process");
|
|
|
7
7
|
// eslint-disable-next-line unicorn/prefer-module
|
|
8
8
|
const scriptDir = __dirname;
|
|
9
9
|
const rootDir = node_path_1.default.join(scriptDir, "..", "..");
|
|
10
|
-
const isRecord = node_process_1.
|
|
10
|
+
const isRecord = Boolean(node_process_1.env.AUTIFY_CLI_INTEGRATION_TEST_RECORD);
|
|
11
11
|
const command = isRecord ? "test:record" : "test";
|
|
12
|
-
|
|
12
|
+
const args = node_process_1.argv.slice(2);
|
|
13
|
+
const testPathPattern = args.length === 0 ? "" : `--testPathPattern '(${args.join("|")})'`;
|
|
14
|
+
(0, node_child_process_1.execSync)(`npm run ${command} -- ${testPathPattern}`, {
|
|
13
15
|
stdio: "inherit",
|
|
14
16
|
cwd: rootDir,
|
|
15
17
|
});
|
|
@@ -24,6 +24,22 @@ const getAutifyCli = () => {
|
|
|
24
24
|
throw new Error(`Invalid autify-cli path: ${autify}`);
|
|
25
25
|
return autify;
|
|
26
26
|
};
|
|
27
|
+
const isEndpoint = (request, method, pathnameRegExp) => {
|
|
28
|
+
const { pathname } = new URL(request.url);
|
|
29
|
+
return method === request.method && pathnameRegExp.test(pathname);
|
|
30
|
+
};
|
|
31
|
+
const isCreateAccessPoint = (request) => isEndpoint(request, "POST", /\/api\/v1\/projects\/[^/]+\/autify_connect\/access_points/);
|
|
32
|
+
const isDeleteAccessPoint = (request) => isEndpoint(request, "DELETE", /\/api\/v1\/projects\/[^/]+\/autify_connect\/access_points/);
|
|
33
|
+
const ignoreBody = (request) => {
|
|
34
|
+
if (isCreateAccessPoint(request) || isDeleteAccessPoint(request))
|
|
35
|
+
return true;
|
|
36
|
+
};
|
|
37
|
+
const filterRecording = ({ request, response }) => {
|
|
38
|
+
var _a;
|
|
39
|
+
if (isCreateAccessPoint(request)) {
|
|
40
|
+
response.content.text = (_a = response.content.text) === null || _a === void 0 ? void 0 : _a.replace(/"key":"[^"]+"/, `"key":"000000000000000000000000000000"`);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
27
43
|
const createPolly = async (args) => {
|
|
28
44
|
const mode = getPollyMode();
|
|
29
45
|
// eslint-disable-next-line unicorn/prefer-module
|
|
@@ -42,10 +58,12 @@ const createPolly = async (args) => {
|
|
|
42
58
|
flushRequestsOnStop: true,
|
|
43
59
|
matchRequestsBy: {
|
|
44
60
|
headers: false,
|
|
45
|
-
body: (body,
|
|
61
|
+
body: (body, request) => {
|
|
46
62
|
// Binary body is not recorded. Ignore for matching.
|
|
47
63
|
if (typeof body !== "string")
|
|
48
64
|
return "";
|
|
65
|
+
if (ignoreBody(request))
|
|
66
|
+
return "";
|
|
49
67
|
return body;
|
|
50
68
|
},
|
|
51
69
|
},
|
|
@@ -54,6 +72,7 @@ const createPolly = async (args) => {
|
|
|
54
72
|
polly.server.any().on("beforePersist", (_req, recording) => {
|
|
55
73
|
recording.request.headers = [];
|
|
56
74
|
recording.response.headers = [];
|
|
75
|
+
filterRecording(recording);
|
|
57
76
|
});
|
|
58
77
|
return polly;
|
|
59
78
|
};
|
|
@@ -75,6 +94,7 @@ const autifyWithProxy = async (originalArgs) => {
|
|
|
75
94
|
...node_process_1.env,
|
|
76
95
|
AUTIFY_WEB_BASE_PATH: `http://localhost:${webProxy.port}/api/v1/`,
|
|
77
96
|
AUTIFY_MOBILE_BASE_PATH: `http://localhost:${mobileProxy.port}/api/v1/`,
|
|
97
|
+
AUTIFY_CONNECT_CLIENT_MODE: "fake",
|
|
78
98
|
},
|
|
79
99
|
stdio: "inherit",
|
|
80
100
|
shell: true,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/* eslint-disable unicorn/filename-case */
|
|
4
|
+
const testAutifyCliSnapshot_1 = require("../helpers/testAutifyCliSnapshot");
|
|
5
|
+
(0, testAutifyCliSnapshot_1.testAutifyCliSnapshot)("web test run https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client");
|
|
@@ -6,11 +6,18 @@ const tslib_1 = require("tslib");
|
|
|
6
6
|
const node_util_1 = require("node:util");
|
|
7
7
|
const node_child_process_1 = require("node:child_process");
|
|
8
8
|
const strip_ansi_1 = tslib_1.__importDefault(require("strip-ansi"));
|
|
9
|
+
const node_process_1 = require("node:process");
|
|
10
|
+
const normalize = (stdout) => stdout
|
|
11
|
+
.replace(/\[\d{2}:\d{2}:\d{2}]/g, "[HH:MM:SS]")
|
|
12
|
+
.replace(/\(Autify Connect version .+\)/, "(Autify Connect version fake)")
|
|
13
|
+
.replace(/\[Autify Connect Client] \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z/g, "[Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ")
|
|
14
|
+
.replace(/Your session ID is "[^"]+"/, 'Your session ID is "fake"')
|
|
15
|
+
.replace(/Autify Connect Client exited .+/, "Autify Connect Client exited");
|
|
9
16
|
const execAutifyCli = async (args) => {
|
|
10
17
|
const command = `autify-with-proxy ${args}`;
|
|
11
|
-
const { stdout, stderr } = await (0, node_util_1.promisify)(node_child_process_1.exec)(command);
|
|
18
|
+
const { stdout, stderr } = await (0, node_util_1.promisify)(node_child_process_1.exec)(command, { env: node_process_1.env });
|
|
12
19
|
return {
|
|
13
|
-
stdout: (0, strip_ansi_1.default)(stdout)
|
|
20
|
+
stdout: normalize((0, strip_ansi_1.default)(stdout)),
|
|
14
21
|
stderr: (0, strip_ansi_1.default)(stderr),
|
|
15
22
|
};
|
|
16
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autifyhq/autify-cli-integration-test",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Autify Command Line Interface (CLI) Integration Test",
|
|
5
5
|
"author": "Autify",
|
|
6
6
|
"bin": {
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@pollyjs/adapter-node-http": "^6.0.5",
|
|
27
27
|
"@pollyjs/core": "^6.0.5",
|
|
28
|
+
"@pollyjs/persister": "^6.0.5",
|
|
28
29
|
"@pollyjs/persister-fs": "^6.0.5",
|
|
29
30
|
"cross-env": "^7.0.3",
|
|
30
31
|
"express": "^4.18.1",
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@types/express": "^4.17.13",
|
|
39
40
|
"@types/jest": "^28.1.7",
|
|
40
|
-
"@types/node": "^16.11.
|
|
41
|
+
"@types/node": "^16.11.58",
|
|
41
42
|
"@types/which": "^2.0.1",
|
|
42
43
|
"shx": "^0.3.4",
|
|
43
44
|
"ts-node": "^10.9.1",
|
|
@@ -46,8 +47,8 @@
|
|
|
46
47
|
"scripts": {
|
|
47
48
|
"build": "shx rm -rf dist && tsc -b",
|
|
48
49
|
"prepack": "npm run build",
|
|
49
|
-
"test": "autify-mobile-generate-fake-app && cross-env AUTIFY_TEST_WAIT_INTERVAL_SECOND=0 jest dist/test",
|
|
50
|
-
"test:record": "AUTIFY_POLLY_RECORD=1 jest dist/test --updateSnapshot"
|
|
50
|
+
"test": "autify-mobile-generate-fake-app && cross-env AUTIFY_TEST_WAIT_INTERVAL_SECOND=0 jest --testMatch **/dist/test/**/*.test.js",
|
|
51
|
+
"test:record": "AUTIFY_POLLY_RECORD=1 jest --testMatch **/dist/test/**/*.test.js --updateSnapshot"
|
|
51
52
|
},
|
|
52
53
|
"engines": {
|
|
53
54
|
"node": ">=12.0.0"
|