@autifyhq/autify-cli-integration-test 0.3.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Autify Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,110 @@
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": "73a4b3faba67051f9c497fbd51a01ce4",
12
+ "_order": 0,
13
+ "cache": {},
14
+ "request": {
15
+ "bodySize": 0,
16
+ "cookies": [],
17
+ "headers": [],
18
+ "headersSize": 259,
19
+ "httpVersion": "HTTP/1.1",
20
+ "method": "GET",
21
+ "queryString": [],
22
+ "url": "https://app.autify.com/api/v1/projects/743/capabilities"
23
+ },
24
+ "response": {
25
+ "bodySize": 12695,
26
+ "content": {
27
+ "mimeType": "application/json; charset=utf-8",
28
+ "size": 12695,
29
+ "text": "[{\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"Edge\",\"browser_version\":\"101.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\":\"100.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\":false},{\"os\":\"Windows Server\",\"os_version\":\"2019\",\"browser\":\"Edge\",\"browser_version\":\"101.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\":false},{\"os\":\"OS X\",\"os_version\":\"Big Sur\",\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"OS X\",\"os_version\":\"Big Sur\",\"browser\":\"Firefox\",\"browser_version\":\"100.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\":\"101.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\":\"5.0\",\"device\":\"Nexus 6\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"4.4\",\"device\":\"Nexus 5\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"5.1\",\"device\":\"Nexus 9\",\"device_type\":\"tablet\",\"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\":\"Android\",\"os_version\":\"4.4\",\"device\":\"Galaxy Tab 4\",\"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\":\"10\",\"device\":\"iPhone 7\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"10\",\"device\":\"iPhone 7 Plus\",\"device_type\":\"mobile\",\"unsupported\":true},{\"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}]"
30
+ },
31
+ "cookies": [
32
+ {
33
+ "expires": "2042-05-26T05:45:54.000Z",
34
+ "httpOnly": true,
35
+ "name": "current_project_id",
36
+ "path": "/",
37
+ "secure": true,
38
+ "value": "743"
39
+ }
40
+ ],
41
+ "headers": [],
42
+ "headersSize": 744,
43
+ "httpVersion": "HTTP/1.1",
44
+ "redirectURL": "",
45
+ "status": 200,
46
+ "statusText": "OK"
47
+ },
48
+ "startedDateTime": "2022-05-26T05:45:54.098Z",
49
+ "time": 760,
50
+ "timings": {
51
+ "blocked": -1,
52
+ "connect": -1,
53
+ "dns": -1,
54
+ "receive": 0,
55
+ "send": 0,
56
+ "ssl": -1,
57
+ "wait": 760
58
+ }
59
+ },
60
+ {
61
+ "_id": "8ba83fa92abb78c7c6b83c9160781ef2",
62
+ "_order": 0,
63
+ "cache": {},
64
+ "request": {
65
+ "bodySize": 196,
66
+ "cookies": [],
67
+ "headers": [],
68
+ "headersSize": 318,
69
+ "httpVersion": "HTTP/1.1",
70
+ "method": "POST",
71
+ "postData": {
72
+ "mimeType": "application/json",
73
+ "params": [],
74
+ "text": "{\"capabilities\":[{\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false}],\"scenarios\":[{\"id\":91437}],\"url_replacements\":[]}"
75
+ },
76
+ "queryString": [],
77
+ "url": "https://app.autify.com/api/v1/projects/743/execute_scenarios"
78
+ },
79
+ "response": {
80
+ "bodySize": 20,
81
+ "content": {
82
+ "mimeType": "application/json; charset=utf-8",
83
+ "size": 20,
84
+ "text": "{\"result_id\":846404}"
85
+ },
86
+ "cookies": [],
87
+ "headers": [],
88
+ "headersSize": 643,
89
+ "httpVersion": "HTTP/1.1",
90
+ "redirectURL": "",
91
+ "status": 200,
92
+ "statusText": "OK"
93
+ },
94
+ "startedDateTime": "2022-05-26T05:45:54.952Z",
95
+ "time": 607,
96
+ "timings": {
97
+ "blocked": -1,
98
+ "connect": -1,
99
+ "dns": -1,
100
+ "receive": 0,
101
+ "send": 0,
102
+ "ssl": -1,
103
+ "wait": 607
104
+ }
105
+ }
106
+ ],
107
+ "pages": [],
108
+ "version": "1.2"
109
+ }
110
+ }
@@ -0,0 +1,479 @@
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": "73a4b3faba67051f9c497fbd51a01ce4",
12
+ "_order": 0,
13
+ "cache": {},
14
+ "request": {
15
+ "bodySize": 0,
16
+ "cookies": [],
17
+ "headers": [],
18
+ "headersSize": 259,
19
+ "httpVersion": "HTTP/1.1",
20
+ "method": "GET",
21
+ "queryString": [],
22
+ "url": "https://app.autify.com/api/v1/projects/743/capabilities"
23
+ },
24
+ "response": {
25
+ "bodySize": 12695,
26
+ "content": {
27
+ "mimeType": "application/json; charset=utf-8",
28
+ "size": 12695,
29
+ "text": "[{\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"Windows\",\"os_version\":\"10\",\"browser\":\"Edge\",\"browser_version\":\"101.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\":\"100.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\":false},{\"os\":\"Windows Server\",\"os_version\":\"2019\",\"browser\":\"Edge\",\"browser_version\":\"101.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\":false},{\"os\":\"OS X\",\"os_version\":\"Big Sur\",\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false},{\"os\":\"OS X\",\"os_version\":\"Big Sur\",\"browser\":\"Firefox\",\"browser_version\":\"100.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\":\"101.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\":\"5.0\",\"device\":\"Nexus 6\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"4.4\",\"device\":\"Nexus 5\",\"device_type\":\"mobile\",\"unsupported\":false},{\"os\":\"Android\",\"os_version\":\"5.1\",\"device\":\"Nexus 9\",\"device_type\":\"tablet\",\"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\":\"Android\",\"os_version\":\"4.4\",\"device\":\"Galaxy Tab 4\",\"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\":\"10\",\"device\":\"iPhone 7\",\"device_type\":\"mobile\",\"unsupported\":true},{\"os\":\"iOS\",\"os_version\":\"10\",\"device\":\"iPhone 7 Plus\",\"device_type\":\"mobile\",\"unsupported\":true},{\"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}]"
30
+ },
31
+ "cookies": [
32
+ {
33
+ "expires": "2042-05-26T05:46:52.000Z",
34
+ "httpOnly": true,
35
+ "name": "current_project_id",
36
+ "path": "/",
37
+ "secure": true,
38
+ "value": "743"
39
+ }
40
+ ],
41
+ "headers": [],
42
+ "headersSize": 744,
43
+ "httpVersion": "HTTP/1.1",
44
+ "redirectURL": "",
45
+ "status": 200,
46
+ "statusText": "OK"
47
+ },
48
+ "startedDateTime": "2022-05-26T05:46:51.646Z",
49
+ "time": 673,
50
+ "timings": {
51
+ "blocked": -1,
52
+ "connect": -1,
53
+ "dns": -1,
54
+ "receive": 0,
55
+ "send": 0,
56
+ "ssl": -1,
57
+ "wait": 673
58
+ }
59
+ },
60
+ {
61
+ "_id": "8ba83fa92abb78c7c6b83c9160781ef2",
62
+ "_order": 0,
63
+ "cache": {},
64
+ "request": {
65
+ "bodySize": 196,
66
+ "cookies": [],
67
+ "headers": [],
68
+ "headersSize": 318,
69
+ "httpVersion": "HTTP/1.1",
70
+ "method": "POST",
71
+ "postData": {
72
+ "mimeType": "application/json",
73
+ "params": [],
74
+ "text": "{\"capabilities\":[{\"os\":\"Linux\",\"os_version\":\"\",\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"device_type\":null,\"unsupported\":false}],\"scenarios\":[{\"id\":91437}],\"url_replacements\":[]}"
75
+ },
76
+ "queryString": [],
77
+ "url": "https://app.autify.com/api/v1/projects/743/execute_scenarios"
78
+ },
79
+ "response": {
80
+ "bodySize": 20,
81
+ "content": {
82
+ "mimeType": "application/json; charset=utf-8",
83
+ "size": 20,
84
+ "text": "{\"result_id\":846405}"
85
+ },
86
+ "cookies": [],
87
+ "headers": [],
88
+ "headersSize": 643,
89
+ "httpVersion": "HTTP/1.1",
90
+ "redirectURL": "",
91
+ "status": 200,
92
+ "statusText": "OK"
93
+ },
94
+ "startedDateTime": "2022-05-26T05:46:52.432Z",
95
+ "time": 570,
96
+ "timings": {
97
+ "blocked": -1,
98
+ "connect": -1,
99
+ "dns": -1,
100
+ "receive": 0,
101
+ "send": 0,
102
+ "ssl": -1,
103
+ "wait": 570
104
+ }
105
+ },
106
+ {
107
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
108
+ "_order": 0,
109
+ "cache": {},
110
+ "request": {
111
+ "bodySize": 0,
112
+ "cookies": [],
113
+ "headers": [],
114
+ "headersSize": 261,
115
+ "httpVersion": "HTTP/1.1",
116
+ "method": "GET",
117
+ "queryString": [],
118
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
119
+ },
120
+ "response": {
121
+ "bodySize": 783,
122
+ "content": {
123
+ "mimeType": "application/json; charset=utf-8",
124
+ "size": 783,
125
+ "text": "{\"id\":846405,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:46:54.463Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"waiting\",\"duration\":null,\"started_at\":null,\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:46:54.492Z\",\"review_needed\":0}]}],\"test_plan\":null}"
126
+ },
127
+ "cookies": [],
128
+ "headers": [],
129
+ "headersSize": 643,
130
+ "httpVersion": "HTTP/1.1",
131
+ "redirectURL": "",
132
+ "status": 200,
133
+ "statusText": "OK"
134
+ },
135
+ "startedDateTime": "2022-05-26T05:46:54.283Z",
136
+ "time": 567,
137
+ "timings": {
138
+ "blocked": -1,
139
+ "connect": -1,
140
+ "dns": -1,
141
+ "receive": 0,
142
+ "send": 0,
143
+ "ssl": -1,
144
+ "wait": 567
145
+ }
146
+ },
147
+ {
148
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
149
+ "_order": 1,
150
+ "cache": {},
151
+ "request": {
152
+ "bodySize": 0,
153
+ "cookies": [],
154
+ "headers": [],
155
+ "headersSize": 261,
156
+ "httpVersion": "HTTP/1.1",
157
+ "method": "GET",
158
+ "queryString": [],
159
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
160
+ },
161
+ "response": {
162
+ "bodySize": 827,
163
+ "content": {
164
+ "mimeType": "application/json; charset=utf-8",
165
+ "size": 827,
166
+ "text": "{\"id\":846405,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:46:54.946Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:46:54.956Z\",\"review_needed\":0}]}],\"test_plan\":null}"
167
+ },
168
+ "cookies": [],
169
+ "headers": [],
170
+ "headersSize": 643,
171
+ "httpVersion": "HTTP/1.1",
172
+ "redirectURL": "",
173
+ "status": 200,
174
+ "statusText": "OK"
175
+ },
176
+ "startedDateTime": "2022-05-26T05:46:55.251Z",
177
+ "time": 521,
178
+ "timings": {
179
+ "blocked": -1,
180
+ "connect": -1,
181
+ "dns": -1,
182
+ "receive": 0,
183
+ "send": 0,
184
+ "ssl": -1,
185
+ "wait": 521
186
+ }
187
+ },
188
+ {
189
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
190
+ "_order": 2,
191
+ "cache": {},
192
+ "request": {
193
+ "bodySize": 0,
194
+ "cookies": [],
195
+ "headers": [],
196
+ "headersSize": 261,
197
+ "httpVersion": "HTTP/1.1",
198
+ "method": "GET",
199
+ "queryString": [],
200
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
201
+ },
202
+ "response": {
203
+ "bodySize": 827,
204
+ "content": {
205
+ "mimeType": "application/json; charset=utf-8",
206
+ "size": 827,
207
+ "text": "{\"id\":846405,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:46:54.946Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:46:54.956Z\",\"review_needed\":0}]}],\"test_plan\":null}"
208
+ },
209
+ "cookies": [],
210
+ "headers": [],
211
+ "headersSize": 643,
212
+ "httpVersion": "HTTP/1.1",
213
+ "redirectURL": "",
214
+ "status": 200,
215
+ "statusText": "OK"
216
+ },
217
+ "startedDateTime": "2022-05-26T05:46:56.249Z",
218
+ "time": 470,
219
+ "timings": {
220
+ "blocked": -1,
221
+ "connect": -1,
222
+ "dns": -1,
223
+ "receive": 0,
224
+ "send": 0,
225
+ "ssl": -1,
226
+ "wait": 470
227
+ }
228
+ },
229
+ {
230
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
231
+ "_order": 3,
232
+ "cache": {},
233
+ "request": {
234
+ "bodySize": 0,
235
+ "cookies": [],
236
+ "headers": [],
237
+ "headersSize": 261,
238
+ "httpVersion": "HTTP/1.1",
239
+ "method": "GET",
240
+ "queryString": [],
241
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
242
+ },
243
+ "response": {
244
+ "bodySize": 827,
245
+ "content": {
246
+ "mimeType": "application/json; charset=utf-8",
247
+ "size": 827,
248
+ "text": "{\"id\":846405,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:46:54.946Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:46:54.956Z\",\"review_needed\":0}]}],\"test_plan\":null}"
249
+ },
250
+ "cookies": [],
251
+ "headers": [],
252
+ "headersSize": 643,
253
+ "httpVersion": "HTTP/1.1",
254
+ "redirectURL": "",
255
+ "status": 200,
256
+ "statusText": "OK"
257
+ },
258
+ "startedDateTime": "2022-05-26T05:46:57.249Z",
259
+ "time": 481,
260
+ "timings": {
261
+ "blocked": -1,
262
+ "connect": -1,
263
+ "dns": -1,
264
+ "receive": 0,
265
+ "send": 0,
266
+ "ssl": -1,
267
+ "wait": 481
268
+ }
269
+ },
270
+ {
271
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
272
+ "_order": 4,
273
+ "cache": {},
274
+ "request": {
275
+ "bodySize": 0,
276
+ "cookies": [],
277
+ "headers": [],
278
+ "headersSize": 261,
279
+ "httpVersion": "HTTP/1.1",
280
+ "method": "GET",
281
+ "queryString": [],
282
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
283
+ },
284
+ "response": {
285
+ "bodySize": 827,
286
+ "content": {
287
+ "mimeType": "application/json; charset=utf-8",
288
+ "size": 827,
289
+ "text": "{\"id\":846405,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:46:54.946Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:46:54.956Z\",\"review_needed\":0}]}],\"test_plan\":null}"
290
+ },
291
+ "cookies": [],
292
+ "headers": [],
293
+ "headersSize": 643,
294
+ "httpVersion": "HTTP/1.1",
295
+ "redirectURL": "",
296
+ "status": 200,
297
+ "statusText": "OK"
298
+ },
299
+ "startedDateTime": "2022-05-26T05:46:58.255Z",
300
+ "time": 507,
301
+ "timings": {
302
+ "blocked": -1,
303
+ "connect": -1,
304
+ "dns": -1,
305
+ "receive": 0,
306
+ "send": 0,
307
+ "ssl": -1,
308
+ "wait": 507
309
+ }
310
+ },
311
+ {
312
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
313
+ "_order": 5,
314
+ "cache": {},
315
+ "request": {
316
+ "bodySize": 0,
317
+ "cookies": [],
318
+ "headers": [],
319
+ "headersSize": 261,
320
+ "httpVersion": "HTTP/1.1",
321
+ "method": "GET",
322
+ "queryString": [],
323
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
324
+ },
325
+ "response": {
326
+ "bodySize": 827,
327
+ "content": {
328
+ "mimeType": "application/json; charset=utf-8",
329
+ "size": 827,
330
+ "text": "{\"id\":846405,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:46:54.946Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:46:54.956Z\",\"review_needed\":0}]}],\"test_plan\":null}"
331
+ },
332
+ "cookies": [],
333
+ "headers": [],
334
+ "headersSize": 643,
335
+ "httpVersion": "HTTP/1.1",
336
+ "redirectURL": "",
337
+ "status": 200,
338
+ "statusText": "OK"
339
+ },
340
+ "startedDateTime": "2022-05-26T05:46:59.254Z",
341
+ "time": 525,
342
+ "timings": {
343
+ "blocked": -1,
344
+ "connect": -1,
345
+ "dns": -1,
346
+ "receive": 0,
347
+ "send": 0,
348
+ "ssl": -1,
349
+ "wait": 525
350
+ }
351
+ },
352
+ {
353
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
354
+ "_order": 6,
355
+ "cache": {},
356
+ "request": {
357
+ "bodySize": 0,
358
+ "cookies": [],
359
+ "headers": [],
360
+ "headersSize": 261,
361
+ "httpVersion": "HTTP/1.1",
362
+ "method": "GET",
363
+ "queryString": [],
364
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
365
+ },
366
+ "response": {
367
+ "bodySize": 827,
368
+ "content": {
369
+ "mimeType": "application/json; charset=utf-8",
370
+ "size": 827,
371
+ "text": "{\"id\":846405,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:46:54.946Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:46:54.956Z\",\"review_needed\":0}]}],\"test_plan\":null}"
372
+ },
373
+ "cookies": [],
374
+ "headers": [],
375
+ "headersSize": 643,
376
+ "httpVersion": "HTTP/1.1",
377
+ "redirectURL": "",
378
+ "status": 200,
379
+ "statusText": "OK"
380
+ },
381
+ "startedDateTime": "2022-05-26T05:47:00.255Z",
382
+ "time": 477,
383
+ "timings": {
384
+ "blocked": -1,
385
+ "connect": -1,
386
+ "dns": -1,
387
+ "receive": 0,
388
+ "send": 0,
389
+ "ssl": -1,
390
+ "wait": 477
391
+ }
392
+ },
393
+ {
394
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
395
+ "_order": 7,
396
+ "cache": {},
397
+ "request": {
398
+ "bodySize": 0,
399
+ "cookies": [],
400
+ "headers": [],
401
+ "headersSize": 261,
402
+ "httpVersion": "HTTP/1.1",
403
+ "method": "GET",
404
+ "queryString": [],
405
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
406
+ },
407
+ "response": {
408
+ "bodySize": 827,
409
+ "content": {
410
+ "mimeType": "application/json; charset=utf-8",
411
+ "size": 827,
412
+ "text": "{\"id\":846405,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:46:54.946Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"running\",\"duration\":null,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":null,\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:46:54.956Z\",\"review_needed\":0}]}],\"test_plan\":null}"
413
+ },
414
+ "cookies": [],
415
+ "headers": [],
416
+ "headersSize": 643,
417
+ "httpVersion": "HTTP/1.1",
418
+ "redirectURL": "",
419
+ "status": 200,
420
+ "statusText": "OK"
421
+ },
422
+ "startedDateTime": "2022-05-26T05:47:01.253Z",
423
+ "time": 533,
424
+ "timings": {
425
+ "blocked": -1,
426
+ "connect": -1,
427
+ "dns": -1,
428
+ "receive": 0,
429
+ "send": 0,
430
+ "ssl": -1,
431
+ "wait": 533
432
+ }
433
+ },
434
+ {
435
+ "_id": "a97ae3913d8245d3c74ee8b9ac589f05",
436
+ "_order": 8,
437
+ "cache": {},
438
+ "request": {
439
+ "bodySize": 0,
440
+ "cookies": [],
441
+ "headers": [],
442
+ "headersSize": 261,
443
+ "httpVersion": "HTTP/1.1",
444
+ "method": "GET",
445
+ "queryString": [],
446
+ "url": "https://app.autify.com/api/v1/projects/743/results/846405"
447
+ },
448
+ "response": {
449
+ "bodySize": 869,
450
+ "content": {
451
+ "mimeType": "application/json; charset=utf-8",
452
+ "size": 869,
453
+ "text": "{\"id\":846405,\"status\":\"passed\",\"duration\":6079,\"started_at\":\"2022-05-26T05:46:54.883Z\",\"finished_at\":\"2022-05-26T05:47:00.963Z\",\"created_at\":\"2022-05-26T05:46:52.931Z\",\"updated_at\":\"2022-05-26T05:47:02.376Z\",\"review_needed\":false,\"test_plan_capability_results\":[{\"id\":1003371,\"capability\":{\"id\":271571,\"os\":\"Linux\",\"os_version\":null,\"browser\":\"Chrome\",\"browser_version\":\"101.0\",\"device\":null,\"created_at\":\"2022-05-26T05:46:52.923Z\",\"updated_at\":\"2022-05-26T05:46:52.923Z\"},\"test_case_results\":[{\"id\":2817137,\"test_case_id\":91437,\"status\":\"passed\",\"duration\":5020,\"started_at\":\"2022-05-26T05:46:55.943Z\",\"finished_at\":\"2022-05-26T05:47:00.963Z\",\"created_at\":\"2022-05-26T05:46:54.449Z\",\"project_url\":\"https://app.autify.com/projects/743/results/846405/capabilities/1003371/scenarios/2817137\",\"updated_at\":\"2022-05-26T05:47:02.324Z\",\"review_needed\":0}]}],\"test_plan\":null}"
454
+ },
455
+ "cookies": [],
456
+ "headers": [],
457
+ "headersSize": 643,
458
+ "httpVersion": "HTTP/1.1",
459
+ "redirectURL": "",
460
+ "status": 200,
461
+ "statusText": "OK"
462
+ },
463
+ "startedDateTime": "2022-05-26T05:47:02.254Z",
464
+ "time": 457,
465
+ "timings": {
466
+ "blocked": -1,
467
+ "connect": -1,
468
+ "dns": -1,
469
+ "receive": 0,
470
+ "send": 0,
471
+ "ssl": -1,
472
+ "wait": 457
473
+ }
474
+ }
475
+ ],
476
+ "pages": [],
477
+ "version": "1.2"
478
+ }
479
+ }
@@ -0,0 +1,38 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`autify-cli autify web test run https://app.autify.com/projects/743/scenarios/91437 --wait 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/846405 (Capability is Linux Chrome 101.0)
9
+ 🕐 Waiting for the test result: https://app.autify.com/projects/743/results/846405
10
+ [HH:MM:SS] Waiting... (timeout: 300 s) [started]
11
+ [HH:MM:SS] → TestPlan: ⏳ Waiting, TestCases: ⏳ Waiting
12
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
13
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
14
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
15
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
16
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
17
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
18
+ [HH:MM:SS] → TestPlan: 🚗 Running, TestCases: 🚗 Running
19
+ [HH:MM:SS] → TestPlan: 👍 Passed , TestCases: 👍 Passed
20
+ [HH:MM:SS] Waiting... (timeout: 300 s) [completed]
21
+ ✅ Test passed!: https://app.autify.com/projects/743/results/846405
22
+ [HPM] server close signal received: closing proxy server
23
+ ",
24
+ }
25
+ `;
26
+
27
+ exports[`autify-cli autify web test run https://app.autify.com/projects/743/scenarios/91437 1`] = `
28
+ Object {
29
+ "stderr": "",
30
+ "stdout": "[HPM] Proxy created: / -> https://app.autify.com
31
+ [HPM] Proxy created: / -> https://mobile-app.autify.com
32
+ ✅ Successfully started: https://app.autify.com/projects/743/results/846404 (Capability is Linux Chrome 101.0)
33
+ To wait for the test result, run the command below:
34
+ 💻 $ autify web test wait https://app.autify.com/projects/743/results/846404
35
+ [HPM] server close signal received: closing proxy server
36
+ ",
37
+ }
38
+ `;
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ require("../dist/bin/autify-cli-integration-test.js");
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ require("../dist/bin/autify-with-proxy.js");
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const node_child_process_1 = require("node:child_process");
5
+ const node_path_1 = tslib_1.__importDefault(require("node:path"));
6
+ const node_process_1 = require("node:process");
7
+ // eslint-disable-next-line unicorn/prefer-module
8
+ const scriptDir = __dirname;
9
+ const rootDir = node_path_1.default.join(scriptDir, "..", "..");
10
+ const isRecord = node_process_1.argv[2] === "--record";
11
+ const command = isRecord ? "test:record" : "test";
12
+ (0, node_child_process_1.execSync)(`npm run ${command}`, {
13
+ stdio: "inherit",
14
+ cwd: rootDir,
15
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const express_1 = tslib_1.__importDefault(require("express"));
5
+ const http_proxy_middleware_1 = require("http-proxy-middleware");
6
+ const core_1 = require("@pollyjs/core");
7
+ const adapter_node_http_1 = tslib_1.__importDefault(require("@pollyjs/adapter-node-http"));
8
+ const persister_fs_1 = tslib_1.__importDefault(require("@pollyjs/persister-fs"));
9
+ const node_child_process_1 = require("node:child_process");
10
+ const node_path_1 = tslib_1.__importDefault(require("node:path"));
11
+ const node_process_1 = require("node:process");
12
+ const node_fs_1 = require("node:fs");
13
+ const which_1 = tslib_1.__importDefault(require("which"));
14
+ core_1.Polly.register(adapter_node_http_1.default);
15
+ core_1.Polly.register(persister_fs_1.default);
16
+ const { AUTIFY_POLLY_RECORD, AUTIFY_CLI_PATH } = node_process_1.env;
17
+ const getPollyMode = () => {
18
+ return AUTIFY_POLLY_RECORD ? "record" : "replay";
19
+ };
20
+ const getAutifyCli = () => {
21
+ const autify = AUTIFY_CLI_PATH !== null && AUTIFY_CLI_PATH !== void 0 ? AUTIFY_CLI_PATH : "autify";
22
+ if (!(0, node_fs_1.existsSync)(autify) && !which_1.default.sync(autify))
23
+ throw new Error(`Invalid autify-cli path: ${autify}`);
24
+ return autify;
25
+ };
26
+ const createPolly = async (args) => {
27
+ const mode = getPollyMode();
28
+ // eslint-disable-next-line unicorn/prefer-module
29
+ const scriptDir = __dirname;
30
+ const recordingsDir = node_path_1.default.join(scriptDir, "..", "..", "__recordings__", encodeURIComponent(args.join(" ")));
31
+ const polly = new core_1.Polly("polly-proxy", {
32
+ mode,
33
+ adapters: ["node-http"],
34
+ persister: "fs",
35
+ persisterOptions: {
36
+ fs: {
37
+ recordingsDir,
38
+ },
39
+ },
40
+ recordIfMissing: false,
41
+ flushRequestsOnStop: true,
42
+ matchRequestsBy: {
43
+ headers: false,
44
+ },
45
+ });
46
+ // Remove headers because access token is included and also we don't care any other headers.
47
+ polly.server.any().on("beforePersist", (_req, recording) => {
48
+ recording.request.headers = [];
49
+ recording.response.headers = [];
50
+ });
51
+ return polly;
52
+ };
53
+ const startProxy = (target) => {
54
+ const app = (0, express_1.default)();
55
+ app.use("", (0, http_proxy_middleware_1.createProxyMiddleware)({ target, changeOrigin: true }));
56
+ const server = app.listen();
57
+ const { port } = server.address();
58
+ return { server, port };
59
+ };
60
+ const autifyWithProxy = async (args) => {
61
+ const polly = await createPolly(args);
62
+ const webProxy = startProxy("https://app.autify.com");
63
+ const mobileProxy = startProxy("https://mobile-app.autify.com");
64
+ const autify = getAutifyCli();
65
+ const proc = (0, node_child_process_1.spawn)(autify, args, {
66
+ env: {
67
+ ...node_process_1.env,
68
+ AUTIFY_WEB_BASE_PATH: `http://localhost:${webProxy.port}/api/v1/`,
69
+ AUTIFY_MOBILE_BASE_PATH: `http://localhost:${mobileProxy.port}/api/v1/`,
70
+ },
71
+ stdio: "inherit",
72
+ shell: true,
73
+ });
74
+ return new Promise((resolve, reject) => {
75
+ proc.on("close", async (code, signal) => {
76
+ webProxy.server.close();
77
+ mobileProxy.server.close();
78
+ await polly.stop();
79
+ resolve([code, signal]);
80
+ });
81
+ proc.on("error", (error) => {
82
+ reject(error);
83
+ });
84
+ });
85
+ };
86
+ const success = ([code, signal]) => {
87
+ if (code) {
88
+ (0, node_process_1.exit)(code);
89
+ }
90
+ else if (signal) {
91
+ fail(new Error(signal));
92
+ }
93
+ };
94
+ const fail = (error) => {
95
+ console.error(error);
96
+ (0, node_process_1.exit)(1);
97
+ };
98
+ const args = node_process_1.argv.slice(2);
99
+ autifyWithProxy(args).then(success).catch(fail);
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const execAutifyCli_1 = require("../helpers/execAutifyCli");
4
+ const commands = [
5
+ "web test run https://app.autify.com/projects/743/scenarios/91437",
6
+ "web test run https://app.autify.com/projects/743/scenarios/91437 --wait",
7
+ ];
8
+ describe("autify-cli", () => {
9
+ test.each(commands)("autify %s", async (command) => {
10
+ expect(await (0, execAutifyCli_1.execAutifyCli)(command)).toMatchSnapshot();
11
+ }, 300000);
12
+ });
@@ -0,0 +1,4 @@
1
+ export declare const execAutifyCli: (args: string) => Promise<{
2
+ stdout: string;
3
+ stderr: string;
4
+ }>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.execAutifyCli = void 0;
4
+ /* eslint-disable unicorn/filename-case */
5
+ const node_util_1 = require("node:util");
6
+ const node_child_process_1 = require("node:child_process");
7
+ const execAutifyCli = async (args) => {
8
+ const command = `autify-with-proxy ${args}`;
9
+ const { stdout, stderr } = await (0, node_util_1.promisify)(node_child_process_1.exec)(command);
10
+ return {
11
+ stdout: stdout.replace(/\d{2}:\d{2}:\d{2}/g, "HH:MM:SS"),
12
+ stderr: stderr,
13
+ };
14
+ };
15
+ exports.execAutifyCli = execAutifyCli;
@@ -0,0 +1,12 @@
1
+ /** @type {import('@jest/types').Config.InitialOptions} */
2
+ const config = {
3
+ snapshotResolver: "<rootDir>/snapshot-resolver.cjs",
4
+ // Needed to run tests inside node_modules.
5
+ testPathIgnorePatterns: [],
6
+ haste: {
7
+ // Needed to run tests inside node_modules.
8
+ retainAllFiles: true,
9
+ },
10
+ };
11
+
12
+ module.exports = config;
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@autifyhq/autify-cli-integration-test",
3
+ "version": "0.3.1",
4
+ "description": "Autify Command Line Interface (CLI) Integration Test",
5
+ "author": "Autify",
6
+ "bin": {
7
+ "autify-cli-integration-test": "bin/autify-cli-integration-test.js",
8
+ "autify-with-proxy": "bin/autify-with-proxy.js"
9
+ },
10
+ "homepage": "https://github.com/autifyhq/autify-cli",
11
+ "license": "MIT",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/autifyhq/autify-cli.git"
15
+ },
16
+ "files": [
17
+ "/bin",
18
+ "/dist",
19
+ "/jest.config.cjs",
20
+ "/snapshot-resolver.cjs",
21
+ "/__recordings__",
22
+ "/__snapshots__"
23
+ ],
24
+ "dependencies": {
25
+ "@pollyjs/adapter-node-http": "^6.0.5",
26
+ "@pollyjs/core": "^6.0.5",
27
+ "@pollyjs/persister-fs": "^6.0.5",
28
+ "express": "^4.18.1",
29
+ "http-proxy-middleware": "^2.0.6",
30
+ "jest": "^28.1.1",
31
+ "tslib": "^2.4.0",
32
+ "which": "^2.0.2"
33
+ },
34
+ "devDependencies": {
35
+ "@types/express": "^4.17.13",
36
+ "@types/jest": "^28.1.1",
37
+ "@types/node": "^16.11.39",
38
+ "@types/which": "^2.0.1",
39
+ "shx": "^0.3.4",
40
+ "ts-node": "^10.8.1",
41
+ "typescript": "^4.7.3"
42
+ },
43
+ "scripts": {
44
+ "build": "shx rm -rf dist && tsc -b",
45
+ "prepack": "npm run build",
46
+ "test": "jest dist/test",
47
+ "test:record": "AUTIFY_POLLY_RECORD=1 npm run test -- --updateSnapshot"
48
+ },
49
+ "engines": {
50
+ "node": ">=12.0.0"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/autifyhq/autify-cli/issues"
54
+ }
55
+ }
@@ -0,0 +1,23 @@
1
+ const sep = require("node:path").sep;
2
+
3
+ module.exports = {
4
+ // resolves from test to snapshot path
5
+ resolveSnapshotPath: (testPath, snapshotExtension) => {
6
+ return (
7
+ testPath.replace(
8
+ `${sep}dist${sep}test${sep}`,
9
+ `${sep}__snapshots__${sep}`
10
+ ) + snapshotExtension
11
+ );
12
+ },
13
+
14
+ // resolves from snapshot to test path
15
+ resolveTestPath: (snapshotFilePath, snapshotExtension) => {
16
+ return snapshotFilePath
17
+ .replace(`${sep}__snapshots__${sep}`, `${sep}dist${sep}test${sep}`)
18
+ .slice(0, -snapshotExtension.length);
19
+ },
20
+
21
+ // Example test path, used for preflight consistency check of the implementation above
22
+ testPathForConsistencyCheck: "some/dist/test/example.test.js",
23
+ };