@shopware-ag/acceptance-test-suite 12.9.0 → 12.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +347 -18
- package/dist/index.d.ts +347 -18
- package/dist/index.mjs +424 -37
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -992,6 +992,13 @@ declare class TestDataService {
|
|
|
992
992
|
* @param name - The name of the payment method. Default is "Invoice".
|
|
993
993
|
*/
|
|
994
994
|
getPaymentMethod(name?: string): Promise<PaymentMethod$1>;
|
|
995
|
+
/**
|
|
996
|
+
* Retrieves a payment method by its distinguishable name.
|
|
997
|
+
*
|
|
998
|
+
* @param name - The name of the payment method.
|
|
999
|
+
* @param exact - exact name or part of it
|
|
1000
|
+
*/
|
|
1001
|
+
getPaymentMethodByDistinguishableName(name: string, exact?: boolean): Promise<PaymentMethod$1>;
|
|
995
1002
|
/**
|
|
996
1003
|
* Retrieves the address of a customer by its uuid.
|
|
997
1004
|
*
|
|
@@ -1445,14 +1452,32 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1445
1452
|
buttons: {
|
|
1446
1453
|
agree: string;
|
|
1447
1454
|
disableDataSharing: string;
|
|
1455
|
+
allowAll: string;
|
|
1456
|
+
rejectAll: string;
|
|
1457
|
+
savePreferences: string;
|
|
1458
|
+
declineUsageData: string;
|
|
1459
|
+
giveConsentUsageData: string;
|
|
1448
1460
|
};
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1461
|
+
checkboxes: {
|
|
1462
|
+
shareStoreData: string;
|
|
1463
|
+
shareUsageData: string;
|
|
1452
1464
|
};
|
|
1453
1465
|
headlines: {
|
|
1466
|
+
consentModal: string;
|
|
1467
|
+
storeData: string;
|
|
1468
|
+
usageData: string;
|
|
1454
1469
|
dataConsent: string;
|
|
1455
1470
|
};
|
|
1471
|
+
links: {
|
|
1472
|
+
storeDataCollectionDetails: string;
|
|
1473
|
+
privacyPolicy: string;
|
|
1474
|
+
};
|
|
1475
|
+
messages: {
|
|
1476
|
+
storeData: string;
|
|
1477
|
+
usageData: string;
|
|
1478
|
+
sharingData: string;
|
|
1479
|
+
termsAgreement: string;
|
|
1480
|
+
};
|
|
1456
1481
|
};
|
|
1457
1482
|
readonly "administration/document": {
|
|
1458
1483
|
listing: {
|
|
@@ -1699,6 +1724,51 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1699
1724
|
header: {
|
|
1700
1725
|
settings: string;
|
|
1701
1726
|
};
|
|
1727
|
+
links: {
|
|
1728
|
+
basicInformation: string;
|
|
1729
|
+
cartSettings: string;
|
|
1730
|
+
languages: string;
|
|
1731
|
+
measurementSystem: string;
|
|
1732
|
+
numberRanges: string;
|
|
1733
|
+
productUnits: string;
|
|
1734
|
+
search: string;
|
|
1735
|
+
statusManagement: string;
|
|
1736
|
+
customerGroups: string;
|
|
1737
|
+
loginAndSignUp: string;
|
|
1738
|
+
salutations: string;
|
|
1739
|
+
flowBuilder: string;
|
|
1740
|
+
importExport: string;
|
|
1741
|
+
ruleBuilder: string;
|
|
1742
|
+
countries: string;
|
|
1743
|
+
currencies: string;
|
|
1744
|
+
snippets: string;
|
|
1745
|
+
tax: string;
|
|
1746
|
+
customFields: string;
|
|
1747
|
+
emailTemplates: string;
|
|
1748
|
+
media: string;
|
|
1749
|
+
newsletter: string;
|
|
1750
|
+
seo: string;
|
|
1751
|
+
sitemap: string;
|
|
1752
|
+
tags: string;
|
|
1753
|
+
deliveryTimes: string;
|
|
1754
|
+
documents: string;
|
|
1755
|
+
essentialCharacteristics: string;
|
|
1756
|
+
paymentMethods: string;
|
|
1757
|
+
products: string;
|
|
1758
|
+
shipping: string;
|
|
1759
|
+
cachesAndIndexes: string;
|
|
1760
|
+
eventLogs: string;
|
|
1761
|
+
firstRunWizard: string;
|
|
1762
|
+
integrations: string;
|
|
1763
|
+
mailer: string;
|
|
1764
|
+
messageQueueStatistics: string;
|
|
1765
|
+
privacy: string;
|
|
1766
|
+
shopwareAccount: string;
|
|
1767
|
+
shopwareServices: string;
|
|
1768
|
+
shopwareUpdates: string;
|
|
1769
|
+
storefront: string;
|
|
1770
|
+
usersAndPermissions: string;
|
|
1771
|
+
};
|
|
1702
1772
|
};
|
|
1703
1773
|
readonly "administration/shipping": {
|
|
1704
1774
|
common: {
|
|
@@ -1723,6 +1793,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1723
1793
|
readonly "administration/yourProfile": {
|
|
1724
1794
|
tabs: {
|
|
1725
1795
|
searchPreferences: string;
|
|
1796
|
+
privacyPreferences: string;
|
|
1726
1797
|
};
|
|
1727
1798
|
fields: {
|
|
1728
1799
|
firstName: string;
|
|
@@ -1733,6 +1804,16 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1733
1804
|
buttons: {
|
|
1734
1805
|
deselectAll: string;
|
|
1735
1806
|
};
|
|
1807
|
+
links: {
|
|
1808
|
+
privacy: string;
|
|
1809
|
+
};
|
|
1810
|
+
checkboxes: {
|
|
1811
|
+
usageDataCheckbox: string;
|
|
1812
|
+
};
|
|
1813
|
+
headlines: {
|
|
1814
|
+
usageDataHeadline: string;
|
|
1815
|
+
cardTitle: string;
|
|
1816
|
+
};
|
|
1736
1817
|
};
|
|
1737
1818
|
readonly "administration/customerGroup": {
|
|
1738
1819
|
listing: {
|
|
@@ -2410,14 +2491,32 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2410
2491
|
buttons: {
|
|
2411
2492
|
agree: string;
|
|
2412
2493
|
disableDataSharing: string;
|
|
2494
|
+
allowAll: string;
|
|
2495
|
+
rejectAll: string;
|
|
2496
|
+
savePreferences: string;
|
|
2497
|
+
declineUsageData: string;
|
|
2498
|
+
giveConsentUsageData: string;
|
|
2413
2499
|
};
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2500
|
+
checkboxes: {
|
|
2501
|
+
shareStoreData: string;
|
|
2502
|
+
shareUsageData: string;
|
|
2417
2503
|
};
|
|
2418
2504
|
headlines: {
|
|
2505
|
+
consentModal: string;
|
|
2506
|
+
storeData: string;
|
|
2507
|
+
usageData: string;
|
|
2419
2508
|
dataConsent: string;
|
|
2420
2509
|
};
|
|
2510
|
+
links: {
|
|
2511
|
+
storeDataCollectionDetails: string;
|
|
2512
|
+
privacyPolicy: string;
|
|
2513
|
+
};
|
|
2514
|
+
messages: {
|
|
2515
|
+
storeData: string;
|
|
2516
|
+
usageData: string;
|
|
2517
|
+
sharingData: string;
|
|
2518
|
+
termsAgreement: string;
|
|
2519
|
+
};
|
|
2421
2520
|
};
|
|
2422
2521
|
readonly "administration/document": {
|
|
2423
2522
|
listing: {
|
|
@@ -2796,6 +2895,51 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2796
2895
|
header: {
|
|
2797
2896
|
settings: string;
|
|
2798
2897
|
};
|
|
2898
|
+
links: {
|
|
2899
|
+
basicInformation: string;
|
|
2900
|
+
cartSettings: string;
|
|
2901
|
+
languages: string;
|
|
2902
|
+
measurementSystem: string;
|
|
2903
|
+
numberRanges: string;
|
|
2904
|
+
productUnits: string;
|
|
2905
|
+
search: string;
|
|
2906
|
+
statusManagement: string;
|
|
2907
|
+
customerGroups: string;
|
|
2908
|
+
loginAndSignUp: string;
|
|
2909
|
+
salutations: string;
|
|
2910
|
+
flowBuilder: string;
|
|
2911
|
+
importExport: string;
|
|
2912
|
+
ruleBuilder: string;
|
|
2913
|
+
countries: string;
|
|
2914
|
+
currencies: string;
|
|
2915
|
+
snippets: string;
|
|
2916
|
+
tax: string;
|
|
2917
|
+
customFields: string;
|
|
2918
|
+
emailTemplates: string;
|
|
2919
|
+
media: string;
|
|
2920
|
+
newsletter: string;
|
|
2921
|
+
seo: string;
|
|
2922
|
+
sitemap: string;
|
|
2923
|
+
tags: string;
|
|
2924
|
+
deliveryTimes: string;
|
|
2925
|
+
documents: string;
|
|
2926
|
+
essentialCharacteristics: string;
|
|
2927
|
+
paymentMethods: string;
|
|
2928
|
+
products: string;
|
|
2929
|
+
shipping: string;
|
|
2930
|
+
cachesAndIndexes: string;
|
|
2931
|
+
eventLogs: string;
|
|
2932
|
+
firstRunWizard: string;
|
|
2933
|
+
integrations: string;
|
|
2934
|
+
mailer: string;
|
|
2935
|
+
messageQueueStatistics: string;
|
|
2936
|
+
privacy: string;
|
|
2937
|
+
shopwareAccount: string;
|
|
2938
|
+
shopwareServices: string;
|
|
2939
|
+
shopwareUpdates: string;
|
|
2940
|
+
storefront: string;
|
|
2941
|
+
usersAndPermissions: string;
|
|
2942
|
+
};
|
|
2799
2943
|
};
|
|
2800
2944
|
readonly "administration/shipping": {
|
|
2801
2945
|
common: {
|
|
@@ -2857,6 +3001,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2857
3001
|
};
|
|
2858
3002
|
tabs: {
|
|
2859
3003
|
searchPreferences: string;
|
|
3004
|
+
privacyPreferences: string;
|
|
2860
3005
|
};
|
|
2861
3006
|
fields: {
|
|
2862
3007
|
firstName: string;
|
|
@@ -2867,6 +3012,16 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2867
3012
|
buttons: {
|
|
2868
3013
|
deselectAll: string;
|
|
2869
3014
|
};
|
|
3015
|
+
links: {
|
|
3016
|
+
privacy: string;
|
|
3017
|
+
};
|
|
3018
|
+
checkboxes: {
|
|
3019
|
+
usageDataCheckbox: string;
|
|
3020
|
+
};
|
|
3021
|
+
headlines: {
|
|
3022
|
+
usageDataHeadline: string;
|
|
3023
|
+
cardTitle: string;
|
|
3024
|
+
};
|
|
2870
3025
|
};
|
|
2871
3026
|
readonly "administration/salesChannel": {
|
|
2872
3027
|
tabs: {
|
|
@@ -3415,14 +3570,32 @@ declare const baseNamespaces: {
|
|
|
3415
3570
|
buttons: {
|
|
3416
3571
|
agree: string;
|
|
3417
3572
|
disableDataSharing: string;
|
|
3573
|
+
allowAll: string;
|
|
3574
|
+
rejectAll: string;
|
|
3575
|
+
savePreferences: string;
|
|
3576
|
+
declineUsageData: string;
|
|
3577
|
+
giveConsentUsageData: string;
|
|
3418
3578
|
};
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3579
|
+
checkboxes: {
|
|
3580
|
+
shareStoreData: string;
|
|
3581
|
+
shareUsageData: string;
|
|
3422
3582
|
};
|
|
3423
3583
|
headlines: {
|
|
3584
|
+
consentModal: string;
|
|
3585
|
+
storeData: string;
|
|
3586
|
+
usageData: string;
|
|
3424
3587
|
dataConsent: string;
|
|
3425
3588
|
};
|
|
3589
|
+
links: {
|
|
3590
|
+
storeDataCollectionDetails: string;
|
|
3591
|
+
privacyPolicy: string;
|
|
3592
|
+
};
|
|
3593
|
+
messages: {
|
|
3594
|
+
storeData: string;
|
|
3595
|
+
usageData: string;
|
|
3596
|
+
sharingData: string;
|
|
3597
|
+
termsAgreement: string;
|
|
3598
|
+
};
|
|
3426
3599
|
};
|
|
3427
3600
|
readonly document: {
|
|
3428
3601
|
listing: {
|
|
@@ -3669,6 +3842,51 @@ declare const baseNamespaces: {
|
|
|
3669
3842
|
header: {
|
|
3670
3843
|
settings: string;
|
|
3671
3844
|
};
|
|
3845
|
+
links: {
|
|
3846
|
+
basicInformation: string;
|
|
3847
|
+
cartSettings: string;
|
|
3848
|
+
languages: string;
|
|
3849
|
+
measurementSystem: string;
|
|
3850
|
+
numberRanges: string;
|
|
3851
|
+
productUnits: string;
|
|
3852
|
+
search: string;
|
|
3853
|
+
statusManagement: string;
|
|
3854
|
+
customerGroups: string;
|
|
3855
|
+
loginAndSignUp: string;
|
|
3856
|
+
salutations: string;
|
|
3857
|
+
flowBuilder: string;
|
|
3858
|
+
importExport: string;
|
|
3859
|
+
ruleBuilder: string;
|
|
3860
|
+
countries: string;
|
|
3861
|
+
currencies: string;
|
|
3862
|
+
snippets: string;
|
|
3863
|
+
tax: string;
|
|
3864
|
+
customFields: string;
|
|
3865
|
+
emailTemplates: string;
|
|
3866
|
+
media: string;
|
|
3867
|
+
newsletter: string;
|
|
3868
|
+
seo: string;
|
|
3869
|
+
sitemap: string;
|
|
3870
|
+
tags: string;
|
|
3871
|
+
deliveryTimes: string;
|
|
3872
|
+
documents: string;
|
|
3873
|
+
essentialCharacteristics: string;
|
|
3874
|
+
paymentMethods: string;
|
|
3875
|
+
products: string;
|
|
3876
|
+
shipping: string;
|
|
3877
|
+
cachesAndIndexes: string;
|
|
3878
|
+
eventLogs: string;
|
|
3879
|
+
firstRunWizard: string;
|
|
3880
|
+
integrations: string;
|
|
3881
|
+
mailer: string;
|
|
3882
|
+
messageQueueStatistics: string;
|
|
3883
|
+
privacy: string;
|
|
3884
|
+
shopwareAccount: string;
|
|
3885
|
+
shopwareServices: string;
|
|
3886
|
+
shopwareUpdates: string;
|
|
3887
|
+
storefront: string;
|
|
3888
|
+
usersAndPermissions: string;
|
|
3889
|
+
};
|
|
3672
3890
|
};
|
|
3673
3891
|
readonly shipping: {
|
|
3674
3892
|
common: {
|
|
@@ -3693,6 +3911,7 @@ declare const baseNamespaces: {
|
|
|
3693
3911
|
readonly yourProfile: {
|
|
3694
3912
|
tabs: {
|
|
3695
3913
|
searchPreferences: string;
|
|
3914
|
+
privacyPreferences: string;
|
|
3696
3915
|
};
|
|
3697
3916
|
fields: {
|
|
3698
3917
|
firstName: string;
|
|
@@ -3703,6 +3922,16 @@ declare const baseNamespaces: {
|
|
|
3703
3922
|
buttons: {
|
|
3704
3923
|
deselectAll: string;
|
|
3705
3924
|
};
|
|
3925
|
+
links: {
|
|
3926
|
+
privacy: string;
|
|
3927
|
+
};
|
|
3928
|
+
checkboxes: {
|
|
3929
|
+
usageDataCheckbox: string;
|
|
3930
|
+
};
|
|
3931
|
+
headlines: {
|
|
3932
|
+
usageDataHeadline: string;
|
|
3933
|
+
cardTitle: string;
|
|
3934
|
+
};
|
|
3706
3935
|
};
|
|
3707
3936
|
readonly customerGroup: {
|
|
3708
3937
|
listing: {
|
|
@@ -4782,6 +5011,8 @@ declare class AccountOrder extends BaseAccount {
|
|
|
4782
5011
|
constructor(page: Page);
|
|
4783
5012
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
4784
5013
|
url(): string;
|
|
5014
|
+
private buildTaxPricePattern;
|
|
5015
|
+
private escapeRegex;
|
|
4785
5016
|
}
|
|
4786
5017
|
|
|
4787
5018
|
declare class AccountAddresses extends BaseAccount {
|
|
@@ -5437,13 +5668,17 @@ declare class FlowBuilderDetail extends FlowBuilderCreate implements PageObject
|
|
|
5437
5668
|
}
|
|
5438
5669
|
|
|
5439
5670
|
declare class DataSharing implements PageObject {
|
|
5440
|
-
readonly dataConsentHeadline: Locator;
|
|
5441
|
-
readonly dataSharingSuccessMessageLabel: Locator;
|
|
5442
|
-
readonly dataSharingAgreeButton: Locator;
|
|
5443
|
-
readonly dataSharingDisableButton: Locator;
|
|
5444
|
-
readonly dataSharingTermsAgreementLabel: Locator;
|
|
5671
|
+
readonly dataConsentHeadline: Locator | undefined;
|
|
5672
|
+
readonly dataSharingSuccessMessageLabel: Locator | undefined;
|
|
5673
|
+
readonly dataSharingAgreeButton: Locator | undefined;
|
|
5674
|
+
readonly dataSharingDisableButton: Locator | undefined;
|
|
5675
|
+
readonly dataSharingTermsAgreementLabel: Locator | undefined;
|
|
5445
5676
|
readonly page: Page;
|
|
5446
5677
|
readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
|
|
5678
|
+
readonly dataSharingCardTitle: Locator | undefined;
|
|
5679
|
+
readonly dataSharingStoreDataHeadline: Locator | undefined;
|
|
5680
|
+
readonly dataSharingStoreDataCheckbox: Locator | undefined;
|
|
5681
|
+
readonly dataUseDetailsLink: Locator | undefined;
|
|
5447
5682
|
constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
|
|
5448
5683
|
url(): "#/sw/settings/usage/data/index" | "#/sw/settings/usage/data/index/general";
|
|
5449
5684
|
}
|
|
@@ -5458,6 +5693,7 @@ declare class Dashboard implements PageObject {
|
|
|
5458
5693
|
readonly adminMenuContent: Locator;
|
|
5459
5694
|
readonly adminMenuMarketing: Locator;
|
|
5460
5695
|
readonly adminMenuExtension: Locator;
|
|
5696
|
+
readonly adminMenuSettings: Locator;
|
|
5461
5697
|
readonly adminMenuUserChevron: Locator;
|
|
5462
5698
|
readonly adminMenuUserIcon: Locator;
|
|
5463
5699
|
readonly adminMenuUserName: Locator;
|
|
@@ -5926,8 +6162,50 @@ declare class CustomerBulkEdit implements PageObject {
|
|
|
5926
6162
|
declare class SettingsListing implements PageObject {
|
|
5927
6163
|
readonly contentView: Locator;
|
|
5928
6164
|
readonly header: Locator;
|
|
5929
|
-
readonly shopwareServicesLink: Locator;
|
|
5930
6165
|
readonly page: Page;
|
|
6166
|
+
readonly basicInformationLink: Locator;
|
|
6167
|
+
readonly cartSettingsLink: Locator;
|
|
6168
|
+
readonly languagesLink: Locator;
|
|
6169
|
+
readonly measurementSystemLink: Locator;
|
|
6170
|
+
readonly numberRangesLink: Locator;
|
|
6171
|
+
readonly productUnitsLink: Locator;
|
|
6172
|
+
readonly searchLink: Locator;
|
|
6173
|
+
readonly statusManagementLink: Locator;
|
|
6174
|
+
readonly customerGroupsLink: Locator;
|
|
6175
|
+
readonly loginAndSignUpLink: Locator;
|
|
6176
|
+
readonly salutationsLink: Locator;
|
|
6177
|
+
readonly flowBuilderLink: Locator;
|
|
6178
|
+
readonly importExportLink: Locator;
|
|
6179
|
+
readonly ruleBuilderLink: Locator;
|
|
6180
|
+
readonly countriesLink: Locator;
|
|
6181
|
+
readonly currenciesLink: Locator;
|
|
6182
|
+
readonly snippetsLink: Locator;
|
|
6183
|
+
readonly taxLink: Locator;
|
|
6184
|
+
readonly customFieldsLink: Locator;
|
|
6185
|
+
readonly emailTemplatesLink: Locator;
|
|
6186
|
+
readonly mediaLink: Locator;
|
|
6187
|
+
readonly newsletterLink: Locator;
|
|
6188
|
+
readonly seoLink: Locator;
|
|
6189
|
+
readonly sitemapLink: Locator;
|
|
6190
|
+
readonly tagsLink: Locator;
|
|
6191
|
+
readonly deliveryTimesLink: Locator;
|
|
6192
|
+
readonly documentsLink: Locator;
|
|
6193
|
+
readonly essentialCharacteristicsLink: Locator;
|
|
6194
|
+
readonly paymentMethodsLink: Locator;
|
|
6195
|
+
readonly productsLink: Locator;
|
|
6196
|
+
readonly shippingLink: Locator;
|
|
6197
|
+
readonly cachesAndIndexesLink: Locator;
|
|
6198
|
+
readonly eventLogsLink: Locator;
|
|
6199
|
+
readonly firstRunWizardLink: Locator;
|
|
6200
|
+
readonly integrationsLink: Locator;
|
|
6201
|
+
readonly mailerLink: Locator;
|
|
6202
|
+
readonly messageQueueStatisticsLink: Locator;
|
|
6203
|
+
readonly privacyLink: Locator;
|
|
6204
|
+
readonly shopwareAccountLink: Locator;
|
|
6205
|
+
readonly shopwareServicesLink: Locator;
|
|
6206
|
+
readonly shopwareUpdatesLink: Locator;
|
|
6207
|
+
readonly storefrontLink: Locator;
|
|
6208
|
+
readonly usersAndPermissionsLink: Locator;
|
|
5931
6209
|
constructor(page: Page);
|
|
5932
6210
|
url(): string;
|
|
5933
6211
|
}
|
|
@@ -6079,8 +6357,13 @@ declare class YourProfile implements PageObject {
|
|
|
6079
6357
|
readonly userNameField: Locator;
|
|
6080
6358
|
readonly emailField: Locator;
|
|
6081
6359
|
readonly deselectAllButton: Locator;
|
|
6360
|
+
readonly privacyPreferencesTab: Locator;
|
|
6361
|
+
readonly dataSharingCardTitle: Locator;
|
|
6362
|
+
readonly dataSharingUsageDataHeadline: Locator;
|
|
6363
|
+
readonly dataSharingUsageDataCheckbox: Locator;
|
|
6364
|
+
readonly privacyPolicyLink: Locator;
|
|
6082
6365
|
constructor(page: Page);
|
|
6083
|
-
url(): string;
|
|
6366
|
+
url(tabName?: string): string;
|
|
6084
6367
|
}
|
|
6085
6368
|
|
|
6086
6369
|
declare class ThemesListing implements PageObject {
|
|
@@ -6195,6 +6478,26 @@ declare class OrderListing implements PageObject {
|
|
|
6195
6478
|
url(): string;
|
|
6196
6479
|
}
|
|
6197
6480
|
|
|
6481
|
+
declare class DataSharingConsentModal implements PageObject {
|
|
6482
|
+
readonly page: Page;
|
|
6483
|
+
readonly consentModal: Locator;
|
|
6484
|
+
readonly allowAllButton: Locator;
|
|
6485
|
+
readonly rejectAllButton: Locator;
|
|
6486
|
+
readonly savePreferencesButton: Locator;
|
|
6487
|
+
readonly declineUsageDataButton: Locator;
|
|
6488
|
+
readonly giveConsentUsageDataButton: Locator;
|
|
6489
|
+
readonly shareStoreDataHeadline: Locator;
|
|
6490
|
+
readonly shareStoreDataText: Locator;
|
|
6491
|
+
readonly shareStoreDataCheckbox: Locator;
|
|
6492
|
+
readonly shareUsageDataHeadline: Locator;
|
|
6493
|
+
readonly shareUsageDataText: Locator;
|
|
6494
|
+
readonly shareUsageDataCheckbox: Locator;
|
|
6495
|
+
readonly storeDataCollectionDetailsLink: Locator;
|
|
6496
|
+
readonly privacyPolicyLink: Locator;
|
|
6497
|
+
constructor(page: Page);
|
|
6498
|
+
url(): string;
|
|
6499
|
+
}
|
|
6500
|
+
|
|
6198
6501
|
interface AdministrationPageTypes {
|
|
6199
6502
|
AdminProductDetail: ProductDetail;
|
|
6200
6503
|
AdminOrderDetail: OrderDetail;
|
|
@@ -6246,6 +6549,7 @@ interface AdministrationPageTypes {
|
|
|
6246
6549
|
AdminListingPageLayoutDetail: ListingPageLayoutDetail;
|
|
6247
6550
|
AdminLayoutCreate: LayoutCreate;
|
|
6248
6551
|
AdminOrderListing: OrderListing;
|
|
6552
|
+
AdminDataSharingConsentModal: DataSharingConsentModal;
|
|
6249
6553
|
}
|
|
6250
6554
|
declare const AdminPageObjects: {
|
|
6251
6555
|
ProductDetail: typeof ProductDetail;
|
|
@@ -6298,6 +6602,7 @@ declare const AdminPageObjects: {
|
|
|
6298
6602
|
ListingPageLayoutDetail: typeof ListingPageLayoutDetail;
|
|
6299
6603
|
LayoutCreate: typeof LayoutCreate;
|
|
6300
6604
|
OrderListing: typeof OrderListing;
|
|
6605
|
+
DataSharingConsentModal: typeof DataSharingConsentModal;
|
|
6301
6606
|
};
|
|
6302
6607
|
|
|
6303
6608
|
interface DataFixtureTypes {
|
|
@@ -6371,6 +6676,30 @@ declare function createNewAdminPageContext(browser: Browser, SalesChannelBaseCon
|
|
|
6371
6676
|
*/
|
|
6372
6677
|
declare function loginToAdministration(adminLoginPage: Page$1, merchant: User, AdminApiContext: FixtureTypes["AdminApiContext"]): Promise<Page$1>;
|
|
6373
6678
|
|
|
6679
|
+
type FileChooserLike = {
|
|
6680
|
+
setFiles(files: {
|
|
6681
|
+
name: string;
|
|
6682
|
+
mimeType: string;
|
|
6683
|
+
buffer: Buffer;
|
|
6684
|
+
}): Promise<void>;
|
|
6685
|
+
};
|
|
6686
|
+
type ResponseLike = {
|
|
6687
|
+
ok(): boolean;
|
|
6688
|
+
};
|
|
6689
|
+
type UploadMediaTarget = {
|
|
6690
|
+
page: {
|
|
6691
|
+
waitForEvent(event: 'filechooser'): Promise<FileChooserLike>;
|
|
6692
|
+
waitForResponse(urlOrPredicate: string | ((response: {
|
|
6693
|
+
url(): string;
|
|
6694
|
+
ok(): boolean;
|
|
6695
|
+
}) => boolean)): Promise<ResponseLike>;
|
|
6696
|
+
};
|
|
6697
|
+
uploadMediaButton: {
|
|
6698
|
+
click(): Promise<void>;
|
|
6699
|
+
};
|
|
6700
|
+
};
|
|
6701
|
+
declare function uploadRandomPngMedia(target: UploadMediaTarget, imageName: string): Promise<void>;
|
|
6702
|
+
|
|
6374
6703
|
/**
|
|
6375
6704
|
* Generic task type that accepts any parameters
|
|
6376
6705
|
*/
|
|
@@ -6458,5 +6787,5 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
|
|
|
6458
6787
|
CheckVisibilityInHome: Task;
|
|
6459
6788
|
}, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
6460
6789
|
|
|
6461
|
-
export { Actor, AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, FeatureService, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, clearDelayedCache, compareFlowTemplateWithFlow, createNewAdminPageContext, createRandomImage, createSolidColorImage, encodeImage, extractIdFromUrl, formatPrice, getCountryAddressData, getCountryCodeFromLocale, getCountryId, getCurrency, getCurrencyCodeFromLocale, getCurrencySymbolFromLocale, getCurrentContext, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageCode, getLanguageData, getLocale, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, loginToAdministration, mockApiCalls, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
|
|
6462
|
-
export type { AccountData, AclRole, Address, CalculatedTaxes, Category$1 as Category, CategoryCustomizableLinkData, CategoryData, CmsPage, Country$1 as Country, CreatedRecord, Currency$2 as Currency, CustomField, CustomFieldData, CustomFieldSet, Customer, CustomerAddress, CustomerGroup, DataServiceOptions, DeliveryTime, FixtureTypes, Flow, FlowConfig, FlowTemplate, Language$2 as Language, Manufacturer, Media$1 as Media, Options, Order, OrderDelivery, OrderLineItem, OrderStatus, PageObject, PaymentMethod$1 as PaymentMethod, Price, Product, ProductCrossSelling, ProductPrice, ProductReview, Promotion, PromotionDiscount, PropertyGroup, PropertyGroupOption, RegistrationData, ReplaceTarget, Rule, RuleAssignmentEntity, SalesChannel, SalesChannelAnalytics, SalesChannelDomain, SalesChannelRecord, Salutation, ShippingMethod$1 as ShippingMethod, SimpleLineItem, StateMachine, StateMachineState, SyncApiOperation, SystemConfig, Tag, TagData, Task, Tax$1 as Tax, TaxRules, TranslateFn, TranslationKey, User, VariantListingConfig };
|
|
6790
|
+
export { Actor, AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, FeatureService, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, clearDelayedCache, compareFlowTemplateWithFlow, createNewAdminPageContext, createRandomImage, createSolidColorImage, encodeImage, extractIdFromUrl, formatPrice, getCountryAddressData, getCountryCodeFromLocale, getCountryId, getCurrency, getCurrencyCodeFromLocale, getCurrencySymbolFromLocale, getCurrentContext, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageCode, getLanguageData, getLocale, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, loginToAdministration, mockApiCalls, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser, uploadRandomPngMedia };
|
|
6791
|
+
export type { AccountData, AclRole, Address, CalculatedTaxes, Category$1 as Category, CategoryCustomizableLinkData, CategoryData, CmsPage, Country$1 as Country, CreatedRecord, Currency$2 as Currency, CustomField, CustomFieldData, CustomFieldSet, Customer, CustomerAddress, CustomerGroup, DataServiceOptions, DeliveryTime, FixtureTypes, Flow, FlowConfig, FlowTemplate, Language$2 as Language, Manufacturer, Media$1 as Media, Options, Order, OrderDelivery, OrderLineItem, OrderStatus, PageObject, PaymentMethod$1 as PaymentMethod, Price, Product, ProductCrossSelling, ProductPrice, ProductReview, Promotion, PromotionDiscount, PropertyGroup, PropertyGroupOption, RegistrationData, ReplaceTarget, Rule, RuleAssignmentEntity, SalesChannel, SalesChannelAnalytics, SalesChannelDomain, SalesChannelRecord, Salutation, ShippingMethod$1 as ShippingMethod, SimpleLineItem, StateMachine, StateMachineState, SyncApiOperation, SystemConfig, Tag, TagData, Task, Tax$1 as Tax, TaxRules, TranslateFn, TranslationKey, UploadMediaTarget, User, VariantListingConfig };
|