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