@autifyhq/autify-cli-integration-test 0.11.0 → 0.13.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.
Files changed (18) hide show
  1. 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 +115 -74
  2. package/__recordings__/web%20test%20run%20--autify-connect-client%20--wait%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Ftest_plans%2F169408/polly-proxy_3343057686/recording.har +562 -0
  3. package/__recordings__/web%20test%20run%20--wait%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Ftest_plans%2F169408/polly-proxy_3343057686/recording.har +511 -0
  4. package/__recordings__/web%20test%20run%20https%3A%2F%2Fapp.autify.com%2Fprojects%2F743%2Ftest_plans%2F169408/polly-proxy_3343057686/recording.har +60 -0
  5. package/__snapshots__/golden/webTestRunAutifyConnectClient.test.js.snap +7 -6
  6. package/__snapshots__/golden/webTestRunTestPlan.test.js.snap +14 -0
  7. package/__snapshots__/golden/webTestRunTestPlanAutifyConnectClient.test.js.snap +40 -0
  8. package/__snapshots__/golden/webTestRunTestPlanWait.test.js.snap +27 -0
  9. package/dist/bin/autify-with-proxy.js +1 -1
  10. package/dist/commands.js +8 -1
  11. package/dist/test/golden/webTestRunTestPlan.test.d.ts +1 -0
  12. package/dist/test/golden/webTestRunTestPlan.test.js +5 -0
  13. package/dist/test/golden/webTestRunTestPlanAutifyConnectClient.test.d.ts +1 -0
  14. package/dist/test/golden/webTestRunTestPlanAutifyConnectClient.test.js +5 -0
  15. package/dist/test/golden/webTestRunTestPlanWait.test.d.ts +1 -0
  16. package/dist/test/golden/webTestRunTestPlanWait.test.js +5 -0
  17. package/dist/test/helpers/execAutifyCli.js +1 -1
  18. package/package.json +3 -3
@@ -0,0 +1,511 @@
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": "7f9d7d4e2c82f25cb63268cfc149f892",
12
+ "_order": 0,
13
+ "cache": {},
14
+ "request": {
15
+ "bodySize": 2,
16
+ "cookies": [],
17
+ "headers": [],
18
+ "headersSize": 315,
19
+ "httpVersion": "HTTP/1.1",
20
+ "method": "POST",
21
+ "postData": {
22
+ "mimeType": "application/json",
23
+ "params": [],
24
+ "text": "{}"
25
+ },
26
+ "queryString": [],
27
+ "url": "https://app.autify.com/api/v1/schedules/169408"
28
+ },
29
+ "response": {
30
+ "bodySize": 79,
31
+ "content": {
32
+ "mimeType": "application/json; charset=utf-8",
33
+ "size": 79,
34
+ "text": "{\"data\":{\"id\":\"1222373\",\"type\":\"test_plan_result\",\"attributes\":{\"id\":1222373}}}"
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-27T22:45:35.679Z",
45
+ "time": 575,
46
+ "timings": {
47
+ "blocked": -1,
48
+ "connect": -1,
49
+ "dns": -1,
50
+ "receive": 0,
51
+ "send": 0,
52
+ "ssl": -1,
53
+ "wait": 575
54
+ }
55
+ },
56
+ {
57
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
58
+ "_order": 0,
59
+ "cache": {},
60
+ "request": {
61
+ "bodySize": 0,
62
+ "cookies": [],
63
+ "headers": [],
64
+ "headersSize": 275,
65
+ "httpVersion": "HTTP/1.1",
66
+ "method": "GET",
67
+ "queryString": [],
68
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
69
+ },
70
+ "response": {
71
+ "bodySize": 888,
72
+ "content": {
73
+ "mimeType": "application/json; charset=utf-8",
74
+ "size": 888,
75
+ "text": "{\"id\":1222373,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.532Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:37.555Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
76
+ },
77
+ "cookies": [],
78
+ "headers": [],
79
+ "headersSize": 643,
80
+ "httpVersion": "HTTP/1.1",
81
+ "redirectURL": "",
82
+ "status": 200,
83
+ "statusText": "OK"
84
+ },
85
+ "startedDateTime": "2022-09-27T22:45:37.285Z",
86
+ "time": 478,
87
+ "timings": {
88
+ "blocked": -1,
89
+ "connect": -1,
90
+ "dns": -1,
91
+ "receive": 0,
92
+ "send": 0,
93
+ "ssl": -1,
94
+ "wait": 478
95
+ }
96
+ },
97
+ {
98
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
99
+ "_order": 1,
100
+ "cache": {},
101
+ "request": {
102
+ "bodySize": 0,
103
+ "cookies": [],
104
+ "headers": [],
105
+ "headersSize": 275,
106
+ "httpVersion": "HTTP/1.1",
107
+ "method": "GET",
108
+ "queryString": [],
109
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
110
+ },
111
+ "response": {
112
+ "bodySize": 932,
113
+ "content": {
114
+ "mimeType": "application/json; charset=utf-8",
115
+ "size": 932,
116
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
117
+ },
118
+ "cookies": [],
119
+ "headers": [],
120
+ "headersSize": 643,
121
+ "httpVersion": "HTTP/1.1",
122
+ "redirectURL": "",
123
+ "status": 200,
124
+ "statusText": "OK"
125
+ },
126
+ "startedDateTime": "2022-09-27T22:45:38.284Z",
127
+ "time": 465,
128
+ "timings": {
129
+ "blocked": -1,
130
+ "connect": -1,
131
+ "dns": -1,
132
+ "receive": 0,
133
+ "send": 0,
134
+ "ssl": -1,
135
+ "wait": 465
136
+ }
137
+ },
138
+ {
139
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
140
+ "_order": 2,
141
+ "cache": {},
142
+ "request": {
143
+ "bodySize": 0,
144
+ "cookies": [],
145
+ "headers": [],
146
+ "headersSize": 275,
147
+ "httpVersion": "HTTP/1.1",
148
+ "method": "GET",
149
+ "queryString": [],
150
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
151
+ },
152
+ "response": {
153
+ "bodySize": 932,
154
+ "content": {
155
+ "mimeType": "application/json; charset=utf-8",
156
+ "size": 932,
157
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
158
+ },
159
+ "cookies": [],
160
+ "headers": [],
161
+ "headersSize": 643,
162
+ "httpVersion": "HTTP/1.1",
163
+ "redirectURL": "",
164
+ "status": 200,
165
+ "statusText": "OK"
166
+ },
167
+ "startedDateTime": "2022-09-27T22:45:39.284Z",
168
+ "time": 519,
169
+ "timings": {
170
+ "blocked": -1,
171
+ "connect": -1,
172
+ "dns": -1,
173
+ "receive": 0,
174
+ "send": 0,
175
+ "ssl": -1,
176
+ "wait": 519
177
+ }
178
+ },
179
+ {
180
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
181
+ "_order": 3,
182
+ "cache": {},
183
+ "request": {
184
+ "bodySize": 0,
185
+ "cookies": [],
186
+ "headers": [],
187
+ "headersSize": 275,
188
+ "httpVersion": "HTTP/1.1",
189
+ "method": "GET",
190
+ "queryString": [],
191
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
192
+ },
193
+ "response": {
194
+ "bodySize": 932,
195
+ "content": {
196
+ "mimeType": "application/json; charset=utf-8",
197
+ "size": 932,
198
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
199
+ },
200
+ "cookies": [],
201
+ "headers": [],
202
+ "headersSize": 643,
203
+ "httpVersion": "HTTP/1.1",
204
+ "redirectURL": "",
205
+ "status": 200,
206
+ "statusText": "OK"
207
+ },
208
+ "startedDateTime": "2022-09-27T22:45:40.286Z",
209
+ "time": 546,
210
+ "timings": {
211
+ "blocked": -1,
212
+ "connect": -1,
213
+ "dns": -1,
214
+ "receive": 0,
215
+ "send": 0,
216
+ "ssl": -1,
217
+ "wait": 546
218
+ }
219
+ },
220
+ {
221
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
222
+ "_order": 4,
223
+ "cache": {},
224
+ "request": {
225
+ "bodySize": 0,
226
+ "cookies": [],
227
+ "headers": [],
228
+ "headersSize": 275,
229
+ "httpVersion": "HTTP/1.1",
230
+ "method": "GET",
231
+ "queryString": [],
232
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
233
+ },
234
+ "response": {
235
+ "bodySize": 932,
236
+ "content": {
237
+ "mimeType": "application/json; charset=utf-8",
238
+ "size": 932,
239
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
240
+ },
241
+ "cookies": [],
242
+ "headers": [],
243
+ "headersSize": 643,
244
+ "httpVersion": "HTTP/1.1",
245
+ "redirectURL": "",
246
+ "status": 200,
247
+ "statusText": "OK"
248
+ },
249
+ "startedDateTime": "2022-09-27T22:45:41.286Z",
250
+ "time": 512,
251
+ "timings": {
252
+ "blocked": -1,
253
+ "connect": -1,
254
+ "dns": -1,
255
+ "receive": 0,
256
+ "send": 0,
257
+ "ssl": -1,
258
+ "wait": 512
259
+ }
260
+ },
261
+ {
262
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
263
+ "_order": 5,
264
+ "cache": {},
265
+ "request": {
266
+ "bodySize": 0,
267
+ "cookies": [],
268
+ "headers": [],
269
+ "headersSize": 275,
270
+ "httpVersion": "HTTP/1.1",
271
+ "method": "GET",
272
+ "queryString": [],
273
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
274
+ },
275
+ "response": {
276
+ "bodySize": 932,
277
+ "content": {
278
+ "mimeType": "application/json; charset=utf-8",
279
+ "size": 932,
280
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
281
+ },
282
+ "cookies": [],
283
+ "headers": [],
284
+ "headersSize": 643,
285
+ "httpVersion": "HTTP/1.1",
286
+ "redirectURL": "",
287
+ "status": 200,
288
+ "statusText": "OK"
289
+ },
290
+ "startedDateTime": "2022-09-27T22:45:42.286Z",
291
+ "time": 539,
292
+ "timings": {
293
+ "blocked": -1,
294
+ "connect": -1,
295
+ "dns": -1,
296
+ "receive": 0,
297
+ "send": 0,
298
+ "ssl": -1,
299
+ "wait": 539
300
+ }
301
+ },
302
+ {
303
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
304
+ "_order": 6,
305
+ "cache": {},
306
+ "request": {
307
+ "bodySize": 0,
308
+ "cookies": [],
309
+ "headers": [],
310
+ "headersSize": 275,
311
+ "httpVersion": "HTTP/1.1",
312
+ "method": "GET",
313
+ "queryString": [],
314
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
315
+ },
316
+ "response": {
317
+ "bodySize": 932,
318
+ "content": {
319
+ "mimeType": "application/json; charset=utf-8",
320
+ "size": 932,
321
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
322
+ },
323
+ "cookies": [],
324
+ "headers": [],
325
+ "headersSize": 643,
326
+ "httpVersion": "HTTP/1.1",
327
+ "redirectURL": "",
328
+ "status": 200,
329
+ "statusText": "OK"
330
+ },
331
+ "startedDateTime": "2022-09-27T22:45:43.285Z",
332
+ "time": 483,
333
+ "timings": {
334
+ "blocked": -1,
335
+ "connect": -1,
336
+ "dns": -1,
337
+ "receive": 0,
338
+ "send": 0,
339
+ "ssl": -1,
340
+ "wait": 483
341
+ }
342
+ },
343
+ {
344
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
345
+ "_order": 7,
346
+ "cache": {},
347
+ "request": {
348
+ "bodySize": 0,
349
+ "cookies": [],
350
+ "headers": [],
351
+ "headersSize": 275,
352
+ "httpVersion": "HTTP/1.1",
353
+ "method": "GET",
354
+ "queryString": [],
355
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
356
+ },
357
+ "response": {
358
+ "bodySize": 932,
359
+ "content": {
360
+ "mimeType": "application/json; charset=utf-8",
361
+ "size": 932,
362
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
363
+ },
364
+ "cookies": [],
365
+ "headers": [],
366
+ "headersSize": 643,
367
+ "httpVersion": "HTTP/1.1",
368
+ "redirectURL": "",
369
+ "status": 200,
370
+ "statusText": "OK"
371
+ },
372
+ "startedDateTime": "2022-09-27T22:45:44.287Z",
373
+ "time": 555,
374
+ "timings": {
375
+ "blocked": -1,
376
+ "connect": -1,
377
+ "dns": -1,
378
+ "receive": 0,
379
+ "send": 0,
380
+ "ssl": -1,
381
+ "wait": 555
382
+ }
383
+ },
384
+ {
385
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
386
+ "_order": 8,
387
+ "cache": {},
388
+ "request": {
389
+ "bodySize": 0,
390
+ "cookies": [],
391
+ "headers": [],
392
+ "headersSize": 275,
393
+ "httpVersion": "HTTP/1.1",
394
+ "method": "GET",
395
+ "queryString": [],
396
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
397
+ },
398
+ "response": {
399
+ "bodySize": 932,
400
+ "content": {
401
+ "mimeType": "application/json; charset=utf-8",
402
+ "size": 932,
403
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
404
+ },
405
+ "cookies": [],
406
+ "headers": [],
407
+ "headersSize": 643,
408
+ "httpVersion": "HTTP/1.1",
409
+ "redirectURL": "",
410
+ "status": 200,
411
+ "statusText": "OK"
412
+ },
413
+ "startedDateTime": "2022-09-27T22:45:45.287Z",
414
+ "time": 512,
415
+ "timings": {
416
+ "blocked": -1,
417
+ "connect": -1,
418
+ "dns": -1,
419
+ "receive": 0,
420
+ "send": 0,
421
+ "ssl": -1,
422
+ "wait": 512
423
+ }
424
+ },
425
+ {
426
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
427
+ "_order": 9,
428
+ "cache": {},
429
+ "request": {
430
+ "bodySize": 0,
431
+ "cookies": [],
432
+ "headers": [],
433
+ "headersSize": 275,
434
+ "httpVersion": "HTTP/1.1",
435
+ "method": "GET",
436
+ "queryString": [],
437
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
438
+ },
439
+ "response": {
440
+ "bodySize": 932,
441
+ "content": {
442
+ "mimeType": "application/json; charset=utf-8",
443
+ "size": 932,
444
+ "text": "{\"id\":1222373,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:37.943Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":null,\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:38.046Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
445
+ },
446
+ "cookies": [],
447
+ "headers": [],
448
+ "headersSize": 643,
449
+ "httpVersion": "HTTP/1.1",
450
+ "redirectURL": "",
451
+ "status": 200,
452
+ "statusText": "OK"
453
+ },
454
+ "startedDateTime": "2022-09-27T22:45:46.288Z",
455
+ "time": 515,
456
+ "timings": {
457
+ "blocked": -1,
458
+ "connect": -1,
459
+ "dns": -1,
460
+ "receive": 0,
461
+ "send": 0,
462
+ "ssl": -1,
463
+ "wait": 515
464
+ }
465
+ },
466
+ {
467
+ "_id": "744aad8b722219414ef5a42b62e1dbb8",
468
+ "_order": 10,
469
+ "cache": {},
470
+ "request": {
471
+ "bodySize": 0,
472
+ "cookies": [],
473
+ "headers": [],
474
+ "headersSize": 275,
475
+ "httpVersion": "HTTP/1.1",
476
+ "method": "GET",
477
+ "queryString": [],
478
+ "url": "https://app.autify.com/api/v1/projects/743/results/1222373"
479
+ },
480
+ "response": {
481
+ "bodySize": 974,
482
+ "content": {
483
+ "mimeType": "application/json; charset=utf-8",
484
+ "size": 974,
485
+ "text": "{\"id\":1222373,\"status\":\"passed\",\"duration\":6525,\"started_at\":\"2022-09-27T22:45:37.868Z\",\"finished_at\":\"2022-09-27T22:45:44.394Z\",\"created_at\":\"2022-09-27T22:45:36.181Z\",\"updated_at\":\"2022-09-27T22:45:47.174Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1445935,\"capability\":{\"id\":346735,\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"104.0\",\"device\":\"\",\"created_at\":\"2022-08-22T03:57:59.193Z\",\"updated_at\":\"2022-08-22T03:57:59.193Z\"},\"test_case_results\":[{\"id\":4282538,\"test_case_id\":91437,\"status\":\"passed\",\"duration\":5283,\"started_at\":\"2022-09-27T22:45:39.111Z\",\"finished_at\":\"2022-09-27T22:45:44.394Z\",\"created_at\":\"2022-09-27T22:45:37.516Z\",\"project_url\":\"https://app.autify.com/projects/743/results/1222373/capabilities/1445935/scenarios/4282538\",\"updated_at\":\"2022-09-27T22:45:47.090Z\",\"review_needed\":0}]}],\"test_plan\":{\"id\":169408,\"name\":\"cli test\",\"created_at\":\"2022-05-16T21:16:28.612Z\",\"updated_at\":\"2022-05-16T21:16:28.612Z\"}}"
486
+ },
487
+ "cookies": [],
488
+ "headers": [],
489
+ "headersSize": 643,
490
+ "httpVersion": "HTTP/1.1",
491
+ "redirectURL": "",
492
+ "status": 200,
493
+ "statusText": "OK"
494
+ },
495
+ "startedDateTime": "2022-09-27T22:45:47.288Z",
496
+ "time": 475,
497
+ "timings": {
498
+ "blocked": -1,
499
+ "connect": -1,
500
+ "dns": -1,
501
+ "receive": 0,
502
+ "send": 0,
503
+ "ssl": -1,
504
+ "wait": 475
505
+ }
506
+ }
507
+ ],
508
+ "pages": [],
509
+ "version": "1.2"
510
+ }
511
+ }
@@ -0,0 +1,60 @@
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": "7f9d7d4e2c82f25cb63268cfc149f892",
12
+ "_order": 0,
13
+ "cache": {},
14
+ "request": {
15
+ "bodySize": 2,
16
+ "cookies": [],
17
+ "headers": [],
18
+ "headersSize": 315,
19
+ "httpVersion": "HTTP/1.1",
20
+ "method": "POST",
21
+ "postData": {
22
+ "mimeType": "application/json",
23
+ "params": [],
24
+ "text": "{}"
25
+ },
26
+ "queryString": [],
27
+ "url": "https://app.autify.com/api/v1/schedules/169408"
28
+ },
29
+ "response": {
30
+ "bodySize": 79,
31
+ "content": {
32
+ "mimeType": "application/json; charset=utf-8",
33
+ "size": 79,
34
+ "text": "{\"data\":{\"id\":\"1222367\",\"type\":\"test_plan_result\",\"attributes\":{\"id\":1222367}}}"
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-27T22:44:39.674Z",
45
+ "time": 584,
46
+ "timings": {
47
+ "blocked": -1,
48
+ "connect": -1,
49
+ "dns": -1,
50
+ "receive": 0,
51
+ "send": 0,
52
+ "ssl": -1,
53
+ "wait": 584
54
+ }
55
+ }
56
+ ],
57
+ "pages": [],
58
+ "version": "1.2"
59
+ }
60
+ }
@@ -5,16 +5,16 @@ Object {
5
5
  "stderr": "",
6
6
  "stdout": "[HPM] Proxy created: / -> https://app.autify.com
7
7
  [HPM] Proxy created: / -> https://mobile-app.autify.com
8
- [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-8e85b827-ad1f-47d4-9fc7-b2f70f577766
8
+ [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was created: autify-cli-7b7b8558-22a0-4b0a-805b-eaa142e047e5
9
9
  Starting Autify Connect Client...
10
- [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-8e85b827-ad1f-47d4-9fc7-b2f70f577766, debugServerPort: <random>, path: /path/to/autifyconnect-fake, version: Autify Connect version v0.6.3, build 7da4a94)
10
+ [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Starting Autify Connect Client (accessPoint: autify-cli-7b7b8558-22a0-4b0a-805b-eaa142e047e5, debugServerPort: <random>, path: /path/to/autifyconnect, version: Autify Connect version v0.6.12, build 7464852)
11
11
  Waiting until Autify Connect Client is ready...
12
12
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info start serving a debug server on http://localhost:<random>
13
13
  [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\\".
14
14
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Successfully connected!
15
15
  Autify Connect Client is ready!
16
- ✅ Successfully started: https://app.autify.com/projects/743/results/1189177 (Capability is Linux Chrome 104.0)
17
- 🕐 Waiting for the test result: https://app.autify.com/projects/743/results/1189177
16
+ ✅ Successfully started: https://app.autify.com/projects/743/results/1235244 (Capability is Linux Chrome 104.0)
17
+ 🕐 Waiting for the test result: https://app.autify.com/projects/743/results/1235244
18
18
  [HH:MM:SS] Waiting... (timeout: 300 s) [started]
19
19
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
20
20
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
@@ -24,13 +24,14 @@ Autify Connect Client is ready!
24
24
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
25
25
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
26
26
  [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
27
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
27
28
  [HH:MM:SS] → TestPlan: 👍 Passed , TestCases: 👍 Passed
28
29
  [HH:MM:SS] Waiting... (timeout: 300 s) [completed]
29
- ✅ Test passed!: https://app.autify.com/projects/743/results/1189177
30
+ ✅ Test passed!: https://app.autify.com/projects/743/results/1235244
30
31
  Waiting until Autify Connect Client exits...
31
32
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Interrupt received.
32
33
  [Autify Connect Client] YYYY-MM-DDTHH:MM:SS.MMMZ info Shutdown completed.
33
- [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-8e85b827-ad1f-47d4-9fc7-b2f70f577766
34
+ [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Ephemeral Access Point was deleted: autify-cli-7b7b8558-22a0-4b0a-805b-eaa142e047e5
34
35
  [Autify Connect Manager] YYYY-MM-DDTHH:MM:SS.MMMZ info Autify Connect Client exited (code: 0, signal: null)
35
36
  Autify Connect Client exited.
36
37
  [HPM] server close signal received: closing proxy server
@@ -0,0 +1,14 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`autify web test run https://app.autify.com/projects/0000/test_plans/0000 1`] = `
4
+ Object {
5
+ "stderr": "",
6
+ "stdout": "[HPM] Proxy created: / -> https://app.autify.com
7
+ [HPM] Proxy created: / -> https://mobile-app.autify.com
8
+ ✅ Successfully started: https://app.autify.com/projects/743/results/1222367 (Capability is configured by test plan)
9
+ To wait for the test result, run the command below:
10
+ 💻 $ autify web test wait https://app.autify.com/projects/743/results/1222367
11
+ [HPM] server close signal received: closing proxy server
12
+ ",
13
+ }
14
+ `;