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