playwright-cucumber-ts-steps 1.1.13 → 1.2.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 (84) hide show
  1. package/README.md +1697 -2
  2. package/dist/backend/actions/click.d.ts +55 -77
  3. package/dist/backend/actions/click.d.ts.map +1 -1
  4. package/dist/backend/actions/click.js +125 -103
  5. package/dist/backend/actions/find.d.ts +48 -121
  6. package/dist/backend/actions/find.d.ts.map +1 -1
  7. package/dist/backend/actions/find.js +126 -172
  8. package/dist/backend/actions/form.d.ts +18 -26
  9. package/dist/backend/actions/form.d.ts.map +1 -1
  10. package/dist/backend/actions/form.js +30 -35
  11. package/dist/backend/actions/formTable.d.ts +4 -9
  12. package/dist/backend/actions/formTable.d.ts.map +1 -1
  13. package/dist/backend/actions/formTable.js +13 -11
  14. package/dist/backend/actions/frames.d.ts +7 -35
  15. package/dist/backend/actions/frames.d.ts.map +1 -1
  16. package/dist/backend/actions/frames.js +22 -61
  17. package/dist/backend/actions/index.d.ts +0 -1
  18. package/dist/backend/actions/index.d.ts.map +1 -1
  19. package/dist/backend/actions/index.js +0 -1
  20. package/dist/backend/actions/inputs.d.ts +33 -77
  21. package/dist/backend/actions/inputs.d.ts.map +1 -1
  22. package/dist/backend/actions/inputs.js +92 -116
  23. package/dist/backend/actions/interactions.d.ts +10 -32
  24. package/dist/backend/actions/interactions.d.ts.map +1 -1
  25. package/dist/backend/actions/interactions.js +31 -41
  26. package/dist/backend/actions/keyboard.d.ts +13 -37
  27. package/dist/backend/actions/keyboard.d.ts.map +1 -1
  28. package/dist/backend/actions/keyboard.js +35 -46
  29. package/dist/backend/actions/misc.d.ts +29 -69
  30. package/dist/backend/actions/misc.d.ts.map +1 -1
  31. package/dist/backend/actions/misc.js +77 -98
  32. package/dist/backend/actions/mobile.d.ts +14 -36
  33. package/dist/backend/actions/mobile.d.ts.map +1 -1
  34. package/dist/backend/actions/mobile.js +42 -55
  35. package/dist/backend/actions/mouse.d.ts +29 -36
  36. package/dist/backend/actions/mouse.d.ts.map +1 -1
  37. package/dist/backend/actions/mouse.js +76 -51
  38. package/dist/backend/actions/navigation.d.ts +11 -23
  39. package/dist/backend/actions/navigation.d.ts.map +1 -1
  40. package/dist/backend/actions/navigation.js +32 -32
  41. package/dist/backend/actions/waits.d.ts +11 -30
  42. package/dist/backend/actions/waits.d.ts.map +1 -1
  43. package/dist/backend/actions/waits.js +32 -39
  44. package/dist/backend/api/assertions.d.ts +6 -15
  45. package/dist/backend/api/assertions.d.ts.map +1 -1
  46. package/dist/backend/api/assertions.js +21 -23
  47. package/dist/backend/api/mock.d.ts +9 -18
  48. package/dist/backend/api/mock.d.ts.map +1 -1
  49. package/dist/backend/api/mock.js +24 -22
  50. package/dist/backend/api/network.d.ts +13 -25
  51. package/dist/backend/api/network.d.ts.map +1 -1
  52. package/dist/backend/api/network.js +40 -39
  53. package/dist/backend/api/requests.d.ts +13 -24
  54. package/dist/backend/api/requests.d.ts.map +1 -1
  55. package/dist/backend/api/requests.js +31 -30
  56. package/dist/backend/assertions/pageState.d.ts +13 -24
  57. package/dist/backend/assertions/pageState.d.ts.map +1 -1
  58. package/dist/backend/assertions/pageState.js +31 -29
  59. package/dist/backend/assertions/text.d.ts +12 -23
  60. package/dist/backend/assertions/text.d.ts.map +1 -1
  61. package/dist/backend/assertions/text.js +30 -28
  62. package/dist/backend/assertions/visibility.d.ts +24 -51
  63. package/dist/backend/assertions/visibility.d.ts.map +1 -1
  64. package/dist/backend/assertions/visibility.js +74 -79
  65. package/dist/backend/auth/index.d.ts +14 -1
  66. package/dist/backend/auth/index.d.ts.map +1 -1
  67. package/dist/backend/auth/index.js +26 -8
  68. package/dist/backend/db/steps.d.ts +58 -18
  69. package/dist/backend/db/steps.d.ts.map +1 -1
  70. package/dist/backend/db/steps.js +180 -26
  71. package/dist/backend/elements/alerts.d.ts +10 -19
  72. package/dist/backend/elements/alerts.d.ts.map +1 -1
  73. package/dist/backend/elements/alerts.js +25 -23
  74. package/dist/backend/elements/forms.d.ts +12 -23
  75. package/dist/backend/elements/forms.d.ts.map +1 -1
  76. package/dist/backend/elements/forms.js +30 -29
  77. package/dist/backend/elements/frames.d.ts +9 -18
  78. package/dist/backend/elements/frames.d.ts.map +1 -1
  79. package/dist/backend/elements/frames.js +24 -23
  80. package/dist/backend/index.d.ts +14 -0
  81. package/dist/backend/index.d.ts.map +1 -0
  82. package/dist/backend/index.js +31 -0
  83. package/dist/metadata.json +1016 -629
  84. package/package.json +8 -4
package/README.md CHANGED
@@ -17,7 +17,6 @@
17
17
 
18
18
  > **Note:** This package is designed for advanced Cucumber+Playwright+TypeScript setups. For basic Playwright usage, see the [official Playwright docs](https://playwright.dev/).
19
19
 
20
-
21
20
  **The "Low-Code" BDD Framework for Playwright.**
22
21
 
23
22
  Write powerful end-to-end tests in plain English using Gherkin syntax, without managing complex glue code. `playwright-cucumber-ts-steps` provides a pre-built library of robust steps for UI, API, and Authentication testing, running natively inside Playwright.
@@ -40,16 +39,17 @@ Write powerful end-to-end tests in plain English using Gherkin syntax, without m
40
39
  ```bash
41
40
  npm install playwright-cucumber-ts-steps @playwright/test
42
41
  ```
42
+
43
43
  or
44
44
 
45
45
  ```bash
46
46
  yarn add playwright-cucumber-ts-steps @playwright/test
47
47
  ```
48
+
48
49
  ```bash
49
50
  npx playwright install
50
51
  ```
51
52
 
52
-
53
53
  ## 📘 Step Definition Documentation
54
54
 
55
55
  👉 [View Steps Documentation](https://qapaschale.github.io/playwright-cucumber-ts-steps/) and [examples](https://github.com/qaPaschalE/playwright-cucumber-ts-steps/tree/main/examples).
@@ -392,6 +392,1701 @@ Scenario: Scroll Test
392
392
 
393
393
  ---
394
394
 
395
+ ## 📘 Step Definition Documentation
396
+
397
+
398
+ ### **When** I click
399
+
400
+
401
+
402
+ ```gherkin
403
+ When I click
404
+ ```
405
+
406
+ ---
407
+
408
+ ### **When** I click on element {string}
409
+
410
+
411
+
412
+ ```gherkin
413
+ When I click on element {string}
414
+ ```
415
+
416
+ ---
417
+
418
+ ### **When** I click on button {string}
419
+
420
+
421
+
422
+ ```gherkin
423
+ When I click on button {string}
424
+ ```
425
+
426
+ ---
427
+
428
+ ### **When** I click on link {string}
429
+
430
+
431
+
432
+ ```gherkin
433
+ When I click on link {string}
434
+ ```
435
+
436
+ ---
437
+
438
+ ### **When** I click on label {string}
439
+
440
+
441
+
442
+ ```gherkin
443
+ When I click on label {string}
444
+ ```
445
+
446
+ ---
447
+
448
+ ### **When** I click on text {string}
449
+
450
+
451
+
452
+ ```gherkin
453
+ When I click on text {string}
454
+ ```
455
+
456
+ ---
457
+
458
+ ### **When** I click on exact text {string}
459
+
460
+
461
+
462
+ ```gherkin
463
+ When I click on exact text {string}
464
+ ```
465
+
466
+ ---
467
+
468
+ ### **When** I click on selector ([^]+)
469
+
470
+
471
+
472
+ ```gherkin
473
+ When I click on selector ([^]+)
474
+ ```
475
+
476
+ ---
477
+
478
+ ### **When** I click all
479
+
480
+
481
+
482
+ ```gherkin
483
+ When I click all
484
+ ```
485
+
486
+ ---
487
+
488
+ ### **When** I double click
489
+
490
+
491
+
492
+ ```gherkin
493
+ When I double click
494
+ ```
495
+
496
+ ---
497
+
498
+ ### **When** I double click on text {string}
499
+
500
+
501
+
502
+ ```gherkin
503
+ When I double click on text {string}
504
+ ```
505
+
506
+ ---
507
+
508
+ ### **When** I double click position {int} {int}
509
+
510
+
511
+
512
+ ```gherkin
513
+ When I double click position {int} {int}
514
+ ```
515
+
516
+ ---
517
+
518
+ ### **When** I right click
519
+
520
+
521
+
522
+ ```gherkin
523
+ When I right click
524
+ ```
525
+
526
+ ---
527
+
528
+ ### **When** I right click on text {string}
529
+
530
+
531
+
532
+ ```gherkin
533
+ When I right click on text {string}
534
+ ```
535
+
536
+ ---
537
+
538
+ ### **When** I right click position {int} {int}
539
+
540
+
541
+
542
+ ```gherkin
543
+ When I right click position {int} {int}
544
+ ```
545
+
546
+ ---
547
+
548
+ ### **When** I click on ({int})(?:st|nd|rd|th) element ([^]+)
549
+
550
+
551
+
552
+ ```gherkin
553
+ When I click on ({int})(?:st|nd|rd|th) element ([^]+)
554
+ ```
555
+
556
+ ---
557
+
558
+ ### **When** I click on ({int})(?:st|nd|rd|th) selector ([^]+)
559
+
560
+
561
+
562
+ ```gherkin
563
+ When I click on ({int})(?:st|nd|rd|th) selector ([^]+)
564
+ ```
565
+
566
+ ---
567
+
568
+ ### **When** I find element by selector {string}
569
+
570
+
571
+
572
+ ```gherkin
573
+ When I find element by selector {string}
574
+ ```
575
+
576
+ ---
577
+
578
+ ### **When** I find element by text {string}
579
+
580
+
581
+
582
+ ```gherkin
583
+ When I find element by text {string}
584
+ ```
585
+
586
+ ---
587
+
588
+ ### **When** I find element by title {string}
589
+
590
+
591
+
592
+ ```gherkin
593
+ When I find element by title {string}
594
+ ```
595
+
596
+ ---
597
+
598
+ ### **When** I find element by testid {string}
599
+
600
+
601
+
602
+ ```gherkin
603
+ When I find element by testid {string}
604
+ ```
605
+
606
+ ---
607
+
608
+ ### **When** I find element by role {string}
609
+
610
+
611
+
612
+ ```gherkin
613
+ When I find element by role {string}
614
+ ```
615
+
616
+ ---
617
+
618
+ ### **When** I find element by placeholder text {string}
619
+
620
+
621
+
622
+ ```gherkin
623
+ When I find element by placeholder text {string}
624
+ ```
625
+
626
+ ---
627
+
628
+ ### **When** I find element by label text {string}
629
+
630
+
631
+
632
+ ```gherkin
633
+ When I find element by label text {string}
634
+ ```
635
+
636
+ ---
637
+
638
+ ### **When** I find element by alt text {string}
639
+
640
+
641
+
642
+ ```gherkin
643
+ When I find element by alt text {string}
644
+ ```
645
+
646
+ ---
647
+
648
+ ### **When** I find link by text {string}
649
+
650
+
651
+
652
+ ```gherkin
653
+ When I find link by text {string}
654
+ ```
655
+
656
+ ---
657
+
658
+ ### **When** I find heading by text {string}
659
+
660
+
661
+
662
+ ```gherkin
663
+ When I find heading by text {string}
664
+ ```
665
+
666
+ ---
667
+
668
+ ### **When** I find element by name {string}
669
+
670
+
671
+
672
+ ```gherkin
673
+ When I find element by name {string}
674
+ ```
675
+
676
+ ---
677
+
678
+ ### **When** I find elements by selector {string}
679
+
680
+
681
+
682
+ ```gherkin
683
+ When I find elements by selector {string}
684
+ ```
685
+
686
+ ---
687
+
688
+ ### **When** I find headings by text {string}
689
+
690
+
691
+
692
+ ```gherkin
693
+ When I find headings by text {string}
694
+ ```
695
+
696
+ ---
697
+
698
+ ### **When** I find buttons by text {string}
699
+
700
+
701
+
702
+ ```gherkin
703
+ When I find buttons by text {string}
704
+ ```
705
+
706
+ ---
707
+
708
+ ### **When** I get first element
709
+
710
+
711
+
712
+ ```gherkin
713
+ When I get first element
714
+ ```
715
+
716
+ ---
717
+
718
+ ### **When** I get last element
719
+
720
+
721
+
722
+ ```gherkin
723
+ When I get last element
724
+ ```
725
+
726
+ ---
727
+
728
+ ### **When** I get ({int})(?:st|nd|rd|th) element
729
+
730
+
731
+
732
+ ```gherkin
733
+ When I get ({int})(?:st|nd|rd|th) element
734
+ ```
735
+
736
+ ---
737
+
738
+ ### **When** I get focused element
739
+
740
+
741
+
742
+ ```gherkin
743
+ When I get focused element
744
+ ```
745
+
746
+ ---
747
+
748
+ ### **When** I find input by ID {string}
749
+
750
+
751
+
752
+ ```gherkin
753
+ When I find input by ID {string}
754
+ ```
755
+
756
+ ---
757
+
758
+ ### **When** I find input by name {string}
759
+
760
+
761
+
762
+ ```gherkin
763
+ When I find input by name {string}
764
+ ```
765
+
766
+ ---
767
+
768
+ ### **When** I find input by placeholder text {string}
769
+
770
+
771
+
772
+ ```gherkin
773
+ When I find input by placeholder text {string}
774
+ ```
775
+
776
+ ---
777
+
778
+ ### **When** I find input by display value {string}
779
+
780
+
781
+
782
+ ```gherkin
783
+ When I find input by display value {string}
784
+ ```
785
+
786
+ ---
787
+
788
+ ### **When** I find textarea by label text {string}
789
+
790
+
791
+
792
+ ```gherkin
793
+ When I find textarea by label text {string}
794
+ ```
795
+
796
+ ---
797
+
798
+ ### **When** I store element text as {string}
799
+
800
+
801
+
802
+ ```gherkin
803
+ When I store element text as {string}
804
+ ```
805
+
806
+ ---
807
+
808
+ ### **When** I fill the following {string} form data
809
+
810
+
811
+
812
+ ```gherkin
813
+ When I fill the following {string} form data
814
+ ```
815
+
816
+ ---
817
+
818
+ ### **When** I fill the following {string} test form data
819
+
820
+
821
+
822
+ ```gherkin
823
+ When I fill the following {string} test form data
824
+ ```
825
+
826
+ ---
827
+
828
+ ### **When** I switch to frame {string}
829
+
830
+
831
+
832
+ ```gherkin
833
+ When I switch to frame {string}
834
+ ```
835
+
836
+ ---
837
+
838
+ ### **When** I find element {string} in frame {string}
839
+
840
+
841
+
842
+ ```gherkin
843
+ When I find element {string} in frame {string}
844
+ ```
845
+
846
+ ---
847
+
848
+ ### **When** I switch to new tab
849
+
850
+
851
+
852
+ ```gherkin
853
+ When I switch to new tab
854
+ ```
855
+
856
+ ---
857
+
858
+ ### **When** I type {string}
859
+
860
+
861
+
862
+ ```gherkin
863
+ When I type {string}
864
+ ```
865
+
866
+ ---
867
+
868
+ ### **When** I type stored {string}
869
+
870
+
871
+
872
+ ```gherkin
873
+ When I type stored {string}
874
+ ```
875
+
876
+ ---
877
+
878
+ ### **When** I slowly type {string}
879
+
880
+
881
+
882
+ ```gherkin
883
+ When I slowly type {string}
884
+ ```
885
+
886
+ ---
887
+
888
+ ### **When** I set value {string}
889
+
890
+
891
+
892
+ ```gherkin
893
+ When I set value {string}
894
+ ```
895
+
896
+ ---
897
+
898
+ ### **When** I clear
899
+
900
+
901
+
902
+ ```gherkin
903
+ When I clear
904
+ ```
905
+
906
+ ---
907
+
908
+ ### **When** I press {string}
909
+
910
+
911
+
912
+ ```gherkin
913
+ When I press {string}
914
+ ```
915
+
916
+ ---
917
+
918
+ ### **When** I check
919
+
920
+
921
+
922
+ ```gherkin
923
+ When I check
924
+ ```
925
+
926
+ ---
927
+
928
+ ### **When** I uncheck
929
+
930
+
931
+
932
+ ```gherkin
933
+ When I uncheck
934
+ ```
935
+
936
+ ---
937
+
938
+ ### **When** I check input
939
+
940
+
941
+
942
+ ```gherkin
943
+ When I check input
944
+ ```
945
+
946
+ ---
947
+
948
+ ### **When** I uncheck input
949
+
950
+
951
+
952
+ ```gherkin
953
+ When I uncheck input
954
+ ```
955
+
956
+ ---
957
+
958
+ ### **When** I (check|uncheck) ({int})(?:st|nd|rd|th) selector ([^]+)
959
+
960
+
961
+
962
+ ```gherkin
963
+ When I (check|uncheck) ({int})(?:st|nd|rd|th) selector ([^]+)
964
+ ```
965
+
966
+ ---
967
+
968
+ ### **When** I select option {string}
969
+
970
+
971
+
972
+ ```gherkin
973
+ When I select option {string}
974
+ ```
975
+
976
+ ---
977
+
978
+ ### **When** I submit
979
+
980
+
981
+
982
+ ```gherkin
983
+ When I submit
984
+ ```
985
+
986
+ ---
987
+
988
+ ### **When** I select file {string}
989
+
990
+
991
+
992
+ ```gherkin
993
+ When I select file {string}
994
+ ```
995
+
996
+ ---
997
+
998
+ ### **When** I upload file {string}
999
+
1000
+
1001
+
1002
+ ```gherkin
1003
+ When I upload file {string}
1004
+ ```
1005
+
1006
+ ---
1007
+
1008
+ ### **When** I click {string}
1009
+
1010
+
1011
+
1012
+ ```gherkin
1013
+ When I click {string}
1014
+ ```
1015
+
1016
+ ---
1017
+
1018
+ ### **When** I force click {string}
1019
+
1020
+
1021
+
1022
+ ```gherkin
1023
+ When I force click {string}
1024
+ ```
1025
+
1026
+ ---
1027
+
1028
+ ### **When** I fill {string} with {string}
1029
+
1030
+
1031
+
1032
+ ```gherkin
1033
+ When I fill {string} with {string}
1034
+ ```
1035
+
1036
+ ---
1037
+
1038
+ ### **When** I press {string}
1039
+
1040
+
1041
+
1042
+ ```gherkin
1043
+ When I press {string}
1044
+ ```
1045
+
1046
+ ---
1047
+
1048
+ ### **When** I wait for {int} milliseconds
1049
+
1050
+
1051
+
1052
+ ```gherkin
1053
+ When I wait for {int} milliseconds
1054
+ ```
1055
+
1056
+ ---
1057
+
1058
+ ### **When** I press key {string}
1059
+
1060
+
1061
+
1062
+ ```gherkin
1063
+ When I press key {string}
1064
+ ```
1065
+
1066
+ ---
1067
+
1068
+ ### **When** I press key {string} on element
1069
+
1070
+
1071
+
1072
+ ```gherkin
1073
+ When I press key {string} on element
1074
+ ```
1075
+
1076
+ ---
1077
+
1078
+ ### **When** I press keys {string}
1079
+
1080
+
1081
+
1082
+ ```gherkin
1083
+ When I press keys {string}
1084
+ ```
1085
+
1086
+ ---
1087
+
1088
+ ### **When** I press shortcut {string}
1089
+
1090
+
1091
+
1092
+ ```gherkin
1093
+ When I press shortcut {string}
1094
+ ```
1095
+
1096
+ ---
1097
+
1098
+ ### **When** I hold down key {string}
1099
+
1100
+
1101
+
1102
+ ```gherkin
1103
+ When I hold down key {string}
1104
+ ```
1105
+
1106
+ ---
1107
+
1108
+ ### **When** I release key {string}
1109
+
1110
+
1111
+
1112
+ ```gherkin
1113
+ When I release key {string}
1114
+ ```
1115
+
1116
+ ---
1117
+
1118
+ ### **When** I wait for {int} milliseconds
1119
+
1120
+
1121
+
1122
+ ```gherkin
1123
+ When I wait for {int} milliseconds
1124
+ ```
1125
+
1126
+ ---
1127
+
1128
+ ### **When** I wait for {int} seconds
1129
+
1130
+
1131
+
1132
+ ```gherkin
1133
+ When I wait for {int} seconds
1134
+ ```
1135
+
1136
+ ---
1137
+
1138
+ ### **When** I pause
1139
+
1140
+
1141
+
1142
+ ```gherkin
1143
+ When I pause
1144
+ ```
1145
+
1146
+ ---
1147
+
1148
+ ### **When** I debug
1149
+
1150
+
1151
+
1152
+ ```gherkin
1153
+ When I debug
1154
+ ```
1155
+
1156
+ ---
1157
+
1158
+ ### **When** I log {string}
1159
+
1160
+
1161
+
1162
+ ```gherkin
1163
+ When I log {string}
1164
+ ```
1165
+
1166
+ ---
1167
+
1168
+ ### **When** I focus
1169
+
1170
+
1171
+
1172
+ ```gherkin
1173
+ When I focus
1174
+ ```
1175
+
1176
+ ---
1177
+
1178
+ ### **When** I blur
1179
+
1180
+
1181
+
1182
+ ```gherkin
1183
+ When I blur
1184
+ ```
1185
+
1186
+ ---
1187
+
1188
+ ### **When** I set cookie {string} to {string}
1189
+
1190
+
1191
+
1192
+ ```gherkin
1193
+ When I set cookie {string} to {string}
1194
+ ```
1195
+
1196
+ ---
1197
+
1198
+ ### **When** I clear all cookies
1199
+
1200
+
1201
+
1202
+ ```gherkin
1203
+ When I clear all cookies
1204
+ ```
1205
+
1206
+ ---
1207
+
1208
+ ### **When** I set local storage item {string} to {string}
1209
+
1210
+
1211
+
1212
+ ```gherkin
1213
+ When I set local storage item {string} to {string}
1214
+ ```
1215
+
1216
+ ---
1217
+
1218
+ ### **When** I get local storage item {string}
1219
+
1220
+
1221
+
1222
+ ```gherkin
1223
+ When I get local storage item {string}
1224
+ ```
1225
+
1226
+ ---
1227
+
1228
+ ### **When** I clear local storage
1229
+
1230
+
1231
+
1232
+ ```gherkin
1233
+ When I clear local storage
1234
+ ```
1235
+
1236
+ ---
1237
+
1238
+ ### **When** I set session storage item {string} to {string}
1239
+
1240
+
1241
+
1242
+ ```gherkin
1243
+ When I set session storage item {string} to {string}
1244
+ ```
1245
+
1246
+ ---
1247
+
1248
+ ### **When** I clear session storage
1249
+
1250
+
1251
+
1252
+ ```gherkin
1253
+ When I clear session storage
1254
+ ```
1255
+
1256
+ ---
1257
+
1258
+ ### **When** I tap
1259
+
1260
+
1261
+
1262
+ ```gherkin
1263
+ When I tap
1264
+ ```
1265
+
1266
+ ---
1267
+
1268
+ ### **When** I tap element {string}
1269
+
1270
+
1271
+
1272
+ ```gherkin
1273
+ When I tap element {string}
1274
+ ```
1275
+
1276
+ ---
1277
+
1278
+ ### **When** I tap coordinates x:{int} y:{int}
1279
+
1280
+
1281
+
1282
+ ```gherkin
1283
+ When I tap coordinates x:{int} y:{int}
1284
+ ```
1285
+
1286
+ ---
1287
+
1288
+ ### **When** I resize window to width {int} and height {int}
1289
+
1290
+
1291
+
1292
+ ```gherkin
1293
+ When I resize window to width {int} and height {int}
1294
+ ```
1295
+
1296
+ ---
1297
+
1298
+ ### **When** I simulate device {string}
1299
+
1300
+
1301
+
1302
+ ```gherkin
1303
+ When I simulate device {string}
1304
+ ```
1305
+
1306
+ ---
1307
+
1308
+ ### **When** I set geolocation to lat: {float} long: {float}
1309
+
1310
+
1311
+
1312
+ ```gherkin
1313
+ When I set geolocation to lat: {float} long: {float}
1314
+ ```
1315
+
1316
+ ---
1317
+
1318
+ ### **When** I grant permission {string}
1319
+
1320
+
1321
+
1322
+ ```gherkin
1323
+ When I grant permission {string}
1324
+ ```
1325
+
1326
+ ---
1327
+
1328
+ ### **When** I scroll {string} into view
1329
+
1330
+
1331
+
1332
+ ```gherkin
1333
+ When I scroll {string} into view
1334
+ ```
1335
+
1336
+ ---
1337
+
1338
+ ### **When** I scroll {string} to position x:{int} y:{int}
1339
+
1340
+
1341
+
1342
+ ```gherkin
1343
+ When I scroll {string} to position x:{int} y:{int}
1344
+ ```
1345
+
1346
+ ---
1347
+
1348
+ ### **When** I scroll to coordinates x:{int} y:{int}
1349
+
1350
+
1351
+
1352
+ ```gherkin
1353
+ When I scroll to coordinates x:{int} y:{int}
1354
+ ```
1355
+
1356
+ ---
1357
+
1358
+ ### **When** I scroll mouse window to position top:{int} left:{int}
1359
+
1360
+
1361
+
1362
+ ```gherkin
1363
+ When I scroll mouse window to position top:{int} left:{int}
1364
+ ```
1365
+
1366
+ ---
1367
+
1368
+ ### **When** I scroll to {string}
1369
+
1370
+
1371
+
1372
+ ```gherkin
1373
+ When I scroll to {string}
1374
+ ```
1375
+
1376
+ ---
1377
+
1378
+ ### **When** I hover over the element {string}
1379
+
1380
+
1381
+
1382
+ ```gherkin
1383
+ When I hover over the element {string}
1384
+ ```
1385
+
1386
+ ---
1387
+
1388
+ ### **When** I move mouse to coordinates {int}, {int}
1389
+
1390
+
1391
+
1392
+ ```gherkin
1393
+ When I move mouse to coordinates {int}, {int}
1394
+ ```
1395
+
1396
+ ---
1397
+
1398
+ ### **When** I hover on ({int})(?:st|nd|rd|th) element ([^]+)
1399
+
1400
+
1401
+
1402
+ ```gherkin
1403
+ When I hover on ({int})(?:st|nd|rd|th) element ([^]+)
1404
+ ```
1405
+
1406
+ ---
1407
+
1408
+ ### **When** I hover on ({int})(?:st|nd|rd|th) selector ([^]+)
1409
+
1410
+
1411
+
1412
+ ```gherkin
1413
+ When I hover on ({int})(?:st|nd|rd|th) selector ([^]+)
1414
+ ```
1415
+
1416
+ ---
1417
+
1418
+ ### **When** I visit {string}
1419
+
1420
+
1421
+
1422
+ ```gherkin
1423
+ When I visit {string}
1424
+ ```
1425
+
1426
+ ---
1427
+
1428
+ ### **When** I reload the page
1429
+
1430
+
1431
+
1432
+ ```gherkin
1433
+ When I reload the page
1434
+ ```
1435
+
1436
+ ---
1437
+
1438
+ ### **When** I go back
1439
+
1440
+
1441
+
1442
+ ```gherkin
1443
+ When I go back
1444
+ ```
1445
+
1446
+ ---
1447
+
1448
+ ### **When** I go forward
1449
+
1450
+
1451
+
1452
+ ```gherkin
1453
+ When I go forward
1454
+ ```
1455
+
1456
+ ---
1457
+
1458
+ ### **When** I navigate to {string}
1459
+
1460
+
1461
+
1462
+ ```gherkin
1463
+ When I navigate to {string}
1464
+ ```
1465
+
1466
+ ---
1467
+
1468
+ ### **When** I wait for network idle
1469
+
1470
+
1471
+
1472
+ ```gherkin
1473
+ When I wait for network idle
1474
+ ```
1475
+
1476
+ ---
1477
+
1478
+ ### **When** I wait for load state {string}
1479
+
1480
+
1481
+
1482
+ ```gherkin
1483
+ When I wait for load state {string}
1484
+ ```
1485
+
1486
+ ---
1487
+
1488
+ ### **When** I wait for element to be visible
1489
+
1490
+
1491
+
1492
+ ```gherkin
1493
+ When I wait for element to be visible
1494
+ ```
1495
+
1496
+ ---
1497
+
1498
+ ### **When** I wait for element to be hidden
1499
+
1500
+
1501
+
1502
+ ```gherkin
1503
+ When I wait for element to be hidden
1504
+ ```
1505
+
1506
+ ---
1507
+
1508
+ ### **When** I wait for URL to contain {string}
1509
+
1510
+
1511
+
1512
+ ```gherkin
1513
+ When I wait for URL to contain {string}
1514
+ ```
1515
+
1516
+ ---
1517
+
1518
+ ### **When** I expect the response status to be {int}
1519
+
1520
+
1521
+
1522
+ ```gherkin
1523
+ When I expect the response status to be {int}
1524
+ ```
1525
+
1526
+ ---
1527
+
1528
+ ### **When** I expect the response body to contain {string}
1529
+
1530
+
1531
+
1532
+ ```gherkin
1533
+ When I expect the response body to contain {string}
1534
+ ```
1535
+
1536
+ ---
1537
+
1538
+ ### **When** I expect the response property {string} to be {string}
1539
+
1540
+
1541
+
1542
+ ```gherkin
1543
+ When I expect the response property {string} to be {string}
1544
+ ```
1545
+
1546
+ ---
1547
+
1548
+ ### **When** I mock the API endpoint {string} with body {string}
1549
+
1550
+
1551
+
1552
+ ```gherkin
1553
+ When I mock the API endpoint {string} with body {string}
1554
+ ```
1555
+
1556
+ ---
1557
+
1558
+ ### **When** I mock the API endpoint {string} with response from {string}
1559
+
1560
+
1561
+
1562
+ ```gherkin
1563
+ When I mock the API endpoint {string} with response from {string}
1564
+ ```
1565
+
1566
+ ---
1567
+
1568
+ ### **When** I mock the API endpoint {string} with status {int}
1569
+
1570
+
1571
+
1572
+ ```gherkin
1573
+ When I mock the API endpoint {string} with status {int}
1574
+ ```
1575
+
1576
+ ---
1577
+
1578
+ ### **When** I intercept URL ([^]+) and stub body:?
1579
+
1580
+
1581
+
1582
+ ```gherkin
1583
+ When I intercept URL ([^]+) and stub body:?
1584
+ ```
1585
+
1586
+ ---
1587
+
1588
+ ### **When** I intercept URL {string} and stub body {string}
1589
+
1590
+
1591
+
1592
+ ```gherkin
1593
+ When I intercept URL {string} and stub body {string}
1594
+ ```
1595
+
1596
+ ---
1597
+
1598
+ ### **When** I intercept URL {string}
1599
+
1600
+
1601
+
1602
+ ```gherkin
1603
+ When I intercept URL {string}
1604
+ ```
1605
+
1606
+ ---
1607
+
1608
+ ### **When** I make request to {string}
1609
+
1610
+
1611
+
1612
+ ```gherkin
1613
+ When I make request to {string}
1614
+ ```
1615
+
1616
+ ---
1617
+
1618
+ ### **When** I make a POST request to ([^]+) with JSON body:?
1619
+
1620
+
1621
+
1622
+ ```gherkin
1623
+ When I make a POST request to ([^]+) with JSON body:?
1624
+ ```
1625
+
1626
+ ---
1627
+
1628
+ ### **When** I make a {word} request to {string}
1629
+
1630
+
1631
+
1632
+ ```gherkin
1633
+ When I make a {word} request to {string}
1634
+ ```
1635
+
1636
+ ---
1637
+
1638
+ ### **When** I make a GET request to {string}
1639
+
1640
+
1641
+
1642
+ ```gherkin
1643
+ When I make a GET request to {string}
1644
+ ```
1645
+
1646
+ ---
1647
+
1648
+ ### **When** I make a DELETE request to {string}
1649
+
1650
+
1651
+
1652
+ ```gherkin
1653
+ When I make a DELETE request to {string}
1654
+ ```
1655
+
1656
+ ---
1657
+
1658
+ ### **When** I make a POST request to {string} with data
1659
+
1660
+
1661
+
1662
+ ```gherkin
1663
+ When I make a POST request to {string} with data
1664
+ ```
1665
+
1666
+ ---
1667
+
1668
+ ### **When** I make a POST request to {string} with payload from {string}
1669
+
1670
+
1671
+
1672
+ ```gherkin
1673
+ When I make a POST request to {string} with payload from {string}
1674
+ ```
1675
+
1676
+ ---
1677
+
1678
+ ### **When** I expect the url to contain {string}
1679
+
1680
+
1681
+
1682
+ ```gherkin
1683
+ When I expect the url to contain {string}
1684
+ ```
1685
+
1686
+ ---
1687
+
1688
+ ### **When** I expect the url to be {string}
1689
+
1690
+
1691
+
1692
+ ```gherkin
1693
+ When I expect the url to be {string}
1694
+ ```
1695
+
1696
+ ---
1697
+
1698
+ ### **When** I expect the title to contain {string}
1699
+
1700
+
1701
+
1702
+ ```gherkin
1703
+ When I expect the title to contain {string}
1704
+ ```
1705
+
1706
+ ---
1707
+
1708
+ ### **When** I expect the title to be {string}
1709
+
1710
+
1711
+
1712
+ ```gherkin
1713
+ When I expect the title to be {string}
1714
+ ```
1715
+
1716
+ ---
1717
+
1718
+ ### **When** I expect {string} to have text {string}
1719
+
1720
+
1721
+
1722
+ ```gherkin
1723
+ When I expect {string} to have text {string}
1724
+ ```
1725
+
1726
+ ---
1727
+
1728
+ ### **When** I expect {string} to contain text {string}
1729
+
1730
+
1731
+
1732
+ ```gherkin
1733
+ When I expect {string} to contain text {string}
1734
+ ```
1735
+
1736
+ ---
1737
+
1738
+ ### **When** I expect {string} to have value {string}
1739
+
1740
+
1741
+
1742
+ ```gherkin
1743
+ When I expect {string} to have value {string}
1744
+ ```
1745
+
1746
+ ---
1747
+
1748
+ ### **When** I expect {string} to have attribute {string} with value {string}
1749
+
1750
+
1751
+
1752
+ ```gherkin
1753
+ When I expect {string} to have attribute {string} with value {string}
1754
+ ```
1755
+
1756
+ ---
1757
+
1758
+ ### **When** I expect element to be visible
1759
+
1760
+
1761
+
1762
+ ```gherkin
1763
+ When I expect element to be visible
1764
+ ```
1765
+
1766
+ ---
1767
+
1768
+ ### **When** I expect {string} to be visible
1769
+
1770
+
1771
+
1772
+ ```gherkin
1773
+ When I expect {string} to be visible
1774
+ ```
1775
+
1776
+ ---
1777
+
1778
+ ### **When** I expect element to be hidden
1779
+
1780
+
1781
+
1782
+ ```gherkin
1783
+ When I expect element to be hidden
1784
+ ```
1785
+
1786
+ ---
1787
+
1788
+ ### **When** I expect element to be enabled
1789
+
1790
+
1791
+
1792
+ ```gherkin
1793
+ When I expect element to be enabled
1794
+ ```
1795
+
1796
+ ---
1797
+
1798
+ ### **When** I expect element to be disabled
1799
+
1800
+
1801
+
1802
+ ```gherkin
1803
+ When I expect element to be disabled
1804
+ ```
1805
+
1806
+ ---
1807
+
1808
+ ### **When** I expect element to have text {string}
1809
+
1810
+
1811
+
1812
+ ```gherkin
1813
+ When I expect element to have text {string}
1814
+ ```
1815
+
1816
+ ---
1817
+
1818
+ ### **When** I expect element to contain text {string}
1819
+
1820
+
1821
+
1822
+ ```gherkin
1823
+ When I expect element to contain text {string}
1824
+ ```
1825
+
1826
+ ---
1827
+
1828
+ ### **When** I expect element to have value {string}
1829
+
1830
+
1831
+
1832
+ ```gherkin
1833
+ When I expect element to have value {string}
1834
+ ```
1835
+
1836
+ ---
1837
+
1838
+ ### **When** I expect element to have attribute {string}
1839
+
1840
+
1841
+
1842
+ ```gherkin
1843
+ When I expect element to have attribute {string}
1844
+ ```
1845
+
1846
+ ---
1847
+
1848
+ ### **When** I expect element to have attribute {string} with value {string}
1849
+
1850
+
1851
+
1852
+ ```gherkin
1853
+ When I expect element to have attribute {string} with value {string}
1854
+ ```
1855
+
1856
+ ---
1857
+
1858
+ ### **When** I expect the page screenshot to match {string}
1859
+
1860
+
1861
+
1862
+ ```gherkin
1863
+ When I expect the page screenshot to match {string}
1864
+ ```
1865
+
1866
+ ---
1867
+
1868
+ ### **When** I expect the element screenshot to match {string}
1869
+
1870
+
1871
+
1872
+ ```gherkin
1873
+ When I expect the element screenshot to match {string}
1874
+ ```
1875
+
1876
+ ---
1877
+
1878
+ ### **When** I save the browser state to {string}
1879
+
1880
+
1881
+
1882
+ ```gherkin
1883
+ When I save the browser state to {string}
1884
+ ```
1885
+
1886
+ ---
1887
+
1888
+ ### **When** I load the browser state from {string}
1889
+
1890
+
1891
+
1892
+ ```gherkin
1893
+ When I load the browser state from {string}
1894
+ ```
1895
+
1896
+ ---
1897
+
1898
+ ### **When** I run the database query {string}
1899
+
1900
+
1901
+
1902
+ ```gherkin
1903
+ When I run the database query {string}
1904
+ ```
1905
+
1906
+ ---
1907
+
1908
+ ### **When** I expect the database to return {int} record(s)
1909
+
1910
+
1911
+
1912
+ ```gherkin
1913
+ When I expect the database to return {int} record(s)
1914
+ ```
1915
+
1916
+ ---
1917
+
1918
+ ### **When** I expect the database to return no records
1919
+
1920
+
1921
+
1922
+ ```gherkin
1923
+ When I expect the database to return no records
1924
+ ```
1925
+
1926
+ ---
1927
+
1928
+ ### **When** I expect the first database record to contain
1929
+
1930
+
1931
+
1932
+ ```gherkin
1933
+ When I expect the first database record to contain
1934
+ ```
1935
+
1936
+ ---
1937
+
1938
+ ### **When** I expect database row {int} to contain
1939
+
1940
+
1941
+
1942
+ ```gherkin
1943
+ When I expect database row {int} to contain
1944
+ ```
1945
+
1946
+ ---
1947
+
1948
+ ### **When** I expect all database records to contain
1949
+
1950
+
1951
+
1952
+ ```gherkin
1953
+ When I expect all database records to contain
1954
+ ```
1955
+
1956
+ ---
1957
+
1958
+ ### **When** I expect database column {string} to exist
1959
+
1960
+
1961
+
1962
+ ```gherkin
1963
+ When I expect database column {string} to exist
1964
+ ```
1965
+
1966
+ ---
1967
+
1968
+ ### **When** I expect database column {string} to contain {string}
1969
+
1970
+
1971
+
1972
+ ```gherkin
1973
+ When I expect database column {string} to contain {string}
1974
+ ```
1975
+
1976
+ ---
1977
+
1978
+ ### **When** I expect database column {string} to be of type {string}
1979
+
1980
+
1981
+
1982
+ ```gherkin
1983
+ When I expect database column {string} to be of type {string}
1984
+ ```
1985
+
1986
+ ---
1987
+
1988
+ ### **When** I accept the next dialog
1989
+
1990
+
1991
+
1992
+ ```gherkin
1993
+ When I accept the next dialog
1994
+ ```
1995
+
1996
+ ---
1997
+
1998
+ ### **When** I dismiss the next dialog
1999
+
2000
+
2001
+
2002
+ ```gherkin
2003
+ When I dismiss the next dialog
2004
+ ```
2005
+
2006
+ ---
2007
+
2008
+ ### **When** I type {string} into the next prompt and accept
2009
+
2010
+
2011
+
2012
+ ```gherkin
2013
+ When I type {string} into the next prompt and accept
2014
+ ```
2015
+
2016
+ ---
2017
+
2018
+ ### **When** I select option {string} from {string}
2019
+
2020
+
2021
+
2022
+ ```gherkin
2023
+ When I select option {string} from {string}
2024
+ ```
2025
+
2026
+ ---
2027
+
2028
+ ### **When** I check {string}
2029
+
2030
+
2031
+
2032
+ ```gherkin
2033
+ When I check {string}
2034
+ ```
2035
+
2036
+ ---
2037
+
2038
+ ### **When** I uncheck {string}
2039
+
2040
+
2041
+
2042
+ ```gherkin
2043
+ When I uncheck {string}
2044
+ ```
2045
+
2046
+ ---
2047
+
2048
+ ### **When** I upload file {string} to {string}
2049
+
2050
+
2051
+
2052
+ ```gherkin
2053
+ When I upload file {string} to {string}
2054
+ ```
2055
+
2056
+ ---
2057
+
2058
+ ### **When** I click {string} inside frame {string}
2059
+
2060
+
2061
+
2062
+ ```gherkin
2063
+ When I click {string} inside frame {string}
2064
+ ```
2065
+
2066
+ ---
2067
+
2068
+ ### **When** I fill {string} inside frame {string} with {string}
2069
+
2070
+
2071
+
2072
+ ```gherkin
2073
+ When I fill {string} inside frame {string} with {string}
2074
+ ```
2075
+
2076
+ ---
2077
+
2078
+ ### **When** I expect {string} inside frame {string} to have text {string}
2079
+
2080
+
2081
+
2082
+ ```gherkin
2083
+ When I expect {string} inside frame {string} to have text {string}
2084
+ ```
2085
+
2086
+ ---
2087
+
2088
+
2089
+
395
2090
  ## 📄 License
396
2091
 
397
2092
  MIT © 2024