@autifyhq/autify-cli 0.40.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 +159 -62
- package/dist/autify/connect/client-manager/Logger.d.ts +1 -0
- package/dist/commands/web/api/create-test-plan-variable.d.ts +10 -0
- package/dist/commands/web/api/create-test-plan-variable.js +26 -0
- package/dist/commands/web/api/delete-test-plan-variable.d.ts +10 -0
- package/dist/commands/web/api/delete-test-plan-variable.js +26 -0
- package/dist/commands/web/api/describe-result.d.ts +1 -0
- package/dist/commands/web/api/describe-result.js +5 -1
- package/dist/commands/web/api/list-test-plan-variable.d.ts +9 -0
- package/dist/commands/web/api/list-test-plan-variable.js +22 -0
- package/dist/commands/web/api/update-test-plan-variable.d.ts +11 -0
- package/dist/commands/web/api/update-test-plan-variable.js +30 -0
- package/oclif.manifest.json +1245 -689
- package/package.json +24 -24
package/oclif.manifest.json
CHANGED
|
@@ -1,950 +1,1089 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.40.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",
|
|
320
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
259
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": {
|
|
260
333
|
"aliases": [],
|
|
334
|
+
"args": {},
|
|
335
|
+
"description": "Delete an existing test plan variable for the test plan",
|
|
261
336
|
"examples": [
|
|
262
|
-
"
|
|
263
|
-
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
337
|
+
"<%= config.bin %> <%= command.id %>"
|
|
264
338
|
],
|
|
265
|
-
"flags": {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
339
|
+
"flags": {
|
|
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"
|
|
347
|
+
},
|
|
348
|
+
"test-plan-variable-id": {
|
|
349
|
+
"description": "test_plan_variable id",
|
|
350
|
+
"name": "test-plan-variable-id",
|
|
351
|
+
"required": true,
|
|
352
|
+
"hasDynamicHelp": false,
|
|
353
|
+
"multiple": false,
|
|
354
|
+
"type": "option"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"hasDynamicHelp": false,
|
|
358
|
+
"hiddenAliases": [],
|
|
359
|
+
"id": "web:api:delete-test-plan-variable",
|
|
273
360
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
361
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
274
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": {
|
|
275
374
|
"aliases": [],
|
|
375
|
+
"args": {},
|
|
376
|
+
"description": "Delete a url replacement for the test plan",
|
|
276
377
|
"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"
|
|
378
|
+
"<%= config.bin %> <%= command.id %>"
|
|
280
379
|
],
|
|
281
380
|
"flags": {
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
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,
|
|
386
|
+
"multiple": false,
|
|
387
|
+
"type": "option"
|
|
288
388
|
},
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"char": "w",
|
|
293
|
-
"description": "Workspace ID to upload the build file",
|
|
389
|
+
"url-replacement-id": {
|
|
390
|
+
"description": "url_replacement id",
|
|
391
|
+
"name": "url-replacement-id",
|
|
294
392
|
"required": true,
|
|
295
|
-
"
|
|
393
|
+
"hasDynamicHelp": false,
|
|
394
|
+
"multiple": false,
|
|
395
|
+
"type": "option"
|
|
296
396
|
}
|
|
297
397
|
},
|
|
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",
|
|
398
|
+
"hasDynamicHelp": false,
|
|
399
|
+
"hiddenAliases": [],
|
|
400
|
+
"id": "web:api:delete-url-replacement",
|
|
311
401
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
402
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
312
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": {
|
|
313
415
|
"aliases": [],
|
|
416
|
+
"args": {},
|
|
417
|
+
"description": "Get a test result.",
|
|
314
418
|
"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"
|
|
419
|
+
"<%= config.bin %> <%= command.id %>"
|
|
318
420
|
],
|
|
319
421
|
"flags": {
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"
|
|
324
|
-
"
|
|
325
|
-
"exclusive": [
|
|
326
|
-
"build-path"
|
|
327
|
-
]
|
|
328
|
-
},
|
|
329
|
-
"build-path": {
|
|
330
|
-
"name": "build-path",
|
|
331
|
-
"type": "option",
|
|
332
|
-
"description": "File path to the iOS app (*.app) or Android app (*.apk).",
|
|
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,
|
|
333
427
|
"multiple": false,
|
|
334
|
-
"
|
|
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
|
|
428
|
+
"type": "option"
|
|
344
429
|
},
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"
|
|
349
|
-
"
|
|
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,
|
|
350
435
|
"multiple": false,
|
|
351
|
-
"
|
|
352
|
-
},
|
|
353
|
-
"verbose": {
|
|
354
|
-
"name": "verbose",
|
|
355
|
-
"type": "boolean",
|
|
356
|
-
"char": "v",
|
|
357
|
-
"description": "Verbose output",
|
|
358
|
-
"allowNo": false
|
|
436
|
+
"type": "option"
|
|
359
437
|
},
|
|
360
|
-
"
|
|
361
|
-
"
|
|
362
|
-
"
|
|
363
|
-
"
|
|
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,
|
|
364
443
|
"multiple": false,
|
|
365
|
-
"
|
|
444
|
+
"type": "option"
|
|
366
445
|
}
|
|
367
446
|
},
|
|
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",
|
|
447
|
+
"hasDynamicHelp": false,
|
|
448
|
+
"hiddenAliases": [],
|
|
449
|
+
"id": "web:api:describe-result",
|
|
381
450
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
451
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
382
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": {
|
|
383
464
|
"aliases": [],
|
|
465
|
+
"args": {},
|
|
466
|
+
"description": "Get a scenario.",
|
|
384
467
|
"examples": [
|
|
385
|
-
"<%= config.bin %> <%= command.id %>
|
|
468
|
+
"<%= config.bin %> <%= command.id %>"
|
|
386
469
|
],
|
|
387
470
|
"flags": {
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
"
|
|
471
|
+
"project-id": {
|
|
472
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
473
|
+
"name": "project-id",
|
|
474
|
+
"required": true,
|
|
475
|
+
"hasDynamicHelp": false,
|
|
393
476
|
"multiple": false,
|
|
394
|
-
"
|
|
477
|
+
"type": "option"
|
|
395
478
|
},
|
|
396
|
-
"
|
|
397
|
-
"
|
|
398
|
-
"
|
|
399
|
-
"
|
|
400
|
-
"
|
|
401
|
-
"
|
|
479
|
+
"scenario-id": {
|
|
480
|
+
"description": "For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
481
|
+
"name": "scenario-id",
|
|
482
|
+
"required": true,
|
|
483
|
+
"hasDynamicHelp": false,
|
|
484
|
+
"multiple": false,
|
|
485
|
+
"type": "option"
|
|
402
486
|
}
|
|
403
487
|
},
|
|
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",
|
|
488
|
+
"hasDynamicHelp": false,
|
|
489
|
+
"hiddenAliases": [],
|
|
490
|
+
"id": "web:api:describe-scenario",
|
|
417
491
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
492
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
418
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": {
|
|
419
505
|
"aliases": [],
|
|
506
|
+
"args": {},
|
|
507
|
+
"description": "You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).",
|
|
420
508
|
"examples": [
|
|
421
509
|
"<%= config.bin %> <%= command.id %>"
|
|
422
510
|
],
|
|
423
511
|
"flags": {
|
|
424
512
|
"project-id": {
|
|
425
|
-
"name": "project-id",
|
|
426
|
-
"type": "option",
|
|
427
513
|
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
514
|
+
"name": "project-id",
|
|
428
515
|
"required": true,
|
|
429
|
-
"
|
|
516
|
+
"hasDynamicHelp": false,
|
|
517
|
+
"multiple": false,
|
|
518
|
+
"type": "option"
|
|
430
519
|
},
|
|
431
|
-
"
|
|
432
|
-
"
|
|
433
|
-
"
|
|
434
|
-
"description": "The name of the access point to be created",
|
|
520
|
+
"execute-scenarios-request": {
|
|
521
|
+
"description": "The scenarios and settings to execute",
|
|
522
|
+
"name": "execute-scenarios-request",
|
|
435
523
|
"required": true,
|
|
436
|
-
"
|
|
524
|
+
"hasDynamicHelp": false,
|
|
525
|
+
"multiple": false,
|
|
526
|
+
"type": "option"
|
|
437
527
|
}
|
|
438
528
|
},
|
|
439
|
-
"
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
"id": "web:api:create-url-replacement",
|
|
443
|
-
"description": "Create a new url replacement for the test plan",
|
|
444
|
-
"strict": true,
|
|
445
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
529
|
+
"hasDynamicHelp": false,
|
|
530
|
+
"hiddenAliases": [],
|
|
531
|
+
"id": "web:api:execute-scenarios",
|
|
446
532
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
533
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
447
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": {
|
|
448
546
|
"aliases": [],
|
|
547
|
+
"args": {},
|
|
548
|
+
"description": "\"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.",
|
|
449
549
|
"examples": [
|
|
450
550
|
"<%= config.bin %> <%= command.id %>"
|
|
451
551
|
],
|
|
452
552
|
"flags": {
|
|
453
|
-
"
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
"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",
|
|
457
556
|
"required": true,
|
|
458
|
-
"
|
|
557
|
+
"hasDynamicHelp": false,
|
|
558
|
+
"multiple": false,
|
|
559
|
+
"type": "option"
|
|
459
560
|
},
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
"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"
|
|
466
568
|
}
|
|
467
569
|
},
|
|
468
|
-
"
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
"id": "web:api:delete-access-point",
|
|
472
|
-
"description": "You can delete an access point by passing in its name.",
|
|
473
|
-
"strict": true,
|
|
474
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
570
|
+
"hasDynamicHelp": false,
|
|
571
|
+
"hiddenAliases": [],
|
|
572
|
+
"id": "web:api:execute-schedule",
|
|
475
573
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
574
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
476
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": {
|
|
477
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.",
|
|
478
590
|
"examples": [
|
|
479
591
|
"<%= config.bin %> <%= command.id %>"
|
|
480
592
|
],
|
|
481
593
|
"flags": {
|
|
482
594
|
"project-id": {
|
|
595
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/credits",
|
|
483
596
|
"name": "project-id",
|
|
484
|
-
"type": "option",
|
|
485
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
486
597
|
"required": true,
|
|
487
|
-
"
|
|
598
|
+
"hasDynamicHelp": false,
|
|
599
|
+
"multiple": false,
|
|
600
|
+
"type": "option"
|
|
601
|
+
},
|
|
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"
|
|
488
625
|
},
|
|
489
|
-
"delete-access-point-request": {
|
|
490
|
-
"name": "delete-access-point-request",
|
|
491
|
-
"type": "option",
|
|
492
|
-
"description": "The name of the access point to be deleted",
|
|
493
|
-
"required": true,
|
|
494
|
-
"multiple": false
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
"args": {}
|
|
498
|
-
},
|
|
499
|
-
"web:api:delete-url-replacement": {
|
|
500
|
-
"id": "web:api:delete-url-replacement",
|
|
501
|
-
"description": "Delete a url replacement for the test plan",
|
|
502
|
-
"strict": true,
|
|
503
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
504
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
505
|
-
"pluginType": "core",
|
|
506
|
-
"aliases": [],
|
|
507
|
-
"examples": [
|
|
508
|
-
"<%= config.bin %> <%= command.id %>"
|
|
509
|
-
],
|
|
510
|
-
"flags": {
|
|
511
626
|
"test-plan-id": {
|
|
627
|
+
"description": "The test plan ID to filter used credits by.",
|
|
512
628
|
"name": "test-plan-id",
|
|
513
|
-
"
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"
|
|
629
|
+
"required": false,
|
|
630
|
+
"hasDynamicHelp": false,
|
|
631
|
+
"multiple": false,
|
|
632
|
+
"type": "option"
|
|
517
633
|
},
|
|
518
|
-
"
|
|
519
|
-
"
|
|
520
|
-
"
|
|
521
|
-
"
|
|
522
|
-
"
|
|
523
|
-
"multiple": false
|
|
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:describe-result",
|
|
530
|
-
"description": "Get a test result.",
|
|
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
667
|
"project-id": {
|
|
668
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/project_info",
|
|
541
669
|
"name": "project-id",
|
|
542
|
-
"type": "option",
|
|
543
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
544
|
-
"required": true,
|
|
545
|
-
"multiple": false
|
|
546
|
-
},
|
|
547
|
-
"result-id": {
|
|
548
|
-
"name": "result-id",
|
|
549
|
-
"type": "option",
|
|
550
|
-
"description": "For example, 4 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
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:describe-scenario",
|
|
559
|
-
"description": "Get a scenario.",
|
|
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
700
|
"project-id": {
|
|
701
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
570
702
|
"name": "project-id",
|
|
571
|
-
"type": "option",
|
|
572
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
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:execute-scenarios",
|
|
588
|
-
"description": "You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).",
|
|
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/scenarios",
|
|
602
744
|
"required": true,
|
|
603
|
-
"
|
|
745
|
+
"hasDynamicHelp": false,
|
|
746
|
+
"multiple": false,
|
|
747
|
+
"type": "option"
|
|
604
748
|
},
|
|
605
|
-
"
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
"
|
|
609
|
-
"
|
|
610
|
-
"multiple": false
|
|
611
|
-
|
|
612
|
-
},
|
|
613
|
-
"args": {}
|
|
614
|
-
},
|
|
615
|
-
"web:api:execute-schedule": {
|
|
616
|
-
"id": "web:api:execute-schedule",
|
|
617
|
-
"description": "\"Schedule\" is called as \"Test Plan\" now.\\ If you want to run a test plan, use this endpoint.",
|
|
618
|
-
"strict": true,
|
|
619
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
620
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
621
|
-
"pluginType": "core",
|
|
622
|
-
"aliases": [],
|
|
623
|
-
"examples": [
|
|
624
|
-
"<%= config.bin %> <%= command.id %>"
|
|
625
|
-
],
|
|
626
|
-
"flags": {
|
|
627
|
-
"schedule-id": {
|
|
628
|
-
"name": "schedule-id",
|
|
629
|
-
"type": "option",
|
|
630
|
-
"description": "For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3",
|
|
631
|
-
"required": true,
|
|
632
|
-
"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"
|
|
633
756
|
},
|
|
634
|
-
"
|
|
635
|
-
"
|
|
636
|
-
"
|
|
637
|
-
"
|
|
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",
|
|
638
768
|
"required": false,
|
|
639
|
-
"
|
|
769
|
+
"hasDynamicHelp": false,
|
|
770
|
+
"multiple": false,
|
|
771
|
+
"type": "option"
|
|
640
772
|
}
|
|
641
773
|
},
|
|
642
|
-
"
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
"id": "web:api:get-credit-usage",
|
|
646
|
-
"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.",
|
|
647
|
-
"strict": true,
|
|
648
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
774
|
+
"hasDynamicHelp": false,
|
|
775
|
+
"hiddenAliases": [],
|
|
776
|
+
"id": "web:api:list-capabilities",
|
|
649
777
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
778
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
650
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": {
|
|
651
791
|
"aliases": [],
|
|
792
|
+
"args": {},
|
|
793
|
+
"description": "List test results.",
|
|
652
794
|
"examples": [
|
|
653
795
|
"<%= config.bin %> <%= command.id %>"
|
|
654
796
|
],
|
|
655
797
|
"flags": {
|
|
656
798
|
"project-id": {
|
|
799
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results",
|
|
657
800
|
"name": "project-id",
|
|
658
|
-
"type": "option",
|
|
659
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/credits",
|
|
660
801
|
"required": true,
|
|
661
|
-
"
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
"name": "date-from",
|
|
665
|
-
"type": "option",
|
|
666
|
-
"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").",
|
|
667
|
-
"required": false,
|
|
668
|
-
"multiple": false
|
|
802
|
+
"hasDynamicHelp": false,
|
|
803
|
+
"multiple": false,
|
|
804
|
+
"type": "option"
|
|
669
805
|
},
|
|
670
|
-
"
|
|
671
|
-
"
|
|
672
|
-
"
|
|
673
|
-
"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").",
|
|
806
|
+
"page": {
|
|
807
|
+
"description": "The number of page returns.",
|
|
808
|
+
"name": "page",
|
|
674
809
|
"required": false,
|
|
675
|
-
"
|
|
810
|
+
"hasDynamicHelp": false,
|
|
811
|
+
"multiple": false,
|
|
812
|
+
"type": "option"
|
|
676
813
|
},
|
|
677
|
-
"
|
|
678
|
-
"
|
|
679
|
-
"
|
|
680
|
-
"description": "The scenario ID to filter used credits by.",
|
|
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",
|
|
681
817
|
"required": false,
|
|
682
|
-
"
|
|
818
|
+
"hasDynamicHelp": false,
|
|
819
|
+
"multiple": false,
|
|
820
|
+
"type": "option"
|
|
683
821
|
},
|
|
684
822
|
"test-plan-id": {
|
|
823
|
+
"description": "Test plan ID used to filter results.",
|
|
685
824
|
"name": "test-plan-id",
|
|
686
|
-
"type": "option",
|
|
687
|
-
"description": "The test plan ID to filter used credits by.",
|
|
688
|
-
"required": false,
|
|
689
|
-
"multiple": false
|
|
690
|
-
},
|
|
691
|
-
"user-id": {
|
|
692
|
-
"name": "user-id",
|
|
693
|
-
"type": "option",
|
|
694
|
-
"description": "The user ID that executed tests to filter used credits by.",
|
|
695
825
|
"required": false,
|
|
696
|
-
"
|
|
826
|
+
"hasDynamicHelp": false,
|
|
827
|
+
"multiple": false,
|
|
828
|
+
"type": "option"
|
|
697
829
|
}
|
|
698
830
|
},
|
|
699
|
-
"
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
"id": "web:api:get-project-info",
|
|
703
|
-
"description": "Get project information.",
|
|
704
|
-
"strict": true,
|
|
705
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
831
|
+
"hasDynamicHelp": false,
|
|
832
|
+
"hiddenAliases": [],
|
|
833
|
+
"id": "web:api:list-results",
|
|
706
834
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
707
|
-
"pluginType": "core",
|
|
708
|
-
"aliases": [],
|
|
709
|
-
"examples": [
|
|
710
|
-
"<%= config.bin %> <%= command.id %>"
|
|
711
|
-
],
|
|
712
|
-
"flags": {
|
|
713
|
-
"project-id": {
|
|
714
|
-
"name": "project-id",
|
|
715
|
-
"type": "option",
|
|
716
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/project_info",
|
|
717
|
-
"required": true,
|
|
718
|
-
"multiple": false
|
|
719
|
-
}
|
|
720
|
-
},
|
|
721
|
-
"args": {}
|
|
722
|
-
},
|
|
723
|
-
"web:api:list-access-points": {
|
|
724
|
-
"id": "web:api:list-access-points",
|
|
725
|
-
"description": "List access points for the project.",
|
|
726
|
-
"strict": true,
|
|
727
835
|
"pluginName": "@autifyhq/autify-cli",
|
|
728
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
729
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": {
|
|
730
848
|
"aliases": [],
|
|
849
|
+
"args": {},
|
|
850
|
+
"description": "List scenarios.",
|
|
731
851
|
"examples": [
|
|
732
852
|
"<%= config.bin %> <%= command.id %>"
|
|
733
853
|
],
|
|
734
854
|
"flags": {
|
|
735
855
|
"project-id": {
|
|
736
|
-
"name": "project-id",
|
|
737
|
-
"type": "option",
|
|
738
856
|
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
857
|
+
"name": "project-id",
|
|
739
858
|
"required": true,
|
|
740
|
-
"
|
|
859
|
+
"hasDynamicHelp": false,
|
|
860
|
+
"multiple": false,
|
|
861
|
+
"type": "option"
|
|
741
862
|
},
|
|
742
863
|
"page": {
|
|
743
|
-
"name": "page",
|
|
744
|
-
"type": "option",
|
|
745
864
|
"description": "The number of page returns.",
|
|
865
|
+
"name": "page",
|
|
746
866
|
"required": false,
|
|
747
|
-
"
|
|
867
|
+
"hasDynamicHelp": false,
|
|
868
|
+
"multiple": false,
|
|
869
|
+
"type": "option"
|
|
748
870
|
}
|
|
749
871
|
},
|
|
750
|
-
"
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
"id": "web:api:list-capabilities",
|
|
754
|
-
"description": "List available Capabilities.",
|
|
755
|
-
"strict": true,
|
|
756
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
872
|
+
"hasDynamicHelp": false,
|
|
873
|
+
"hiddenAliases": [],
|
|
874
|
+
"id": "web:api:list-scenarios",
|
|
757
875
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
758
|
-
"pluginType": "core",
|
|
759
|
-
"aliases": [],
|
|
760
|
-
"examples": [
|
|
761
|
-
"<%= config.bin %> <%= command.id %>"
|
|
762
|
-
],
|
|
763
|
-
"flags": {
|
|
764
|
-
"project-id": {
|
|
765
|
-
"name": "project-id",
|
|
766
|
-
"type": "option",
|
|
767
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities",
|
|
768
|
-
"required": true,
|
|
769
|
-
"multiple": false
|
|
770
|
-
},
|
|
771
|
-
"os": {
|
|
772
|
-
"name": "os",
|
|
773
|
-
"type": "option",
|
|
774
|
-
"description": "os name to filter",
|
|
775
|
-
"required": false,
|
|
776
|
-
"multiple": false
|
|
777
|
-
},
|
|
778
|
-
"browser": {
|
|
779
|
-
"name": "browser",
|
|
780
|
-
"type": "option",
|
|
781
|
-
"description": "browser name to filter",
|
|
782
|
-
"required": false,
|
|
783
|
-
"multiple": false
|
|
784
|
-
},
|
|
785
|
-
"device-type": {
|
|
786
|
-
"name": "device-type",
|
|
787
|
-
"type": "option",
|
|
788
|
-
"description": "device_type name to filter",
|
|
789
|
-
"required": false,
|
|
790
|
-
"multiple": false
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
"args": {}
|
|
794
|
-
},
|
|
795
|
-
"web:api:list-results": {
|
|
796
|
-
"id": "web:api:list-results",
|
|
797
|
-
"description": "List test results.",
|
|
798
|
-
"strict": true,
|
|
799
876
|
"pluginName": "@autifyhq/autify-cli",
|
|
800
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
801
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": {
|
|
802
889
|
"aliases": [],
|
|
890
|
+
"args": {},
|
|
891
|
+
"description": "List the test plan's variables",
|
|
803
892
|
"examples": [
|
|
804
893
|
"<%= config.bin %> <%= command.id %>"
|
|
805
894
|
],
|
|
806
895
|
"flags": {
|
|
807
|
-
"project-id": {
|
|
808
|
-
"name": "project-id",
|
|
809
|
-
"type": "option",
|
|
810
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results",
|
|
811
|
-
"required": true,
|
|
812
|
-
"multiple": false
|
|
813
|
-
},
|
|
814
|
-
"page": {
|
|
815
|
-
"name": "page",
|
|
816
|
-
"type": "option",
|
|
817
|
-
"description": "The number of page returns.",
|
|
818
|
-
"required": false,
|
|
819
|
-
"multiple": false
|
|
820
|
-
},
|
|
821
|
-
"per-page": {
|
|
822
|
-
"name": "per-page",
|
|
823
|
-
"type": "option",
|
|
824
|
-
"description": "The number of items returns. Default number is 30 and up to a maximum of 100",
|
|
825
|
-
"required": false,
|
|
826
|
-
"multiple": false
|
|
827
|
-
},
|
|
828
896
|
"test-plan-id": {
|
|
897
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
829
898
|
"name": "test-plan-id",
|
|
830
|
-
"
|
|
831
|
-
"
|
|
832
|
-
"
|
|
833
|
-
"
|
|
899
|
+
"required": true,
|
|
900
|
+
"hasDynamicHelp": false,
|
|
901
|
+
"multiple": false,
|
|
902
|
+
"type": "option"
|
|
834
903
|
}
|
|
835
904
|
},
|
|
836
|
-
"
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
"id": "web:api:list-scenarios",
|
|
840
|
-
"description": "List scenarios.",
|
|
841
|
-
"strict": true,
|
|
842
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
905
|
+
"hasDynamicHelp": false,
|
|
906
|
+
"hiddenAliases": [],
|
|
907
|
+
"id": "web:api:list-test-plan-variable",
|
|
843
908
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
909
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
844
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": {
|
|
845
922
|
"aliases": [],
|
|
923
|
+
"args": {},
|
|
924
|
+
"description": "List url replacements for the test plan",
|
|
846
925
|
"examples": [
|
|
847
926
|
"<%= config.bin %> <%= command.id %>"
|
|
848
927
|
],
|
|
849
928
|
"flags": {
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"
|
|
853
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
929
|
+
"test-plan-id": {
|
|
930
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
931
|
+
"name": "test-plan-id",
|
|
854
932
|
"required": true,
|
|
855
|
-
"
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
"name": "page",
|
|
859
|
-
"type": "option",
|
|
860
|
-
"description": "The number of page returns.",
|
|
861
|
-
"required": false,
|
|
862
|
-
"multiple": false
|
|
933
|
+
"hasDynamicHelp": false,
|
|
934
|
+
"multiple": false,
|
|
935
|
+
"type": "option"
|
|
863
936
|
}
|
|
864
937
|
},
|
|
865
|
-
"
|
|
866
|
-
|
|
867
|
-
"web:api:list-url-replacements": {
|
|
938
|
+
"hasDynamicHelp": false,
|
|
939
|
+
"hiddenAliases": [],
|
|
868
940
|
"id": "web:api:list-url-replacements",
|
|
869
|
-
"description": "List url replacements for the test plan",
|
|
870
|
-
"strict": true,
|
|
871
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
872
941
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
942
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
873
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": {
|
|
874
955
|
"aliases": [],
|
|
956
|
+
"args": {},
|
|
957
|
+
"description": "Update a url replacement for the test plan",
|
|
875
958
|
"examples": [
|
|
876
959
|
"<%= config.bin %> <%= command.id %>"
|
|
877
960
|
],
|
|
878
961
|
"flags": {
|
|
879
962
|
"test-plan-id": {
|
|
880
|
-
"name": "test-plan-id",
|
|
881
|
-
"type": "option",
|
|
882
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",
|
|
883
981
|
"required": true,
|
|
884
|
-
"
|
|
982
|
+
"hasDynamicHelp": false,
|
|
983
|
+
"multiple": false,
|
|
984
|
+
"type": "option"
|
|
885
985
|
}
|
|
886
986
|
},
|
|
887
|
-
"
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
"id": "web:api:update-url-replacement",
|
|
891
|
-
"description": "Update a url replacement for the test plan",
|
|
892
|
-
"strict": true,
|
|
893
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
987
|
+
"hasDynamicHelp": false,
|
|
988
|
+
"hiddenAliases": [],
|
|
989
|
+
"id": "web:api:update-test-plan-variable",
|
|
894
990
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
991
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
895
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": {
|
|
896
1004
|
"aliases": [],
|
|
1005
|
+
"args": {},
|
|
1006
|
+
"description": "Update a url replacement for the test plan",
|
|
897
1007
|
"examples": [
|
|
898
1008
|
"<%= config.bin %> <%= command.id %>"
|
|
899
1009
|
],
|
|
900
1010
|
"flags": {
|
|
901
1011
|
"test-plan-id": {
|
|
902
|
-
"name": "test-plan-id",
|
|
903
|
-
"type": "option",
|
|
904
1012
|
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1013
|
+
"name": "test-plan-id",
|
|
905
1014
|
"required": true,
|
|
906
|
-
"
|
|
1015
|
+
"hasDynamicHelp": false,
|
|
1016
|
+
"multiple": false,
|
|
1017
|
+
"type": "option"
|
|
907
1018
|
},
|
|
908
1019
|
"url-replacement-id": {
|
|
909
|
-
"name": "url-replacement-id",
|
|
910
|
-
"type": "option",
|
|
911
1020
|
"description": "url_replacement id",
|
|
1021
|
+
"name": "url-replacement-id",
|
|
912
1022
|
"required": true,
|
|
913
|
-
"
|
|
1023
|
+
"hasDynamicHelp": false,
|
|
1024
|
+
"multiple": false,
|
|
1025
|
+
"type": "option"
|
|
914
1026
|
},
|
|
915
1027
|
"update-url-replacement-request": {
|
|
916
|
-
"name": "update-url-replacement-request",
|
|
917
|
-
"type": "option",
|
|
918
1028
|
"description": "The url to replace. Either pattern_url or replacement_url is required.",
|
|
1029
|
+
"name": "update-url-replacement-request",
|
|
919
1030
|
"required": true,
|
|
920
|
-
"
|
|
1031
|
+
"hasDynamicHelp": false,
|
|
1032
|
+
"multiple": false,
|
|
1033
|
+
"type": "option"
|
|
921
1034
|
}
|
|
922
1035
|
},
|
|
923
|
-
"
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
"id": "web:auth:login",
|
|
927
|
-
"description": "Login to Autify for Web",
|
|
928
|
-
"strict": true,
|
|
929
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"hiddenAliases": [],
|
|
1038
|
+
"id": "web:api:update-url-replacement",
|
|
930
1039
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1040
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
931
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": {
|
|
932
1053
|
"aliases": [],
|
|
1054
|
+
"args": {},
|
|
1055
|
+
"description": "Login to Autify for Web",
|
|
933
1056
|
"examples": [
|
|
934
1057
|
"Start interactive setup:\n<%= config.bin %> <%= command.id %>",
|
|
935
1058
|
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
936
1059
|
],
|
|
937
1060
|
"flags": {},
|
|
938
|
-
"
|
|
1061
|
+
"hasDynamicHelp": false,
|
|
1062
|
+
"hiddenAliases": [],
|
|
1063
|
+
"id": "web:auth:login",
|
|
1064
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1065
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1066
|
+
"pluginType": "core",
|
|
1067
|
+
"strict": true,
|
|
1068
|
+
"isESM": false,
|
|
1069
|
+
"relativePath": [
|
|
1070
|
+
"dist",
|
|
1071
|
+
"commands",
|
|
1072
|
+
"web",
|
|
1073
|
+
"auth",
|
|
1074
|
+
"login.js"
|
|
1075
|
+
]
|
|
939
1076
|
},
|
|
940
1077
|
"web:test:run": {
|
|
941
|
-
"id": "web:test:run",
|
|
942
|
-
"description": "Run a scenario or test plan.",
|
|
943
|
-
"strict": true,
|
|
944
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
945
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
946
|
-
"pluginType": "core",
|
|
947
1078
|
"aliases": [],
|
|
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
|
|
1084
|
+
}
|
|
1085
|
+
},
|
|
1086
|
+
"description": "Run a scenario or test plan.",
|
|
948
1087
|
"examples": [
|
|
949
1088
|
"Run a test scenario (Default capability):\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000",
|
|
950
1089
|
"Run a test plan:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/test_plans/0000",
|
|
@@ -957,179 +1096,596 @@
|
|
|
957
1096
|
],
|
|
958
1097
|
"flags": {
|
|
959
1098
|
"name": {
|
|
960
|
-
"name": "name",
|
|
961
|
-
"type": "option",
|
|
962
1099
|
"char": "n",
|
|
963
1100
|
"description": "[Only for test scenario] Name of the test execution.",
|
|
964
|
-
"
|
|
1101
|
+
"name": "name",
|
|
1102
|
+
"hasDynamicHelp": false,
|
|
1103
|
+
"multiple": false,
|
|
1104
|
+
"type": "option"
|
|
965
1105
|
},
|
|
966
1106
|
"url-replacements": {
|
|
967
|
-
"name": "url-replacements",
|
|
968
|
-
"type": "option",
|
|
969
1107
|
"char": "r",
|
|
970
1108
|
"description": "URL replacements. Example: \"http://example.com http://example.net\"",
|
|
971
|
-
"
|
|
1109
|
+
"name": "url-replacements",
|
|
1110
|
+
"hasDynamicHelp": false,
|
|
1111
|
+
"multiple": true,
|
|
1112
|
+
"type": "option"
|
|
972
1113
|
},
|
|
973
1114
|
"autify-connect": {
|
|
974
|
-
"name": "autify-connect",
|
|
975
|
-
"type": "option",
|
|
976
1115
|
"description": "Name of the Autify Connect Access Point.",
|
|
977
|
-
"multiple": false,
|
|
978
1116
|
"exclusive": [
|
|
979
1117
|
"autify-connect-client"
|
|
980
|
-
]
|
|
1118
|
+
],
|
|
1119
|
+
"name": "autify-connect",
|
|
1120
|
+
"hasDynamicHelp": false,
|
|
1121
|
+
"multiple": false,
|
|
1122
|
+
"type": "option"
|
|
981
1123
|
},
|
|
982
1124
|
"autify-connect-client": {
|
|
983
|
-
"name": "autify-connect-client",
|
|
984
|
-
"type": "boolean",
|
|
985
|
-
"description": "Start Autify Connect Client",
|
|
986
|
-
"allowNo": false,
|
|
987
1125
|
"dependsOn": [
|
|
988
1126
|
"wait"
|
|
989
1127
|
],
|
|
1128
|
+
"description": "Start Autify Connect Client",
|
|
990
1129
|
"exclusive": [
|
|
991
1130
|
"autify-connect"
|
|
992
|
-
]
|
|
1131
|
+
],
|
|
1132
|
+
"name": "autify-connect-client",
|
|
1133
|
+
"allowNo": false,
|
|
1134
|
+
"type": "boolean"
|
|
993
1135
|
},
|
|
994
1136
|
"autify-connect-client-verbose": {
|
|
995
|
-
"name": "autify-connect-client-verbose",
|
|
996
|
-
"type": "boolean",
|
|
997
|
-
"description": "Verbose output for Autify Connect Client.",
|
|
998
|
-
"allowNo": false,
|
|
999
1137
|
"dependsOn": [
|
|
1000
1138
|
"autify-connect-client"
|
|
1001
|
-
]
|
|
1139
|
+
],
|
|
1140
|
+
"description": "Verbose output for Autify Connect Client.",
|
|
1141
|
+
"name": "autify-connect-client-verbose",
|
|
1142
|
+
"allowNo": false,
|
|
1143
|
+
"type": "boolean"
|
|
1002
1144
|
},
|
|
1003
1145
|
"autify-connect-client-file-logging": {
|
|
1004
|
-
"name": "autify-connect-client-file-logging",
|
|
1005
|
-
"type": "boolean",
|
|
1006
|
-
"description": "Logging Autify Connect Client log to a file instead of console.",
|
|
1007
|
-
"allowNo": false,
|
|
1008
1146
|
"dependsOn": [
|
|
1009
1147
|
"autify-connect-client"
|
|
1010
|
-
]
|
|
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"
|
|
1011
1153
|
},
|
|
1012
1154
|
"autify-connect-client-debug-server-port": {
|
|
1013
|
-
"name": "autify-connect-client-debug-server-port",
|
|
1014
|
-
"type": "option",
|
|
1015
|
-
"description": "Port for Autify Connect Client debug server. A random port will be used if not specified.",
|
|
1016
|
-
"multiple": false,
|
|
1017
1155
|
"dependsOn": [
|
|
1018
1156
|
"autify-connect-client"
|
|
1019
|
-
]
|
|
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"
|
|
1020
1163
|
},
|
|
1021
1164
|
"autify-connect-client-extra-arguments": {
|
|
1022
|
-
"name": "autify-connect-client-extra-arguments",
|
|
1023
|
-
"type": "option",
|
|
1024
|
-
"description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
|
|
1025
|
-
"multiple": false,
|
|
1026
1165
|
"dependsOn": [
|
|
1027
1166
|
"autify-connect-client"
|
|
1028
|
-
]
|
|
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"
|
|
1029
1173
|
},
|
|
1030
1174
|
"os": {
|
|
1031
|
-
"name": "os",
|
|
1032
|
-
"type": "option",
|
|
1033
1175
|
"description": "[Only for test scenario] OS to run the test",
|
|
1034
|
-
"
|
|
1176
|
+
"name": "os",
|
|
1177
|
+
"hasDynamicHelp": false,
|
|
1178
|
+
"multiple": false,
|
|
1179
|
+
"type": "option"
|
|
1035
1180
|
},
|
|
1036
1181
|
"os-version": {
|
|
1037
|
-
"name": "os-version",
|
|
1038
|
-
"type": "option",
|
|
1039
1182
|
"description": "[Only for test scenario] OS version to run the test",
|
|
1040
|
-
"
|
|
1183
|
+
"name": "os-version",
|
|
1184
|
+
"hasDynamicHelp": false,
|
|
1185
|
+
"multiple": false,
|
|
1186
|
+
"type": "option"
|
|
1041
1187
|
},
|
|
1042
1188
|
"browser": {
|
|
1043
|
-
"name": "browser",
|
|
1044
|
-
"type": "option",
|
|
1045
1189
|
"description": "[Only for test scenario] Browser to run the test",
|
|
1046
|
-
"
|
|
1190
|
+
"name": "browser",
|
|
1191
|
+
"hasDynamicHelp": false,
|
|
1192
|
+
"multiple": false,
|
|
1193
|
+
"type": "option"
|
|
1047
1194
|
},
|
|
1048
1195
|
"device": {
|
|
1049
|
-
"name": "device",
|
|
1050
|
-
"type": "option",
|
|
1051
1196
|
"description": "[Only for test scenario] Device to run the test",
|
|
1052
|
-
"
|
|
1197
|
+
"name": "device",
|
|
1198
|
+
"hasDynamicHelp": false,
|
|
1199
|
+
"multiple": false,
|
|
1200
|
+
"type": "option"
|
|
1053
1201
|
},
|
|
1054
1202
|
"device-type": {
|
|
1055
|
-
"name": "device-type",
|
|
1056
|
-
"type": "option",
|
|
1057
1203
|
"description": "[Only for test scenario] Device type to run the test",
|
|
1058
|
-
"
|
|
1204
|
+
"name": "device-type",
|
|
1205
|
+
"hasDynamicHelp": false,
|
|
1206
|
+
"multiple": false,
|
|
1207
|
+
"type": "option"
|
|
1059
1208
|
},
|
|
1060
1209
|
"wait": {
|
|
1061
|
-
"name": "wait",
|
|
1062
|
-
"type": "boolean",
|
|
1063
1210
|
"char": "w",
|
|
1064
1211
|
"description": "Wait until the test finishes.",
|
|
1065
|
-
"
|
|
1212
|
+
"name": "wait",
|
|
1213
|
+
"allowNo": false,
|
|
1214
|
+
"type": "boolean"
|
|
1066
1215
|
},
|
|
1067
1216
|
"timeout": {
|
|
1068
|
-
"name": "timeout",
|
|
1069
|
-
"type": "option",
|
|
1070
1217
|
"char": "t",
|
|
1071
1218
|
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1219
|
+
"name": "timeout",
|
|
1220
|
+
"default": 300,
|
|
1221
|
+
"hasDynamicHelp": false,
|
|
1072
1222
|
"multiple": false,
|
|
1073
|
-
"
|
|
1223
|
+
"type": "option"
|
|
1074
1224
|
},
|
|
1075
1225
|
"verbose": {
|
|
1076
|
-
"name": "verbose",
|
|
1077
|
-
"type": "boolean",
|
|
1078
1226
|
"char": "v",
|
|
1079
1227
|
"description": "Verbose output",
|
|
1080
|
-
"
|
|
1228
|
+
"name": "verbose",
|
|
1229
|
+
"allowNo": false,
|
|
1230
|
+
"type": "boolean"
|
|
1081
1231
|
},
|
|
1082
1232
|
"max-retry-count": {
|
|
1083
|
-
"name": "max-retry-count",
|
|
1084
|
-
"type": "option",
|
|
1085
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,
|
|
1086
1237
|
"multiple": false,
|
|
1087
|
-
"
|
|
1238
|
+
"type": "option"
|
|
1088
1239
|
}
|
|
1089
1240
|
},
|
|
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
|
+
]
|
|
1256
|
+
},
|
|
1257
|
+
"web:test:wait": {
|
|
1258
|
+
"aliases": [],
|
|
1090
1259
|
"args": {
|
|
1091
|
-
"
|
|
1092
|
-
"
|
|
1093
|
-
"
|
|
1260
|
+
"test-result-url": {
|
|
1261
|
+
"description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
|
|
1262
|
+
"name": "test-result-url",
|
|
1094
1263
|
"required": true
|
|
1095
1264
|
}
|
|
1096
|
-
}
|
|
1097
|
-
},
|
|
1098
|
-
"web:test:wait": {
|
|
1099
|
-
"id": "web:test:wait",
|
|
1265
|
+
},
|
|
1100
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",
|
|
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",
|
|
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",
|
|
1389
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1390
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1391
|
+
"pluginType": "core",
|
|
1101
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": {
|
|
1403
|
+
"aliases": [],
|
|
1404
|
+
"args": {},
|
|
1405
|
+
"description": "Run a test plan",
|
|
1406
|
+
"examples": [
|
|
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",
|
|
1102
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",
|
|
1103
1471
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1472
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1104
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": {
|
|
1105
1485
|
"aliases": [],
|
|
1486
|
+
"args": {},
|
|
1487
|
+
"description": "Login to Autify for Mobile",
|
|
1106
1488
|
"examples": [
|
|
1107
|
-
"<%= config.bin %> <%= command.id %>
|
|
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"
|
|
1523
|
+
],
|
|
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"
|
|
1108
1572
|
],
|
|
1109
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
|
+
},
|
|
1110
1601
|
"timeout": {
|
|
1111
|
-
"name": "timeout",
|
|
1112
|
-
"type": "option",
|
|
1113
1602
|
"char": "t",
|
|
1114
1603
|
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1604
|
+
"name": "timeout",
|
|
1605
|
+
"default": 300,
|
|
1606
|
+
"hasDynamicHelp": false,
|
|
1115
1607
|
"multiple": false,
|
|
1116
|
-
"
|
|
1608
|
+
"type": "option"
|
|
1117
1609
|
},
|
|
1118
1610
|
"verbose": {
|
|
1119
|
-
"name": "verbose",
|
|
1120
|
-
"type": "boolean",
|
|
1121
1611
|
"char": "v",
|
|
1122
1612
|
"description": "Verbose output",
|
|
1123
|
-
"
|
|
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"
|
|
1124
1624
|
}
|
|
1125
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": [],
|
|
1126
1644
|
"args": {
|
|
1127
1645
|
"test-result-url": {
|
|
1646
|
+
"description": "Test result URL e.g. https://mobile-app.autify.com/projects/<ID>/results/<ID>",
|
|
1128
1647
|
"name": "test-result-url",
|
|
1129
|
-
"description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
|
|
1130
1648
|
"required": true
|
|
1131
1649
|
}
|
|
1132
|
-
}
|
|
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
|
+
]
|
|
1133
1688
|
}
|
|
1134
|
-
}
|
|
1689
|
+
},
|
|
1690
|
+
"version": "0.42.0"
|
|
1135
1691
|
}
|