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