@autifyhq/autify-cli 0.73.4 → 0.73.6

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
@@ -81,7 +81,7 @@ EXAMPLES
81
81
  $ autify connect access-point create --name NAME --web-workspace-id ID
82
82
  ```
83
83
 
84
- _See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/connect/access-point/create.ts)_
84
+ _See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/connect/access-point/create.ts)_
85
85
 
86
86
  ## `autify connect access-point set`
87
87
 
@@ -107,7 +107,7 @@ EXAMPLES
107
107
  $ autify connect access-point set --name=NAME < key.txt
108
108
  ```
109
109
 
110
- _See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/connect/access-point/set.ts)_
110
+ _See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/connect/access-point/set.ts)_
111
111
 
112
112
  ## `autify connect client install [VERSION]`
113
113
 
@@ -137,7 +137,7 @@ EXAMPLES
137
137
  $ autify connect client install stable
138
138
  ```
139
139
 
140
- _See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/connect/client/install.ts)_
140
+ _See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/connect/client/install.ts)_
141
141
 
142
142
  ## `autify connect client start`
143
143
 
@@ -171,7 +171,7 @@ EXAMPLES
171
171
  $ autify connect client start --web-workspace-id 000
172
172
  ```
173
173
 
174
- _See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/connect/client/start.ts)_
174
+ _See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/connect/client/start.ts)_
175
175
 
176
176
  ## `autify help [COMMAND]`
177
177
 
@@ -212,7 +212,7 @@ EXAMPLES
212
212
  $ autify mobile api describe-test-result
213
213
  ```
214
214
 
215
- _See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/api/describe-test-result.ts)_
215
+ _See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/api/describe-test-result.ts)_
216
216
 
217
217
  ## `autify mobile api list-test-results`
218
218
 
@@ -236,7 +236,7 @@ EXAMPLES
236
236
  $ autify mobile api list-test-results
237
237
  ```
238
238
 
239
- _See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/api/list-test-results.ts)_
239
+ _See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/api/list-test-results.ts)_
240
240
 
241
241
  ## `autify mobile api run-test-plan`
242
242
 
@@ -258,7 +258,7 @@ EXAMPLES
258
258
  $ autify mobile api run-test-plan
259
259
  ```
260
260
 
261
- _See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/api/run-test-plan.ts)_
261
+ _See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/api/run-test-plan.ts)_
262
262
 
263
263
  ## `autify mobile api upload-build`
264
264
 
@@ -279,7 +279,7 @@ EXAMPLES
279
279
  $ autify mobile api upload-build
280
280
  ```
281
281
 
282
- _See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/api/upload-build.ts)_
282
+ _See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/api/upload-build.ts)_
283
283
 
284
284
  ## `autify mobile auth login`
285
285
 
@@ -302,7 +302,7 @@ EXAMPLES
302
302
  $ autify mobile auth login < token.txt
303
303
  ```
304
304
 
305
- _See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/auth/login.ts)_
305
+ _See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/auth/login.ts)_
306
306
 
307
307
  ## `autify mobile build upload BUILD-PATH`
308
308
 
@@ -336,7 +336,7 @@ EXAMPLES
336
336
  $ autify mobile build upload --workspace-id AAA ./my.app --json
337
337
  ```
338
338
 
339
- _See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/build/upload.ts)_
339
+ _See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/build/upload.ts)_
340
340
 
341
341
  ## `autify mobile link doctor`
342
342
 
@@ -358,7 +358,7 @@ EXAMPLES
358
358
  $ autify mobile link doctor
359
359
  ```
360
360
 
361
- _See code: [src/commands/mobile/link/doctor.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/link/doctor.ts)_
361
+ _See code: [src/commands/mobile/link/doctor.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/link/doctor.ts)_
362
362
 
363
363
  ## `autify mobile link exec [THINGS]`
364
364
 
@@ -377,7 +377,7 @@ EXAMPLES
377
377
  $ autify mobile link exec ABC XYZ
378
378
  ```
379
379
 
380
- _See code: [src/commands/mobile/link/exec.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/link/exec.ts)_
380
+ _See code: [src/commands/mobile/link/exec.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/link/exec.ts)_
381
381
 
382
382
  ## `autify mobile link install`
383
383
 
@@ -396,7 +396,7 @@ EXAMPLES
396
396
  $ autify mobile link install
397
397
  ```
398
398
 
399
- _See code: [src/commands/mobile/link/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/link/install.ts)_
399
+ _See code: [src/commands/mobile/link/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/link/install.ts)_
400
400
 
401
401
  ## `autify mobile link setup`
402
402
 
@@ -415,7 +415,7 @@ EXAMPLES
415
415
  $ autify mobile link setup
416
416
  ```
417
417
 
418
- _See code: [src/commands/mobile/link/setup.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/link/setup.ts)_
418
+ _See code: [src/commands/mobile/link/setup.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/link/setup.ts)_
419
419
 
420
420
  ## `autify mobile link start [WORKSPACEID]`
421
421
 
@@ -440,7 +440,7 @@ EXAMPLES
440
440
  $ autify mobile link start ABC XYZ
441
441
  ```
442
442
 
443
- _See code: [src/commands/mobile/link/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/link/start.ts)_
443
+ _See code: [src/commands/mobile/link/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/link/start.ts)_
444
444
 
445
445
  ## `autify mobile test run TEST-PLAN-URL`
446
446
 
@@ -481,7 +481,7 @@ EXAMPLES
481
481
  --timeout 600
482
482
  ```
483
483
 
484
- _See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/test/run.ts)_
484
+ _See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/test/run.ts)_
485
485
 
486
486
  ## `autify mobile test wait TEST-RESULT-URL`
487
487
 
@@ -505,7 +505,7 @@ EXAMPLES
505
505
  $ autify mobile test wait https://mobile-app.autify.com/projects/AAA/results/BBB
506
506
  ```
507
507
 
508
- _See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/mobile/test/wait.ts)_
508
+ _See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/mobile/test/wait.ts)_
509
509
 
510
510
  ## `autify update [CHANNEL]`
511
511
 
@@ -566,7 +566,7 @@ EXAMPLES
566
566
  $ autify web api create-access-point
567
567
  ```
568
568
 
569
- _See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/create-access-point.ts)_
569
+ _See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/create-access-point.ts)_
570
570
 
571
571
  ## `autify web api create-test-plan-variable`
572
572
 
@@ -589,7 +589,7 @@ EXAMPLES
589
589
  $ autify web api create-test-plan-variable
590
590
  ```
591
591
 
592
- _See code: [src/commands/web/api/create-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/create-test-plan-variable.ts)_
592
+ _See code: [src/commands/web/api/create-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/create-test-plan-variable.ts)_
593
593
 
594
594
  ## `autify web api create-url-replacement`
595
595
 
@@ -612,7 +612,7 @@ EXAMPLES
612
612
  $ autify web api create-url-replacement
613
613
  ```
614
614
 
615
- _See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/create-url-replacement.ts)_
615
+ _See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/create-url-replacement.ts)_
616
616
 
617
617
  ## `autify web api delete-access-point`
618
618
 
@@ -635,7 +635,7 @@ EXAMPLES
635
635
  $ autify web api delete-access-point
636
636
  ```
637
637
 
638
- _See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/delete-access-point.ts)_
638
+ _See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/delete-access-point.ts)_
639
639
 
640
640
  ## `autify web api delete-test-plan-variable`
641
641
 
@@ -657,7 +657,7 @@ EXAMPLES
657
657
  $ autify web api delete-test-plan-variable
658
658
  ```
659
659
 
660
- _See code: [src/commands/web/api/delete-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/delete-test-plan-variable.ts)_
660
+ _See code: [src/commands/web/api/delete-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/delete-test-plan-variable.ts)_
661
661
 
662
662
  ## `autify web api delete-url-replacement`
663
663
 
@@ -679,7 +679,7 @@ EXAMPLES
679
679
  $ autify web api delete-url-replacement
680
680
  ```
681
681
 
682
- _See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/delete-url-replacement.ts)_
682
+ _See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/delete-url-replacement.ts)_
683
683
 
684
684
  ## `autify web api describe-result`
685
685
 
@@ -701,7 +701,7 @@ EXAMPLES
701
701
  $ autify web api describe-result
702
702
  ```
703
703
 
704
- _See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/describe-result.ts)_
704
+ _See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/describe-result.ts)_
705
705
 
706
706
  ## `autify web api describe-scenario`
707
707
 
@@ -722,7 +722,7 @@ EXAMPLES
722
722
  $ autify web api describe-scenario
723
723
  ```
724
724
 
725
- _See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/describe-scenario.ts)_
725
+ _See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/describe-scenario.ts)_
726
726
 
727
727
  ## `autify web api execute-scenarios`
728
728
 
@@ -750,7 +750,7 @@ EXAMPLES
750
750
  $ autify web api execute-scenarios
751
751
  ```
752
752
 
753
- _See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/execute-scenarios.ts)_
753
+ _See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/execute-scenarios.ts)_
754
754
 
755
755
  ## `autify web api execute-schedule`
756
756
 
@@ -773,7 +773,7 @@ EXAMPLES
773
773
  $ autify web api execute-schedule
774
774
  ```
775
775
 
776
- _See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/execute-schedule.ts)_
776
+ _See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/execute-schedule.ts)_
777
777
 
778
778
  ## `autify web api get-credit-usage`
779
779
 
@@ -805,7 +805,7 @@ EXAMPLES
805
805
  $ autify web api get-credit-usage
806
806
  ```
807
807
 
808
- _See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/get-credit-usage.ts)_
808
+ _See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/get-credit-usage.ts)_
809
809
 
810
810
  ## `autify web api get-project-info`
811
811
 
@@ -825,7 +825,7 @@ EXAMPLES
825
825
  $ autify web api get-project-info
826
826
  ```
827
827
 
828
- _See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/get-project-info.ts)_
828
+ _See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/get-project-info.ts)_
829
829
 
830
830
  ## `autify web api list-access-points`
831
831
 
@@ -846,7 +846,7 @@ EXAMPLES
846
846
  $ autify web api list-access-points
847
847
  ```
848
848
 
849
- _See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/list-access-points.ts)_
849
+ _See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/list-access-points.ts)_
850
850
 
851
851
  ## `autify web api list-capabilities`
852
852
 
@@ -873,7 +873,7 @@ EXAMPLES
873
873
  $ autify web api list-capabilities
874
874
  ```
875
875
 
876
- _See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/list-capabilities.ts)_
876
+ _See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/list-capabilities.ts)_
877
877
 
878
878
  ## `autify web api list-results`
879
879
 
@@ -896,7 +896,7 @@ EXAMPLES
896
896
  $ autify web api list-results
897
897
  ```
898
898
 
899
- _See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/list-results.ts)_
899
+ _See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/list-results.ts)_
900
900
 
901
901
  ## `autify web api list-scenarios`
902
902
 
@@ -917,7 +917,7 @@ EXAMPLES
917
917
  $ autify web api list-scenarios
918
918
  ```
919
919
 
920
- _See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/list-scenarios.ts)_
920
+ _See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/list-scenarios.ts)_
921
921
 
922
922
  ## `autify web api list-test-plan-variable`
923
923
 
@@ -938,7 +938,7 @@ EXAMPLES
938
938
  $ autify web api list-test-plan-variable
939
939
  ```
940
940
 
941
- _See code: [src/commands/web/api/list-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/list-test-plan-variable.ts)_
941
+ _See code: [src/commands/web/api/list-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/list-test-plan-variable.ts)_
942
942
 
943
943
  ## `autify web api list-url-replacements`
944
944
 
@@ -959,7 +959,7 @@ EXAMPLES
959
959
  $ autify web api list-url-replacements
960
960
  ```
961
961
 
962
- _See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/list-url-replacements.ts)_
962
+ _See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/list-url-replacements.ts)_
963
963
 
964
964
  ## `autify web api update-test-plan-variable`
965
965
 
@@ -985,7 +985,7 @@ EXAMPLES
985
985
  $ autify web api update-test-plan-variable
986
986
  ```
987
987
 
988
- _See code: [src/commands/web/api/update-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/update-test-plan-variable.ts)_
988
+ _See code: [src/commands/web/api/update-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/update-test-plan-variable.ts)_
989
989
 
990
990
  ## `autify web api update-url-replacement`
991
991
 
@@ -1011,7 +1011,7 @@ EXAMPLES
1011
1011
  $ autify web api update-url-replacement
1012
1012
  ```
1013
1013
 
1014
- _See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/api/update-url-replacement.ts)_
1014
+ _See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/api/update-url-replacement.ts)_
1015
1015
 
1016
1016
  ## `autify web auth login`
1017
1017
 
@@ -1034,7 +1034,7 @@ EXAMPLES
1034
1034
  $ autify web auth login < token.txt
1035
1035
  ```
1036
1036
 
1037
- _See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/auth/login.ts)_
1037
+ _See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/auth/login.ts)_
1038
1038
 
1039
1039
  ## `autify web test run SCENARIO-OR-TEST-PLAN-URL`
1040
1040
 
@@ -1115,7 +1115,7 @@ EXAMPLES
1115
1115
  $ autify web test run https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client
1116
1116
  ```
1117
1117
 
1118
- _See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/test/run.ts)_
1118
+ _See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/test/run.ts)_
1119
1119
 
1120
1120
  ## `autify web test wait TEST-RESULT-URL`
1121
1121
 
@@ -1139,5 +1139,5 @@ EXAMPLES
1139
1139
  $ autify web test wait https://app.autify.com/projects/0000/results/0000
1140
1140
  ```
1141
1141
 
1142
- _See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.4/src/commands/web/test/wait.ts)_
1142
+ _See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.73.6/src/commands/web/test/wait.ts)_
1143
1143
  <!-- commandsstop -->
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "0.6.8",
3
- "hash": "ca4fc1463"
2
+ "version": "0.6.9",
3
+ "hash": "2268af0c3"
4
4
  }
@@ -32,20 +32,34 @@ const waitUntil = async (callback, timeoutSecond, intervalSecond, verbose) => {
32
32
  const res = await task.run();
33
33
  return res.result;
34
34
  };
35
+ /* eslint-disable camelcase */
36
+ const STATUS_DISPLAY = {
37
+ canceled: { emoji: ["stop_button"], label: "Canceled" },
38
+ failed: { emoji: ["x"], label: "Failed" },
39
+ internal_error: { emoji: ["no_entry_sign"], label: "Internal error" },
40
+ passed: { emoji: ["+1"], label: "Passed" },
41
+ queuing: { emoji: ["vertical_traffic_light"], label: "Queuing" },
42
+ running: { emoji: ["red_car"], label: "Running" },
43
+ skip_passed: {
44
+ emoji: ["white_check_mark", "fast_forward"],
45
+ label: "Already passed",
46
+ },
47
+ skipped: { emoji: ["fast_forward"], label: "Skipped" },
48
+ wait_device: { emoji: ["hourglass"], label: "Waiting device" },
49
+ wait_device_timeout: { emoji: ["stopwatch"], label: "Device timeout" },
50
+ waiting: { emoji: ["hourglass_flowing_sand"], label: "Waiting" },
51
+ };
52
+ /* eslint-enable camelcase */
53
+ const UNKNOWN_STATUS = {
54
+ emoji: ["grey_question"],
55
+ label: "None",
56
+ };
57
+ const MIN_LABEL_WIDTH = 7;
35
58
  const emojiStatus = (status) => {
36
- if (status === "queuing")
37
- return emoji.get("cyclone") + " Queuing";
38
- if (status === "waiting")
39
- return emoji.get("hourglass_flowing_sand") + " Waiting";
40
- if (status === "running")
41
- return emoji.get("red_car") + " Running";
42
- if (status === "passed")
43
- return emoji.get("+1") + " Passed ";
44
- if (status === "failed")
45
- return emoji.get("rotating_light") + " Failed ";
46
- if (status === "skipped")
47
- return emoji.get("zzz") + " Skipped";
48
- return emoji.get("grey_question") + " None ";
59
+ var _a;
60
+ const { emoji: names, label } = (_a = STATUS_DISPLAY[status !== null && status !== void 0 ? status : ""]) !== null && _a !== void 0 ? _a : UNKNOWN_STATUS;
61
+ const glyphs = names.map((name) => emoji.get(name)).join("");
62
+ return `${glyphs} ${label.padEnd(MIN_LABEL_WIDTH)}`;
49
63
  };
50
64
  const describeTestResult = (client, workspaceId, resultId) => async (task) => {
51
65
  var _a;
@@ -43,7 +43,7 @@ const waitUntil = async (callback, timeoutSecond, intervalSecond, verbose) => {
43
43
  };
44
44
  const emojiStatus = (status) => {
45
45
  if (status === "queuing")
46
- return emoji.get("cyclone") + " Queuing";
46
+ return emoji.get("vertical_traffic_light") + " Queuing";
47
47
  if (status === "waiting")
48
48
  return emoji.get("hourglass_flowing_sand") + " Waiting";
49
49
  if (status === "running")
@@ -51,9 +51,9 @@ const emojiStatus = (status) => {
51
51
  if (status === "passed")
52
52
  return emoji.get("+1") + " Passed ";
53
53
  if (status === "failed")
54
- return emoji.get("rotating_light") + " Failed ";
54
+ return emoji.get("x") + " Failed ";
55
55
  if (status === "skipped")
56
- return emoji.get("zzz") + " Skipped";
56
+ return emoji.get("fast_forward") + " Skipped";
57
57
  return emoji.get("grey_question") + " None ";
58
58
  };
59
59
  const describeResult = (client, workspaceId, resultId) => async (task) => {
@@ -1895,5 +1895,5 @@
1895
1895
  ]
1896
1896
  }
1897
1897
  },
1898
- "version": "0.73.4"
1898
+ "version": "0.73.6"
1899
1899
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autifyhq/autify-cli",
3
- "version": "0.73.4",
3
+ "version": "0.73.6",
4
4
  "description": "Autify Command Line Interface (CLI)",
5
5
  "author": "Autify",
6
6
  "bin": {
@@ -36,7 +36,7 @@
36
36
  "per-env": "^1.0.2",
37
37
  "shell-quote": "^1.8.3",
38
38
  "tar": "^7.5.11",
39
- "undici": "^6.24.0",
39
+ "undici": "^6.29.1",
40
40
  "unzip-stream": "^0.3.4",
41
41
  "uuid": "^11.1.0",
42
42
  "which": "^5.0.0",