@shopware-ag/acceptance-test-suite 12.8.4 → 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 +357 -18
- package/dist/index.d.ts +357 -18
- package/dist/index.mjs +460 -38
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -497,6 +497,7 @@ declare const isSaaSInstance: (adminApiContext: AdminApiContext) => Promise<bool
|
|
|
497
497
|
declare const isThemeCompiled: (context: StoreApiContext, storefrontUrl: string) => Promise<boolean>;
|
|
498
498
|
|
|
499
499
|
declare function createRandomImage(width?: number, height?: number): Image;
|
|
500
|
+
declare function createSolidColorImage(width?: number, height?: number, color?: [number, number, number]): Image;
|
|
500
501
|
declare function encodeImage(image: Image): Buffer<ArrayBuffer>;
|
|
501
502
|
|
|
502
503
|
interface IdPair {
|
|
@@ -668,6 +669,15 @@ declare class TestDataService {
|
|
|
668
669
|
* @param height - The height of the image in pixel. Default is 600.
|
|
669
670
|
*/
|
|
670
671
|
createMediaPNG(width?: number, height?: number): Promise<Media$1>;
|
|
672
|
+
/**
|
|
673
|
+
* Creates a new media resource containing a solid color PNG image.
|
|
674
|
+
* Unlike `createMediaPNG`, the result is deterministic and suitable for visual regression tests.
|
|
675
|
+
*
|
|
676
|
+
* @param width - The width of the image in pixel. Default is 800.
|
|
677
|
+
* @param height - The height of the image in pixel. Default is 600.
|
|
678
|
+
* @param color - RGB color as `[r, g, b]` with values 0..255. Default is red `[255, 0, 0]`.
|
|
679
|
+
*/
|
|
680
|
+
createMediaPNGSolid(width?: number, height?: number, color?: [number, number, number]): Promise<Media$1>;
|
|
671
681
|
/**
|
|
672
682
|
* Creates a new media resource containing a text file.
|
|
673
683
|
*
|
|
@@ -982,6 +992,13 @@ declare class TestDataService {
|
|
|
982
992
|
* @param name - The name of the payment method. Default is "Invoice".
|
|
983
993
|
*/
|
|
984
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>;
|
|
985
1002
|
/**
|
|
986
1003
|
* Retrieves the address of a customer by its uuid.
|
|
987
1004
|
*
|
|
@@ -1435,14 +1452,32 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1435
1452
|
buttons: {
|
|
1436
1453
|
agree: string;
|
|
1437
1454
|
disableDataSharing: string;
|
|
1455
|
+
allowAll: string;
|
|
1456
|
+
rejectAll: string;
|
|
1457
|
+
savePreferences: string;
|
|
1458
|
+
declineUsageData: string;
|
|
1459
|
+
giveConsentUsageData: string;
|
|
1438
1460
|
};
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1461
|
+
checkboxes: {
|
|
1462
|
+
shareStoreData: string;
|
|
1463
|
+
shareUsageData: string;
|
|
1442
1464
|
};
|
|
1443
1465
|
headlines: {
|
|
1466
|
+
consentModal: string;
|
|
1467
|
+
storeData: string;
|
|
1468
|
+
usageData: string;
|
|
1444
1469
|
dataConsent: string;
|
|
1445
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
|
+
};
|
|
1446
1481
|
};
|
|
1447
1482
|
readonly "administration/document": {
|
|
1448
1483
|
listing: {
|
|
@@ -1689,6 +1724,51 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1689
1724
|
header: {
|
|
1690
1725
|
settings: string;
|
|
1691
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
|
+
};
|
|
1692
1772
|
};
|
|
1693
1773
|
readonly "administration/shipping": {
|
|
1694
1774
|
common: {
|
|
@@ -1713,6 +1793,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1713
1793
|
readonly "administration/yourProfile": {
|
|
1714
1794
|
tabs: {
|
|
1715
1795
|
searchPreferences: string;
|
|
1796
|
+
privacyPreferences: string;
|
|
1716
1797
|
};
|
|
1717
1798
|
fields: {
|
|
1718
1799
|
firstName: string;
|
|
@@ -1723,6 +1804,16 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1723
1804
|
buttons: {
|
|
1724
1805
|
deselectAll: string;
|
|
1725
1806
|
};
|
|
1807
|
+
links: {
|
|
1808
|
+
privacy: string;
|
|
1809
|
+
};
|
|
1810
|
+
checkboxes: {
|
|
1811
|
+
usageDataCheckbox: string;
|
|
1812
|
+
};
|
|
1813
|
+
headlines: {
|
|
1814
|
+
usageDataHeadline: string;
|
|
1815
|
+
cardTitle: string;
|
|
1816
|
+
};
|
|
1726
1817
|
};
|
|
1727
1818
|
readonly "administration/customerGroup": {
|
|
1728
1819
|
listing: {
|
|
@@ -2400,14 +2491,32 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2400
2491
|
buttons: {
|
|
2401
2492
|
agree: string;
|
|
2402
2493
|
disableDataSharing: string;
|
|
2494
|
+
allowAll: string;
|
|
2495
|
+
rejectAll: string;
|
|
2496
|
+
savePreferences: string;
|
|
2497
|
+
declineUsageData: string;
|
|
2498
|
+
giveConsentUsageData: string;
|
|
2403
2499
|
};
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2500
|
+
checkboxes: {
|
|
2501
|
+
shareStoreData: string;
|
|
2502
|
+
shareUsageData: string;
|
|
2407
2503
|
};
|
|
2408
2504
|
headlines: {
|
|
2505
|
+
consentModal: string;
|
|
2506
|
+
storeData: string;
|
|
2507
|
+
usageData: string;
|
|
2409
2508
|
dataConsent: string;
|
|
2410
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
|
+
};
|
|
2411
2520
|
};
|
|
2412
2521
|
readonly "administration/document": {
|
|
2413
2522
|
listing: {
|
|
@@ -2786,6 +2895,51 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2786
2895
|
header: {
|
|
2787
2896
|
settings: string;
|
|
2788
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
|
+
};
|
|
2789
2943
|
};
|
|
2790
2944
|
readonly "administration/shipping": {
|
|
2791
2945
|
common: {
|
|
@@ -2847,6 +3001,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2847
3001
|
};
|
|
2848
3002
|
tabs: {
|
|
2849
3003
|
searchPreferences: string;
|
|
3004
|
+
privacyPreferences: string;
|
|
2850
3005
|
};
|
|
2851
3006
|
fields: {
|
|
2852
3007
|
firstName: string;
|
|
@@ -2857,6 +3012,16 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2857
3012
|
buttons: {
|
|
2858
3013
|
deselectAll: string;
|
|
2859
3014
|
};
|
|
3015
|
+
links: {
|
|
3016
|
+
privacy: string;
|
|
3017
|
+
};
|
|
3018
|
+
checkboxes: {
|
|
3019
|
+
usageDataCheckbox: string;
|
|
3020
|
+
};
|
|
3021
|
+
headlines: {
|
|
3022
|
+
usageDataHeadline: string;
|
|
3023
|
+
cardTitle: string;
|
|
3024
|
+
};
|
|
2860
3025
|
};
|
|
2861
3026
|
readonly "administration/salesChannel": {
|
|
2862
3027
|
tabs: {
|
|
@@ -3405,14 +3570,32 @@ declare const baseNamespaces: {
|
|
|
3405
3570
|
buttons: {
|
|
3406
3571
|
agree: string;
|
|
3407
3572
|
disableDataSharing: string;
|
|
3573
|
+
allowAll: string;
|
|
3574
|
+
rejectAll: string;
|
|
3575
|
+
savePreferences: string;
|
|
3576
|
+
declineUsageData: string;
|
|
3577
|
+
giveConsentUsageData: string;
|
|
3408
3578
|
};
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3579
|
+
checkboxes: {
|
|
3580
|
+
shareStoreData: string;
|
|
3581
|
+
shareUsageData: string;
|
|
3412
3582
|
};
|
|
3413
3583
|
headlines: {
|
|
3584
|
+
consentModal: string;
|
|
3585
|
+
storeData: string;
|
|
3586
|
+
usageData: string;
|
|
3414
3587
|
dataConsent: string;
|
|
3415
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
|
+
};
|
|
3416
3599
|
};
|
|
3417
3600
|
readonly document: {
|
|
3418
3601
|
listing: {
|
|
@@ -3659,6 +3842,51 @@ declare const baseNamespaces: {
|
|
|
3659
3842
|
header: {
|
|
3660
3843
|
settings: string;
|
|
3661
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
|
+
};
|
|
3662
3890
|
};
|
|
3663
3891
|
readonly shipping: {
|
|
3664
3892
|
common: {
|
|
@@ -3683,6 +3911,7 @@ declare const baseNamespaces: {
|
|
|
3683
3911
|
readonly yourProfile: {
|
|
3684
3912
|
tabs: {
|
|
3685
3913
|
searchPreferences: string;
|
|
3914
|
+
privacyPreferences: string;
|
|
3686
3915
|
};
|
|
3687
3916
|
fields: {
|
|
3688
3917
|
firstName: string;
|
|
@@ -3693,6 +3922,16 @@ declare const baseNamespaces: {
|
|
|
3693
3922
|
buttons: {
|
|
3694
3923
|
deselectAll: string;
|
|
3695
3924
|
};
|
|
3925
|
+
links: {
|
|
3926
|
+
privacy: string;
|
|
3927
|
+
};
|
|
3928
|
+
checkboxes: {
|
|
3929
|
+
usageDataCheckbox: string;
|
|
3930
|
+
};
|
|
3931
|
+
headlines: {
|
|
3932
|
+
usageDataHeadline: string;
|
|
3933
|
+
cardTitle: string;
|
|
3934
|
+
};
|
|
3696
3935
|
};
|
|
3697
3936
|
readonly customerGroup: {
|
|
3698
3937
|
listing: {
|
|
@@ -4772,6 +5011,8 @@ declare class AccountOrder extends BaseAccount {
|
|
|
4772
5011
|
constructor(page: Page);
|
|
4773
5012
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
4774
5013
|
url(): string;
|
|
5014
|
+
private buildTaxPricePattern;
|
|
5015
|
+
private escapeRegex;
|
|
4775
5016
|
}
|
|
4776
5017
|
|
|
4777
5018
|
declare class AccountAddresses extends BaseAccount {
|
|
@@ -5427,13 +5668,17 @@ declare class FlowBuilderDetail extends FlowBuilderCreate implements PageObject
|
|
|
5427
5668
|
}
|
|
5428
5669
|
|
|
5429
5670
|
declare class DataSharing implements PageObject {
|
|
5430
|
-
readonly dataConsentHeadline: Locator;
|
|
5431
|
-
readonly dataSharingSuccessMessageLabel: Locator;
|
|
5432
|
-
readonly dataSharingAgreeButton: Locator;
|
|
5433
|
-
readonly dataSharingDisableButton: Locator;
|
|
5434
|
-
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;
|
|
5435
5676
|
readonly page: Page;
|
|
5436
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;
|
|
5437
5682
|
constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
|
|
5438
5683
|
url(): "#/sw/settings/usage/data/index" | "#/sw/settings/usage/data/index/general";
|
|
5439
5684
|
}
|
|
@@ -5448,6 +5693,7 @@ declare class Dashboard implements PageObject {
|
|
|
5448
5693
|
readonly adminMenuContent: Locator;
|
|
5449
5694
|
readonly adminMenuMarketing: Locator;
|
|
5450
5695
|
readonly adminMenuExtension: Locator;
|
|
5696
|
+
readonly adminMenuSettings: Locator;
|
|
5451
5697
|
readonly adminMenuUserChevron: Locator;
|
|
5452
5698
|
readonly adminMenuUserIcon: Locator;
|
|
5453
5699
|
readonly adminMenuUserName: Locator;
|
|
@@ -5916,8 +6162,50 @@ declare class CustomerBulkEdit implements PageObject {
|
|
|
5916
6162
|
declare class SettingsListing implements PageObject {
|
|
5917
6163
|
readonly contentView: Locator;
|
|
5918
6164
|
readonly header: Locator;
|
|
5919
|
-
readonly shopwareServicesLink: Locator;
|
|
5920
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;
|
|
5921
6209
|
constructor(page: Page);
|
|
5922
6210
|
url(): string;
|
|
5923
6211
|
}
|
|
@@ -6069,8 +6357,13 @@ declare class YourProfile implements PageObject {
|
|
|
6069
6357
|
readonly userNameField: Locator;
|
|
6070
6358
|
readonly emailField: Locator;
|
|
6071
6359
|
readonly deselectAllButton: Locator;
|
|
6360
|
+
readonly privacyPreferencesTab: Locator;
|
|
6361
|
+
readonly dataSharingCardTitle: Locator;
|
|
6362
|
+
readonly dataSharingUsageDataHeadline: Locator;
|
|
6363
|
+
readonly dataSharingUsageDataCheckbox: Locator;
|
|
6364
|
+
readonly privacyPolicyLink: Locator;
|
|
6072
6365
|
constructor(page: Page);
|
|
6073
|
-
url(): string;
|
|
6366
|
+
url(tabName?: string): string;
|
|
6074
6367
|
}
|
|
6075
6368
|
|
|
6076
6369
|
declare class ThemesListing implements PageObject {
|
|
@@ -6185,6 +6478,26 @@ declare class OrderListing implements PageObject {
|
|
|
6185
6478
|
url(): string;
|
|
6186
6479
|
}
|
|
6187
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
|
+
|
|
6188
6501
|
interface AdministrationPageTypes {
|
|
6189
6502
|
AdminProductDetail: ProductDetail;
|
|
6190
6503
|
AdminOrderDetail: OrderDetail;
|
|
@@ -6236,6 +6549,7 @@ interface AdministrationPageTypes {
|
|
|
6236
6549
|
AdminListingPageLayoutDetail: ListingPageLayoutDetail;
|
|
6237
6550
|
AdminLayoutCreate: LayoutCreate;
|
|
6238
6551
|
AdminOrderListing: OrderListing;
|
|
6552
|
+
AdminDataSharingConsentModal: DataSharingConsentModal;
|
|
6239
6553
|
}
|
|
6240
6554
|
declare const AdminPageObjects: {
|
|
6241
6555
|
ProductDetail: typeof ProductDetail;
|
|
@@ -6288,6 +6602,7 @@ declare const AdminPageObjects: {
|
|
|
6288
6602
|
ListingPageLayoutDetail: typeof ListingPageLayoutDetail;
|
|
6289
6603
|
LayoutCreate: typeof LayoutCreate;
|
|
6290
6604
|
OrderListing: typeof OrderListing;
|
|
6605
|
+
DataSharingConsentModal: typeof DataSharingConsentModal;
|
|
6291
6606
|
};
|
|
6292
6607
|
|
|
6293
6608
|
interface DataFixtureTypes {
|
|
@@ -6361,6 +6676,30 @@ declare function createNewAdminPageContext(browser: Browser, SalesChannelBaseCon
|
|
|
6361
6676
|
*/
|
|
6362
6677
|
declare function loginToAdministration(adminLoginPage: Page$1, merchant: User, AdminApiContext: FixtureTypes["AdminApiContext"]): Promise<Page$1>;
|
|
6363
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
|
+
|
|
6364
6703
|
/**
|
|
6365
6704
|
* Generic task type that accepts any parameters
|
|
6366
6705
|
*/
|
|
@@ -6448,5 +6787,5 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
|
|
|
6448
6787
|
CheckVisibilityInHome: Task;
|
|
6449
6788
|
}, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
6450
6789
|
|
|
6451
|
-
export { Actor, AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, FeatureService, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, clearDelayedCache, compareFlowTemplateWithFlow, createNewAdminPageContext, createRandomImage, 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 };
|
|
6452
|
-
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 };
|