@shopware-ag/acceptance-test-suite 12.1.1 → 12.1.3
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/dist/index.d.mts +80 -8
- package/dist/index.d.ts +80 -8
- package/dist/index.mjs +247 -131
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -650,7 +650,7 @@ const administrationCategory = {
|
|
|
650
650
|
entities: entities$1
|
|
651
651
|
};
|
|
652
652
|
|
|
653
|
-
const listing$
|
|
653
|
+
const listing$o = {
|
|
654
654
|
customers: "Customers",
|
|
655
655
|
bulkEdit: "Bulk edit",
|
|
656
656
|
"delete": "Delete",
|
|
@@ -689,7 +689,7 @@ const bulkEdit$3 = {
|
|
|
689
689
|
}
|
|
690
690
|
};
|
|
691
691
|
const administrationCustomer = {
|
|
692
|
-
listing: listing$
|
|
692
|
+
listing: listing$o,
|
|
693
693
|
detail: detail$o,
|
|
694
694
|
bulkEdit: bulkEdit$3
|
|
695
695
|
};
|
|
@@ -699,7 +699,7 @@ const common$b = {
|
|
|
699
699
|
position: "Position",
|
|
700
700
|
labelEnglishGB: "Label (English (GB))"
|
|
701
701
|
};
|
|
702
|
-
const listing$
|
|
702
|
+
const listing$n = {
|
|
703
703
|
addNewSet: "Add new set"
|
|
704
704
|
};
|
|
705
705
|
const create$d = {
|
|
@@ -733,7 +733,7 @@ const dialogs$7 = {
|
|
|
733
733
|
};
|
|
734
734
|
const administrationCustomField = {
|
|
735
735
|
common: common$b,
|
|
736
|
-
listing: listing$
|
|
736
|
+
listing: listing$n,
|
|
737
737
|
create: create$d,
|
|
738
738
|
detail: detail$n,
|
|
739
739
|
general: general$9,
|
|
@@ -758,7 +758,7 @@ const administrationDataSharing = {
|
|
|
758
758
|
headlines: headlines$1
|
|
759
759
|
};
|
|
760
760
|
|
|
761
|
-
const listing$
|
|
761
|
+
const listing$m = {
|
|
762
762
|
addDocument: "Add document"
|
|
763
763
|
};
|
|
764
764
|
const types$1 = {
|
|
@@ -769,7 +769,7 @@ const detail$m = {
|
|
|
769
769
|
save: "Save"
|
|
770
770
|
};
|
|
771
771
|
const administrationDocument = {
|
|
772
|
-
listing: listing$
|
|
772
|
+
listing: listing$m,
|
|
773
773
|
types: types$1,
|
|
774
774
|
detail: detail$m
|
|
775
775
|
};
|
|
@@ -798,7 +798,7 @@ const administrationLandingPage = {
|
|
|
798
798
|
layout: layout$1
|
|
799
799
|
};
|
|
800
800
|
|
|
801
|
-
const listing$
|
|
801
|
+
const listing$l = {
|
|
802
802
|
createNewLayout: "Create new layout"
|
|
803
803
|
};
|
|
804
804
|
const create$b = {
|
|
@@ -822,7 +822,7 @@ const detail$l = {
|
|
|
822
822
|
layoutAssignment: "Layout assignment"
|
|
823
823
|
};
|
|
824
824
|
const administrationLayout = {
|
|
825
|
-
listing: listing$
|
|
825
|
+
listing: listing$l,
|
|
826
826
|
create: create$b,
|
|
827
827
|
detail: detail$l
|
|
828
828
|
};
|
|
@@ -838,7 +838,7 @@ const administrationLogin = {
|
|
|
838
838
|
loginButton: loginButton$3
|
|
839
839
|
};
|
|
840
840
|
|
|
841
|
-
const listing$
|
|
841
|
+
const listing$k = {
|
|
842
842
|
"delete": "Delete",
|
|
843
843
|
downloadFlow: "Download flow",
|
|
844
844
|
testFlow: "Test flow",
|
|
@@ -866,7 +866,7 @@ const messages$6 = {
|
|
|
866
866
|
deleteConfirmation: "If you delete this flow, no more actions will be performed for the trigger. Are you sure you want to delete this flow?"
|
|
867
867
|
};
|
|
868
868
|
const administrationFlowBuilder = {
|
|
869
|
-
listing: listing$
|
|
869
|
+
listing: listing$k,
|
|
870
870
|
create: create$a,
|
|
871
871
|
detail: detail$k,
|
|
872
872
|
templates: templates$1,
|
|
@@ -898,7 +898,7 @@ const administrationDashboard = {
|
|
|
898
898
|
order: order$1
|
|
899
899
|
};
|
|
900
900
|
|
|
901
|
-
const listing$
|
|
901
|
+
const listing$j = {
|
|
902
902
|
addManufacturer: "Add manufacturer"
|
|
903
903
|
};
|
|
904
904
|
const create$9 = {
|
|
@@ -919,7 +919,7 @@ const dialogs$6 = {
|
|
|
919
919
|
warning: "Warning"
|
|
920
920
|
};
|
|
921
921
|
const administrationManufacturer = {
|
|
922
|
-
listing: listing$
|
|
922
|
+
listing: listing$j,
|
|
923
923
|
create: create$9,
|
|
924
924
|
detail: detail$j,
|
|
925
925
|
actions: actions$f,
|
|
@@ -956,7 +956,7 @@ const tabs$8 = {
|
|
|
956
956
|
details: "Details",
|
|
957
957
|
documents: "Documents"
|
|
958
958
|
};
|
|
959
|
-
const listing$
|
|
959
|
+
const listing$i = {
|
|
960
960
|
addOrder: "Add order"
|
|
961
961
|
};
|
|
962
962
|
const actions$d = {
|
|
@@ -971,7 +971,7 @@ const administrationOrder = {
|
|
|
971
971
|
detail: detail$i,
|
|
972
972
|
contextMenu: contextMenu$1,
|
|
973
973
|
tabs: tabs$8,
|
|
974
|
-
listing: listing$
|
|
974
|
+
listing: listing$i,
|
|
975
975
|
actions: actions$d,
|
|
976
976
|
dialogs: dialogs$5
|
|
977
977
|
};
|
|
@@ -1060,7 +1060,7 @@ const common$9 = {
|
|
|
1060
1060
|
name: "Name",
|
|
1061
1061
|
availabilityRule: "Availability rule"
|
|
1062
1062
|
};
|
|
1063
|
-
const listing$
|
|
1063
|
+
const listing$h = {
|
|
1064
1064
|
addShippingMethod: "Add shipping method"
|
|
1065
1065
|
};
|
|
1066
1066
|
const detail$g = {
|
|
@@ -1077,7 +1077,7 @@ const dialogs$4 = {
|
|
|
1077
1077
|
};
|
|
1078
1078
|
const administrationShipping = {
|
|
1079
1079
|
common: common$9,
|
|
1080
|
-
listing: listing$
|
|
1080
|
+
listing: listing$h,
|
|
1081
1081
|
detail: detail$g,
|
|
1082
1082
|
methods: methods$4,
|
|
1083
1083
|
dialogs: dialogs$4
|
|
@@ -1101,7 +1101,7 @@ const administrationYourProfile = {
|
|
|
1101
1101
|
buttons: buttons$c
|
|
1102
1102
|
};
|
|
1103
1103
|
|
|
1104
|
-
const listing$
|
|
1104
|
+
const listing$g = {
|
|
1105
1105
|
customerGroups: "Customer groups"
|
|
1106
1106
|
};
|
|
1107
1107
|
const detail$f = {
|
|
@@ -1117,7 +1117,7 @@ const create$8 = {
|
|
|
1117
1117
|
seoMetaDescription: "SEO meta description"
|
|
1118
1118
|
};
|
|
1119
1119
|
const administrationCustomerGroup = {
|
|
1120
|
-
listing: listing$
|
|
1120
|
+
listing: listing$g,
|
|
1121
1121
|
detail: detail$f,
|
|
1122
1122
|
create: create$8
|
|
1123
1123
|
};
|
|
@@ -1215,7 +1215,7 @@ const bulkEdit$2 = {
|
|
|
1215
1215
|
success: "Bulk edit - Success",
|
|
1216
1216
|
close: "Close"
|
|
1217
1217
|
};
|
|
1218
|
-
const listing$
|
|
1218
|
+
const listing$f = {
|
|
1219
1219
|
bulkEdit: "Bulk edit",
|
|
1220
1220
|
startBulkEdit: "Start bulk edit"
|
|
1221
1221
|
};
|
|
@@ -1252,7 +1252,7 @@ const administrationProduct = {
|
|
|
1252
1252
|
flows: flows$1,
|
|
1253
1253
|
errors: errors$3,
|
|
1254
1254
|
bulkEdit: bulkEdit$2,
|
|
1255
|
-
listing: listing$
|
|
1255
|
+
listing: listing$f,
|
|
1256
1256
|
tabs: tabs$5,
|
|
1257
1257
|
buttons: buttons$9,
|
|
1258
1258
|
modals: modals$2,
|
|
@@ -1393,9 +1393,11 @@ const storefrontAddress = {
|
|
|
1393
1393
|
|
|
1394
1394
|
const common$6 = {
|
|
1395
1395
|
back: "Back",
|
|
1396
|
+
paymentMethod: "Payment method",
|
|
1396
1397
|
cashOnDelivery: "Cash on delivery",
|
|
1397
1398
|
paidInAdvance: "Paid in advance",
|
|
1398
1399
|
invoice: "Invoice",
|
|
1400
|
+
shippingMethod: "Shipping method",
|
|
1399
1401
|
standard: "Standard",
|
|
1400
1402
|
express: "Express",
|
|
1401
1403
|
grandTotal: "Grand total",
|
|
@@ -1444,7 +1446,7 @@ const review$1 = {
|
|
|
1444
1446
|
emptyText: "No reviews found. Share your insights with others.",
|
|
1445
1447
|
submitMessage: "Thank you for submitting your review. We will examine the review and eventually unlock it, please be patient."
|
|
1446
1448
|
};
|
|
1447
|
-
const listing$
|
|
1449
|
+
const listing$e = {
|
|
1448
1450
|
sorting: "Sorting",
|
|
1449
1451
|
noProductsFound: "No products found."
|
|
1450
1452
|
};
|
|
@@ -1455,7 +1457,7 @@ const storefrontProduct = {
|
|
|
1455
1457
|
removeFromWishlist: removeFromWishlist$1,
|
|
1456
1458
|
deliveryTime: deliveryTime$1,
|
|
1457
1459
|
review: review$1,
|
|
1458
|
-
listing: listing$
|
|
1460
|
+
listing: listing$e
|
|
1459
1461
|
};
|
|
1460
1462
|
|
|
1461
1463
|
const pageNotFound$1 = {
|
|
@@ -1518,17 +1520,26 @@ const storefrontConsent = {
|
|
|
1518
1520
|
cookie: cookie$1
|
|
1519
1521
|
};
|
|
1520
1522
|
|
|
1523
|
+
const topBarNav$1 = "Shop settings";
|
|
1524
|
+
const currencyDropdown$1 = "Change currency";
|
|
1525
|
+
const languageDropdown$1 = "Change language";
|
|
1521
1526
|
const skipToContentLink$1 = "Skip to main content";
|
|
1522
1527
|
const searchInputAriaLabel$1 = "Enter search term...";
|
|
1528
|
+
const wishlistIcon$1 = "Wishlist";
|
|
1523
1529
|
const storefrontHeader = {
|
|
1530
|
+
topBarNav: topBarNav$1,
|
|
1531
|
+
currencyDropdown: currencyDropdown$1,
|
|
1532
|
+
languageDropdown: languageDropdown$1,
|
|
1524
1533
|
skipToContentLink: skipToContentLink$1,
|
|
1525
|
-
searchInputAriaLabel: searchInputAriaLabel$1
|
|
1534
|
+
searchInputAriaLabel: searchInputAriaLabel$1,
|
|
1535
|
+
wishlistIcon: wishlistIcon$1
|
|
1526
1536
|
};
|
|
1527
1537
|
|
|
1528
1538
|
const account$1 = {
|
|
1529
1539
|
yourAccount: "Your account"
|
|
1530
1540
|
};
|
|
1531
1541
|
const consent$1 = {
|
|
1542
|
+
close: "Close cookie preferences",
|
|
1532
1543
|
onlyTechnicallyRequired: "Only technically required",
|
|
1533
1544
|
configure: "Configure",
|
|
1534
1545
|
acceptAllCookies: "Accept all cookies",
|
|
@@ -1536,15 +1547,22 @@ const consent$1 = {
|
|
|
1536
1547
|
marketing: "Marketing"
|
|
1537
1548
|
};
|
|
1538
1549
|
const filters$1 = {
|
|
1550
|
+
filterPanel: "Filter products",
|
|
1551
|
+
labelPrefix: "Filter by ",
|
|
1539
1552
|
manufacturer: "Manufacturer",
|
|
1540
1553
|
price: "Price",
|
|
1541
1554
|
resetAll: "Reset all",
|
|
1542
|
-
freeShipping: "Free shipping"
|
|
1555
|
+
freeShipping: "Add filter: Free shipping",
|
|
1556
|
+
rating: "minimum rating"
|
|
1557
|
+
};
|
|
1558
|
+
const listing$d = {
|
|
1559
|
+
addToShoppingCart: "Add to shopping cart"
|
|
1543
1560
|
};
|
|
1544
1561
|
const storefrontHome = {
|
|
1545
1562
|
account: account$1,
|
|
1546
1563
|
consent: consent$1,
|
|
1547
|
-
filters: filters$1
|
|
1564
|
+
filters: filters$1,
|
|
1565
|
+
listing: listing$d
|
|
1548
1566
|
};
|
|
1549
1567
|
|
|
1550
1568
|
const emailAddress$2 = "Your email address";
|
|
@@ -1653,6 +1671,11 @@ const storefrontOffCanvasCart = {
|
|
|
1653
1671
|
buttons: buttons$8
|
|
1654
1672
|
};
|
|
1655
1673
|
|
|
1674
|
+
const removeProduct$1 = "Remove from wishlist";
|
|
1675
|
+
const storefrontWishlist = {
|
|
1676
|
+
removeProduct: removeProduct$1
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1656
1679
|
const general$5 = {
|
|
1657
1680
|
name: "Name",
|
|
1658
1681
|
active: "Aktiv",
|
|
@@ -1700,7 +1723,7 @@ const deAdministrationCategory = {
|
|
|
1700
1723
|
entities: entities
|
|
1701
1724
|
};
|
|
1702
1725
|
|
|
1703
|
-
const listing$
|
|
1726
|
+
const listing$c = {
|
|
1704
1727
|
customers: "Kunden",
|
|
1705
1728
|
bulkEdit: "Massenbearbeitung",
|
|
1706
1729
|
startBulkEdit: "Massenbearbeitung starten",
|
|
@@ -1739,12 +1762,12 @@ const bulkEdit$1 = {
|
|
|
1739
1762
|
}
|
|
1740
1763
|
};
|
|
1741
1764
|
const deAdministrationCustomer = {
|
|
1742
|
-
listing: listing$
|
|
1765
|
+
listing: listing$c,
|
|
1743
1766
|
detail: detail$d,
|
|
1744
1767
|
bulkEdit: bulkEdit$1
|
|
1745
1768
|
};
|
|
1746
1769
|
|
|
1747
|
-
const listing$
|
|
1770
|
+
const listing$b = {
|
|
1748
1771
|
addCustomerGroup: "Kundengruppe hinzufügen",
|
|
1749
1772
|
customerGroups: "Kundengruppen"
|
|
1750
1773
|
};
|
|
@@ -1766,7 +1789,7 @@ const detail$c = {
|
|
|
1766
1789
|
technicalUrl: "Technische URL"
|
|
1767
1790
|
};
|
|
1768
1791
|
const deAdministrationCustomerGroup = {
|
|
1769
|
-
listing: listing$
|
|
1792
|
+
listing: listing$b,
|
|
1770
1793
|
create: create$7,
|
|
1771
1794
|
detail: detail$c
|
|
1772
1795
|
};
|
|
@@ -1779,7 +1802,7 @@ const common$5 = {
|
|
|
1779
1802
|
customFieldSet: "Eigene Felder Set",
|
|
1780
1803
|
labelEnglishGB: "Label (English (GB))"
|
|
1781
1804
|
};
|
|
1782
|
-
const listing$
|
|
1805
|
+
const listing$a = {
|
|
1783
1806
|
addCustomField: "Eigenes Feld hinzufügen",
|
|
1784
1807
|
addNewSet: "Set anlegen"
|
|
1785
1808
|
};
|
|
@@ -1819,7 +1842,7 @@ const dialogs$3 = {
|
|
|
1819
1842
|
};
|
|
1820
1843
|
const deAdministrationCustomField = {
|
|
1821
1844
|
common: common$5,
|
|
1822
|
-
listing: listing$
|
|
1845
|
+
listing: listing$a,
|
|
1823
1846
|
create: create$6,
|
|
1824
1847
|
detail: detail$b,
|
|
1825
1848
|
general: general$4,
|
|
@@ -1869,7 +1892,7 @@ const deAdministrationDataSharing = {
|
|
|
1869
1892
|
headlines: headlines
|
|
1870
1893
|
};
|
|
1871
1894
|
|
|
1872
|
-
const listing$
|
|
1895
|
+
const listing$9 = {
|
|
1873
1896
|
addDocument: "Dokument hinzufügen"
|
|
1874
1897
|
};
|
|
1875
1898
|
const types = {
|
|
@@ -1880,7 +1903,7 @@ const detail$a = {
|
|
|
1880
1903
|
save: "Speichern"
|
|
1881
1904
|
};
|
|
1882
1905
|
const deAdministrationDocument = {
|
|
1883
|
-
listing: listing$
|
|
1906
|
+
listing: listing$9,
|
|
1884
1907
|
types: types,
|
|
1885
1908
|
detail: detail$a
|
|
1886
1909
|
};
|
|
@@ -1927,7 +1950,7 @@ const deAdministrationFirstRunWizard = {
|
|
|
1927
1950
|
regions: regions
|
|
1928
1951
|
};
|
|
1929
1952
|
|
|
1930
|
-
const listing$
|
|
1953
|
+
const listing$8 = {
|
|
1931
1954
|
addFlow: "Flow hinzufügen",
|
|
1932
1955
|
"delete": "Löschen",
|
|
1933
1956
|
downloadFlow: "Herunterladen",
|
|
@@ -1963,7 +1986,7 @@ const messages$2 = {
|
|
|
1963
1986
|
deleteConfirmation: "Löschen"
|
|
1964
1987
|
};
|
|
1965
1988
|
const deAdministrationFlowBuilder = {
|
|
1966
|
-
listing: listing$
|
|
1989
|
+
listing: listing$8,
|
|
1967
1990
|
create: create$5,
|
|
1968
1991
|
detail: detail$9,
|
|
1969
1992
|
templates: templates,
|
|
@@ -2003,7 +2026,7 @@ const deAdministrationLandingPage = {
|
|
|
2003
2026
|
layout: layout
|
|
2004
2027
|
};
|
|
2005
2028
|
|
|
2006
|
-
const listing$
|
|
2029
|
+
const listing$7 = {
|
|
2007
2030
|
createNewLayout: "Neues Layout erstellen"
|
|
2008
2031
|
};
|
|
2009
2032
|
const create$3 = {
|
|
@@ -2027,7 +2050,7 @@ const detail$7 = {
|
|
|
2027
2050
|
layoutAssignment: "Layout-Zuordnung"
|
|
2028
2051
|
};
|
|
2029
2052
|
const deAdministrationLayout = {
|
|
2030
|
-
listing: listing$
|
|
2053
|
+
listing: listing$7,
|
|
2031
2054
|
create: create$3,
|
|
2032
2055
|
detail: detail$7
|
|
2033
2056
|
};
|
|
@@ -2043,7 +2066,7 @@ const deAdministrationLogin = {
|
|
|
2043
2066
|
loginButton: loginButton$1
|
|
2044
2067
|
};
|
|
2045
2068
|
|
|
2046
|
-
const listing$
|
|
2069
|
+
const listing$6 = {
|
|
2047
2070
|
addManufacturer: "Hersteller anlegen"
|
|
2048
2071
|
};
|
|
2049
2072
|
const create$2 = {
|
|
@@ -2064,7 +2087,7 @@ const dialogs$2 = {
|
|
|
2064
2087
|
warning: "Warnung"
|
|
2065
2088
|
};
|
|
2066
2089
|
const deAdministrationManufacturer = {
|
|
2067
|
-
listing: listing$
|
|
2090
|
+
listing: listing$6,
|
|
2068
2091
|
create: create$2,
|
|
2069
2092
|
detail: detail$6,
|
|
2070
2093
|
actions: actions$6,
|
|
@@ -2101,7 +2124,7 @@ const tabs$3 = {
|
|
|
2101
2124
|
details: "Details",
|
|
2102
2125
|
documents: "Dokumente"
|
|
2103
2126
|
};
|
|
2104
|
-
const listing$
|
|
2127
|
+
const listing$5 = {
|
|
2105
2128
|
addOrder: "Bestellung anlegen"
|
|
2106
2129
|
};
|
|
2107
2130
|
const actions$4 = {
|
|
@@ -2116,7 +2139,7 @@ const deAdministrationOrder = {
|
|
|
2116
2139
|
detail: detail$5,
|
|
2117
2140
|
contextMenu: contextMenu,
|
|
2118
2141
|
tabs: tabs$3,
|
|
2119
|
-
listing: listing$
|
|
2142
|
+
listing: listing$5,
|
|
2120
2143
|
actions: actions$4,
|
|
2121
2144
|
dialogs: dialogs$1
|
|
2122
2145
|
};
|
|
@@ -2139,7 +2162,7 @@ const deAdministrationPayment = {
|
|
|
2139
2162
|
methods: methods$2
|
|
2140
2163
|
};
|
|
2141
2164
|
|
|
2142
|
-
const listing$
|
|
2165
|
+
const listing$4 = {
|
|
2143
2166
|
addProduct: "Produkt hinzufügen",
|
|
2144
2167
|
bulkEdit: "Massenbearbeitung",
|
|
2145
2168
|
startBulkEdit: "Bearbeiten"
|
|
@@ -2208,7 +2231,7 @@ const propertyValues = {
|
|
|
2208
2231
|
large: "Groß"
|
|
2209
2232
|
};
|
|
2210
2233
|
const deAdministrationProduct = {
|
|
2211
|
-
listing: listing$
|
|
2234
|
+
listing: listing$4,
|
|
2212
2235
|
create: create$1,
|
|
2213
2236
|
detail: detail$3,
|
|
2214
2237
|
errors: errors$1,
|
|
@@ -2221,7 +2244,7 @@ const deAdministrationProduct = {
|
|
|
2221
2244
|
propertyValues: propertyValues
|
|
2222
2245
|
};
|
|
2223
2246
|
|
|
2224
|
-
const listing$
|
|
2247
|
+
const listing$3 = {
|
|
2225
2248
|
addPromotion: "Promotion hinzufügen"
|
|
2226
2249
|
};
|
|
2227
2250
|
const create = {
|
|
@@ -2261,7 +2284,7 @@ const cards = {
|
|
|
2261
2284
|
preConditions: "Voraussetzungen"
|
|
2262
2285
|
};
|
|
2263
2286
|
const deAdministrationPromotion = {
|
|
2264
|
-
listing: listing$
|
|
2287
|
+
listing: listing$3,
|
|
2265
2288
|
create: create,
|
|
2266
2289
|
detail: detail$2,
|
|
2267
2290
|
actions: actions$3,
|
|
@@ -2306,7 +2329,7 @@ const common$3 = {
|
|
|
2306
2329
|
name: "Name",
|
|
2307
2330
|
availabilityRule: "Verfügbarkeitsregel"
|
|
2308
2331
|
};
|
|
2309
|
-
const listing$
|
|
2332
|
+
const listing$2 = {
|
|
2310
2333
|
addShippingMethod: "Versandart hinzufügen"
|
|
2311
2334
|
};
|
|
2312
2335
|
const detail$1 = {
|
|
@@ -2323,7 +2346,7 @@ const dialogs = {
|
|
|
2323
2346
|
};
|
|
2324
2347
|
const deAdministrationShipping = {
|
|
2325
2348
|
common: common$3,
|
|
2326
|
-
listing: listing$
|
|
2349
|
+
listing: listing$2,
|
|
2327
2350
|
detail: detail$1,
|
|
2328
2351
|
methods: methods$1,
|
|
2329
2352
|
dialogs: dialogs
|
|
@@ -2540,9 +2563,11 @@ const deStorefrontAddress = {
|
|
|
2540
2563
|
|
|
2541
2564
|
const common = {
|
|
2542
2565
|
back: "Zurück",
|
|
2566
|
+
paymentMethod: "Zahlungsart",
|
|
2543
2567
|
cashOnDelivery: "Nachnahme",
|
|
2544
2568
|
paidInAdvance: "Vorkasse",
|
|
2545
2569
|
invoice: "Rechnung",
|
|
2570
|
+
shippingMethod: "Versandart",
|
|
2546
2571
|
standard: "Standard",
|
|
2547
2572
|
express: "Express",
|
|
2548
2573
|
grandTotal: "Gesamtsumme",
|
|
@@ -2560,6 +2585,12 @@ const cart = {
|
|
|
2560
2585
|
stockReached: "nur noch 1x verfügbar"
|
|
2561
2586
|
};
|
|
2562
2587
|
const confirm = {
|
|
2588
|
+
confirmOrder: "Bestellung bestätigen",
|
|
2589
|
+
orderSummary: "Bestellübersicht",
|
|
2590
|
+
shippingAddress: "Lieferadresse",
|
|
2591
|
+
billingAddress: "Rechnungsadresse",
|
|
2592
|
+
agreeToTerms: "Ich stimme den AGBs zu",
|
|
2593
|
+
revocationNotice: "Widerrufsbelehrung",
|
|
2563
2594
|
completeOrder: "Bestellung abschließen",
|
|
2564
2595
|
submitOrder: "Zahlungspflichtig bestellen",
|
|
2565
2596
|
termsAndConditions: "Ich habe die AGB gelesen und bin mit ihnen einverstanden.",
|
|
@@ -2627,17 +2658,26 @@ const deStorefrontContact = {
|
|
|
2627
2658
|
title: title$2
|
|
2628
2659
|
};
|
|
2629
2660
|
|
|
2661
|
+
const topBarNav = "Shop-Einstellungen";
|
|
2662
|
+
const currencyDropdown = "Währung ändern";
|
|
2663
|
+
const languageDropdown = "Sprache ändern";
|
|
2630
2664
|
const skipToContentLink = "Zum Hauptinhalt springen";
|
|
2631
2665
|
const searchInputAriaLabel = "Suchbegriff eingeben ...";
|
|
2666
|
+
const wishlistIcon = "Merkzettel";
|
|
2632
2667
|
const deStorefrontHeader = {
|
|
2668
|
+
topBarNav: topBarNav,
|
|
2669
|
+
currencyDropdown: currencyDropdown,
|
|
2670
|
+
languageDropdown: languageDropdown,
|
|
2633
2671
|
skipToContentLink: skipToContentLink,
|
|
2634
|
-
searchInputAriaLabel: searchInputAriaLabel
|
|
2672
|
+
searchInputAriaLabel: searchInputAriaLabel,
|
|
2673
|
+
wishlistIcon: wishlistIcon
|
|
2635
2674
|
};
|
|
2636
2675
|
|
|
2637
2676
|
const account = {
|
|
2638
2677
|
yourAccount: "Ihr Konto"
|
|
2639
2678
|
};
|
|
2640
2679
|
const consent = {
|
|
2680
|
+
close: "Cookie-Voreinstellungen schließen",
|
|
2641
2681
|
onlyTechnicallyRequired: "Nur technisch erforderlich",
|
|
2642
2682
|
configure: "Konfigurieren",
|
|
2643
2683
|
acceptAllCookies: "Alle Cookies akzeptieren",
|
|
@@ -2645,15 +2685,22 @@ const consent = {
|
|
|
2645
2685
|
marketing: "Marketing"
|
|
2646
2686
|
};
|
|
2647
2687
|
const filters = {
|
|
2688
|
+
filterPanel: "Produkte filtern",
|
|
2689
|
+
labelPrefix: "Filtern nach ",
|
|
2648
2690
|
manufacturer: "Hersteller",
|
|
2649
2691
|
price: "Preis",
|
|
2650
2692
|
resetAll: "Alle zurücksetzen",
|
|
2651
|
-
freeShipping: "
|
|
2693
|
+
freeShipping: "Filter hinzufügen: Versandkostenfrei",
|
|
2694
|
+
rating: "Mindestbewertung"
|
|
2695
|
+
};
|
|
2696
|
+
const listing$1 = {
|
|
2697
|
+
addToShoppingCart: "In den Warenkorb"
|
|
2652
2698
|
};
|
|
2653
2699
|
const deStorefrontHome = {
|
|
2654
2700
|
account: account,
|
|
2655
2701
|
consent: consent,
|
|
2656
|
-
filters: filters
|
|
2702
|
+
filters: filters,
|
|
2703
|
+
listing: listing$1
|
|
2657
2704
|
};
|
|
2658
2705
|
|
|
2659
2706
|
const emailAddress = "Ihre E-Mail-Adresse";
|
|
@@ -2860,6 +2907,11 @@ const deStorefrontRecover = {
|
|
|
2860
2907
|
invalidLink: invalidLink
|
|
2861
2908
|
};
|
|
2862
2909
|
|
|
2910
|
+
const removeProduct = "Vom Merkzettel entfernen";
|
|
2911
|
+
const deStorefrontWishlist = {
|
|
2912
|
+
removeProduct: removeProduct
|
|
2913
|
+
};
|
|
2914
|
+
|
|
2863
2915
|
const BUNDLED_RESOURCES = {
|
|
2864
2916
|
en: {
|
|
2865
2917
|
// Administration
|
|
@@ -2901,7 +2953,8 @@ const BUNDLED_RESOURCES = {
|
|
|
2901
2953
|
"storefront/pageNotFound": storefrontPageNotFound,
|
|
2902
2954
|
"storefront/payment": storefrontPayment,
|
|
2903
2955
|
"storefront/recover": storefrontRecover,
|
|
2904
|
-
"storefront/offCanvasCart": storefrontOffCanvasCart
|
|
2956
|
+
"storefront/offCanvasCart": storefrontOffCanvasCart,
|
|
2957
|
+
"storefront/wishlist": storefrontWishlist
|
|
2905
2958
|
},
|
|
2906
2959
|
de: {
|
|
2907
2960
|
// Administration
|
|
@@ -2943,7 +2996,8 @@ const BUNDLED_RESOURCES = {
|
|
|
2943
2996
|
"storefront/pageNotFound": deStorefrontPageNotFound,
|
|
2944
2997
|
"storefront/payment": deStorefrontPayment,
|
|
2945
2998
|
"storefront/product": deStorefrontProduct,
|
|
2946
|
-
"storefront/recover": deStorefrontRecover
|
|
2999
|
+
"storefront/recover": deStorefrontRecover,
|
|
3000
|
+
"storefront/wishlist": deStorefrontWishlist
|
|
2947
3001
|
}
|
|
2948
3002
|
};
|
|
2949
3003
|
const baseNamespaces = {
|
|
@@ -2987,7 +3041,8 @@ const baseNamespaces = {
|
|
|
2987
3041
|
pageNotFound: storefrontPageNotFound,
|
|
2988
3042
|
payment: storefrontPayment,
|
|
2989
3043
|
recover: storefrontRecover,
|
|
2990
|
-
offCanvasCart: storefrontOffCanvasCart
|
|
3044
|
+
offCanvasCart: storefrontOffCanvasCart,
|
|
3045
|
+
wishlist: storefrontWishlist
|
|
2991
3046
|
}
|
|
2992
3047
|
};
|
|
2993
3048
|
|
|
@@ -6325,6 +6380,7 @@ class Home {
|
|
|
6325
6380
|
consentCookiePreferences;
|
|
6326
6381
|
consentCookiePermissionContent;
|
|
6327
6382
|
consentDialog;
|
|
6383
|
+
consentDialogCloseButton;
|
|
6328
6384
|
consentDialogTechnicallyRequiredCheckbox;
|
|
6329
6385
|
consentDialogStatisticsCheckbox;
|
|
6330
6386
|
/**
|
|
@@ -6383,6 +6439,7 @@ class Home {
|
|
|
6383
6439
|
this.consentCookiePreferences = page.getByLabel(translate("storefront:home:consent.cookiePreferences"));
|
|
6384
6440
|
this.consentCookiePermissionContent = page.locator(".cookie-permission-content");
|
|
6385
6441
|
this.consentDialog = page.getByRole("dialog").filter({ hasText: translate("storefront:home:consent.cookiePreferences") });
|
|
6442
|
+
this.consentDialogCloseButton = this.consentDialog.getByRole("button", { name: translate("storefront:home:consent.close") });
|
|
6386
6443
|
this.consentDialogTechnicallyRequiredCheckbox = this.consentDialog.getByRole("checkbox", {
|
|
6387
6444
|
name: "Technically required",
|
|
6388
6445
|
exact: true
|
|
@@ -6406,30 +6463,30 @@ class Home {
|
|
|
6406
6463
|
this.contactFormLink = this.page.getByRole("listitem").getByTitle("Contact form", { exact: true });
|
|
6407
6464
|
this.wishlistIcon = page.locator(".header-wishlist-icon");
|
|
6408
6465
|
this.wishlistBasket = page.locator(".header-wishlist-badge");
|
|
6409
|
-
this.filterMultiSelect = page.
|
|
6466
|
+
this.filterMultiSelect = page.getByLabel(translate("storefront:home:filters.filterPanel")).getByRole("list");
|
|
6467
|
+
this.freeShippingFilter = this.filterMultiSelect.getByLabel(translate("storefront:home:filters.freeShipping"));
|
|
6410
6468
|
this.manufacturerFilter = this.filterMultiSelect.getByRole("button", { name: translate("storefront:home:filters.manufacturer") });
|
|
6469
|
+
this.priceFilterButton = this.filterMultiSelect.getByRole("button", { name: translate("storefront:home:filters.price") }).first();
|
|
6470
|
+
this.productRatingButton = this.filterMultiSelect.getByRole("button", { name: translate("storefront:home:filters.rating") });
|
|
6471
|
+
this.productRatingList = this.filterMultiSelect.locator(".filter-multi-select-rating").getByRole("list");
|
|
6411
6472
|
this.propertyFilters = page.locator(".filter-multi-select-properties");
|
|
6412
|
-
this.priceFilterButton = page.getByRole("button", { name: translate("storefront:home:filters.price") }).first();
|
|
6413
6473
|
this.resetAllButton = page.getByRole("button", { name: translate("storefront:home:filters.resetAll") });
|
|
6414
|
-
this.
|
|
6474
|
+
this.loader = page.locator(".has-element-loader");
|
|
6415
6475
|
this.productList = page.locator(".cms-listing-row");
|
|
6416
6476
|
this.productItemNames = this.productList.locator(".product-name");
|
|
6417
|
-
this.productRatingButton = this.filterMultiSelect.locator('.btn:has-text("Rating min.")');
|
|
6418
|
-
this.productRatingList = page.locator(".filter-rating-select-list-item");
|
|
6419
|
-
this.loader = page.locator(".has-element-loader");
|
|
6420
6477
|
this.productVariantCharacteristicsOptions = page.locator(".product-variant-characteristics-option");
|
|
6421
6478
|
}
|
|
6422
6479
|
async getRatingItemLocatorByRating(rating) {
|
|
6423
|
-
return this.productRatingList.
|
|
6480
|
+
return this.productRatingList.getByText(`min. ${rating}/5`);
|
|
6424
6481
|
}
|
|
6425
6482
|
async getFilterItemByFilterName(filterName) {
|
|
6426
6483
|
return this.filterMultiSelect.getByRole("checkbox", { name: filterName });
|
|
6427
6484
|
}
|
|
6428
6485
|
async getFilterButtonByFilterName(filterName) {
|
|
6429
|
-
return this.filterMultiSelect.getByRole("button", { name: filterName });
|
|
6486
|
+
return this.filterMultiSelect.getByRole("button", { name: `${translate("storefront:home:filters.labelPrefix").concat(filterName)}` });
|
|
6430
6487
|
}
|
|
6431
6488
|
async getMenuItemByCategoryName(categoryName) {
|
|
6432
|
-
const menuNavigationItem = this.page.locator(".nav-main").
|
|
6489
|
+
const menuNavigationItem = this.page.locator(".nav-main").getByRole("link", { name: categoryName, exact: true });
|
|
6433
6490
|
const offcanvasNavigationItem = this.page.locator(".js-navigation-offcanvas-initial-content").getByText(categoryName, { exact: true });
|
|
6434
6491
|
const breadcrumbNavigationItem = this.page.locator(".cms-breadcrumb").getByText(categoryName, { exact: true });
|
|
6435
6492
|
const breadcrumbNavigationLinkItem = this.page.locator(".breadcrumb-item").filter({ has: this.page.getByText(categoryName, { exact: true }) }).getByRole("link");
|
|
@@ -6482,7 +6539,7 @@ class Home {
|
|
|
6482
6539
|
};
|
|
6483
6540
|
}
|
|
6484
6541
|
async getListingItemByProductName(productListingName) {
|
|
6485
|
-
const listingItem = this.page.getByRole("listitem").filter({
|
|
6542
|
+
const listingItem = this.page.getByRole("listitem").filter({ hasText: productListingName });
|
|
6486
6543
|
const productImage = listingItem.locator(".product-image-link");
|
|
6487
6544
|
const productRating = listingItem.locator(".product-rating");
|
|
6488
6545
|
const productVariantCharacteristics = listingItem.locator(".product-variant-characteristics");
|
|
@@ -6491,9 +6548,7 @@ class Home {
|
|
|
6491
6548
|
const productCheapestPrice = listingItem.locator(".product-cheapest-price");
|
|
6492
6549
|
const productPrice = listingItem.locator(".product-price");
|
|
6493
6550
|
const productName = listingItem.locator(".product-name");
|
|
6494
|
-
const productAddToShoppingCart = listingItem.getByRole("button", {
|
|
6495
|
-
name: "Add to shopping cart"
|
|
6496
|
-
});
|
|
6551
|
+
const productAddToShoppingCart = listingItem.getByRole("button", { name: translate("storefront:home:listing.addToShoppingCart") });
|
|
6497
6552
|
const productListingPrice = listingItem.locator(".list-price-price");
|
|
6498
6553
|
const productListingPricePercentage = listingItem.locator(".list-price-percentage");
|
|
6499
6554
|
const productListingPriceBadge = listingItem.locator(".badge-discount");
|
|
@@ -6541,6 +6596,7 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
6541
6596
|
offCanvasLineItemDeliveryDate;
|
|
6542
6597
|
wishlistAddedButton;
|
|
6543
6598
|
wishlistNotAddedButton;
|
|
6599
|
+
propertyRadioGroup;
|
|
6544
6600
|
productDetailConfigurator;
|
|
6545
6601
|
productDetailConfiguratorGroupTitle;
|
|
6546
6602
|
productDetailConfiguratorOptionInputs;
|
|
@@ -6592,6 +6648,7 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
6592
6648
|
this.offCanvasLineItemDeliveryDate = page.locator(".line-item-delivery-date");
|
|
6593
6649
|
this.wishlistAddedButton = page.locator(".product-wishlist-added");
|
|
6594
6650
|
this.wishlistNotAddedButton = page.locator(".product-wishlist-not-added");
|
|
6651
|
+
this.propertyRadioGroup = (propertyName) => this.page.getByRole("group", { name: propertyName });
|
|
6595
6652
|
this.productDetailConfigurator = page.locator(".product-detail-configurator");
|
|
6596
6653
|
this.productDetailConfiguratorGroupTitle = page.locator(".product-detail-configurator-group-title");
|
|
6597
6654
|
this.productDetailConfiguratorOptionInputs = page.locator(".product-detail-configurator-option-input");
|
|
@@ -6783,15 +6840,19 @@ class CheckoutConfirm {
|
|
|
6783
6840
|
taxPrice;
|
|
6784
6841
|
submitOrderButton;
|
|
6785
6842
|
/**
|
|
6786
|
-
* Payment options
|
|
6843
|
+
* Payment and Shipping options
|
|
6787
6844
|
*/
|
|
6845
|
+
paymentMethodRadioGroup;
|
|
6846
|
+
shippingMethodRadioGroup;
|
|
6847
|
+
/** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
|
|
6788
6848
|
paymentCashOnDelivery;
|
|
6849
|
+
/** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
|
|
6789
6850
|
paymentPaidInAdvance;
|
|
6851
|
+
/** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
|
|
6790
6852
|
paymentInvoice;
|
|
6791
|
-
/**
|
|
6792
|
-
* Shipping options
|
|
6793
|
-
*/
|
|
6853
|
+
/** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
|
|
6794
6854
|
shippingStandard;
|
|
6855
|
+
/** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
|
|
6795
6856
|
shippingExpress;
|
|
6796
6857
|
/**
|
|
6797
6858
|
* Product details
|
|
@@ -6806,6 +6867,8 @@ class CheckoutConfirm {
|
|
|
6806
6867
|
this.grandTotalPrice = page.locator(`dt:has-text('${translate("storefront:checkout:common.grandTotal")}') + dd`);
|
|
6807
6868
|
this.taxPrice = page.locator(`dt:text-matches("${translate("storefront:checkout:common.plusVat")} [0-9]\\+\\?${translate("storefront:checkout:common.vatSuffix")}") + dd`);
|
|
6808
6869
|
this.submitOrderButton = page.getByRole("button", { name: translate("storefront:checkout:confirm.submitOrder") });
|
|
6870
|
+
this.paymentMethodRadioGroup = page.locator(".checkout-card", { hasText: translate("storefront:checkout:common.paymentMethod") });
|
|
6871
|
+
this.shippingMethodRadioGroup = page.locator(".checkout-card", { hasText: translate("storefront:checkout:common.shippingMethod") });
|
|
6809
6872
|
this.paymentCashOnDelivery = page.getByLabel(translate("storefront:checkout:common.cashOnDelivery"));
|
|
6810
6873
|
this.paymentPaidInAdvance = page.getByLabel(translate("storefront:checkout:common.paidInAdvance"));
|
|
6811
6874
|
this.paymentInvoice = page.getByLabel(translate("storefront:checkout:common.invoice"));
|
|
@@ -7316,15 +7379,19 @@ class CheckoutOrderEdit {
|
|
|
7316
7379
|
dialogOrderCancelButton;
|
|
7317
7380
|
dialogBackButton;
|
|
7318
7381
|
/**
|
|
7319
|
-
* Payment options
|
|
7382
|
+
* Payment and Shipping options
|
|
7320
7383
|
*/
|
|
7384
|
+
paymentMethodRadioGroup;
|
|
7385
|
+
shippingMethodRadioGroup;
|
|
7386
|
+
/** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
|
|
7321
7387
|
paymentCashOnDelivery;
|
|
7388
|
+
/** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
|
|
7322
7389
|
paymentPaidInAdvance;
|
|
7390
|
+
/** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
|
|
7323
7391
|
paymentInvoice;
|
|
7324
|
-
/**
|
|
7325
|
-
* Shipping options
|
|
7326
|
-
*/
|
|
7392
|
+
/** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
|
|
7327
7393
|
shippingStandard;
|
|
7394
|
+
/** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
|
|
7328
7395
|
shippingExpress;
|
|
7329
7396
|
page;
|
|
7330
7397
|
constructor(page) {
|
|
@@ -7334,6 +7401,8 @@ class CheckoutOrderEdit {
|
|
|
7334
7401
|
this.dialogOrderCancel = page.getByRole("dialog", { name: translate("storefront:order:actions.cancelOrder") });
|
|
7335
7402
|
this.dialogOrderCancelButton = this.dialogOrderCancel.getByRole("button", { name: translate("storefront:order:actions.cancelOrder") });
|
|
7336
7403
|
this.dialogBackButton = this.dialogOrderCancel.getByRole("button", { name: translate("storefront:order:actions.back") });
|
|
7404
|
+
this.paymentMethodRadioGroup = page.locator(".checkout-card", { hasText: translate("storefront:checkout:common.paymentMethod") });
|
|
7405
|
+
this.shippingMethodRadioGroup = page.locator(".checkout-card", { hasText: translate("storefront:checkout:common.shippingMethod") });
|
|
7337
7406
|
this.paymentCashOnDelivery = page.getByLabel(translate("storefront:payment:methods.cashOnDelivery"));
|
|
7338
7407
|
this.paymentPaidInAdvance = page.getByLabel(translate("storefront:payment:methods.paidInAdvance"));
|
|
7339
7408
|
this.paymentInvoice = page.getByLabel(translate("storefront:payment:methods.invoice"));
|
|
@@ -7488,7 +7557,7 @@ class Wishlist extends Home {
|
|
|
7488
7557
|
async getListingItemByProductName(productListingName) {
|
|
7489
7558
|
const baseItems = await super.getListingItemByProductName(productListingName);
|
|
7490
7559
|
const listingItem = this.page.getByRole("listitem").filter({ has: this.page.getByText(productListingName) });
|
|
7491
|
-
const removeFromWishlistButton = listingItem.
|
|
7560
|
+
const removeFromWishlistButton = listingItem.getByTitle(translate("storefront:wishlist:removeProduct"));
|
|
7492
7561
|
return {
|
|
7493
7562
|
...baseItems,
|
|
7494
7563
|
removeFromWishlistButton
|
|
@@ -7521,6 +7590,7 @@ class Footer {
|
|
|
7521
7590
|
|
|
7522
7591
|
class Header {
|
|
7523
7592
|
mainNavigationLink;
|
|
7593
|
+
topBarNav;
|
|
7524
7594
|
languagesDropdown;
|
|
7525
7595
|
languagesMenuOptions;
|
|
7526
7596
|
currenciesDropdown;
|
|
@@ -7535,13 +7605,14 @@ class Header {
|
|
|
7535
7605
|
constructor(page) {
|
|
7536
7606
|
this.page = page;
|
|
7537
7607
|
this.mainNavigationLink = page.locator(".main-navigation-link-text");
|
|
7538
|
-
this.
|
|
7539
|
-
this.
|
|
7540
|
-
this.
|
|
7541
|
-
this.
|
|
7608
|
+
this.topBarNav = page.getByRole("navigation", { name: translate("storefront:header:topBarNav") });
|
|
7609
|
+
this.languagesDropdown = this.topBarNav.locator(".top-bar-language").getByRole("button", { name: translate("storefront:header:languageDropdown") });
|
|
7610
|
+
this.languagesMenuOptions = this.topBarNav.locator(".top-bar-language").getByRole("list");
|
|
7611
|
+
this.currenciesDropdown = this.topBarNav.locator(".top-bar-currency").getByRole("button", { name: translate("storefront:header:currencyDropdown") });
|
|
7612
|
+
this.currenciesMenuOptions = this.topBarNav.locator(".top-bar-currency").getByRole("list");
|
|
7542
7613
|
this.searchInput = page.getByLabel(translate("storefront:header:searchInputAriaLabel"));
|
|
7543
7614
|
this.skipToMainContentLink = page.getByRole("link", { name: translate("storefront:header:skipToContentLink"), exact: true });
|
|
7544
|
-
this.wishlistIcon = page.
|
|
7615
|
+
this.wishlistIcon = page.getByRole("link", { name: translate("storefront:header:wishlistIcon") });
|
|
7545
7616
|
this.wishlistBasket = page.locator(".header-wishlist-badge");
|
|
7546
7617
|
}
|
|
7547
7618
|
url() {
|
|
@@ -7850,6 +7921,9 @@ class OrderDetail {
|
|
|
7850
7921
|
sendDocumentButton;
|
|
7851
7922
|
itemsCardHeader;
|
|
7852
7923
|
sentCheckmark;
|
|
7924
|
+
orderPaymentStatus;
|
|
7925
|
+
orderDeliveryStatus;
|
|
7926
|
+
orderStatus;
|
|
7853
7927
|
/**
|
|
7854
7928
|
* Tabs
|
|
7855
7929
|
*/
|
|
@@ -7878,6 +7952,9 @@ class OrderDetail {
|
|
|
7878
7952
|
} else {
|
|
7879
7953
|
this.itemsCardHeader = page.locator(".mt-card__header").getByText(translate("administration:order:detail.items"));
|
|
7880
7954
|
}
|
|
7955
|
+
this.orderPaymentStatus = page.locator(".sw-order-state-select-v2__order_transaction");
|
|
7956
|
+
this.orderDeliveryStatus = page.locator(".sw-order-state-select-v2__order_delivery");
|
|
7957
|
+
this.orderStatus = page.locator(".sw-order-state__progress-select");
|
|
7881
7958
|
this.generalTabLink = page.getByRole("tab", { name: translate("administration:order:tabs.general") });
|
|
7882
7959
|
this.detailsTabLink = page.getByRole("tab", { name: translate("administration:order:tabs.details") });
|
|
7883
7960
|
this.documentsTabLink = page.getByRole("tab", { name: translate("administration:order:tabs.documents") });
|
|
@@ -11247,13 +11324,15 @@ const LoginViaReviewsTab = test$e.extend({
|
|
|
11247
11324
|
LoginViaReviewsTab: async ({ ShopCustomer, DefaultSalesChannel, StorefrontProductDetail }, use) => {
|
|
11248
11325
|
const task = (product, customCustomer) => {
|
|
11249
11326
|
return async function LoginViaReviewsTab2() {
|
|
11327
|
+
const loginResponse = await StorefrontProductDetail.page.request.post("account/login");
|
|
11250
11328
|
const customer = customCustomer ? customCustomer : DefaultSalesChannel.customer;
|
|
11251
11329
|
await ShopCustomer.goesTo(StorefrontProductDetail.url(product));
|
|
11252
|
-
await StorefrontProductDetail.reviewsTab
|
|
11253
|
-
await StorefrontProductDetail.reviewTeaserButton
|
|
11254
|
-
await StorefrontProductDetail.reviewEmailInput
|
|
11255
|
-
await StorefrontProductDetail.reviewPasswordInput
|
|
11256
|
-
await StorefrontProductDetail.reviewLoginButton
|
|
11330
|
+
await ShopCustomer.presses(StorefrontProductDetail.reviewsTab);
|
|
11331
|
+
await ShopCustomer.presses(StorefrontProductDetail.reviewTeaserButton);
|
|
11332
|
+
await ShopCustomer.fillsIn(StorefrontProductDetail.reviewEmailInput, customer.email);
|
|
11333
|
+
await ShopCustomer.fillsIn(StorefrontProductDetail.reviewPasswordInput, customer.password);
|
|
11334
|
+
await ShopCustomer.presses(StorefrontProductDetail.reviewLoginButton);
|
|
11335
|
+
await ShopCustomer.expects(loginResponse).toBeTruthy();
|
|
11257
11336
|
await ShopCustomer.expects(StorefrontProductDetail.productName).toHaveText(product.name);
|
|
11258
11337
|
};
|
|
11259
11338
|
};
|
|
@@ -11349,9 +11428,9 @@ const Login = test$e.extend({
|
|
|
11349
11428
|
return async function Login2() {
|
|
11350
11429
|
const customer = customCustomer ? customCustomer : DefaultSalesChannel.customer;
|
|
11351
11430
|
await ShopCustomer.goesTo(StorefrontAccountLogin.url());
|
|
11352
|
-
await StorefrontAccountLogin.emailInput
|
|
11353
|
-
await StorefrontAccountLogin.passwordInput
|
|
11354
|
-
await StorefrontAccountLogin.loginButton
|
|
11431
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.emailInput, customer.email);
|
|
11432
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.passwordInput, customer.password);
|
|
11433
|
+
await ShopCustomer.presses(StorefrontAccountLogin.loginButton);
|
|
11355
11434
|
await ShopCustomer.expects(StorefrontAccount.personalDataCardTitle).toBeVisible();
|
|
11356
11435
|
};
|
|
11357
11436
|
};
|
|
@@ -11365,7 +11444,7 @@ const Logout = test$e.extend({
|
|
|
11365
11444
|
return async function Logout2() {
|
|
11366
11445
|
await ShopCustomer.goesTo(StorefrontAccountLogin.url());
|
|
11367
11446
|
await ShopCustomer.expects(StorefrontAccountLogin.loginButton).not.toBeVisible();
|
|
11368
|
-
await StorefrontAccountLogin.logoutLink
|
|
11447
|
+
await ShopCustomer.presses(StorefrontAccountLogin.logoutLink);
|
|
11369
11448
|
await ShopCustomer.expects(StorefrontAccountLogin.successAlert).toBeVisible();
|
|
11370
11449
|
};
|
|
11371
11450
|
};
|
|
@@ -11374,7 +11453,7 @@ const Logout = test$e.extend({
|
|
|
11374
11453
|
});
|
|
11375
11454
|
|
|
11376
11455
|
const Register = test$e.extend({
|
|
11377
|
-
Register: async ({ StorefrontAccountLogin, IdProvider, TestDataService }, use) => {
|
|
11456
|
+
Register: async ({ ShopCustomer, StorefrontAccountLogin, IdProvider, TestDataService }, use) => {
|
|
11378
11457
|
let registeredEmail = "";
|
|
11379
11458
|
const countryCode = getCountryCodeFromLocale(getLocale());
|
|
11380
11459
|
const countryDefaults = getCountryAddressData(countryCode);
|
|
@@ -11394,23 +11473,25 @@ const Register = test$e.extend({
|
|
|
11394
11473
|
return async function Register2() {
|
|
11395
11474
|
const registrationData = { ...defaultRegistrationData, ...overrides };
|
|
11396
11475
|
registeredEmail = registrationData.email;
|
|
11476
|
+
await ShopCustomer.presses(StorefrontAccountLogin.salutationSelect);
|
|
11397
11477
|
await StorefrontAccountLogin.salutationSelect.selectOption(registrationData.salutation);
|
|
11398
|
-
await StorefrontAccountLogin.firstNameInput
|
|
11399
|
-
await StorefrontAccountLogin.lastNameInput
|
|
11478
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.firstNameInput, registrationData.firstName);
|
|
11479
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.lastNameInput, registrationData.lastName);
|
|
11400
11480
|
if (registrationData.isCommercial || isCommercial) {
|
|
11401
|
-
await StorefrontAccountLogin.companyInput
|
|
11402
|
-
await StorefrontAccountLogin.departmentInput
|
|
11403
|
-
await StorefrontAccountLogin.vatRegNoInput
|
|
11481
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.companyInput, registrationData.company);
|
|
11482
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.departmentInput, registrationData.department);
|
|
11483
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.vatRegNoInput, registrationData.vatRegNo);
|
|
11404
11484
|
}
|
|
11405
|
-
await StorefrontAccountLogin.registerEmailInput
|
|
11485
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.registerEmailInput, registrationData.email);
|
|
11406
11486
|
if (!registrationData.isGuest) {
|
|
11407
|
-
await StorefrontAccountLogin.registerPasswordInput
|
|
11487
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.registerPasswordInput, registrationData.password);
|
|
11408
11488
|
}
|
|
11409
|
-
await StorefrontAccountLogin.streetAddressInput
|
|
11410
|
-
await StorefrontAccountLogin.postalCodeInput
|
|
11411
|
-
await StorefrontAccountLogin.cityInput
|
|
11489
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.streetAddressInput, registrationData.street);
|
|
11490
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.postalCodeInput, registrationData.postalCode);
|
|
11491
|
+
await ShopCustomer.fillsIn(StorefrontAccountLogin.cityInput, registrationData.city);
|
|
11492
|
+
await ShopCustomer.presses(StorefrontAccountLogin.countryInput);
|
|
11412
11493
|
await StorefrontAccountLogin.countryInput.selectOption({ label: registrationData.country });
|
|
11413
|
-
await StorefrontAccountLogin.registerButton
|
|
11494
|
+
await ShopCustomer.presses(StorefrontAccountLogin.registerButton);
|
|
11414
11495
|
const customer = await TestDataService.getCustomerByEmail(registeredEmail);
|
|
11415
11496
|
if (customer) {
|
|
11416
11497
|
TestDataService.addCreatedRecord("customer", customer.id);
|
|
@@ -11469,11 +11550,11 @@ const RegisterGuest = test$e.extend({
|
|
|
11469
11550
|
});
|
|
11470
11551
|
|
|
11471
11552
|
const ChangeStorefrontCurrency = test$e.extend({
|
|
11472
|
-
ChangeStorefrontCurrency: async ({
|
|
11553
|
+
ChangeStorefrontCurrency: async ({ ShopCustomer, StorefrontHeader }, use) => {
|
|
11473
11554
|
const task = (currencyName) => {
|
|
11474
11555
|
return async function ChangeStorefrontCurrency2() {
|
|
11475
|
-
await
|
|
11476
|
-
await
|
|
11556
|
+
await ShopCustomer.presses(StorefrontHeader.currenciesDropdown);
|
|
11557
|
+
await ShopCustomer.presses(StorefrontHeader.currenciesMenuOptions.getByText(currencyName));
|
|
11477
11558
|
};
|
|
11478
11559
|
};
|
|
11479
11560
|
await use(task);
|
|
@@ -11481,22 +11562,24 @@ const ChangeStorefrontCurrency = test$e.extend({
|
|
|
11481
11562
|
});
|
|
11482
11563
|
|
|
11483
11564
|
const AddNewAddress = test$e.extend({
|
|
11484
|
-
AddNewAddress: async ({ StorefrontAccountAddresses, StorefrontAccountAddressCreate }, use) => {
|
|
11565
|
+
AddNewAddress: async ({ ShopCustomer, StorefrontAccountAddresses, StorefrontAccountAddressCreate }, use) => {
|
|
11485
11566
|
const task = (address) => {
|
|
11486
11567
|
return async function AddNewAddress2() {
|
|
11487
|
-
await StorefrontAccountAddresses.addNewAddressButton
|
|
11488
|
-
await StorefrontAccountAddressCreate.firstNameInput
|
|
11489
|
-
await StorefrontAccountAddressCreate.lastNameInput
|
|
11490
|
-
await StorefrontAccountAddressCreate.companyInput
|
|
11491
|
-
await StorefrontAccountAddressCreate.departmentInput
|
|
11492
|
-
await StorefrontAccountAddressCreate.streetInput
|
|
11493
|
-
await StorefrontAccountAddressCreate.zipcodeInput
|
|
11494
|
-
await StorefrontAccountAddressCreate.cityInput
|
|
11568
|
+
await ShopCustomer.presses(StorefrontAccountAddresses.addNewAddressButton);
|
|
11569
|
+
await ShopCustomer.fillsIn(StorefrontAccountAddressCreate.firstNameInput, address.firstName);
|
|
11570
|
+
await ShopCustomer.fillsIn(StorefrontAccountAddressCreate.lastNameInput, address.lastName);
|
|
11571
|
+
await ShopCustomer.fillsIn(StorefrontAccountAddressCreate.companyInput, address.company);
|
|
11572
|
+
await ShopCustomer.fillsIn(StorefrontAccountAddressCreate.departmentInput, address.department);
|
|
11573
|
+
await ShopCustomer.fillsIn(StorefrontAccountAddressCreate.streetInput, address.street);
|
|
11574
|
+
await ShopCustomer.fillsIn(StorefrontAccountAddressCreate.zipcodeInput, address.zipCode);
|
|
11575
|
+
await ShopCustomer.fillsIn(StorefrontAccountAddressCreate.cityInput, address.city);
|
|
11576
|
+
await ShopCustomer.presses(StorefrontAccountAddressCreate.countryDropdown);
|
|
11495
11577
|
await StorefrontAccountAddressCreate.countryDropdown.selectOption({ label: address.country });
|
|
11496
11578
|
if (address.state) {
|
|
11579
|
+
await ShopCustomer.presses(StorefrontAccountAddressCreate.stateDropdown);
|
|
11497
11580
|
await StorefrontAccountAddressCreate.stateDropdown.selectOption({ label: address.state });
|
|
11498
11581
|
}
|
|
11499
|
-
await StorefrontAccountAddressCreate.saveAddressButton
|
|
11582
|
+
await ShopCustomer.presses(StorefrontAccountAddressCreate.saveAddressButton);
|
|
11500
11583
|
};
|
|
11501
11584
|
};
|
|
11502
11585
|
await use(task);
|
|
@@ -11507,8 +11590,8 @@ const AddProductToCart = test$e.extend({
|
|
|
11507
11590
|
AddProductToCart: async ({ ShopCustomer, StorefrontProductDetail }, use) => {
|
|
11508
11591
|
const task = (ProductData, quantity = "1") => {
|
|
11509
11592
|
return async function AddProductToCart2() {
|
|
11510
|
-
await StorefrontProductDetail.quantitySelect
|
|
11511
|
-
await StorefrontProductDetail.addToCartButton
|
|
11593
|
+
await ShopCustomer.fillsIn(StorefrontProductDetail.quantitySelect, quantity);
|
|
11594
|
+
await ShopCustomer.presses(StorefrontProductDetail.addToCartButton);
|
|
11512
11595
|
await ShopCustomer.expects(StorefrontProductDetail.offCanvasCartTitle).toBeVisible();
|
|
11513
11596
|
await ShopCustomer.expects(StorefrontProductDetail.offCanvasCart.getByText(ProductData.name)).toBeVisible();
|
|
11514
11597
|
};
|
|
@@ -11521,7 +11604,7 @@ const ProceedFromProductToCheckout = test$e.extend({
|
|
|
11521
11604
|
ProceedFromProductToCheckout: async ({ ShopCustomer, StorefrontProductDetail, StorefrontCheckoutConfirm }, use) => {
|
|
11522
11605
|
const task = () => {
|
|
11523
11606
|
return async function ProceedFromProductToCheckout2() {
|
|
11524
|
-
await StorefrontProductDetail.offCanvasCartGoToCheckoutButton
|
|
11607
|
+
await ShopCustomer.presses(StorefrontProductDetail.offCanvasCartGoToCheckoutButton);
|
|
11525
11608
|
await ShopCustomer.expects(StorefrontCheckoutConfirm.headline).toBeVisible();
|
|
11526
11609
|
};
|
|
11527
11610
|
};
|
|
@@ -11537,7 +11620,7 @@ const ProceedFromCartToCheckout = test$e.extend({
|
|
|
11537
11620
|
}, use) => {
|
|
11538
11621
|
const task = () => {
|
|
11539
11622
|
return async function ProceedFromCartToCheckout2() {
|
|
11540
|
-
await StorefrontCheckoutCart.goToCheckoutButton
|
|
11623
|
+
await ShopCustomer.presses(StorefrontCheckoutCart.goToCheckoutButton);
|
|
11541
11624
|
await ShopCustomer.expects(StorefrontCheckoutConfirm.headline).toBeVisible();
|
|
11542
11625
|
};
|
|
11543
11626
|
};
|
|
@@ -11552,8 +11635,9 @@ const ChangeProductQuantity = test$e.extend({
|
|
|
11552
11635
|
}, use) => {
|
|
11553
11636
|
const task = (quantity) => {
|
|
11554
11637
|
return async function ChangeProductQuantityOnCart() {
|
|
11555
|
-
await StorefrontCheckoutCart.cartQuantityNumber.
|
|
11556
|
-
await StorefrontCheckoutCart.cartQuantityNumber
|
|
11638
|
+
await StorefrontCheckoutCart.cartQuantityNumber.clear();
|
|
11639
|
+
await ShopCustomer.fillsIn(StorefrontCheckoutCart.cartQuantityNumber, quantity);
|
|
11640
|
+
await ShopCustomer.presses(StorefrontCheckoutCart.cartQuantityNumber, "Enter");
|
|
11557
11641
|
await ShopCustomer.expects(StorefrontCheckoutCart.cartQuantityNumber).toHaveValue(quantity);
|
|
11558
11642
|
};
|
|
11559
11643
|
};
|
|
@@ -11565,7 +11649,7 @@ const ConfirmTermsAndConditions = test$e.extend({
|
|
|
11565
11649
|
ConfirmTermsAndConditions: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
11566
11650
|
const task = () => {
|
|
11567
11651
|
return async function ConfirmTermsAndConditions2() {
|
|
11568
|
-
await StorefrontCheckoutConfirm.termsAndConditionsCheckbox
|
|
11652
|
+
await ShopCustomer.presses(StorefrontCheckoutConfirm.termsAndConditionsCheckbox);
|
|
11569
11653
|
await ShopCustomer.expects(StorefrontCheckoutConfirm.termsAndConditionsCheckbox).toBeChecked();
|
|
11570
11654
|
};
|
|
11571
11655
|
};
|
|
@@ -11573,6 +11657,20 @@ const ConfirmTermsAndConditions = test$e.extend({
|
|
|
11573
11657
|
}
|
|
11574
11658
|
});
|
|
11575
11659
|
|
|
11660
|
+
const SelectPaymentMethod = test$e.extend({
|
|
11661
|
+
SelectPaymentMethod: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
11662
|
+
const task = (paymentOptionName) => {
|
|
11663
|
+
return async function SelectPaymentMethod2() {
|
|
11664
|
+
const paymentMethods = StorefrontCheckoutConfirm.paymentMethodRadioGroup;
|
|
11665
|
+
const paymentOptionRadioButton = paymentMethods.getByRole("radio", { name: paymentOptionName });
|
|
11666
|
+
await ShopCustomer.selectsRadioButton(paymentMethods, paymentOptionName);
|
|
11667
|
+
await ShopCustomer.expects(paymentOptionRadioButton).toBeChecked();
|
|
11668
|
+
};
|
|
11669
|
+
};
|
|
11670
|
+
await use(task);
|
|
11671
|
+
}
|
|
11672
|
+
});
|
|
11673
|
+
|
|
11576
11674
|
const SelectCashOnDeliveryPaymentOption = test$e.extend({
|
|
11577
11675
|
SelectCashOnDeliveryPaymentOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
11578
11676
|
const task = () => {
|
|
@@ -11609,6 +11707,20 @@ const SelectPaidInAdvancePaymentOption = test$e.extend({
|
|
|
11609
11707
|
}
|
|
11610
11708
|
});
|
|
11611
11709
|
|
|
11710
|
+
const SelectShippingMethod = test$e.extend({
|
|
11711
|
+
SelectShippingMethod: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
11712
|
+
const task = (shippingOptionName) => {
|
|
11713
|
+
return async function SelectShippingMethod2() {
|
|
11714
|
+
const shippingMethods = StorefrontCheckoutConfirm.shippingMethodRadioGroup;
|
|
11715
|
+
const shippingOptionRadioButton = shippingMethods.getByRole("radio", { name: shippingOptionName });
|
|
11716
|
+
await ShopCustomer.selectsRadioButton(shippingMethods, shippingOptionName);
|
|
11717
|
+
await ShopCustomer.expects(shippingOptionRadioButton).toBeChecked();
|
|
11718
|
+
};
|
|
11719
|
+
};
|
|
11720
|
+
await use(task);
|
|
11721
|
+
}
|
|
11722
|
+
});
|
|
11723
|
+
|
|
11612
11724
|
const SelectStandardShippingOption = test$e.extend({
|
|
11613
11725
|
SelectStandardShippingOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
11614
11726
|
const task = () => {
|
|
@@ -11637,7 +11749,7 @@ const SubmitOrder = test$e.extend({
|
|
|
11637
11749
|
SubmitOrder: async ({ ShopCustomer, StorefrontCheckoutConfirm, StorefrontCheckoutFinish }, use) => {
|
|
11638
11750
|
const task = () => {
|
|
11639
11751
|
return async function SubmitOrder2() {
|
|
11640
|
-
await StorefrontCheckoutConfirm.submitOrderButton
|
|
11752
|
+
await ShopCustomer.presses(StorefrontCheckoutConfirm.submitOrderButton);
|
|
11641
11753
|
await ShopCustomer.expects(StorefrontCheckoutFinish.headline).toBeVisible();
|
|
11642
11754
|
};
|
|
11643
11755
|
};
|
|
@@ -11670,10 +11782,10 @@ const OpenSearchSuggestPage = test$e.extend({
|
|
|
11670
11782
|
});
|
|
11671
11783
|
|
|
11672
11784
|
const SearchForTerm = test$e.extend({
|
|
11673
|
-
SearchForTerm: async ({ StorefrontSearchSuggest }, use) => {
|
|
11785
|
+
SearchForTerm: async ({ ShopCustomer, StorefrontSearchSuggest }, use) => {
|
|
11674
11786
|
const task = (searchTerm) => {
|
|
11675
11787
|
return async function SearchForTerm2() {
|
|
11676
|
-
await StorefrontSearchSuggest.searchInput
|
|
11788
|
+
await ShopCustomer.fillsIn(StorefrontSearchSuggest.searchInput, searchTerm);
|
|
11677
11789
|
const encodedSearchTerm = encodeURIComponent(searchTerm);
|
|
11678
11790
|
await StorefrontSearchSuggest.page.waitForResponse((response) => response.url().includes(`suggest?search=${encodedSearchTerm}`) && response.ok());
|
|
11679
11791
|
};
|
|
@@ -11716,7 +11828,7 @@ const AddProductToCartFromWishlist = test$e.extend({
|
|
|
11716
11828
|
const task = (ProductData) => {
|
|
11717
11829
|
return async function AddProductToCartFromWishlist2() {
|
|
11718
11830
|
const listedItem = await StorefrontWishlist.getListingItemByProductName(ProductData.name);
|
|
11719
|
-
await listedItem.productAddToShoppingCart
|
|
11831
|
+
await ShopCustomer.presses(listedItem.productAddToShoppingCart);
|
|
11720
11832
|
await StorefrontWishlist.page.waitForResponse((response) => response.url().includes(`checkout/offcanvas`) && response.ok());
|
|
11721
11833
|
await ShopCustomer.expects(StorefrontOffCanvasCart.itemCount).toBeVisible();
|
|
11722
11834
|
const offcanvasItem = await StorefrontOffCanvasCart.getLineItemByProductNumber(ProductData.productNumber);
|
|
@@ -11729,11 +11841,11 @@ const AddProductToCartFromWishlist = test$e.extend({
|
|
|
11729
11841
|
}
|
|
11730
11842
|
});
|
|
11731
11843
|
const RemoveProductFromWishlist = test$e.extend({
|
|
11732
|
-
RemoveProductFromWishlist: async ({ StorefrontHome, StorefrontWishlist }, use) => {
|
|
11844
|
+
RemoveProductFromWishlist: async ({ ShopCustomer, StorefrontHome, StorefrontWishlist }, use) => {
|
|
11733
11845
|
const task = (ProductData) => {
|
|
11734
11846
|
return async function RemoveProductFromWishlist2() {
|
|
11735
11847
|
const listedItem = await StorefrontHome.getListingItemByProductName(ProductData.name);
|
|
11736
|
-
await listedItem.wishlistAddedIcon
|
|
11848
|
+
await ShopCustomer.presses(listedItem.wishlistAddedIcon);
|
|
11737
11849
|
await StorefrontWishlist.page.waitForResponse((response) => response.url().includes(`remove/${ProductData.id}`) && response.ok());
|
|
11738
11850
|
};
|
|
11739
11851
|
};
|
|
@@ -11745,7 +11857,7 @@ const AddProductToWishlist = test$e.extend({
|
|
|
11745
11857
|
const task = (ProductData) => {
|
|
11746
11858
|
return async function AddProductToWishlist2() {
|
|
11747
11859
|
const listedItem = await StorefrontHome.getListingItemByProductName(ProductData.name);
|
|
11748
|
-
await listedItem.wishlistNotAddedIcon
|
|
11860
|
+
await ShopCustomer.presses(listedItem.wishlistNotAddedIcon);
|
|
11749
11861
|
await ShopCustomer.expects(listedItem.wishlistAddedIcon).toBeVisible();
|
|
11750
11862
|
};
|
|
11751
11863
|
};
|
|
@@ -11754,12 +11866,14 @@ const AddProductToWishlist = test$e.extend({
|
|
|
11754
11866
|
});
|
|
11755
11867
|
|
|
11756
11868
|
const SelectProductFilterOption = test$e.extend({
|
|
11757
|
-
SelectProductFilterOption: async ({ StorefrontHome }, use) => {
|
|
11869
|
+
SelectProductFilterOption: async ({ ShopCustomer, StorefrontHome }, use) => {
|
|
11758
11870
|
const task = (filterButton, optionName) => {
|
|
11759
11871
|
return async function SelectProductFilterOption2() {
|
|
11760
|
-
await
|
|
11872
|
+
await ShopCustomer.presses(filterButton);
|
|
11761
11873
|
const optionLocator = await StorefrontHome.getFilterItemByFilterName(optionName);
|
|
11762
|
-
await optionLocator.
|
|
11874
|
+
await ShopCustomer.expects(optionLocator).not.toBeChecked();
|
|
11875
|
+
await ShopCustomer.presses(optionLocator);
|
|
11876
|
+
await ShopCustomer.expects(optionLocator).toBeChecked();
|
|
11763
11877
|
};
|
|
11764
11878
|
};
|
|
11765
11879
|
await use(task);
|
|
@@ -11797,6 +11911,8 @@ const test$3 = mergeTests(
|
|
|
11797
11911
|
ProceedFromProductToCheckout,
|
|
11798
11912
|
ProceedFromCartToCheckout,
|
|
11799
11913
|
ConfirmTermsAndConditions,
|
|
11914
|
+
SelectPaymentMethod,
|
|
11915
|
+
SelectShippingMethod,
|
|
11800
11916
|
SelectInvoicePaymentOption,
|
|
11801
11917
|
SelectCashOnDeliveryPaymentOption,
|
|
11802
11918
|
SelectPaidInAdvancePaymentOption,
|