@autifyhq/autify-cli 0.40.0 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,8 +34,10 @@ See our official document: https://help.autify.com/docs/autify-command-line-inte
34
34
  * [`autify mobile test wait TEST-RESULT-URL`](#autify-mobile-test-wait-test-result-url)
35
35
  * [`autify update [CHANNEL]`](#autify-update-channel)
36
36
  * [`autify web api create-access-point`](#autify-web-api-create-access-point)
37
+ * [`autify web api create-test-plan-variable`](#autify-web-api-create-test-plan-variable)
37
38
  * [`autify web api create-url-replacement`](#autify-web-api-create-url-replacement)
38
39
  * [`autify web api delete-access-point`](#autify-web-api-delete-access-point)
40
+ * [`autify web api delete-test-plan-variable`](#autify-web-api-delete-test-plan-variable)
39
41
  * [`autify web api delete-url-replacement`](#autify-web-api-delete-url-replacement)
40
42
  * [`autify web api describe-result`](#autify-web-api-describe-result)
41
43
  * [`autify web api describe-scenario`](#autify-web-api-describe-scenario)
@@ -47,7 +49,9 @@ See our official document: https://help.autify.com/docs/autify-command-line-inte
47
49
  * [`autify web api list-capabilities`](#autify-web-api-list-capabilities)
48
50
  * [`autify web api list-results`](#autify-web-api-list-results)
49
51
  * [`autify web api list-scenarios`](#autify-web-api-list-scenarios)
52
+ * [`autify web api list-test-plan-variable`](#autify-web-api-list-test-plan-variable)
50
53
  * [`autify web api list-url-replacements`](#autify-web-api-list-url-replacements)
54
+ * [`autify web api update-test-plan-variable`](#autify-web-api-update-test-plan-variable)
51
55
  * [`autify web api update-url-replacement`](#autify-web-api-update-url-replacement)
52
56
  * [`autify web auth login`](#autify-web-auth-login)
53
57
  * [`autify web test run SCENARIO-OR-TEST-PLAN-URL`](#autify-web-test-run-scenario-or-test-plan-url)
@@ -72,7 +76,7 @@ EXAMPLES
72
76
  $ autify connect access-point create --name NAME --web-workspace-id ID
73
77
  ```
74
78
 
75
- _See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/connect/access-point/create.ts)_
79
+ _See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/connect/access-point/create.ts)_
76
80
 
77
81
  ## `autify connect access-point set`
78
82
 
@@ -98,7 +102,7 @@ EXAMPLES
98
102
  $ autify connect access-point set --name=NAME < key.txt
99
103
  ```
100
104
 
101
- _See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/connect/access-point/set.ts)_
105
+ _See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/connect/access-point/set.ts)_
102
106
 
103
107
  ## `autify connect client install [VERSION]`
104
108
 
@@ -128,7 +132,7 @@ EXAMPLES
128
132
  $ autify connect client install stable
129
133
  ```
130
134
 
131
- _See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/connect/client/install.ts)_
135
+ _See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/connect/client/install.ts)_
132
136
 
133
137
  ## `autify connect client start`
134
138
 
@@ -162,7 +166,7 @@ EXAMPLES
162
166
  $ autify connect client start --web-workspace-id 000
163
167
  ```
164
168
 
165
- _See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/connect/client/start.ts)_
169
+ _See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/connect/client/start.ts)_
166
170
 
167
171
  ## `autify help [COMMANDS]`
168
172
 
@@ -203,7 +207,7 @@ EXAMPLES
203
207
  $ autify mobile api describe-test-result
204
208
  ```
205
209
 
206
- _See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/mobile/api/describe-test-result.ts)_
210
+ _See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/mobile/api/describe-test-result.ts)_
207
211
 
208
212
  ## `autify mobile api list-test-results`
209
213
 
@@ -227,7 +231,7 @@ EXAMPLES
227
231
  $ autify mobile api list-test-results
228
232
  ```
229
233
 
230
- _See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/mobile/api/list-test-results.ts)_
234
+ _See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/mobile/api/list-test-results.ts)_
231
235
 
232
236
  ## `autify mobile api run-test-plan`
233
237
 
@@ -248,7 +252,7 @@ EXAMPLES
248
252
  $ autify mobile api run-test-plan
249
253
  ```
250
254
 
251
- _See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/mobile/api/run-test-plan.ts)_
255
+ _See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/mobile/api/run-test-plan.ts)_
252
256
 
253
257
  ## `autify mobile api upload-build`
254
258
 
@@ -269,7 +273,7 @@ EXAMPLES
269
273
  $ autify mobile api upload-build
270
274
  ```
271
275
 
272
- _See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/mobile/api/upload-build.ts)_
276
+ _See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/mobile/api/upload-build.ts)_
273
277
 
274
278
  ## `autify mobile auth login`
275
279
 
@@ -292,7 +296,7 @@ EXAMPLES
292
296
  $ autify mobile auth login < token.txt
293
297
  ```
294
298
 
295
- _See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/mobile/auth/login.ts)_
299
+ _See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/mobile/auth/login.ts)_
296
300
 
297
301
  ## `autify mobile build upload BUILD-PATH`
298
302
 
@@ -326,7 +330,7 @@ EXAMPLES
326
330
  $ autify mobile build upload --workspace-id AAA ./my.app --json
327
331
  ```
328
332
 
329
- _See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/mobile/build/upload.ts)_
333
+ _See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/mobile/build/upload.ts)_
330
334
 
331
335
  ## `autify mobile test run TEST-PLAN-URL`
332
336
 
@@ -341,12 +345,12 @@ ARGUMENTS
341
345
  TEST-PLAN-URL Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>
342
346
 
343
347
  FLAGS
344
- -t, --timeout=<value> [default: 300] Timeout seconds when waiting for the finish of the test execution.
345
- -v, --verbose Verbose output
346
- -w, --wait Wait until the test finishes.
347
- --build-id=<value> ID of the already uploaded build.
348
- --build-path=<value> File path to the iOS app (*.app) or Android app (*.apk).
349
- --max-retry-count=<value> Maximum retry count. The command can take up to timeout * (max-retry-count + 1).
348
+ -t, --timeout=<value> [default: 300] Timeout seconds when waiting for the finish of the test execution.
349
+ -v, --verbose Verbose output
350
+ -w, --wait Wait until the test finishes.
351
+ --build-id=<value> ID of the already uploaded build.
352
+ --build-path=<value> File path to the iOS app (*.app) or Android app (*.apk).
353
+ --max-retry-count=<value> Maximum retry count. The command can take up to timeout * (max-retry-count + 1).
350
354
 
351
355
  DESCRIPTION
352
356
  Run a test plan.
@@ -366,7 +370,7 @@ EXAMPLES
366
370
  --timeout 600
367
371
  ```
368
372
 
369
- _See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/mobile/test/run.ts)_
373
+ _See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/mobile/test/run.ts)_
370
374
 
371
375
  ## `autify mobile test wait TEST-RESULT-URL`
372
376
 
@@ -390,7 +394,7 @@ EXAMPLES
390
394
  $ autify mobile test wait https://mobile-app.autify.com/projects/AAA/results/BBB
391
395
  ```
392
396
 
393
- _See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/mobile/test/wait.ts)_
397
+ _See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/mobile/test/wait.ts)_
394
398
 
395
399
  ## `autify update [CHANNEL]`
396
400
 
@@ -404,7 +408,7 @@ FLAGS
404
408
  -a, --available Install a specific version.
405
409
  -i, --interactive Interactively select version to install. This is ignored if a channel is provided.
406
410
  -v, --version=<value> Install a specific version.
407
- --force Force a re-download of the requested version.
411
+ --force Force a re-download of the requested version.
408
412
 
409
413
  DESCRIPTION
410
414
  update the autify CLI
@@ -449,7 +453,29 @@ EXAMPLES
449
453
  $ autify web api create-access-point
450
454
  ```
451
455
 
452
- _See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/create-access-point.ts)_
456
+ _See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/create-access-point.ts)_
457
+
458
+ ## `autify web api create-test-plan-variable`
459
+
460
+ Create a new variable for the test plan
461
+
462
+ ```
463
+ USAGE
464
+ $ autify web api create-test-plan-variable --test-plan-id <value> --create-test-plan-variable-request <value>
465
+
466
+ FLAGS
467
+ --create-test-plan-variable-request=<value> (required) The new variable key and default value to use in the test plan
468
+ --test-plan-id=<value> (required) For example, 15 for the following URL:
469
+ https://app.autify.com/projects/1/test_plans/15
470
+
471
+ DESCRIPTION
472
+ Create a new variable for the test plan
473
+
474
+ EXAMPLES
475
+ $ autify web api create-test-plan-variable
476
+ ```
477
+
478
+ _See code: [src/commands/web/api/create-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/create-test-plan-variable.ts)_
453
479
 
454
480
  ## `autify web api create-url-replacement`
455
481
 
@@ -471,7 +497,7 @@ EXAMPLES
471
497
  $ autify web api create-url-replacement
472
498
  ```
473
499
 
474
- _See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/create-url-replacement.ts)_
500
+ _See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/create-url-replacement.ts)_
475
501
 
476
502
  ## `autify web api delete-access-point`
477
503
 
@@ -493,7 +519,29 @@ EXAMPLES
493
519
  $ autify web api delete-access-point
494
520
  ```
495
521
 
496
- _See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/delete-access-point.ts)_
522
+ _See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/delete-access-point.ts)_
523
+
524
+ ## `autify web api delete-test-plan-variable`
525
+
526
+ Delete an existing test plan variable for the test plan
527
+
528
+ ```
529
+ USAGE
530
+ $ autify web api delete-test-plan-variable --test-plan-id <value> --test-plan-variable-id <value>
531
+
532
+ FLAGS
533
+ --test-plan-id=<value> (required) For example, 15 for the following URL:
534
+ https://app.autify.com/projects/1/test_plans/15/
535
+ --test-plan-variable-id=<value> (required) test_plan_variable id
536
+
537
+ DESCRIPTION
538
+ Delete an existing test plan variable for the test plan
539
+
540
+ EXAMPLES
541
+ $ autify web api delete-test-plan-variable
542
+ ```
543
+
544
+ _See code: [src/commands/web/api/delete-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/delete-test-plan-variable.ts)_
497
545
 
498
546
  ## `autify web api delete-url-replacement`
499
547
 
@@ -515,7 +563,7 @@ EXAMPLES
515
563
  $ autify web api delete-url-replacement
516
564
  ```
517
565
 
518
- _See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/delete-url-replacement.ts)_
566
+ _See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/delete-url-replacement.ts)_
519
567
 
520
568
  ## `autify web api describe-result`
521
569
 
@@ -523,11 +571,12 @@ Get a test result.
523
571
 
524
572
  ```
525
573
  USAGE
526
- $ autify web api describe-result --project-id <value> --result-id <value>
574
+ $ autify web api describe-result --project-id <value> --result-id <value> [--get-details <value>]
527
575
 
528
576
  FLAGS
529
- --project-id=<value> (required) For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
530
- --result-id=<value> (required) For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
577
+ --get-details=<value> The flag to get details of the test case result.
578
+ --project-id=<value> (required) For example, 1 for the following URL: https://app.autify.com/projects/1/results/4
579
+ --result-id=<value> (required) For example, 4 for the following URL: https://app.autify.com/projects/1/results/4
531
580
 
532
581
  DESCRIPTION
533
582
  Get a test result.
@@ -536,7 +585,7 @@ EXAMPLES
536
585
  $ autify web api describe-result
537
586
  ```
538
587
 
539
- _See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/describe-result.ts)_
588
+ _See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/describe-result.ts)_
540
589
 
541
590
  ## `autify web api describe-scenario`
542
591
 
@@ -557,7 +606,7 @@ EXAMPLES
557
606
  $ autify web api describe-scenario
558
607
  ```
559
608
 
560
- _See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/describe-scenario.ts)_
609
+ _See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/describe-scenario.ts)_
561
610
 
562
611
  ## `autify web api execute-scenarios`
563
612
 
@@ -580,7 +629,7 @@ EXAMPLES
580
629
  $ autify web api execute-scenarios
581
630
  ```
582
631
 
583
- _See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/execute-scenarios.ts)_
632
+ _See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/execute-scenarios.ts)_
584
633
 
585
634
  ## `autify web api execute-schedule`
586
635
 
@@ -602,7 +651,7 @@ EXAMPLES
602
651
  $ autify web api execute-schedule
603
652
  ```
604
653
 
605
- _See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/execute-schedule.ts)_
654
+ _See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/execute-schedule.ts)_
606
655
 
607
656
  ## `autify web api get-credit-usage`
608
657
 
@@ -634,7 +683,7 @@ EXAMPLES
634
683
  $ autify web api get-credit-usage
635
684
  ```
636
685
 
637
- _See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/get-credit-usage.ts)_
686
+ _See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/get-credit-usage.ts)_
638
687
 
639
688
  ## `autify web api get-project-info`
640
689
 
@@ -654,7 +703,7 @@ EXAMPLES
654
703
  $ autify web api get-project-info
655
704
  ```
656
705
 
657
- _See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/get-project-info.ts)_
706
+ _See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/get-project-info.ts)_
658
707
 
659
708
  ## `autify web api list-access-points`
660
709
 
@@ -675,7 +724,7 @@ EXAMPLES
675
724
  $ autify web api list-access-points
676
725
  ```
677
726
 
678
- _See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/list-access-points.ts)_
727
+ _See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/list-access-points.ts)_
679
728
 
680
729
  ## `autify web api list-capabilities`
681
730
 
@@ -698,7 +747,7 @@ EXAMPLES
698
747
  $ autify web api list-capabilities
699
748
  ```
700
749
 
701
- _See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/list-capabilities.ts)_
750
+ _See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/list-capabilities.ts)_
702
751
 
703
752
  ## `autify web api list-results`
704
753
 
@@ -721,7 +770,7 @@ EXAMPLES
721
770
  $ autify web api list-results
722
771
  ```
723
772
 
724
- _See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/list-results.ts)_
773
+ _See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/list-results.ts)_
725
774
 
726
775
  ## `autify web api list-scenarios`
727
776
 
@@ -742,7 +791,28 @@ EXAMPLES
742
791
  $ autify web api list-scenarios
743
792
  ```
744
793
 
745
- _See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/list-scenarios.ts)_
794
+ _See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/list-scenarios.ts)_
795
+
796
+ ## `autify web api list-test-plan-variable`
797
+
798
+ List the test plan's variables
799
+
800
+ ```
801
+ USAGE
802
+ $ autify web api list-test-plan-variable --test-plan-id <value>
803
+
804
+ FLAGS
805
+ --test-plan-id=<value> (required) For example, 15 for the following URL:
806
+ https://app.autify.com/projects/1/test_plans/15
807
+
808
+ DESCRIPTION
809
+ List the test plan's variables
810
+
811
+ EXAMPLES
812
+ $ autify web api list-test-plan-variable
813
+ ```
814
+
815
+ _See code: [src/commands/web/api/list-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/list-test-plan-variable.ts)_
746
816
 
747
817
  ## `autify web api list-url-replacements`
748
818
 
@@ -763,7 +833,32 @@ EXAMPLES
763
833
  $ autify web api list-url-replacements
764
834
  ```
765
835
 
766
- _See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/list-url-replacements.ts)_
836
+ _See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/list-url-replacements.ts)_
837
+
838
+ ## `autify web api update-test-plan-variable`
839
+
840
+ Update a url replacement for the test plan
841
+
842
+ ```
843
+ USAGE
844
+ $ autify web api update-test-plan-variable --test-plan-id <value> --test-plan-variable-id <value> --update-test-plan-variable-request
845
+ <value>
846
+
847
+ FLAGS
848
+ --test-plan-id=<value> (required) For example, 15 for the following URL:
849
+ https://app.autify.com/projects/1/test_plans/15
850
+ --test-plan-variable-id=<value> (required) test_plan_variable id
851
+ --update-test-plan-variable-request=<value> (required) The variable&#39;s new key and/or default_value&#39;s value to
852
+ register
853
+
854
+ DESCRIPTION
855
+ Update a url replacement for the test plan
856
+
857
+ EXAMPLES
858
+ $ autify web api update-test-plan-variable
859
+ ```
860
+
861
+ _See code: [src/commands/web/api/update-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/update-test-plan-variable.ts)_
767
862
 
768
863
  ## `autify web api update-url-replacement`
769
864
 
@@ -788,7 +883,7 @@ EXAMPLES
788
883
  $ autify web api update-url-replacement
789
884
  ```
790
885
 
791
- _See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/api/update-url-replacement.ts)_
886
+ _See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/api/update-url-replacement.ts)_
792
887
 
793
888
  ## `autify web auth login`
794
889
 
@@ -811,7 +906,7 @@ EXAMPLES
811
906
  $ autify web auth login < token.txt
812
907
  ```
813
908
 
814
- _See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/auth/login.ts)_
909
+ _See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/auth/login.ts)_
815
910
 
816
911
  ## `autify web test run SCENARIO-OR-TEST-PLAN-URL`
817
912
 
@@ -830,27 +925,29 @@ ARGUMENTS
830
925
  https://app.autify.com/projects/<ID>/(scenarios|test_plans)/<ID>
831
926
 
832
927
  FLAGS
833
- -n, --name=<value> [Only for test scenario] Name of the test execution.
834
- -r, --url-replacements=<value>... URL replacements. Example: "http://example.com http://example.net"
835
- -t, --timeout=<value> [default: 300] Timeout seconds when waiting for the finish of the
836
- test execution.
837
- -v, --verbose Verbose output
838
- -w, --wait Wait until the test finishes.
839
- --autify-connect=<value> Name of the Autify Connect Access Point.
840
- --autify-connect-client Start Autify Connect Client
841
- --autify-connect-client-debug-server-port=<value> Port for Autify Connect Client debug server. A random port will be
842
- used if not specified.
843
- --autify-connect-client-extra-arguments=<value> Extra command line arguments you want to pass to Autify Connect
844
- Client e.g. "--tunnel-proxy http://proxy".
845
- --autify-connect-client-file-logging Logging Autify Connect Client log to a file instead of console.
846
- --autify-connect-client-verbose Verbose output for Autify Connect Client.
847
- --browser=<value> [Only for test scenario] Browser to run the test
848
- --device=<value> [Only for test scenario] Device to run the test
849
- --device-type=<value> [Only for test scenario] Device type to run the test
850
- --max-retry-count=<value> Maximum retry count while waiting. The command can take up to
851
- `timeout * (max-retry-count + 1)`. Only effective with `--wait`.
852
- --os=<value> [Only for test scenario] OS to run the test
853
- --os-version=<value> [Only for test scenario] OS version to run the test
928
+ -n, --name=<value> [Only for test scenario] Name of the test execution.
929
+ -r, --url-replacements=<value>... URL replacements. Example: "http://example.com
930
+ http://example.net"
931
+ -t, --timeout=<value> [default: 300] Timeout seconds when waiting for the finish of
932
+ the test execution.
933
+ -v, --verbose Verbose output
934
+ -w, --wait Wait until the test finishes.
935
+ --autify-connect=<value> Name of the Autify Connect Access Point.
936
+ --autify-connect-client Start Autify Connect Client
937
+ --autify-connect-client-debug-server-port=<value> Port for Autify Connect Client debug server. A random port will
938
+ be used if not specified.
939
+ --autify-connect-client-extra-arguments=<value> Extra command line arguments you want to pass to Autify Connect
940
+ Client e.g. "--tunnel-proxy http://proxy".
941
+ --autify-connect-client-file-logging Logging Autify Connect Client log to a file instead of console.
942
+ --autify-connect-client-verbose Verbose output for Autify Connect Client.
943
+ --browser=<value> [Only for test scenario] Browser to run the test
944
+ --device=<value> [Only for test scenario] Device to run the test
945
+ --device-type=<value> [Only for test scenario] Device type to run the test
946
+ --max-retry-count=<value> Maximum retry count while waiting. The command can take up to
947
+ `timeout * (max-retry-count + 1)`. Only effective with
948
+ `--wait`.
949
+ --os=<value> [Only for test scenario] OS to run the test
950
+ --os-version=<value> [Only for test scenario] OS version to run the test
854
951
 
855
952
  DESCRIPTION
856
953
  Run a scenario or test plan.
@@ -890,7 +987,7 @@ EXAMPLES
890
987
  $ autify web test run https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client
891
988
  ```
892
989
 
893
- _See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/test/run.ts)_
990
+ _See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/test/run.ts)_
894
991
 
895
992
  ## `autify web test wait TEST-RESULT-URL`
896
993
 
@@ -914,5 +1011,5 @@ EXAMPLES
914
1011
  $ autify web test wait https://app.autify.com/projects/0000/results/0000
915
1012
  ```
916
1013
 
917
- _See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.40.0/src/commands/web/test/wait.ts)_
1014
+ _See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0/src/commands/web/test/wait.ts)_
918
1015
  <!-- commandsstop -->
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { ChildProcessWithoutNullStreams } from "node:child_process";
2
3
  import { Logger, LoggerOptions } from "winston";
3
4
  type ClientLog = Readonly<{
@@ -0,0 +1,10 @@
1
+ import { Command } from "@oclif/core";
2
+ export default class WebApiCreateTestPlanVariable extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static flags: {
6
+ "test-plan-id": import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
7
+ "create-test-plan-variable-request": import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
8
+ };
9
+ run(): Promise<void>;
10
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ const getWebClient_1 = require("../../../autify/web/getWebClient");
5
+ class WebApiCreateTestPlanVariable extends core_1.Command {
6
+ async run() {
7
+ const { flags } = await this.parse(WebApiCreateTestPlanVariable);
8
+ const { configDir, userAgent } = this.config;
9
+ const client = (0, getWebClient_1.getWebClient)(configDir, userAgent);
10
+ const res = await client.createTestPlanVariable(flags["test-plan-id"], JSON.parse(flags["create-test-plan-variable-request"]));
11
+ console.log(JSON.stringify(res.data, null, 2));
12
+ }
13
+ }
14
+ WebApiCreateTestPlanVariable.description = "Create a new variable for the test plan";
15
+ WebApiCreateTestPlanVariable.examples = ["<%= config.bin %> <%= command.id %>"];
16
+ WebApiCreateTestPlanVariable.flags = {
17
+ "test-plan-id": core_1.Flags.integer({
18
+ description: "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
19
+ required: true,
20
+ }),
21
+ "create-test-plan-variable-request": core_1.Flags.string({
22
+ description: "The new variable key and default value to use in the test plan",
23
+ required: true,
24
+ }),
25
+ };
26
+ exports.default = WebApiCreateTestPlanVariable;
@@ -0,0 +1,10 @@
1
+ import { Command } from "@oclif/core";
2
+ export default class WebApiDeleteTestPlanVariable extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static flags: {
6
+ "test-plan-id": import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
7
+ "test-plan-variable-id": import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
8
+ };
9
+ run(): Promise<void>;
10
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ const getWebClient_1 = require("../../../autify/web/getWebClient");
5
+ class WebApiDeleteTestPlanVariable extends core_1.Command {
6
+ async run() {
7
+ const { flags } = await this.parse(WebApiDeleteTestPlanVariable);
8
+ const { configDir, userAgent } = this.config;
9
+ const client = (0, getWebClient_1.getWebClient)(configDir, userAgent);
10
+ const res = await client.deleteTestPlanVariable(flags["test-plan-id"], flags["test-plan-variable-id"]);
11
+ console.log(JSON.stringify(res.data, null, 2));
12
+ }
13
+ }
14
+ WebApiDeleteTestPlanVariable.description = "Delete an existing test plan variable for the test plan";
15
+ WebApiDeleteTestPlanVariable.examples = ["<%= config.bin %> <%= command.id %>"];
16
+ WebApiDeleteTestPlanVariable.flags = {
17
+ "test-plan-id": core_1.Flags.integer({
18
+ description: "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/",
19
+ required: true,
20
+ }),
21
+ "test-plan-variable-id": core_1.Flags.integer({
22
+ description: "test_plan_variable id",
23
+ required: true,
24
+ }),
25
+ };
26
+ exports.default = WebApiDeleteTestPlanVariable;
@@ -5,6 +5,7 @@ export default class WebApiDescribeResult extends Command {
5
5
  static flags: {
6
6
  "project-id": import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
7
7
  "result-id": import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
8
+ "get-details": import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
8
9
  };
9
10
  run(): Promise<void>;
10
11
  }
@@ -7,7 +7,7 @@ class WebApiDescribeResult extends core_1.Command {
7
7
  const { flags } = await this.parse(WebApiDescribeResult);
8
8
  const { configDir, userAgent } = this.config;
9
9
  const client = (0, getWebClient_1.getWebClient)(configDir, userAgent);
10
- const res = await client.describeResult(flags["project-id"], flags["result-id"]);
10
+ const res = await client.describeResult(flags["project-id"], flags["result-id"], flags["get-details"] ? JSON.parse(flags["get-details"]) : undefined);
11
11
  console.log(JSON.stringify(res.data, null, 2));
12
12
  }
13
13
  }
@@ -22,5 +22,9 @@ WebApiDescribeResult.flags = {
22
22
  description: "For example, 4 for the following URL: https://app.autify.com/projects/1/results/4",
23
23
  required: true,
24
24
  }),
25
+ "get-details": core_1.Flags.string({
26
+ description: "The flag to get details of the test case result.",
27
+ required: false,
28
+ }),
25
29
  };
26
30
  exports.default = WebApiDescribeResult;
@@ -0,0 +1,9 @@
1
+ import { Command } from "@oclif/core";
2
+ export default class WebApiListTestPlanVariable extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static flags: {
6
+ "test-plan-id": import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
7
+ };
8
+ run(): Promise<void>;
9
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ const getWebClient_1 = require("../../../autify/web/getWebClient");
5
+ class WebApiListTestPlanVariable extends core_1.Command {
6
+ async run() {
7
+ const { flags } = await this.parse(WebApiListTestPlanVariable);
8
+ const { configDir, userAgent } = this.config;
9
+ const client = (0, getWebClient_1.getWebClient)(configDir, userAgent);
10
+ const res = await client.listTestPlanVariable(flags["test-plan-id"]);
11
+ console.log(JSON.stringify(res.data, null, 2));
12
+ }
13
+ }
14
+ WebApiListTestPlanVariable.description = "List the test plan's variables";
15
+ WebApiListTestPlanVariable.examples = ["<%= config.bin %> <%= command.id %>"];
16
+ WebApiListTestPlanVariable.flags = {
17
+ "test-plan-id": core_1.Flags.integer({
18
+ description: "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
19
+ required: true,
20
+ }),
21
+ };
22
+ exports.default = WebApiListTestPlanVariable;
@@ -0,0 +1,11 @@
1
+ import { Command } from "@oclif/core";
2
+ export default class WebApiUpdateTestPlanVariable extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static flags: {
6
+ "test-plan-id": import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
7
+ "test-plan-variable-id": import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
8
+ "update-test-plan-variable-request": import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
9
+ };
10
+ run(): Promise<void>;
11
+ }