@autifyhq/autify-cli 0.41.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -63
- package/dist/autify/connect/client-manager/Logger.d.ts +1 -0
- package/oclif.manifest.json +1268 -835
- package/package.json +23 -23
package/oclif.manifest.json
CHANGED
|
@@ -1,1073 +1,1089 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.41.0",
|
|
3
2
|
"commands": {
|
|
4
3
|
"connect:access-point:create": {
|
|
5
|
-
"id": "connect:access-point:create",
|
|
6
|
-
"description": "Create an Autify Connect Access Point",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
9
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
10
|
-
"pluginType": "core",
|
|
11
4
|
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Create an Autify Connect Access Point",
|
|
12
7
|
"examples": [
|
|
13
8
|
"<%= config.bin %> <%= command.id %> --name NAME --web-workspace-id ID"
|
|
14
9
|
],
|
|
15
10
|
"flags": {
|
|
16
11
|
"name": {
|
|
17
|
-
"name": "name",
|
|
18
|
-
"type": "option",
|
|
19
12
|
"description": "Name of Autify Connect Access Point to be created",
|
|
13
|
+
"name": "name",
|
|
20
14
|
"required": true,
|
|
21
|
-
"
|
|
15
|
+
"hasDynamicHelp": false,
|
|
16
|
+
"multiple": false,
|
|
17
|
+
"type": "option"
|
|
22
18
|
},
|
|
23
19
|
"web-workspace-id": {
|
|
24
|
-
"name": "web-workspace-id",
|
|
25
|
-
"type": "option",
|
|
26
20
|
"description": "Workspace ID of Autify for Web to which the Access Point will belong",
|
|
27
|
-
"
|
|
21
|
+
"name": "web-workspace-id",
|
|
22
|
+
"hasDynamicHelp": false,
|
|
23
|
+
"multiple": false,
|
|
24
|
+
"type": "option"
|
|
28
25
|
}
|
|
29
26
|
},
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"id": "connect:access-point:set",
|
|
34
|
-
"description": "Set Autify Connect Access Point",
|
|
35
|
-
"strict": true,
|
|
36
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
27
|
+
"hasDynamicHelp": false,
|
|
28
|
+
"hiddenAliases": [],
|
|
29
|
+
"id": "connect:access-point:create",
|
|
37
30
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
31
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
38
32
|
"pluginType": "core",
|
|
33
|
+
"strict": true,
|
|
34
|
+
"isESM": false,
|
|
35
|
+
"relativePath": [
|
|
36
|
+
"dist",
|
|
37
|
+
"commands",
|
|
38
|
+
"connect",
|
|
39
|
+
"access-point",
|
|
40
|
+
"create.js"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"connect:access-point:set": {
|
|
39
44
|
"aliases": [],
|
|
45
|
+
"args": {},
|
|
46
|
+
"description": "Set Autify Connect Access Point",
|
|
40
47
|
"examples": [
|
|
41
48
|
"Start interactive setup:\n<%= config.bin %> <%= command.id %> --name=NAME",
|
|
42
49
|
"Reading the key from file:\n<%= config.bin %> <%= command.id %> --name=NAME < key.txt"
|
|
43
50
|
],
|
|
44
51
|
"flags": {
|
|
45
52
|
"name": {
|
|
46
|
-
"name": "name",
|
|
47
|
-
"type": "option",
|
|
48
53
|
"description": "Name of the Autify Connect Access Point already created",
|
|
54
|
+
"name": "name",
|
|
49
55
|
"required": true,
|
|
50
|
-
"
|
|
56
|
+
"hasDynamicHelp": false,
|
|
57
|
+
"multiple": false,
|
|
58
|
+
"type": "option"
|
|
51
59
|
}
|
|
52
60
|
},
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"id": "connect:client:install",
|
|
57
|
-
"description": "Install Autify Connect Client",
|
|
58
|
-
"strict": true,
|
|
59
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
61
|
+
"hasDynamicHelp": false,
|
|
62
|
+
"hiddenAliases": [],
|
|
63
|
+
"id": "connect:access-point:set",
|
|
60
64
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
65
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
61
66
|
"pluginType": "core",
|
|
67
|
+
"strict": true,
|
|
68
|
+
"isESM": false,
|
|
69
|
+
"relativePath": [
|
|
70
|
+
"dist",
|
|
71
|
+
"commands",
|
|
72
|
+
"connect",
|
|
73
|
+
"access-point",
|
|
74
|
+
"set.js"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"connect:client:install": {
|
|
62
78
|
"aliases": [],
|
|
79
|
+
"args": {
|
|
80
|
+
"version": {
|
|
81
|
+
"default": "v1.0.2",
|
|
82
|
+
"description": "Specify the target version of Autify Connect Client.",
|
|
83
|
+
"name": "version"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"description": "Install Autify Connect Client",
|
|
63
87
|
"examples": [
|
|
64
88
|
"(Recommended) Install the supported version:\n<%= config.bin %> <%= command.id %>",
|
|
65
89
|
"Install a specific version:\n<%= config.bin %> <%= command.id %> v0.6.1",
|
|
66
90
|
"Install a stable version:\n<%= config.bin %> <%= command.id %> stable"
|
|
67
91
|
],
|
|
68
92
|
"flags": {},
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"description": "Specify the target version of Autify Connect Client.",
|
|
73
|
-
"default": "v1.0.2"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"connect:client:start": {
|
|
78
|
-
"id": "connect:client:start",
|
|
79
|
-
"description": "Start Autify Connect Client",
|
|
80
|
-
"strict": true,
|
|
81
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
93
|
+
"hasDynamicHelp": false,
|
|
94
|
+
"hiddenAliases": [],
|
|
95
|
+
"id": "connect:client:install",
|
|
82
96
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
97
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
83
98
|
"pluginType": "core",
|
|
99
|
+
"strict": true,
|
|
100
|
+
"isESM": false,
|
|
101
|
+
"relativePath": [
|
|
102
|
+
"dist",
|
|
103
|
+
"commands",
|
|
104
|
+
"connect",
|
|
105
|
+
"client",
|
|
106
|
+
"install.js"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"connect:client:start": {
|
|
84
110
|
"aliases": [],
|
|
111
|
+
"args": {},
|
|
112
|
+
"description": "Start Autify Connect Client",
|
|
85
113
|
"examples": [
|
|
86
114
|
"With pre-created Access Point:\n<%= config.bin %> <%= command.id %>",
|
|
87
115
|
"With ephemeral Access Point of Autify for Web:\n<%= config.bin %> <%= command.id %> --web-workspace-id 000"
|
|
88
116
|
],
|
|
89
117
|
"flags": {
|
|
90
118
|
"verbose": {
|
|
91
|
-
"name": "verbose",
|
|
92
|
-
"type": "boolean",
|
|
93
119
|
"description": "Make the operation more talkative.",
|
|
94
|
-
"
|
|
120
|
+
"name": "verbose",
|
|
121
|
+
"allowNo": false,
|
|
122
|
+
"type": "boolean"
|
|
95
123
|
},
|
|
96
124
|
"file-logging": {
|
|
97
|
-
"name": "file-logging",
|
|
98
|
-
"type": "boolean",
|
|
99
125
|
"description": "Logging Autify Connect Client log to a file instead of console.",
|
|
100
|
-
"
|
|
126
|
+
"name": "file-logging",
|
|
127
|
+
"allowNo": false,
|
|
128
|
+
"type": "boolean"
|
|
101
129
|
},
|
|
102
130
|
"debug-server-port": {
|
|
103
|
-
"name": "debug-server-port",
|
|
104
|
-
"type": "option",
|
|
105
131
|
"description": "The server for debugging and monitoring launches on your local machine on the given port. It will use a radom port if not specified.",
|
|
106
|
-
"
|
|
132
|
+
"name": "debug-server-port",
|
|
133
|
+
"hasDynamicHelp": false,
|
|
134
|
+
"multiple": false,
|
|
135
|
+
"type": "option"
|
|
107
136
|
},
|
|
108
137
|
"web-workspace-id": {
|
|
109
|
-
"name": "web-workspace-id",
|
|
110
|
-
"type": "option",
|
|
111
138
|
"description": "Workspace ID of Autify for Web to create an ephemeral Access Point. If not specified, it will use the one configured by `autify connect access-point create/set`, instead.",
|
|
112
|
-
"
|
|
139
|
+
"name": "web-workspace-id",
|
|
140
|
+
"hasDynamicHelp": false,
|
|
141
|
+
"multiple": false,
|
|
142
|
+
"type": "option"
|
|
113
143
|
},
|
|
114
144
|
"extra-arguments": {
|
|
115
|
-
"name": "extra-arguments",
|
|
116
|
-
"type": "option",
|
|
117
145
|
"description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
|
|
118
|
-
"
|
|
146
|
+
"name": "extra-arguments",
|
|
147
|
+
"hasDynamicHelp": false,
|
|
148
|
+
"multiple": false,
|
|
149
|
+
"type": "option"
|
|
119
150
|
}
|
|
120
151
|
},
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"id": "mobile:api:describe-test-result",
|
|
125
|
-
"description": "Get a test result.",
|
|
126
|
-
"strict": true,
|
|
127
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
152
|
+
"hasDynamicHelp": false,
|
|
153
|
+
"hiddenAliases": [],
|
|
154
|
+
"id": "connect:client:start",
|
|
128
155
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
156
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
129
157
|
"pluginType": "core",
|
|
158
|
+
"strict": true,
|
|
159
|
+
"isESM": false,
|
|
160
|
+
"relativePath": [
|
|
161
|
+
"dist",
|
|
162
|
+
"commands",
|
|
163
|
+
"connect",
|
|
164
|
+
"client",
|
|
165
|
+
"start.js"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
"web:api:create-access-point": {
|
|
130
169
|
"aliases": [],
|
|
170
|
+
"args": {},
|
|
171
|
+
"description": "You can generate a new access point by passing in its name.",
|
|
131
172
|
"examples": [
|
|
132
173
|
"<%= config.bin %> <%= command.id %>"
|
|
133
174
|
],
|
|
134
175
|
"flags": {
|
|
135
176
|
"project-id": {
|
|
177
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
136
178
|
"name": "project-id",
|
|
137
|
-
"type": "option",
|
|
138
|
-
"description": "ID of the project from which the test results will be obtained.",
|
|
139
179
|
"required": true,
|
|
140
|
-
"
|
|
180
|
+
"hasDynamicHelp": false,
|
|
181
|
+
"multiple": false,
|
|
182
|
+
"type": "option"
|
|
141
183
|
},
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"description": "Test Result ID.",
|
|
184
|
+
"create-access-point-request": {
|
|
185
|
+
"description": "The name of the access point to be created",
|
|
186
|
+
"name": "create-access-point-request",
|
|
146
187
|
"required": true,
|
|
147
|
-
"
|
|
188
|
+
"hasDynamicHelp": false,
|
|
189
|
+
"multiple": false,
|
|
190
|
+
"type": "option"
|
|
148
191
|
}
|
|
149
192
|
},
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
"id": "mobile:api:list-test-results",
|
|
154
|
-
"description": "List test results.",
|
|
155
|
-
"strict": true,
|
|
156
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
193
|
+
"hasDynamicHelp": false,
|
|
194
|
+
"hiddenAliases": [],
|
|
195
|
+
"id": "web:api:create-access-point",
|
|
157
196
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
197
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
158
198
|
"pluginType": "core",
|
|
199
|
+
"strict": true,
|
|
200
|
+
"isESM": false,
|
|
201
|
+
"relativePath": [
|
|
202
|
+
"dist",
|
|
203
|
+
"commands",
|
|
204
|
+
"web",
|
|
205
|
+
"api",
|
|
206
|
+
"create-access-point.js"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"web:api:create-test-plan-variable": {
|
|
159
210
|
"aliases": [],
|
|
211
|
+
"args": {},
|
|
212
|
+
"description": "Create a new variable for the test plan",
|
|
160
213
|
"examples": [
|
|
161
214
|
"<%= config.bin %> <%= command.id %>"
|
|
162
215
|
],
|
|
163
216
|
"flags": {
|
|
164
|
-
"project-id": {
|
|
165
|
-
"name": "project-id",
|
|
166
|
-
"type": "option",
|
|
167
|
-
"description": "ID of the project from which the list of test results will be retrieved.",
|
|
168
|
-
"required": true,
|
|
169
|
-
"multiple": false
|
|
170
|
-
},
|
|
171
|
-
"page": {
|
|
172
|
-
"name": "page",
|
|
173
|
-
"type": "option",
|
|
174
|
-
"description": "Page number to be retrieved.",
|
|
175
|
-
"required": false,
|
|
176
|
-
"multiple": false
|
|
177
|
-
},
|
|
178
|
-
"per-page": {
|
|
179
|
-
"name": "per-page",
|
|
180
|
-
"type": "option",
|
|
181
|
-
"description": "Number of test results per page.",
|
|
182
|
-
"required": false,
|
|
183
|
-
"multiple": false
|
|
184
|
-
},
|
|
185
217
|
"test-plan-id": {
|
|
218
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
186
219
|
"name": "test-plan-id",
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
220
|
+
"required": true,
|
|
221
|
+
"hasDynamicHelp": false,
|
|
222
|
+
"multiple": false,
|
|
223
|
+
"type": "option"
|
|
224
|
+
},
|
|
225
|
+
"create-test-plan-variable-request": {
|
|
226
|
+
"description": "The new variable key and default value to use in the test plan",
|
|
227
|
+
"name": "create-test-plan-variable-request",
|
|
228
|
+
"required": true,
|
|
229
|
+
"hasDynamicHelp": false,
|
|
230
|
+
"multiple": false,
|
|
231
|
+
"type": "option"
|
|
191
232
|
}
|
|
192
233
|
},
|
|
193
|
-
"
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
"id": "mobile:api:run-test-plan",
|
|
197
|
-
"description": "Run a test plan",
|
|
198
|
-
"strict": true,
|
|
199
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
234
|
+
"hasDynamicHelp": false,
|
|
235
|
+
"hiddenAliases": [],
|
|
236
|
+
"id": "web:api:create-test-plan-variable",
|
|
200
237
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
238
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
201
239
|
"pluginType": "core",
|
|
240
|
+
"strict": true,
|
|
241
|
+
"isESM": false,
|
|
242
|
+
"relativePath": [
|
|
243
|
+
"dist",
|
|
244
|
+
"commands",
|
|
245
|
+
"web",
|
|
246
|
+
"api",
|
|
247
|
+
"create-test-plan-variable.js"
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"web:api:create-url-replacement": {
|
|
202
251
|
"aliases": [],
|
|
252
|
+
"args": {},
|
|
253
|
+
"description": "Create a new url replacement for the test plan",
|
|
203
254
|
"examples": [
|
|
204
255
|
"<%= config.bin %> <%= command.id %>"
|
|
205
256
|
],
|
|
206
257
|
"flags": {
|
|
207
258
|
"test-plan-id": {
|
|
259
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
208
260
|
"name": "test-plan-id",
|
|
209
|
-
"type": "option",
|
|
210
|
-
"description": "The ID of the test plan to run.",
|
|
211
261
|
"required": true,
|
|
212
|
-
"
|
|
262
|
+
"hasDynamicHelp": false,
|
|
263
|
+
"multiple": false,
|
|
264
|
+
"type": "option"
|
|
213
265
|
},
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"description": "The build_id to execute the test plan.",
|
|
266
|
+
"create-url-replacement-request": {
|
|
267
|
+
"description": "The url to replace",
|
|
268
|
+
"name": "create-url-replacement-request",
|
|
218
269
|
"required": true,
|
|
219
|
-
"
|
|
270
|
+
"hasDynamicHelp": false,
|
|
271
|
+
"multiple": false,
|
|
272
|
+
"type": "option"
|
|
220
273
|
}
|
|
221
274
|
},
|
|
222
|
-
"
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
"id": "mobile:api:upload-build",
|
|
226
|
-
"description": "Upload the build file.",
|
|
227
|
-
"strict": true,
|
|
228
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
275
|
+
"hasDynamicHelp": false,
|
|
276
|
+
"hiddenAliases": [],
|
|
277
|
+
"id": "web:api:create-url-replacement",
|
|
229
278
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
279
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
230
280
|
"pluginType": "core",
|
|
281
|
+
"strict": true,
|
|
282
|
+
"isESM": false,
|
|
283
|
+
"relativePath": [
|
|
284
|
+
"dist",
|
|
285
|
+
"commands",
|
|
286
|
+
"web",
|
|
287
|
+
"api",
|
|
288
|
+
"create-url-replacement.js"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"web:api:delete-access-point": {
|
|
231
292
|
"aliases": [],
|
|
293
|
+
"args": {},
|
|
294
|
+
"description": "You can delete an access point by passing in its name.",
|
|
232
295
|
"examples": [
|
|
233
296
|
"<%= config.bin %> <%= command.id %>"
|
|
234
297
|
],
|
|
235
298
|
"flags": {
|
|
236
299
|
"project-id": {
|
|
300
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
237
301
|
"name": "project-id",
|
|
238
|
-
"type": "option",
|
|
239
|
-
"description": "The ID of the project to upload the build file to.",
|
|
240
302
|
"required": true,
|
|
241
|
-
"
|
|
303
|
+
"hasDynamicHelp": false,
|
|
304
|
+
"multiple": false,
|
|
305
|
+
"type": "option"
|
|
242
306
|
},
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"description": "Build file.",
|
|
307
|
+
"delete-access-point-request": {
|
|
308
|
+
"description": "The name of the access point to be deleted",
|
|
309
|
+
"name": "delete-access-point-request",
|
|
247
310
|
"required": true,
|
|
248
|
-
"
|
|
311
|
+
"hasDynamicHelp": false,
|
|
312
|
+
"multiple": false,
|
|
313
|
+
"type": "option"
|
|
249
314
|
}
|
|
250
315
|
},
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
"id": "mobile:auth:login",
|
|
255
|
-
"description": "Login to Autify for Mobile",
|
|
256
|
-
"strict": true,
|
|
257
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
316
|
+
"hasDynamicHelp": false,
|
|
317
|
+
"hiddenAliases": [],
|
|
318
|
+
"id": "web:api:delete-access-point",
|
|
258
319
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
259
|
-
"pluginType": "core",
|
|
260
|
-
"aliases": [],
|
|
261
|
-
"examples": [
|
|
262
|
-
"Start interactive setup:\n<%= config.bin %> <%= command.id %>",
|
|
263
|
-
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
264
|
-
],
|
|
265
|
-
"flags": {},
|
|
266
|
-
"args": {}
|
|
267
|
-
},
|
|
268
|
-
"mobile:build:upload": {
|
|
269
|
-
"id": "mobile:build:upload",
|
|
270
|
-
"description": "Upload a build file",
|
|
271
|
-
"strict": true,
|
|
272
320
|
"pluginName": "@autifyhq/autify-cli",
|
|
273
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
274
321
|
"pluginType": "core",
|
|
322
|
+
"strict": true,
|
|
323
|
+
"isESM": false,
|
|
324
|
+
"relativePath": [
|
|
325
|
+
"dist",
|
|
326
|
+
"commands",
|
|
327
|
+
"web",
|
|
328
|
+
"api",
|
|
329
|
+
"delete-access-point.js"
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
"web:api:delete-test-plan-variable": {
|
|
275
333
|
"aliases": [],
|
|
334
|
+
"args": {},
|
|
335
|
+
"description": "Delete an existing test plan variable for the test plan",
|
|
276
336
|
"examples": [
|
|
277
|
-
"<%= config.bin %> <%= command.id %>"
|
|
278
|
-
"Upload build file\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app",
|
|
279
|
-
"Upload build file (JSON output)\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app --json"
|
|
337
|
+
"<%= config.bin %> <%= command.id %>"
|
|
280
338
|
],
|
|
281
339
|
"flags": {
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
340
|
+
"test-plan-id": {
|
|
341
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/",
|
|
342
|
+
"name": "test-plan-id",
|
|
343
|
+
"required": true,
|
|
344
|
+
"hasDynamicHelp": false,
|
|
345
|
+
"multiple": false,
|
|
346
|
+
"type": "option"
|
|
288
347
|
},
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"char": "w",
|
|
293
|
-
"description": "Workspace ID to upload the build file",
|
|
348
|
+
"test-plan-variable-id": {
|
|
349
|
+
"description": "test_plan_variable id",
|
|
350
|
+
"name": "test-plan-variable-id",
|
|
294
351
|
"required": true,
|
|
295
|
-
"
|
|
352
|
+
"hasDynamicHelp": false,
|
|
353
|
+
"multiple": false,
|
|
354
|
+
"type": "option"
|
|
296
355
|
}
|
|
297
356
|
},
|
|
298
|
-
"
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
"description": "File path to the iOS app (*.app) or Android app (*.apk).",
|
|
302
|
-
"required": true
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
"mobile:test:run": {
|
|
307
|
-
"id": "mobile:test:run",
|
|
308
|
-
"description": "Run a test plan.",
|
|
309
|
-
"strict": true,
|
|
310
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
357
|
+
"hasDynamicHelp": false,
|
|
358
|
+
"hiddenAliases": [],
|
|
359
|
+
"id": "web:api:delete-test-plan-variable",
|
|
311
360
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
361
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
312
362
|
"pluginType": "core",
|
|
363
|
+
"strict": true,
|
|
364
|
+
"isESM": false,
|
|
365
|
+
"relativePath": [
|
|
366
|
+
"dist",
|
|
367
|
+
"commands",
|
|
368
|
+
"web",
|
|
369
|
+
"api",
|
|
370
|
+
"delete-test-plan-variable.js"
|
|
371
|
+
]
|
|
372
|
+
},
|
|
373
|
+
"web:api:delete-url-replacement": {
|
|
313
374
|
"aliases": [],
|
|
375
|
+
"args": {},
|
|
376
|
+
"description": "Delete a url replacement for the test plan",
|
|
314
377
|
"examples": [
|
|
315
|
-
"
|
|
316
|
-
"Run a test plan with a new build file:\n<%= config.bin %> <%= command.id %> --build-path ./my.[app|apk] https://mobile-app.autify.com/projects/AAA/test_plans/BBB",
|
|
317
|
-
"Run and wait a test plan:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB --wait --timeout 600"
|
|
378
|
+
"<%= config.bin %> <%= command.id %>"
|
|
318
379
|
],
|
|
319
380
|
"flags": {
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"
|
|
381
|
+
"test-plan-id": {
|
|
382
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
383
|
+
"name": "test-plan-id",
|
|
384
|
+
"required": true,
|
|
385
|
+
"hasDynamicHelp": false,
|
|
324
386
|
"multiple": false,
|
|
325
|
-
"
|
|
326
|
-
"build-path"
|
|
327
|
-
]
|
|
387
|
+
"type": "option"
|
|
328
388
|
},
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"exclusive": [
|
|
335
|
-
"build-id"
|
|
336
|
-
]
|
|
337
|
-
},
|
|
338
|
-
"wait": {
|
|
339
|
-
"name": "wait",
|
|
340
|
-
"type": "boolean",
|
|
341
|
-
"char": "w",
|
|
342
|
-
"description": "Wait until the test finishes.",
|
|
343
|
-
"allowNo": false
|
|
344
|
-
},
|
|
345
|
-
"timeout": {
|
|
346
|
-
"name": "timeout",
|
|
347
|
-
"type": "option",
|
|
348
|
-
"char": "t",
|
|
349
|
-
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
350
|
-
"multiple": false,
|
|
351
|
-
"default": 300
|
|
352
|
-
},
|
|
353
|
-
"verbose": {
|
|
354
|
-
"name": "verbose",
|
|
355
|
-
"type": "boolean",
|
|
356
|
-
"char": "v",
|
|
357
|
-
"description": "Verbose output",
|
|
358
|
-
"allowNo": false
|
|
359
|
-
},
|
|
360
|
-
"max-retry-count": {
|
|
361
|
-
"name": "max-retry-count",
|
|
362
|
-
"type": "option",
|
|
363
|
-
"description": "Maximum retry count. The command can take up to timeout * (max-retry-count + 1).",
|
|
389
|
+
"url-replacement-id": {
|
|
390
|
+
"description": "url_replacement id",
|
|
391
|
+
"name": "url-replacement-id",
|
|
392
|
+
"required": true,
|
|
393
|
+
"hasDynamicHelp": false,
|
|
364
394
|
"multiple": false,
|
|
365
|
-
"
|
|
395
|
+
"type": "option"
|
|
366
396
|
}
|
|
367
397
|
},
|
|
368
|
-
"
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
"description": "Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>",
|
|
372
|
-
"required": true
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
"mobile:test:wait": {
|
|
377
|
-
"id": "mobile:test:wait",
|
|
378
|
-
"description": "Wait a test result until it finishes.",
|
|
379
|
-
"strict": true,
|
|
380
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
398
|
+
"hasDynamicHelp": false,
|
|
399
|
+
"hiddenAliases": [],
|
|
400
|
+
"id": "web:api:delete-url-replacement",
|
|
381
401
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
402
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
382
403
|
"pluginType": "core",
|
|
404
|
+
"strict": true,
|
|
405
|
+
"isESM": false,
|
|
406
|
+
"relativePath": [
|
|
407
|
+
"dist",
|
|
408
|
+
"commands",
|
|
409
|
+
"web",
|
|
410
|
+
"api",
|
|
411
|
+
"delete-url-replacement.js"
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
"web:api:describe-result": {
|
|
383
415
|
"aliases": [],
|
|
416
|
+
"args": {},
|
|
417
|
+
"description": "Get a test result.",
|
|
384
418
|
"examples": [
|
|
385
|
-
"<%= config.bin %> <%= command.id %>
|
|
419
|
+
"<%= config.bin %> <%= command.id %>"
|
|
386
420
|
],
|
|
387
421
|
"flags": {
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
"
|
|
422
|
+
"project-id": {
|
|
423
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
424
|
+
"name": "project-id",
|
|
425
|
+
"required": true,
|
|
426
|
+
"hasDynamicHelp": false,
|
|
393
427
|
"multiple": false,
|
|
394
|
-
"
|
|
428
|
+
"type": "option"
|
|
395
429
|
},
|
|
396
|
-
"
|
|
397
|
-
"
|
|
398
|
-
"
|
|
399
|
-
"
|
|
400
|
-
"
|
|
401
|
-
"
|
|
430
|
+
"result-id": {
|
|
431
|
+
"description": "For example, 4 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
432
|
+
"name": "result-id",
|
|
433
|
+
"required": true,
|
|
434
|
+
"hasDynamicHelp": false,
|
|
435
|
+
"multiple": false,
|
|
436
|
+
"type": "option"
|
|
437
|
+
},
|
|
438
|
+
"get-details": {
|
|
439
|
+
"description": "The flag to get details of the test case result.",
|
|
440
|
+
"name": "get-details",
|
|
441
|
+
"required": false,
|
|
442
|
+
"hasDynamicHelp": false,
|
|
443
|
+
"multiple": false,
|
|
444
|
+
"type": "option"
|
|
402
445
|
}
|
|
403
446
|
},
|
|
404
|
-
"
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
"description": "Test result URL e.g. https://mobile-app.autify.com/projects/<ID>/results/<ID>",
|
|
408
|
-
"required": true
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
"web:api:create-access-point": {
|
|
413
|
-
"id": "web:api:create-access-point",
|
|
414
|
-
"description": "You can generate a new access point by passing in its name.",
|
|
415
|
-
"strict": true,
|
|
416
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
447
|
+
"hasDynamicHelp": false,
|
|
448
|
+
"hiddenAliases": [],
|
|
449
|
+
"id": "web:api:describe-result",
|
|
417
450
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
451
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
418
452
|
"pluginType": "core",
|
|
453
|
+
"strict": true,
|
|
454
|
+
"isESM": false,
|
|
455
|
+
"relativePath": [
|
|
456
|
+
"dist",
|
|
457
|
+
"commands",
|
|
458
|
+
"web",
|
|
459
|
+
"api",
|
|
460
|
+
"describe-result.js"
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
"web:api:describe-scenario": {
|
|
419
464
|
"aliases": [],
|
|
465
|
+
"args": {},
|
|
466
|
+
"description": "Get a scenario.",
|
|
420
467
|
"examples": [
|
|
421
468
|
"<%= config.bin %> <%= command.id %>"
|
|
422
469
|
],
|
|
423
470
|
"flags": {
|
|
424
471
|
"project-id": {
|
|
472
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
425
473
|
"name": "project-id",
|
|
426
|
-
"type": "option",
|
|
427
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
428
474
|
"required": true,
|
|
429
|
-
"
|
|
475
|
+
"hasDynamicHelp": false,
|
|
476
|
+
"multiple": false,
|
|
477
|
+
"type": "option"
|
|
430
478
|
},
|
|
431
|
-
"
|
|
432
|
-
"
|
|
433
|
-
"
|
|
434
|
-
"description": "The name of the access point to be created",
|
|
479
|
+
"scenario-id": {
|
|
480
|
+
"description": "For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
481
|
+
"name": "scenario-id",
|
|
435
482
|
"required": true,
|
|
436
|
-
"
|
|
483
|
+
"hasDynamicHelp": false,
|
|
484
|
+
"multiple": false,
|
|
485
|
+
"type": "option"
|
|
437
486
|
}
|
|
438
487
|
},
|
|
439
|
-
"
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
"id": "web:api:create-test-plan-variable",
|
|
443
|
-
"description": "Create a new variable for the test plan",
|
|
444
|
-
"strict": true,
|
|
445
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
488
|
+
"hasDynamicHelp": false,
|
|
489
|
+
"hiddenAliases": [],
|
|
490
|
+
"id": "web:api:describe-scenario",
|
|
446
491
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
492
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
447
493
|
"pluginType": "core",
|
|
494
|
+
"strict": true,
|
|
495
|
+
"isESM": false,
|
|
496
|
+
"relativePath": [
|
|
497
|
+
"dist",
|
|
498
|
+
"commands",
|
|
499
|
+
"web",
|
|
500
|
+
"api",
|
|
501
|
+
"describe-scenario.js"
|
|
502
|
+
]
|
|
503
|
+
},
|
|
504
|
+
"web:api:execute-scenarios": {
|
|
448
505
|
"aliases": [],
|
|
506
|
+
"args": {},
|
|
507
|
+
"description": "You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).",
|
|
449
508
|
"examples": [
|
|
450
509
|
"<%= config.bin %> <%= command.id %>"
|
|
451
510
|
],
|
|
452
511
|
"flags": {
|
|
453
|
-
"
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
512
|
+
"project-id": {
|
|
513
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
514
|
+
"name": "project-id",
|
|
457
515
|
"required": true,
|
|
458
|
-
"
|
|
516
|
+
"hasDynamicHelp": false,
|
|
517
|
+
"multiple": false,
|
|
518
|
+
"type": "option"
|
|
459
519
|
},
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"description": "The new variable key and default value to use in the test plan",
|
|
520
|
+
"execute-scenarios-request": {
|
|
521
|
+
"description": "The scenarios and settings to execute",
|
|
522
|
+
"name": "execute-scenarios-request",
|
|
464
523
|
"required": true,
|
|
465
|
-
"
|
|
524
|
+
"hasDynamicHelp": false,
|
|
525
|
+
"multiple": false,
|
|
526
|
+
"type": "option"
|
|
466
527
|
}
|
|
467
528
|
},
|
|
468
|
-
"
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
"id": "web:api:create-url-replacement",
|
|
472
|
-
"description": "Create a new url replacement for the test plan",
|
|
473
|
-
"strict": true,
|
|
474
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
529
|
+
"hasDynamicHelp": false,
|
|
530
|
+
"hiddenAliases": [],
|
|
531
|
+
"id": "web:api:execute-scenarios",
|
|
475
532
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
533
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
476
534
|
"pluginType": "core",
|
|
535
|
+
"strict": true,
|
|
536
|
+
"isESM": false,
|
|
537
|
+
"relativePath": [
|
|
538
|
+
"dist",
|
|
539
|
+
"commands",
|
|
540
|
+
"web",
|
|
541
|
+
"api",
|
|
542
|
+
"execute-scenarios.js"
|
|
543
|
+
]
|
|
544
|
+
},
|
|
545
|
+
"web:api:execute-schedule": {
|
|
477
546
|
"aliases": [],
|
|
547
|
+
"args": {},
|
|
548
|
+
"description": "\"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.",
|
|
478
549
|
"examples": [
|
|
479
550
|
"<%= config.bin %> <%= command.id %>"
|
|
480
551
|
],
|
|
481
552
|
"flags": {
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
"
|
|
485
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
553
|
+
"schedule-id": {
|
|
554
|
+
"description": "For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3",
|
|
555
|
+
"name": "schedule-id",
|
|
486
556
|
"required": true,
|
|
487
|
-
"
|
|
557
|
+
"hasDynamicHelp": false,
|
|
558
|
+
"multiple": false,
|
|
559
|
+
"type": "option"
|
|
488
560
|
},
|
|
489
|
-
"
|
|
490
|
-
"
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
"
|
|
494
|
-
"multiple": false
|
|
561
|
+
"execute-schedule-request": {
|
|
562
|
+
"description": "The options to execute a test plan.",
|
|
563
|
+
"name": "execute-schedule-request",
|
|
564
|
+
"required": false,
|
|
565
|
+
"hasDynamicHelp": false,
|
|
566
|
+
"multiple": false,
|
|
567
|
+
"type": "option"
|
|
495
568
|
}
|
|
496
569
|
},
|
|
497
|
-
"
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
"id": "web:api:delete-access-point",
|
|
501
|
-
"description": "You can delete an access point by passing in its name.",
|
|
502
|
-
"strict": true,
|
|
503
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
570
|
+
"hasDynamicHelp": false,
|
|
571
|
+
"hiddenAliases": [],
|
|
572
|
+
"id": "web:api:execute-schedule",
|
|
504
573
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
574
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
505
575
|
"pluginType": "core",
|
|
576
|
+
"strict": true,
|
|
577
|
+
"isESM": false,
|
|
578
|
+
"relativePath": [
|
|
579
|
+
"dist",
|
|
580
|
+
"commands",
|
|
581
|
+
"web",
|
|
582
|
+
"api",
|
|
583
|
+
"execute-schedule.js"
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
"web:api:get-credit-usage": {
|
|
506
587
|
"aliases": [],
|
|
588
|
+
"args": {},
|
|
589
|
+
"description": "Get the number of credits used in the project\\ \\ Notes:\\ This endpoint works only for organizations on credit-based plans. It always returns 0 for `credits_consumed` and `credit_consumption_event_count` if your organization is on a run-based plan.",
|
|
507
590
|
"examples": [
|
|
508
591
|
"<%= config.bin %> <%= command.id %>"
|
|
509
592
|
],
|
|
510
593
|
"flags": {
|
|
511
594
|
"project-id": {
|
|
595
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/credits",
|
|
512
596
|
"name": "project-id",
|
|
513
|
-
"type": "option",
|
|
514
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
515
597
|
"required": true,
|
|
516
|
-
"
|
|
598
|
+
"hasDynamicHelp": false,
|
|
599
|
+
"multiple": false,
|
|
600
|
+
"type": "option"
|
|
517
601
|
},
|
|
518
|
-
"
|
|
519
|
-
"
|
|
520
|
-
"
|
|
521
|
-
"
|
|
522
|
-
"
|
|
523
|
-
"multiple": false
|
|
602
|
+
"date-from": {
|
|
603
|
+
"description": "The date to start counting used credits from.\\ If not specified, the date will be set to 1 week ago.\\ Up to 90 days in advance can be specified. If the specified date is more than 90 days in the past, the date will be set to 90 days ago.\\ Date must follow the format YYYY-MM-DD (example: "2023-09-21").",
|
|
604
|
+
"name": "date-from",
|
|
605
|
+
"required": false,
|
|
606
|
+
"hasDynamicHelp": false,
|
|
607
|
+
"multiple": false,
|
|
608
|
+
"type": "option"
|
|
609
|
+
},
|
|
610
|
+
"date-to": {
|
|
611
|
+
"description": "The date to end counting used credits from.\\ If not specified, the date will be set to today.\\ Date must follow the format YYYY-MM-DD (example: "2023-09-28").",
|
|
612
|
+
"name": "date-to",
|
|
613
|
+
"required": false,
|
|
614
|
+
"hasDynamicHelp": false,
|
|
615
|
+
"multiple": false,
|
|
616
|
+
"type": "option"
|
|
617
|
+
},
|
|
618
|
+
"scenario-id": {
|
|
619
|
+
"description": "The scenario ID to filter used credits by.",
|
|
620
|
+
"name": "scenario-id",
|
|
621
|
+
"required": false,
|
|
622
|
+
"hasDynamicHelp": false,
|
|
623
|
+
"multiple": false,
|
|
624
|
+
"type": "option"
|
|
625
|
+
},
|
|
626
|
+
"test-plan-id": {
|
|
627
|
+
"description": "The test plan ID to filter used credits by.",
|
|
628
|
+
"name": "test-plan-id",
|
|
629
|
+
"required": false,
|
|
630
|
+
"hasDynamicHelp": false,
|
|
631
|
+
"multiple": false,
|
|
632
|
+
"type": "option"
|
|
633
|
+
},
|
|
634
|
+
"user-id": {
|
|
635
|
+
"description": "The user ID that executed tests to filter used credits by.",
|
|
636
|
+
"name": "user-id",
|
|
637
|
+
"required": false,
|
|
638
|
+
"hasDynamicHelp": false,
|
|
639
|
+
"multiple": false,
|
|
640
|
+
"type": "option"
|
|
524
641
|
}
|
|
525
642
|
},
|
|
526
|
-
"
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
"id": "web:api:delete-test-plan-variable",
|
|
530
|
-
"description": "Delete an existing test plan variable for the test plan",
|
|
531
|
-
"strict": true,
|
|
532
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
643
|
+
"hasDynamicHelp": false,
|
|
644
|
+
"hiddenAliases": [],
|
|
645
|
+
"id": "web:api:get-credit-usage",
|
|
533
646
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
647
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
534
648
|
"pluginType": "core",
|
|
649
|
+
"strict": true,
|
|
650
|
+
"isESM": false,
|
|
651
|
+
"relativePath": [
|
|
652
|
+
"dist",
|
|
653
|
+
"commands",
|
|
654
|
+
"web",
|
|
655
|
+
"api",
|
|
656
|
+
"get-credit-usage.js"
|
|
657
|
+
]
|
|
658
|
+
},
|
|
659
|
+
"web:api:get-project-info": {
|
|
535
660
|
"aliases": [],
|
|
661
|
+
"args": {},
|
|
662
|
+
"description": "Get project information.",
|
|
536
663
|
"examples": [
|
|
537
664
|
"<%= config.bin %> <%= command.id %>"
|
|
538
665
|
],
|
|
539
666
|
"flags": {
|
|
540
|
-
"
|
|
541
|
-
"
|
|
542
|
-
"
|
|
543
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/",
|
|
544
|
-
"required": true,
|
|
545
|
-
"multiple": false
|
|
546
|
-
},
|
|
547
|
-
"test-plan-variable-id": {
|
|
548
|
-
"name": "test-plan-variable-id",
|
|
549
|
-
"type": "option",
|
|
550
|
-
"description": "test_plan_variable id",
|
|
667
|
+
"project-id": {
|
|
668
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/project_info",
|
|
669
|
+
"name": "project-id",
|
|
551
670
|
"required": true,
|
|
552
|
-
"
|
|
671
|
+
"hasDynamicHelp": false,
|
|
672
|
+
"multiple": false,
|
|
673
|
+
"type": "option"
|
|
553
674
|
}
|
|
554
675
|
},
|
|
555
|
-
"
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
"id": "web:api:delete-url-replacement",
|
|
559
|
-
"description": "Delete a url replacement for the test plan",
|
|
560
|
-
"strict": true,
|
|
561
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
676
|
+
"hasDynamicHelp": false,
|
|
677
|
+
"hiddenAliases": [],
|
|
678
|
+
"id": "web:api:get-project-info",
|
|
562
679
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
680
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
563
681
|
"pluginType": "core",
|
|
682
|
+
"strict": true,
|
|
683
|
+
"isESM": false,
|
|
684
|
+
"relativePath": [
|
|
685
|
+
"dist",
|
|
686
|
+
"commands",
|
|
687
|
+
"web",
|
|
688
|
+
"api",
|
|
689
|
+
"get-project-info.js"
|
|
690
|
+
]
|
|
691
|
+
},
|
|
692
|
+
"web:api:list-access-points": {
|
|
564
693
|
"aliases": [],
|
|
694
|
+
"args": {},
|
|
695
|
+
"description": "List access points for the project.",
|
|
565
696
|
"examples": [
|
|
566
697
|
"<%= config.bin %> <%= command.id %>"
|
|
567
698
|
],
|
|
568
699
|
"flags": {
|
|
569
|
-
"
|
|
570
|
-
"
|
|
571
|
-
"
|
|
572
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
700
|
+
"project-id": {
|
|
701
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
702
|
+
"name": "project-id",
|
|
573
703
|
"required": true,
|
|
574
|
-
"
|
|
704
|
+
"hasDynamicHelp": false,
|
|
705
|
+
"multiple": false,
|
|
706
|
+
"type": "option"
|
|
575
707
|
},
|
|
576
|
-
"
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
-
"
|
|
581
|
-
"multiple": false
|
|
708
|
+
"page": {
|
|
709
|
+
"description": "The number of page returns.",
|
|
710
|
+
"name": "page",
|
|
711
|
+
"required": false,
|
|
712
|
+
"hasDynamicHelp": false,
|
|
713
|
+
"multiple": false,
|
|
714
|
+
"type": "option"
|
|
582
715
|
}
|
|
583
716
|
},
|
|
584
|
-
"
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
"id": "web:api:describe-result",
|
|
588
|
-
"description": "Get a test result.",
|
|
589
|
-
"strict": true,
|
|
590
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
717
|
+
"hasDynamicHelp": false,
|
|
718
|
+
"hiddenAliases": [],
|
|
719
|
+
"id": "web:api:list-access-points",
|
|
591
720
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
721
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
592
722
|
"pluginType": "core",
|
|
723
|
+
"strict": true,
|
|
724
|
+
"isESM": false,
|
|
725
|
+
"relativePath": [
|
|
726
|
+
"dist",
|
|
727
|
+
"commands",
|
|
728
|
+
"web",
|
|
729
|
+
"api",
|
|
730
|
+
"list-access-points.js"
|
|
731
|
+
]
|
|
732
|
+
},
|
|
733
|
+
"web:api:list-capabilities": {
|
|
593
734
|
"aliases": [],
|
|
735
|
+
"args": {},
|
|
736
|
+
"description": "List available Capabilities.",
|
|
594
737
|
"examples": [
|
|
595
738
|
"<%= config.bin %> <%= command.id %>"
|
|
596
739
|
],
|
|
597
740
|
"flags": {
|
|
598
741
|
"project-id": {
|
|
742
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities",
|
|
599
743
|
"name": "project-id",
|
|
600
|
-
"type": "option",
|
|
601
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
602
744
|
"required": true,
|
|
603
|
-
"
|
|
745
|
+
"hasDynamicHelp": false,
|
|
746
|
+
"multiple": false,
|
|
747
|
+
"type": "option"
|
|
604
748
|
},
|
|
605
|
-
"
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
"
|
|
609
|
-
"
|
|
610
|
-
"multiple": false
|
|
749
|
+
"os": {
|
|
750
|
+
"description": "os name to filter",
|
|
751
|
+
"name": "os",
|
|
752
|
+
"required": false,
|
|
753
|
+
"hasDynamicHelp": false,
|
|
754
|
+
"multiple": false,
|
|
755
|
+
"type": "option"
|
|
611
756
|
},
|
|
612
|
-
"
|
|
613
|
-
"
|
|
614
|
-
"
|
|
615
|
-
"
|
|
757
|
+
"browser": {
|
|
758
|
+
"description": "browser name to filter",
|
|
759
|
+
"name": "browser",
|
|
760
|
+
"required": false,
|
|
761
|
+
"hasDynamicHelp": false,
|
|
762
|
+
"multiple": false,
|
|
763
|
+
"type": "option"
|
|
764
|
+
},
|
|
765
|
+
"device-type": {
|
|
766
|
+
"description": "device_type name to filter",
|
|
767
|
+
"name": "device-type",
|
|
616
768
|
"required": false,
|
|
617
|
-
"
|
|
769
|
+
"hasDynamicHelp": false,
|
|
770
|
+
"multiple": false,
|
|
771
|
+
"type": "option"
|
|
618
772
|
}
|
|
619
773
|
},
|
|
620
|
-
"
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
"id": "web:api:describe-scenario",
|
|
624
|
-
"description": "Get a scenario.",
|
|
625
|
-
"strict": true,
|
|
626
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
774
|
+
"hasDynamicHelp": false,
|
|
775
|
+
"hiddenAliases": [],
|
|
776
|
+
"id": "web:api:list-capabilities",
|
|
627
777
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
778
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
628
779
|
"pluginType": "core",
|
|
780
|
+
"strict": true,
|
|
781
|
+
"isESM": false,
|
|
782
|
+
"relativePath": [
|
|
783
|
+
"dist",
|
|
784
|
+
"commands",
|
|
785
|
+
"web",
|
|
786
|
+
"api",
|
|
787
|
+
"list-capabilities.js"
|
|
788
|
+
]
|
|
789
|
+
},
|
|
790
|
+
"web:api:list-results": {
|
|
629
791
|
"aliases": [],
|
|
792
|
+
"args": {},
|
|
793
|
+
"description": "List test results.",
|
|
630
794
|
"examples": [
|
|
631
795
|
"<%= config.bin %> <%= command.id %>"
|
|
632
796
|
],
|
|
633
797
|
"flags": {
|
|
634
798
|
"project-id": {
|
|
799
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results",
|
|
635
800
|
"name": "project-id",
|
|
636
|
-
"type": "option",
|
|
637
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
638
801
|
"required": true,
|
|
639
|
-
"
|
|
802
|
+
"hasDynamicHelp": false,
|
|
803
|
+
"multiple": false,
|
|
804
|
+
"type": "option"
|
|
640
805
|
},
|
|
641
|
-
"
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
"
|
|
645
|
-
"
|
|
646
|
-
"multiple": false
|
|
806
|
+
"page": {
|
|
807
|
+
"description": "The number of page returns.",
|
|
808
|
+
"name": "page",
|
|
809
|
+
"required": false,
|
|
810
|
+
"hasDynamicHelp": false,
|
|
811
|
+
"multiple": false,
|
|
812
|
+
"type": "option"
|
|
813
|
+
},
|
|
814
|
+
"per-page": {
|
|
815
|
+
"description": "The number of items returns. Default number is 30 and up to a maximum of 100",
|
|
816
|
+
"name": "per-page",
|
|
817
|
+
"required": false,
|
|
818
|
+
"hasDynamicHelp": false,
|
|
819
|
+
"multiple": false,
|
|
820
|
+
"type": "option"
|
|
821
|
+
},
|
|
822
|
+
"test-plan-id": {
|
|
823
|
+
"description": "Test plan ID used to filter results.",
|
|
824
|
+
"name": "test-plan-id",
|
|
825
|
+
"required": false,
|
|
826
|
+
"hasDynamicHelp": false,
|
|
827
|
+
"multiple": false,
|
|
828
|
+
"type": "option"
|
|
647
829
|
}
|
|
648
830
|
},
|
|
649
|
-
"
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
"id": "web:api:execute-scenarios",
|
|
653
|
-
"description": "You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).",
|
|
654
|
-
"strict": true,
|
|
655
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
831
|
+
"hasDynamicHelp": false,
|
|
832
|
+
"hiddenAliases": [],
|
|
833
|
+
"id": "web:api:list-results",
|
|
656
834
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
835
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
657
836
|
"pluginType": "core",
|
|
837
|
+
"strict": true,
|
|
838
|
+
"isESM": false,
|
|
839
|
+
"relativePath": [
|
|
840
|
+
"dist",
|
|
841
|
+
"commands",
|
|
842
|
+
"web",
|
|
843
|
+
"api",
|
|
844
|
+
"list-results.js"
|
|
845
|
+
]
|
|
846
|
+
},
|
|
847
|
+
"web:api:list-scenarios": {
|
|
658
848
|
"aliases": [],
|
|
849
|
+
"args": {},
|
|
850
|
+
"description": "List scenarios.",
|
|
659
851
|
"examples": [
|
|
660
852
|
"<%= config.bin %> <%= command.id %>"
|
|
661
853
|
],
|
|
662
854
|
"flags": {
|
|
663
855
|
"project-id": {
|
|
664
|
-
"name": "project-id",
|
|
665
|
-
"type": "option",
|
|
666
856
|
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
857
|
+
"name": "project-id",
|
|
667
858
|
"required": true,
|
|
668
|
-
"
|
|
859
|
+
"hasDynamicHelp": false,
|
|
860
|
+
"multiple": false,
|
|
861
|
+
"type": "option"
|
|
669
862
|
},
|
|
670
|
-
"
|
|
671
|
-
"
|
|
672
|
-
"
|
|
673
|
-
"
|
|
674
|
-
"
|
|
675
|
-
"multiple": false
|
|
863
|
+
"page": {
|
|
864
|
+
"description": "The number of page returns.",
|
|
865
|
+
"name": "page",
|
|
866
|
+
"required": false,
|
|
867
|
+
"hasDynamicHelp": false,
|
|
868
|
+
"multiple": false,
|
|
869
|
+
"type": "option"
|
|
676
870
|
}
|
|
677
871
|
},
|
|
678
|
-
"
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
"id": "web:api:execute-schedule",
|
|
682
|
-
"description": "\"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.",
|
|
683
|
-
"strict": true,
|
|
684
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
872
|
+
"hasDynamicHelp": false,
|
|
873
|
+
"hiddenAliases": [],
|
|
874
|
+
"id": "web:api:list-scenarios",
|
|
685
875
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
876
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
686
877
|
"pluginType": "core",
|
|
878
|
+
"strict": true,
|
|
879
|
+
"isESM": false,
|
|
880
|
+
"relativePath": [
|
|
881
|
+
"dist",
|
|
882
|
+
"commands",
|
|
883
|
+
"web",
|
|
884
|
+
"api",
|
|
885
|
+
"list-scenarios.js"
|
|
886
|
+
]
|
|
887
|
+
},
|
|
888
|
+
"web:api:list-test-plan-variable": {
|
|
687
889
|
"aliases": [],
|
|
890
|
+
"args": {},
|
|
891
|
+
"description": "List the test plan's variables",
|
|
688
892
|
"examples": [
|
|
689
893
|
"<%= config.bin %> <%= command.id %>"
|
|
690
894
|
],
|
|
691
895
|
"flags": {
|
|
692
|
-
"
|
|
693
|
-
"
|
|
694
|
-
"
|
|
695
|
-
"description": "For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3",
|
|
896
|
+
"test-plan-id": {
|
|
897
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
898
|
+
"name": "test-plan-id",
|
|
696
899
|
"required": true,
|
|
697
|
-
"
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
"name": "execute-schedule-request",
|
|
701
|
-
"type": "option",
|
|
702
|
-
"description": "The options to execute a test plan.",
|
|
703
|
-
"required": false,
|
|
704
|
-
"multiple": false
|
|
900
|
+
"hasDynamicHelp": false,
|
|
901
|
+
"multiple": false,
|
|
902
|
+
"type": "option"
|
|
705
903
|
}
|
|
706
904
|
},
|
|
707
|
-
"
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
"id": "web:api:get-credit-usage",
|
|
711
|
-
"description": "Get the number of credits used in the project\\ \\ Notes:\\ This endpoint works only for organizations on credit-based plans. It always returns 0 for `credits_consumed` and `credit_consumption_event_count` if your organization is on a run-based plan.",
|
|
712
|
-
"strict": true,
|
|
713
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
905
|
+
"hasDynamicHelp": false,
|
|
906
|
+
"hiddenAliases": [],
|
|
907
|
+
"id": "web:api:list-test-plan-variable",
|
|
714
908
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
909
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
715
910
|
"pluginType": "core",
|
|
911
|
+
"strict": true,
|
|
912
|
+
"isESM": false,
|
|
913
|
+
"relativePath": [
|
|
914
|
+
"dist",
|
|
915
|
+
"commands",
|
|
916
|
+
"web",
|
|
917
|
+
"api",
|
|
918
|
+
"list-test-plan-variable.js"
|
|
919
|
+
]
|
|
920
|
+
},
|
|
921
|
+
"web:api:list-url-replacements": {
|
|
716
922
|
"aliases": [],
|
|
923
|
+
"args": {},
|
|
924
|
+
"description": "List url replacements for the test plan",
|
|
717
925
|
"examples": [
|
|
718
926
|
"<%= config.bin %> <%= command.id %>"
|
|
719
927
|
],
|
|
720
928
|
"flags": {
|
|
721
|
-
"project-id": {
|
|
722
|
-
"name": "project-id",
|
|
723
|
-
"type": "option",
|
|
724
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/credits",
|
|
725
|
-
"required": true,
|
|
726
|
-
"multiple": false
|
|
727
|
-
},
|
|
728
|
-
"date-from": {
|
|
729
|
-
"name": "date-from",
|
|
730
|
-
"type": "option",
|
|
731
|
-
"description": "The date to start counting used credits from.\\ If not specified, the date will be set to 1 week ago.\\ Up to 90 days in advance can be specified. If the specified date is more than 90 days in the past, the date will be set to 90 days ago.\\ Date must follow the format YYYY-MM-DD (example: "2023-09-21").",
|
|
732
|
-
"required": false,
|
|
733
|
-
"multiple": false
|
|
734
|
-
},
|
|
735
|
-
"date-to": {
|
|
736
|
-
"name": "date-to",
|
|
737
|
-
"type": "option",
|
|
738
|
-
"description": "The date to end counting used credits from.\\ If not specified, the date will be set to today.\\ Date must follow the format YYYY-MM-DD (example: "2023-09-28").",
|
|
739
|
-
"required": false,
|
|
740
|
-
"multiple": false
|
|
741
|
-
},
|
|
742
|
-
"scenario-id": {
|
|
743
|
-
"name": "scenario-id",
|
|
744
|
-
"type": "option",
|
|
745
|
-
"description": "The scenario ID to filter used credits by.",
|
|
746
|
-
"required": false,
|
|
747
|
-
"multiple": false
|
|
748
|
-
},
|
|
749
929
|
"test-plan-id": {
|
|
930
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
750
931
|
"name": "test-plan-id",
|
|
751
|
-
"
|
|
752
|
-
"
|
|
753
|
-
"
|
|
754
|
-
"
|
|
755
|
-
},
|
|
756
|
-
"user-id": {
|
|
757
|
-
"name": "user-id",
|
|
758
|
-
"type": "option",
|
|
759
|
-
"description": "The user ID that executed tests to filter used credits by.",
|
|
760
|
-
"required": false,
|
|
761
|
-
"multiple": false
|
|
932
|
+
"required": true,
|
|
933
|
+
"hasDynamicHelp": false,
|
|
934
|
+
"multiple": false,
|
|
935
|
+
"type": "option"
|
|
762
936
|
}
|
|
763
937
|
},
|
|
764
|
-
"
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
"id": "web:api:get-project-info",
|
|
768
|
-
"description": "Get project information.",
|
|
769
|
-
"strict": true,
|
|
770
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
938
|
+
"hasDynamicHelp": false,
|
|
939
|
+
"hiddenAliases": [],
|
|
940
|
+
"id": "web:api:list-url-replacements",
|
|
771
941
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
942
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
772
943
|
"pluginType": "core",
|
|
944
|
+
"strict": true,
|
|
945
|
+
"isESM": false,
|
|
946
|
+
"relativePath": [
|
|
947
|
+
"dist",
|
|
948
|
+
"commands",
|
|
949
|
+
"web",
|
|
950
|
+
"api",
|
|
951
|
+
"list-url-replacements.js"
|
|
952
|
+
]
|
|
953
|
+
},
|
|
954
|
+
"web:api:update-test-plan-variable": {
|
|
773
955
|
"aliases": [],
|
|
956
|
+
"args": {},
|
|
957
|
+
"description": "Update a url replacement for the test plan",
|
|
774
958
|
"examples": [
|
|
775
959
|
"<%= config.bin %> <%= command.id %>"
|
|
776
960
|
],
|
|
777
961
|
"flags": {
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"
|
|
781
|
-
"
|
|
962
|
+
"test-plan-id": {
|
|
963
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
964
|
+
"name": "test-plan-id",
|
|
965
|
+
"required": true,
|
|
966
|
+
"hasDynamicHelp": false,
|
|
967
|
+
"multiple": false,
|
|
968
|
+
"type": "option"
|
|
969
|
+
},
|
|
970
|
+
"test-plan-variable-id": {
|
|
971
|
+
"description": "test_plan_variable id",
|
|
972
|
+
"name": "test-plan-variable-id",
|
|
973
|
+
"required": true,
|
|
974
|
+
"hasDynamicHelp": false,
|
|
975
|
+
"multiple": false,
|
|
976
|
+
"type": "option"
|
|
977
|
+
},
|
|
978
|
+
"update-test-plan-variable-request": {
|
|
979
|
+
"description": "The variable's new key and/or default_value's value to register",
|
|
980
|
+
"name": "update-test-plan-variable-request",
|
|
782
981
|
"required": true,
|
|
783
|
-
"
|
|
982
|
+
"hasDynamicHelp": false,
|
|
983
|
+
"multiple": false,
|
|
984
|
+
"type": "option"
|
|
784
985
|
}
|
|
785
986
|
},
|
|
786
|
-
"
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
"id": "web:api:list-access-points",
|
|
790
|
-
"description": "List access points for the project.",
|
|
791
|
-
"strict": true,
|
|
792
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
987
|
+
"hasDynamicHelp": false,
|
|
988
|
+
"hiddenAliases": [],
|
|
989
|
+
"id": "web:api:update-test-plan-variable",
|
|
793
990
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
991
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
794
992
|
"pluginType": "core",
|
|
993
|
+
"strict": true,
|
|
994
|
+
"isESM": false,
|
|
995
|
+
"relativePath": [
|
|
996
|
+
"dist",
|
|
997
|
+
"commands",
|
|
998
|
+
"web",
|
|
999
|
+
"api",
|
|
1000
|
+
"update-test-plan-variable.js"
|
|
1001
|
+
]
|
|
1002
|
+
},
|
|
1003
|
+
"web:api:update-url-replacement": {
|
|
795
1004
|
"aliases": [],
|
|
1005
|
+
"args": {},
|
|
1006
|
+
"description": "Update a url replacement for the test plan",
|
|
796
1007
|
"examples": [
|
|
797
1008
|
"<%= config.bin %> <%= command.id %>"
|
|
798
1009
|
],
|
|
799
1010
|
"flags": {
|
|
800
|
-
"
|
|
801
|
-
"
|
|
802
|
-
"
|
|
803
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
1011
|
+
"test-plan-id": {
|
|
1012
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1013
|
+
"name": "test-plan-id",
|
|
804
1014
|
"required": true,
|
|
805
|
-
"
|
|
1015
|
+
"hasDynamicHelp": false,
|
|
1016
|
+
"multiple": false,
|
|
1017
|
+
"type": "option"
|
|
806
1018
|
},
|
|
807
|
-
"
|
|
808
|
-
"
|
|
809
|
-
"
|
|
810
|
-
"
|
|
811
|
-
"
|
|
812
|
-
"multiple": false
|
|
1019
|
+
"url-replacement-id": {
|
|
1020
|
+
"description": "url_replacement id",
|
|
1021
|
+
"name": "url-replacement-id",
|
|
1022
|
+
"required": true,
|
|
1023
|
+
"hasDynamicHelp": false,
|
|
1024
|
+
"multiple": false,
|
|
1025
|
+
"type": "option"
|
|
1026
|
+
},
|
|
1027
|
+
"update-url-replacement-request": {
|
|
1028
|
+
"description": "The url to replace. Either pattern_url or replacement_url is required.",
|
|
1029
|
+
"name": "update-url-replacement-request",
|
|
1030
|
+
"required": true,
|
|
1031
|
+
"hasDynamicHelp": false,
|
|
1032
|
+
"multiple": false,
|
|
1033
|
+
"type": "option"
|
|
813
1034
|
}
|
|
814
1035
|
},
|
|
815
|
-
"
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
"id": "web:api:list-capabilities",
|
|
819
|
-
"description": "List available Capabilities.",
|
|
820
|
-
"strict": true,
|
|
821
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"hiddenAliases": [],
|
|
1038
|
+
"id": "web:api:update-url-replacement",
|
|
822
1039
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1040
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
823
1041
|
"pluginType": "core",
|
|
1042
|
+
"strict": true,
|
|
1043
|
+
"isESM": false,
|
|
1044
|
+
"relativePath": [
|
|
1045
|
+
"dist",
|
|
1046
|
+
"commands",
|
|
1047
|
+
"web",
|
|
1048
|
+
"api",
|
|
1049
|
+
"update-url-replacement.js"
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
"web:auth:login": {
|
|
824
1053
|
"aliases": [],
|
|
1054
|
+
"args": {},
|
|
1055
|
+
"description": "Login to Autify for Web",
|
|
825
1056
|
"examples": [
|
|
826
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1057
|
+
"Start interactive setup:\n<%= config.bin %> <%= command.id %>",
|
|
1058
|
+
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
827
1059
|
],
|
|
828
|
-
"flags": {
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities",
|
|
833
|
-
"required": true,
|
|
834
|
-
"multiple": false
|
|
835
|
-
},
|
|
836
|
-
"os": {
|
|
837
|
-
"name": "os",
|
|
838
|
-
"type": "option",
|
|
839
|
-
"description": "os name to filter",
|
|
840
|
-
"required": false,
|
|
841
|
-
"multiple": false
|
|
842
|
-
},
|
|
843
|
-
"browser": {
|
|
844
|
-
"name": "browser",
|
|
845
|
-
"type": "option",
|
|
846
|
-
"description": "browser name to filter",
|
|
847
|
-
"required": false,
|
|
848
|
-
"multiple": false
|
|
849
|
-
},
|
|
850
|
-
"device-type": {
|
|
851
|
-
"name": "device-type",
|
|
852
|
-
"type": "option",
|
|
853
|
-
"description": "device_type name to filter",
|
|
854
|
-
"required": false,
|
|
855
|
-
"multiple": false
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
"args": {}
|
|
859
|
-
},
|
|
860
|
-
"web:api:list-results": {
|
|
861
|
-
"id": "web:api:list-results",
|
|
862
|
-
"description": "List test results.",
|
|
863
|
-
"strict": true,
|
|
864
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
865
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
866
|
-
"pluginType": "core",
|
|
867
|
-
"aliases": [],
|
|
868
|
-
"examples": [
|
|
869
|
-
"<%= config.bin %> <%= command.id %>"
|
|
870
|
-
],
|
|
871
|
-
"flags": {
|
|
872
|
-
"project-id": {
|
|
873
|
-
"name": "project-id",
|
|
874
|
-
"type": "option",
|
|
875
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results",
|
|
876
|
-
"required": true,
|
|
877
|
-
"multiple": false
|
|
878
|
-
},
|
|
879
|
-
"page": {
|
|
880
|
-
"name": "page",
|
|
881
|
-
"type": "option",
|
|
882
|
-
"description": "The number of page returns.",
|
|
883
|
-
"required": false,
|
|
884
|
-
"multiple": false
|
|
885
|
-
},
|
|
886
|
-
"per-page": {
|
|
887
|
-
"name": "per-page",
|
|
888
|
-
"type": "option",
|
|
889
|
-
"description": "The number of items returns. Default number is 30 and up to a maximum of 100",
|
|
890
|
-
"required": false,
|
|
891
|
-
"multiple": false
|
|
892
|
-
},
|
|
893
|
-
"test-plan-id": {
|
|
894
|
-
"name": "test-plan-id",
|
|
895
|
-
"type": "option",
|
|
896
|
-
"description": "Test plan ID used to filter results.",
|
|
897
|
-
"required": false,
|
|
898
|
-
"multiple": false
|
|
899
|
-
}
|
|
900
|
-
},
|
|
901
|
-
"args": {}
|
|
902
|
-
},
|
|
903
|
-
"web:api:list-scenarios": {
|
|
904
|
-
"id": "web:api:list-scenarios",
|
|
905
|
-
"description": "List scenarios.",
|
|
906
|
-
"strict": true,
|
|
907
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
908
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
909
|
-
"pluginType": "core",
|
|
910
|
-
"aliases": [],
|
|
911
|
-
"examples": [
|
|
912
|
-
"<%= config.bin %> <%= command.id %>"
|
|
913
|
-
],
|
|
914
|
-
"flags": {
|
|
915
|
-
"project-id": {
|
|
916
|
-
"name": "project-id",
|
|
917
|
-
"type": "option",
|
|
918
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
919
|
-
"required": true,
|
|
920
|
-
"multiple": false
|
|
921
|
-
},
|
|
922
|
-
"page": {
|
|
923
|
-
"name": "page",
|
|
924
|
-
"type": "option",
|
|
925
|
-
"description": "The number of page returns.",
|
|
926
|
-
"required": false,
|
|
927
|
-
"multiple": false
|
|
928
|
-
}
|
|
929
|
-
},
|
|
930
|
-
"args": {}
|
|
931
|
-
},
|
|
932
|
-
"web:api:list-test-plan-variable": {
|
|
933
|
-
"id": "web:api:list-test-plan-variable",
|
|
934
|
-
"description": "List the test plan's variables",
|
|
935
|
-
"strict": true,
|
|
936
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
1060
|
+
"flags": {},
|
|
1061
|
+
"hasDynamicHelp": false,
|
|
1062
|
+
"hiddenAliases": [],
|
|
1063
|
+
"id": "web:auth:login",
|
|
937
1064
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
938
|
-
"pluginType": "core",
|
|
939
|
-
"aliases": [],
|
|
940
|
-
"examples": [
|
|
941
|
-
"<%= config.bin %> <%= command.id %>"
|
|
942
|
-
],
|
|
943
|
-
"flags": {
|
|
944
|
-
"test-plan-id": {
|
|
945
|
-
"name": "test-plan-id",
|
|
946
|
-
"type": "option",
|
|
947
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
948
|
-
"required": true,
|
|
949
|
-
"multiple": false
|
|
950
|
-
}
|
|
951
|
-
},
|
|
952
|
-
"args": {}
|
|
953
|
-
},
|
|
954
|
-
"web:api:list-url-replacements": {
|
|
955
|
-
"id": "web:api:list-url-replacements",
|
|
956
|
-
"description": "List url replacements for the test plan",
|
|
957
|
-
"strict": true,
|
|
958
1065
|
"pluginName": "@autifyhq/autify-cli",
|
|
959
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
960
1066
|
"pluginType": "core",
|
|
961
|
-
"aliases": [],
|
|
962
|
-
"examples": [
|
|
963
|
-
"<%= config.bin %> <%= command.id %>"
|
|
964
|
-
],
|
|
965
|
-
"flags": {
|
|
966
|
-
"test-plan-id": {
|
|
967
|
-
"name": "test-plan-id",
|
|
968
|
-
"type": "option",
|
|
969
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
970
|
-
"required": true,
|
|
971
|
-
"multiple": false
|
|
972
|
-
}
|
|
973
|
-
},
|
|
974
|
-
"args": {}
|
|
975
|
-
},
|
|
976
|
-
"web:api:update-test-plan-variable": {
|
|
977
|
-
"id": "web:api:update-test-plan-variable",
|
|
978
|
-
"description": "Update a url replacement for the test plan",
|
|
979
1067
|
"strict": true,
|
|
980
|
-
"
|
|
981
|
-
"
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
"
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
"test-plan-id": {
|
|
989
|
-
"name": "test-plan-id",
|
|
990
|
-
"type": "option",
|
|
991
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
992
|
-
"required": true,
|
|
993
|
-
"multiple": false
|
|
994
|
-
},
|
|
995
|
-
"test-plan-variable-id": {
|
|
996
|
-
"name": "test-plan-variable-id",
|
|
997
|
-
"type": "option",
|
|
998
|
-
"description": "test_plan_variable id",
|
|
999
|
-
"required": true,
|
|
1000
|
-
"multiple": false
|
|
1001
|
-
},
|
|
1002
|
-
"update-test-plan-variable-request": {
|
|
1003
|
-
"name": "update-test-plan-variable-request",
|
|
1004
|
-
"type": "option",
|
|
1005
|
-
"description": "The variable's new key and/or default_value's value to register",
|
|
1006
|
-
"required": true,
|
|
1007
|
-
"multiple": false
|
|
1008
|
-
}
|
|
1009
|
-
},
|
|
1010
|
-
"args": {}
|
|
1068
|
+
"isESM": false,
|
|
1069
|
+
"relativePath": [
|
|
1070
|
+
"dist",
|
|
1071
|
+
"commands",
|
|
1072
|
+
"web",
|
|
1073
|
+
"auth",
|
|
1074
|
+
"login.js"
|
|
1075
|
+
]
|
|
1011
1076
|
},
|
|
1012
|
-
"web:
|
|
1013
|
-
"id": "web:api:update-url-replacement",
|
|
1014
|
-
"description": "Update a url replacement for the test plan",
|
|
1015
|
-
"strict": true,
|
|
1016
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
1017
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
1018
|
-
"pluginType": "core",
|
|
1077
|
+
"web:test:run": {
|
|
1019
1078
|
"aliases": [],
|
|
1020
|
-
"
|
|
1021
|
-
"
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
"name": "test-plan-id",
|
|
1026
|
-
"type": "option",
|
|
1027
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1028
|
-
"required": true,
|
|
1029
|
-
"multiple": false
|
|
1030
|
-
},
|
|
1031
|
-
"url-replacement-id": {
|
|
1032
|
-
"name": "url-replacement-id",
|
|
1033
|
-
"type": "option",
|
|
1034
|
-
"description": "url_replacement id",
|
|
1035
|
-
"required": true,
|
|
1036
|
-
"multiple": false
|
|
1037
|
-
},
|
|
1038
|
-
"update-url-replacement-request": {
|
|
1039
|
-
"name": "update-url-replacement-request",
|
|
1040
|
-
"type": "option",
|
|
1041
|
-
"description": "The url to replace. Either pattern_url or replacement_url is required.",
|
|
1042
|
-
"required": true,
|
|
1043
|
-
"multiple": false
|
|
1079
|
+
"args": {
|
|
1080
|
+
"scenario-or-test-plan-url": {
|
|
1081
|
+
"description": "Scenario URL or Test plan URL e.g. https://app.autify.com/projects/<ID>/(scenarios|test_plans)/<ID>",
|
|
1082
|
+
"name": "scenario-or-test-plan-url",
|
|
1083
|
+
"required": true
|
|
1044
1084
|
}
|
|
1045
1085
|
},
|
|
1046
|
-
"args": {}
|
|
1047
|
-
},
|
|
1048
|
-
"web:auth:login": {
|
|
1049
|
-
"id": "web:auth:login",
|
|
1050
|
-
"description": "Login to Autify for Web",
|
|
1051
|
-
"strict": true,
|
|
1052
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
1053
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
1054
|
-
"pluginType": "core",
|
|
1055
|
-
"aliases": [],
|
|
1056
|
-
"examples": [
|
|
1057
|
-
"Start interactive setup:\n<%= config.bin %> <%= command.id %>",
|
|
1058
|
-
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
1059
|
-
],
|
|
1060
|
-
"flags": {},
|
|
1061
|
-
"args": {}
|
|
1062
|
-
},
|
|
1063
|
-
"web:test:run": {
|
|
1064
|
-
"id": "web:test:run",
|
|
1065
1086
|
"description": "Run a scenario or test plan.",
|
|
1066
|
-
"strict": true,
|
|
1067
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
1068
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
1069
|
-
"pluginType": "core",
|
|
1070
|
-
"aliases": [],
|
|
1071
1087
|
"examples": [
|
|
1072
1088
|
"Run a test scenario (Default capability):\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000",
|
|
1073
1089
|
"Run a test plan:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/test_plans/0000",
|
|
@@ -1080,179 +1096,596 @@
|
|
|
1080
1096
|
],
|
|
1081
1097
|
"flags": {
|
|
1082
1098
|
"name": {
|
|
1083
|
-
"name": "name",
|
|
1084
|
-
"type": "option",
|
|
1085
1099
|
"char": "n",
|
|
1086
1100
|
"description": "[Only for test scenario] Name of the test execution.",
|
|
1087
|
-
"
|
|
1101
|
+
"name": "name",
|
|
1102
|
+
"hasDynamicHelp": false,
|
|
1103
|
+
"multiple": false,
|
|
1104
|
+
"type": "option"
|
|
1088
1105
|
},
|
|
1089
1106
|
"url-replacements": {
|
|
1090
|
-
"name": "url-replacements",
|
|
1091
|
-
"type": "option",
|
|
1092
1107
|
"char": "r",
|
|
1093
1108
|
"description": "URL replacements. Example: \"http://example.com http://example.net\"",
|
|
1094
|
-
"
|
|
1109
|
+
"name": "url-replacements",
|
|
1110
|
+
"hasDynamicHelp": false,
|
|
1111
|
+
"multiple": true,
|
|
1112
|
+
"type": "option"
|
|
1095
1113
|
},
|
|
1096
1114
|
"autify-connect": {
|
|
1097
|
-
"name": "autify-connect",
|
|
1098
|
-
"type": "option",
|
|
1099
1115
|
"description": "Name of the Autify Connect Access Point.",
|
|
1100
|
-
"multiple": false,
|
|
1101
1116
|
"exclusive": [
|
|
1102
1117
|
"autify-connect-client"
|
|
1103
|
-
]
|
|
1118
|
+
],
|
|
1119
|
+
"name": "autify-connect",
|
|
1120
|
+
"hasDynamicHelp": false,
|
|
1121
|
+
"multiple": false,
|
|
1122
|
+
"type": "option"
|
|
1104
1123
|
},
|
|
1105
1124
|
"autify-connect-client": {
|
|
1106
|
-
"name": "autify-connect-client",
|
|
1107
|
-
"type": "boolean",
|
|
1108
|
-
"description": "Start Autify Connect Client",
|
|
1109
|
-
"allowNo": false,
|
|
1110
1125
|
"dependsOn": [
|
|
1111
1126
|
"wait"
|
|
1112
1127
|
],
|
|
1128
|
+
"description": "Start Autify Connect Client",
|
|
1113
1129
|
"exclusive": [
|
|
1114
1130
|
"autify-connect"
|
|
1115
|
-
]
|
|
1131
|
+
],
|
|
1132
|
+
"name": "autify-connect-client",
|
|
1133
|
+
"allowNo": false,
|
|
1134
|
+
"type": "boolean"
|
|
1116
1135
|
},
|
|
1117
1136
|
"autify-connect-client-verbose": {
|
|
1118
|
-
"name": "autify-connect-client-verbose",
|
|
1119
|
-
"type": "boolean",
|
|
1120
|
-
"description": "Verbose output for Autify Connect Client.",
|
|
1121
|
-
"allowNo": false,
|
|
1122
1137
|
"dependsOn": [
|
|
1123
1138
|
"autify-connect-client"
|
|
1124
|
-
]
|
|
1139
|
+
],
|
|
1140
|
+
"description": "Verbose output for Autify Connect Client.",
|
|
1141
|
+
"name": "autify-connect-client-verbose",
|
|
1142
|
+
"allowNo": false,
|
|
1143
|
+
"type": "boolean"
|
|
1125
1144
|
},
|
|
1126
1145
|
"autify-connect-client-file-logging": {
|
|
1127
|
-
"name": "autify-connect-client-file-logging",
|
|
1128
|
-
"type": "boolean",
|
|
1129
|
-
"description": "Logging Autify Connect Client log to a file instead of console.",
|
|
1130
|
-
"allowNo": false,
|
|
1131
1146
|
"dependsOn": [
|
|
1132
1147
|
"autify-connect-client"
|
|
1133
|
-
]
|
|
1148
|
+
],
|
|
1149
|
+
"description": "Logging Autify Connect Client log to a file instead of console.",
|
|
1150
|
+
"name": "autify-connect-client-file-logging",
|
|
1151
|
+
"allowNo": false,
|
|
1152
|
+
"type": "boolean"
|
|
1134
1153
|
},
|
|
1135
1154
|
"autify-connect-client-debug-server-port": {
|
|
1136
|
-
"name": "autify-connect-client-debug-server-port",
|
|
1137
|
-
"type": "option",
|
|
1138
|
-
"description": "Port for Autify Connect Client debug server. A random port will be used if not specified.",
|
|
1139
|
-
"multiple": false,
|
|
1140
1155
|
"dependsOn": [
|
|
1141
1156
|
"autify-connect-client"
|
|
1142
|
-
]
|
|
1157
|
+
],
|
|
1158
|
+
"description": "Port for Autify Connect Client debug server. A random port will be used if not specified.",
|
|
1159
|
+
"name": "autify-connect-client-debug-server-port",
|
|
1160
|
+
"hasDynamicHelp": false,
|
|
1161
|
+
"multiple": false,
|
|
1162
|
+
"type": "option"
|
|
1143
1163
|
},
|
|
1144
1164
|
"autify-connect-client-extra-arguments": {
|
|
1145
|
-
"name": "autify-connect-client-extra-arguments",
|
|
1146
|
-
"type": "option",
|
|
1147
|
-
"description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
|
|
1148
|
-
"multiple": false,
|
|
1149
1165
|
"dependsOn": [
|
|
1150
1166
|
"autify-connect-client"
|
|
1151
|
-
]
|
|
1167
|
+
],
|
|
1168
|
+
"description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
|
|
1169
|
+
"name": "autify-connect-client-extra-arguments",
|
|
1170
|
+
"hasDynamicHelp": false,
|
|
1171
|
+
"multiple": false,
|
|
1172
|
+
"type": "option"
|
|
1152
1173
|
},
|
|
1153
1174
|
"os": {
|
|
1154
|
-
"name": "os",
|
|
1155
|
-
"type": "option",
|
|
1156
1175
|
"description": "[Only for test scenario] OS to run the test",
|
|
1157
|
-
"
|
|
1176
|
+
"name": "os",
|
|
1177
|
+
"hasDynamicHelp": false,
|
|
1178
|
+
"multiple": false,
|
|
1179
|
+
"type": "option"
|
|
1158
1180
|
},
|
|
1159
1181
|
"os-version": {
|
|
1160
|
-
"name": "os-version",
|
|
1161
|
-
"type": "option",
|
|
1162
1182
|
"description": "[Only for test scenario] OS version to run the test",
|
|
1163
|
-
"
|
|
1183
|
+
"name": "os-version",
|
|
1184
|
+
"hasDynamicHelp": false,
|
|
1185
|
+
"multiple": false,
|
|
1186
|
+
"type": "option"
|
|
1164
1187
|
},
|
|
1165
1188
|
"browser": {
|
|
1166
|
-
"name": "browser",
|
|
1167
|
-
"type": "option",
|
|
1168
1189
|
"description": "[Only for test scenario] Browser to run the test",
|
|
1169
|
-
"
|
|
1190
|
+
"name": "browser",
|
|
1191
|
+
"hasDynamicHelp": false,
|
|
1192
|
+
"multiple": false,
|
|
1193
|
+
"type": "option"
|
|
1170
1194
|
},
|
|
1171
1195
|
"device": {
|
|
1172
|
-
"name": "device",
|
|
1173
|
-
"type": "option",
|
|
1174
1196
|
"description": "[Only for test scenario] Device to run the test",
|
|
1175
|
-
"
|
|
1197
|
+
"name": "device",
|
|
1198
|
+
"hasDynamicHelp": false,
|
|
1199
|
+
"multiple": false,
|
|
1200
|
+
"type": "option"
|
|
1176
1201
|
},
|
|
1177
1202
|
"device-type": {
|
|
1178
|
-
"name": "device-type",
|
|
1179
|
-
"type": "option",
|
|
1180
1203
|
"description": "[Only for test scenario] Device type to run the test",
|
|
1181
|
-
"
|
|
1204
|
+
"name": "device-type",
|
|
1205
|
+
"hasDynamicHelp": false,
|
|
1206
|
+
"multiple": false,
|
|
1207
|
+
"type": "option"
|
|
1182
1208
|
},
|
|
1183
1209
|
"wait": {
|
|
1184
|
-
"name": "wait",
|
|
1185
|
-
"type": "boolean",
|
|
1186
1210
|
"char": "w",
|
|
1187
1211
|
"description": "Wait until the test finishes.",
|
|
1188
|
-
"
|
|
1212
|
+
"name": "wait",
|
|
1213
|
+
"allowNo": false,
|
|
1214
|
+
"type": "boolean"
|
|
1189
1215
|
},
|
|
1190
1216
|
"timeout": {
|
|
1191
|
-
"name": "timeout",
|
|
1192
|
-
"type": "option",
|
|
1193
1217
|
"char": "t",
|
|
1194
1218
|
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1219
|
+
"name": "timeout",
|
|
1220
|
+
"default": 300,
|
|
1221
|
+
"hasDynamicHelp": false,
|
|
1195
1222
|
"multiple": false,
|
|
1196
|
-
"
|
|
1223
|
+
"type": "option"
|
|
1197
1224
|
},
|
|
1198
1225
|
"verbose": {
|
|
1199
|
-
"name": "verbose",
|
|
1200
|
-
"type": "boolean",
|
|
1201
1226
|
"char": "v",
|
|
1202
1227
|
"description": "Verbose output",
|
|
1203
|
-
"
|
|
1228
|
+
"name": "verbose",
|
|
1229
|
+
"allowNo": false,
|
|
1230
|
+
"type": "boolean"
|
|
1204
1231
|
},
|
|
1205
1232
|
"max-retry-count": {
|
|
1206
|
-
"name": "max-retry-count",
|
|
1207
|
-
"type": "option",
|
|
1208
1233
|
"description": "Maximum retry count while waiting. The command can take up to `timeout * (max-retry-count + 1)`. Only effective with `--wait`.",
|
|
1234
|
+
"name": "max-retry-count",
|
|
1235
|
+
"default": 0,
|
|
1236
|
+
"hasDynamicHelp": false,
|
|
1209
1237
|
"multiple": false,
|
|
1210
|
-
"
|
|
1238
|
+
"type": "option"
|
|
1211
1239
|
}
|
|
1212
1240
|
},
|
|
1213
|
-
"
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1241
|
+
"hasDynamicHelp": false,
|
|
1242
|
+
"hiddenAliases": [],
|
|
1243
|
+
"id": "web:test:run",
|
|
1244
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1245
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1246
|
+
"pluginType": "core",
|
|
1247
|
+
"strict": true,
|
|
1248
|
+
"isESM": false,
|
|
1249
|
+
"relativePath": [
|
|
1250
|
+
"dist",
|
|
1251
|
+
"commands",
|
|
1252
|
+
"web",
|
|
1253
|
+
"test",
|
|
1254
|
+
"run.js"
|
|
1255
|
+
]
|
|
1220
1256
|
},
|
|
1221
1257
|
"web:test:wait": {
|
|
1222
|
-
"
|
|
1258
|
+
"aliases": [],
|
|
1259
|
+
"args": {
|
|
1260
|
+
"test-result-url": {
|
|
1261
|
+
"description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
|
|
1262
|
+
"name": "test-result-url",
|
|
1263
|
+
"required": true
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
1223
1266
|
"description": "Wait a test result until it finishes.",
|
|
1267
|
+
"examples": [
|
|
1268
|
+
"<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/results/0000"
|
|
1269
|
+
],
|
|
1270
|
+
"flags": {
|
|
1271
|
+
"timeout": {
|
|
1272
|
+
"char": "t",
|
|
1273
|
+
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1274
|
+
"name": "timeout",
|
|
1275
|
+
"default": 300,
|
|
1276
|
+
"hasDynamicHelp": false,
|
|
1277
|
+
"multiple": false,
|
|
1278
|
+
"type": "option"
|
|
1279
|
+
},
|
|
1280
|
+
"verbose": {
|
|
1281
|
+
"char": "v",
|
|
1282
|
+
"description": "Verbose output",
|
|
1283
|
+
"name": "verbose",
|
|
1284
|
+
"allowNo": false,
|
|
1285
|
+
"type": "boolean"
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
"hasDynamicHelp": false,
|
|
1289
|
+
"hiddenAliases": [],
|
|
1290
|
+
"id": "web:test:wait",
|
|
1291
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1292
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1293
|
+
"pluginType": "core",
|
|
1224
1294
|
"strict": true,
|
|
1295
|
+
"isESM": false,
|
|
1296
|
+
"relativePath": [
|
|
1297
|
+
"dist",
|
|
1298
|
+
"commands",
|
|
1299
|
+
"web",
|
|
1300
|
+
"test",
|
|
1301
|
+
"wait.js"
|
|
1302
|
+
]
|
|
1303
|
+
},
|
|
1304
|
+
"mobile:api:describe-test-result": {
|
|
1305
|
+
"aliases": [],
|
|
1306
|
+
"args": {},
|
|
1307
|
+
"description": "Get a test result.",
|
|
1308
|
+
"examples": [
|
|
1309
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1310
|
+
],
|
|
1311
|
+
"flags": {
|
|
1312
|
+
"project-id": {
|
|
1313
|
+
"description": "ID of the project from which the test results will be obtained.",
|
|
1314
|
+
"name": "project-id",
|
|
1315
|
+
"required": true,
|
|
1316
|
+
"hasDynamicHelp": false,
|
|
1317
|
+
"multiple": false,
|
|
1318
|
+
"type": "option"
|
|
1319
|
+
},
|
|
1320
|
+
"id": {
|
|
1321
|
+
"description": "Test Result ID.",
|
|
1322
|
+
"name": "id",
|
|
1323
|
+
"required": true,
|
|
1324
|
+
"hasDynamicHelp": false,
|
|
1325
|
+
"multiple": false,
|
|
1326
|
+
"type": "option"
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1329
|
+
"hasDynamicHelp": false,
|
|
1330
|
+
"hiddenAliases": [],
|
|
1331
|
+
"id": "mobile:api:describe-test-result",
|
|
1332
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1225
1333
|
"pluginName": "@autifyhq/autify-cli",
|
|
1334
|
+
"pluginType": "core",
|
|
1335
|
+
"strict": true,
|
|
1336
|
+
"isESM": false,
|
|
1337
|
+
"relativePath": [
|
|
1338
|
+
"dist",
|
|
1339
|
+
"commands",
|
|
1340
|
+
"mobile",
|
|
1341
|
+
"api",
|
|
1342
|
+
"describe-test-result.js"
|
|
1343
|
+
]
|
|
1344
|
+
},
|
|
1345
|
+
"mobile:api:list-test-results": {
|
|
1346
|
+
"aliases": [],
|
|
1347
|
+
"args": {},
|
|
1348
|
+
"description": "List test results.",
|
|
1349
|
+
"examples": [
|
|
1350
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1351
|
+
],
|
|
1352
|
+
"flags": {
|
|
1353
|
+
"project-id": {
|
|
1354
|
+
"description": "ID of the project from which the list of test results will be retrieved.",
|
|
1355
|
+
"name": "project-id",
|
|
1356
|
+
"required": true,
|
|
1357
|
+
"hasDynamicHelp": false,
|
|
1358
|
+
"multiple": false,
|
|
1359
|
+
"type": "option"
|
|
1360
|
+
},
|
|
1361
|
+
"page": {
|
|
1362
|
+
"description": "Page number to be retrieved.",
|
|
1363
|
+
"name": "page",
|
|
1364
|
+
"required": false,
|
|
1365
|
+
"hasDynamicHelp": false,
|
|
1366
|
+
"multiple": false,
|
|
1367
|
+
"type": "option"
|
|
1368
|
+
},
|
|
1369
|
+
"per-page": {
|
|
1370
|
+
"description": "Number of test results per page.",
|
|
1371
|
+
"name": "per-page",
|
|
1372
|
+
"required": false,
|
|
1373
|
+
"hasDynamicHelp": false,
|
|
1374
|
+
"multiple": false,
|
|
1375
|
+
"type": "option"
|
|
1376
|
+
},
|
|
1377
|
+
"test-plan-id": {
|
|
1378
|
+
"description": "ID of the test plan.",
|
|
1379
|
+
"name": "test-plan-id",
|
|
1380
|
+
"required": false,
|
|
1381
|
+
"hasDynamicHelp": false,
|
|
1382
|
+
"multiple": false,
|
|
1383
|
+
"type": "option"
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
"hasDynamicHelp": false,
|
|
1387
|
+
"hiddenAliases": [],
|
|
1388
|
+
"id": "mobile:api:list-test-results",
|
|
1226
1389
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1390
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1227
1391
|
"pluginType": "core",
|
|
1392
|
+
"strict": true,
|
|
1393
|
+
"isESM": false,
|
|
1394
|
+
"relativePath": [
|
|
1395
|
+
"dist",
|
|
1396
|
+
"commands",
|
|
1397
|
+
"mobile",
|
|
1398
|
+
"api",
|
|
1399
|
+
"list-test-results.js"
|
|
1400
|
+
]
|
|
1401
|
+
},
|
|
1402
|
+
"mobile:api:run-test-plan": {
|
|
1228
1403
|
"aliases": [],
|
|
1404
|
+
"args": {},
|
|
1405
|
+
"description": "Run a test plan",
|
|
1229
1406
|
"examples": [
|
|
1230
|
-
"<%= config.bin %> <%= command.id %>
|
|
1407
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1408
|
+
],
|
|
1409
|
+
"flags": {
|
|
1410
|
+
"test-plan-id": {
|
|
1411
|
+
"description": "The ID of the test plan to run.",
|
|
1412
|
+
"name": "test-plan-id",
|
|
1413
|
+
"required": true,
|
|
1414
|
+
"hasDynamicHelp": false,
|
|
1415
|
+
"multiple": false,
|
|
1416
|
+
"type": "option"
|
|
1417
|
+
},
|
|
1418
|
+
"run-test-plan-request": {
|
|
1419
|
+
"description": "The build_id to execute the test plan.",
|
|
1420
|
+
"name": "run-test-plan-request",
|
|
1421
|
+
"required": true,
|
|
1422
|
+
"hasDynamicHelp": false,
|
|
1423
|
+
"multiple": false,
|
|
1424
|
+
"type": "option"
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
"hasDynamicHelp": false,
|
|
1428
|
+
"hiddenAliases": [],
|
|
1429
|
+
"id": "mobile:api:run-test-plan",
|
|
1430
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1431
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1432
|
+
"pluginType": "core",
|
|
1433
|
+
"strict": true,
|
|
1434
|
+
"isESM": false,
|
|
1435
|
+
"relativePath": [
|
|
1436
|
+
"dist",
|
|
1437
|
+
"commands",
|
|
1438
|
+
"mobile",
|
|
1439
|
+
"api",
|
|
1440
|
+
"run-test-plan.js"
|
|
1441
|
+
]
|
|
1442
|
+
},
|
|
1443
|
+
"mobile:api:upload-build": {
|
|
1444
|
+
"aliases": [],
|
|
1445
|
+
"args": {},
|
|
1446
|
+
"description": "Upload the build file.",
|
|
1447
|
+
"examples": [
|
|
1448
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1449
|
+
],
|
|
1450
|
+
"flags": {
|
|
1451
|
+
"project-id": {
|
|
1452
|
+
"description": "The ID of the project to upload the build file to.",
|
|
1453
|
+
"name": "project-id",
|
|
1454
|
+
"required": true,
|
|
1455
|
+
"hasDynamicHelp": false,
|
|
1456
|
+
"multiple": false,
|
|
1457
|
+
"type": "option"
|
|
1458
|
+
},
|
|
1459
|
+
"file": {
|
|
1460
|
+
"description": "Build file.",
|
|
1461
|
+
"name": "file",
|
|
1462
|
+
"required": true,
|
|
1463
|
+
"hasDynamicHelp": false,
|
|
1464
|
+
"multiple": false,
|
|
1465
|
+
"type": "option"
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
"hasDynamicHelp": false,
|
|
1469
|
+
"hiddenAliases": [],
|
|
1470
|
+
"id": "mobile:api:upload-build",
|
|
1471
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1472
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1473
|
+
"pluginType": "core",
|
|
1474
|
+
"strict": true,
|
|
1475
|
+
"isESM": false,
|
|
1476
|
+
"relativePath": [
|
|
1477
|
+
"dist",
|
|
1478
|
+
"commands",
|
|
1479
|
+
"mobile",
|
|
1480
|
+
"api",
|
|
1481
|
+
"upload-build.js"
|
|
1482
|
+
]
|
|
1483
|
+
},
|
|
1484
|
+
"mobile:auth:login": {
|
|
1485
|
+
"aliases": [],
|
|
1486
|
+
"args": {},
|
|
1487
|
+
"description": "Login to Autify for Mobile",
|
|
1488
|
+
"examples": [
|
|
1489
|
+
"Start interactive setup:\n<%= config.bin %> <%= command.id %>",
|
|
1490
|
+
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
1491
|
+
],
|
|
1492
|
+
"flags": {},
|
|
1493
|
+
"hasDynamicHelp": false,
|
|
1494
|
+
"hiddenAliases": [],
|
|
1495
|
+
"id": "mobile:auth:login",
|
|
1496
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1497
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1498
|
+
"pluginType": "core",
|
|
1499
|
+
"strict": true,
|
|
1500
|
+
"isESM": false,
|
|
1501
|
+
"relativePath": [
|
|
1502
|
+
"dist",
|
|
1503
|
+
"commands",
|
|
1504
|
+
"mobile",
|
|
1505
|
+
"auth",
|
|
1506
|
+
"login.js"
|
|
1507
|
+
]
|
|
1508
|
+
},
|
|
1509
|
+
"mobile:build:upload": {
|
|
1510
|
+
"aliases": [],
|
|
1511
|
+
"args": {
|
|
1512
|
+
"build-path": {
|
|
1513
|
+
"description": "File path to the iOS app (*.app) or Android app (*.apk).",
|
|
1514
|
+
"name": "build-path",
|
|
1515
|
+
"required": true
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"description": "Upload a build file",
|
|
1519
|
+
"examples": [
|
|
1520
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1521
|
+
"Upload build file\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app",
|
|
1522
|
+
"Upload build file (JSON output)\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app --json"
|
|
1231
1523
|
],
|
|
1232
1524
|
"flags": {
|
|
1525
|
+
"json": {
|
|
1526
|
+
"description": "Format output as json.",
|
|
1527
|
+
"helpGroup": "GLOBAL",
|
|
1528
|
+
"name": "json",
|
|
1529
|
+
"allowNo": false,
|
|
1530
|
+
"type": "boolean"
|
|
1531
|
+
},
|
|
1532
|
+
"workspace-id": {
|
|
1533
|
+
"char": "w",
|
|
1534
|
+
"description": "Workspace ID to upload the build file",
|
|
1535
|
+
"name": "workspace-id",
|
|
1536
|
+
"required": true,
|
|
1537
|
+
"hasDynamicHelp": false,
|
|
1538
|
+
"multiple": false,
|
|
1539
|
+
"type": "option"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
"hasDynamicHelp": false,
|
|
1543
|
+
"hiddenAliases": [],
|
|
1544
|
+
"id": "mobile:build:upload",
|
|
1545
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1546
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1547
|
+
"pluginType": "core",
|
|
1548
|
+
"strict": true,
|
|
1549
|
+
"isESM": false,
|
|
1550
|
+
"relativePath": [
|
|
1551
|
+
"dist",
|
|
1552
|
+
"commands",
|
|
1553
|
+
"mobile",
|
|
1554
|
+
"build",
|
|
1555
|
+
"upload.js"
|
|
1556
|
+
]
|
|
1557
|
+
},
|
|
1558
|
+
"mobile:test:run": {
|
|
1559
|
+
"aliases": [],
|
|
1560
|
+
"args": {
|
|
1561
|
+
"test-plan-url": {
|
|
1562
|
+
"description": "Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>",
|
|
1563
|
+
"name": "test-plan-url",
|
|
1564
|
+
"required": true
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
"description": "Run a test plan.",
|
|
1568
|
+
"examples": [
|
|
1569
|
+
"Run a test plan with a build ID:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB",
|
|
1570
|
+
"Run a test plan with a new build file:\n<%= config.bin %> <%= command.id %> --build-path ./my.[app|apk] https://mobile-app.autify.com/projects/AAA/test_plans/BBB",
|
|
1571
|
+
"Run and wait a test plan:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB --wait --timeout 600"
|
|
1572
|
+
],
|
|
1573
|
+
"flags": {
|
|
1574
|
+
"build-id": {
|
|
1575
|
+
"description": "ID of the already uploaded build.",
|
|
1576
|
+
"exclusive": [
|
|
1577
|
+
"build-path"
|
|
1578
|
+
],
|
|
1579
|
+
"name": "build-id",
|
|
1580
|
+
"hasDynamicHelp": false,
|
|
1581
|
+
"multiple": false,
|
|
1582
|
+
"type": "option"
|
|
1583
|
+
},
|
|
1584
|
+
"build-path": {
|
|
1585
|
+
"description": "File path to the iOS app (*.app) or Android app (*.apk).",
|
|
1586
|
+
"exclusive": [
|
|
1587
|
+
"build-id"
|
|
1588
|
+
],
|
|
1589
|
+
"name": "build-path",
|
|
1590
|
+
"hasDynamicHelp": false,
|
|
1591
|
+
"multiple": false,
|
|
1592
|
+
"type": "option"
|
|
1593
|
+
},
|
|
1594
|
+
"wait": {
|
|
1595
|
+
"char": "w",
|
|
1596
|
+
"description": "Wait until the test finishes.",
|
|
1597
|
+
"name": "wait",
|
|
1598
|
+
"allowNo": false,
|
|
1599
|
+
"type": "boolean"
|
|
1600
|
+
},
|
|
1233
1601
|
"timeout": {
|
|
1234
|
-
"name": "timeout",
|
|
1235
|
-
"type": "option",
|
|
1236
1602
|
"char": "t",
|
|
1237
1603
|
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1604
|
+
"name": "timeout",
|
|
1605
|
+
"default": 300,
|
|
1606
|
+
"hasDynamicHelp": false,
|
|
1238
1607
|
"multiple": false,
|
|
1239
|
-
"
|
|
1608
|
+
"type": "option"
|
|
1240
1609
|
},
|
|
1241
1610
|
"verbose": {
|
|
1242
|
-
"name": "verbose",
|
|
1243
|
-
"type": "boolean",
|
|
1244
1611
|
"char": "v",
|
|
1245
1612
|
"description": "Verbose output",
|
|
1246
|
-
"
|
|
1613
|
+
"name": "verbose",
|
|
1614
|
+
"allowNo": false,
|
|
1615
|
+
"type": "boolean"
|
|
1616
|
+
},
|
|
1617
|
+
"max-retry-count": {
|
|
1618
|
+
"description": "Maximum retry count. The command can take up to timeout * (max-retry-count + 1).",
|
|
1619
|
+
"name": "max-retry-count",
|
|
1620
|
+
"default": 0,
|
|
1621
|
+
"hasDynamicHelp": false,
|
|
1622
|
+
"multiple": false,
|
|
1623
|
+
"type": "option"
|
|
1247
1624
|
}
|
|
1248
1625
|
},
|
|
1626
|
+
"hasDynamicHelp": false,
|
|
1627
|
+
"hiddenAliases": [],
|
|
1628
|
+
"id": "mobile:test:run",
|
|
1629
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1630
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1631
|
+
"pluginType": "core",
|
|
1632
|
+
"strict": true,
|
|
1633
|
+
"isESM": false,
|
|
1634
|
+
"relativePath": [
|
|
1635
|
+
"dist",
|
|
1636
|
+
"commands",
|
|
1637
|
+
"mobile",
|
|
1638
|
+
"test",
|
|
1639
|
+
"run.js"
|
|
1640
|
+
]
|
|
1641
|
+
},
|
|
1642
|
+
"mobile:test:wait": {
|
|
1643
|
+
"aliases": [],
|
|
1249
1644
|
"args": {
|
|
1250
1645
|
"test-result-url": {
|
|
1646
|
+
"description": "Test result URL e.g. https://mobile-app.autify.com/projects/<ID>/results/<ID>",
|
|
1251
1647
|
"name": "test-result-url",
|
|
1252
|
-
"description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
|
|
1253
1648
|
"required": true
|
|
1254
1649
|
}
|
|
1255
|
-
}
|
|
1650
|
+
},
|
|
1651
|
+
"description": "Wait a test result until it finishes.",
|
|
1652
|
+
"examples": [
|
|
1653
|
+
"<%= config.bin %> <%= command.id %> https://mobile-app.autify.com/projects/AAA/results/BBB"
|
|
1654
|
+
],
|
|
1655
|
+
"flags": {
|
|
1656
|
+
"timeout": {
|
|
1657
|
+
"char": "t",
|
|
1658
|
+
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1659
|
+
"name": "timeout",
|
|
1660
|
+
"default": 300,
|
|
1661
|
+
"hasDynamicHelp": false,
|
|
1662
|
+
"multiple": false,
|
|
1663
|
+
"type": "option"
|
|
1664
|
+
},
|
|
1665
|
+
"verbose": {
|
|
1666
|
+
"char": "v",
|
|
1667
|
+
"description": "Verbose output",
|
|
1668
|
+
"name": "verbose",
|
|
1669
|
+
"allowNo": false,
|
|
1670
|
+
"type": "boolean"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
"hasDynamicHelp": false,
|
|
1674
|
+
"hiddenAliases": [],
|
|
1675
|
+
"id": "mobile:test:wait",
|
|
1676
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1677
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1678
|
+
"pluginType": "core",
|
|
1679
|
+
"strict": true,
|
|
1680
|
+
"isESM": false,
|
|
1681
|
+
"relativePath": [
|
|
1682
|
+
"dist",
|
|
1683
|
+
"commands",
|
|
1684
|
+
"mobile",
|
|
1685
|
+
"test",
|
|
1686
|
+
"wait.js"
|
|
1687
|
+
]
|
|
1256
1688
|
}
|
|
1257
|
-
}
|
|
1689
|
+
},
|
|
1690
|
+
"version": "0.42.0"
|
|
1258
1691
|
}
|