@shopware-ag/acceptance-test-suite 11.37.0 → 12.0.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 +152 -13
- package/dist/index.d.ts +152 -13
- package/dist/index.mjs +683 -469
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -379,18 +379,53 @@ interface Flow {
|
|
|
379
379
|
];
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
declare const COUNTRY_ADDRESS_DATA: {
|
|
383
|
+
DE: {
|
|
384
|
+
street: string;
|
|
385
|
+
city: string;
|
|
386
|
+
country: string;
|
|
387
|
+
postalCode: string;
|
|
388
|
+
vatRegNo: string;
|
|
389
|
+
};
|
|
390
|
+
US: {
|
|
391
|
+
street: string;
|
|
392
|
+
city: string;
|
|
393
|
+
country: string;
|
|
394
|
+
postalCode: string;
|
|
395
|
+
vatRegNo: string;
|
|
396
|
+
};
|
|
397
|
+
GB: {
|
|
398
|
+
street: string;
|
|
399
|
+
city: string;
|
|
400
|
+
country: string;
|
|
401
|
+
postalCode: string;
|
|
402
|
+
vatRegNo: string;
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
declare const getCountryAddressData: (countryCode?: string) => {
|
|
406
|
+
street: string;
|
|
407
|
+
city: string;
|
|
408
|
+
country: string;
|
|
409
|
+
postalCode: string;
|
|
410
|
+
vatRegNo: string;
|
|
411
|
+
};
|
|
412
|
+
declare const getLocale: () => string;
|
|
413
|
+
declare const getLanguageCode: (locale: string) => string;
|
|
414
|
+
declare const getCountryCodeFromLocale: (locale: string) => string;
|
|
415
|
+
declare const getCurrencyCodeFromLocale: (locale: string) => string;
|
|
416
|
+
declare const getCurrencySymbolFromLocale: (locale: string) => string;
|
|
382
417
|
type Language$1 = components['schemas']['Language'] & {
|
|
383
418
|
id: string;
|
|
384
419
|
translationCode: components['schemas']['Locale'] & {
|
|
385
420
|
id: string;
|
|
386
421
|
};
|
|
387
422
|
};
|
|
388
|
-
declare const getLanguageData: (
|
|
389
|
-
declare const getSnippetSetId: (
|
|
423
|
+
declare const getLanguageData: (adminApiContext: AdminApiContext, languageCode?: string) => Promise<Language$1>;
|
|
424
|
+
declare const getSnippetSetId: (adminApiContext: AdminApiContext, languageCode?: string) => Promise<string>;
|
|
390
425
|
type Currency$1 = components['schemas']['Currency'] & {
|
|
391
426
|
id: string;
|
|
392
427
|
};
|
|
393
|
-
declare const getCurrency: (
|
|
428
|
+
declare const getCurrency: (adminApiContext: AdminApiContext, isoCode?: string) => Promise<Currency$1>;
|
|
394
429
|
declare const getTaxId: (adminApiContext: AdminApiContext) => Promise<string>;
|
|
395
430
|
declare const getPaymentMethodId: (adminApiContext: AdminApiContext, handlerId?: string) => Promise<string>;
|
|
396
431
|
/**
|
|
@@ -489,7 +524,8 @@ declare class TestDataService {
|
|
|
489
524
|
*
|
|
490
525
|
* @private
|
|
491
526
|
*/
|
|
492
|
-
private
|
|
527
|
+
private _shouldCleanUp;
|
|
528
|
+
get shouldCleanUp(): boolean;
|
|
493
529
|
/**
|
|
494
530
|
* Configuration of higher priority entities for the cleanup operation.
|
|
495
531
|
* These entities will be deleted before others.
|
|
@@ -690,7 +726,7 @@ declare class TestDataService {
|
|
|
690
726
|
/**
|
|
691
727
|
* Creates a new basic rule with the condition cart amount >= 1.
|
|
692
728
|
*
|
|
693
|
-
* @param overrides - Specific data overrides that will be applied to the
|
|
729
|
+
* @param overrides - Specific data overrides that will be applied to the basic rule data struct.
|
|
694
730
|
*/
|
|
695
731
|
createBasicRule(overrides?: Partial<Rule>, conditionType?: string, operator?: string, amount?: number): Promise<Rule>;
|
|
696
732
|
/**
|
|
@@ -876,7 +912,7 @@ declare class TestDataService {
|
|
|
876
912
|
* Retrieves a language based on its code.
|
|
877
913
|
* @param languageCode
|
|
878
914
|
*/
|
|
879
|
-
getLanguageData(languageCode
|
|
915
|
+
getLanguageData(languageCode?: string): Promise<Language$2>;
|
|
880
916
|
/**
|
|
881
917
|
* Retrieves a currency based on its ISO code.
|
|
882
918
|
*
|
|
@@ -1500,6 +1536,19 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1500
1536
|
warning: string;
|
|
1501
1537
|
};
|
|
1502
1538
|
};
|
|
1539
|
+
readonly 'administration/media': {
|
|
1540
|
+
buttons: {
|
|
1541
|
+
uploadFile: string;
|
|
1542
|
+
addNewFolder: string;
|
|
1543
|
+
};
|
|
1544
|
+
search: {
|
|
1545
|
+
placeholder: string;
|
|
1546
|
+
};
|
|
1547
|
+
actions: {
|
|
1548
|
+
rename: string;
|
|
1549
|
+
delete: string;
|
|
1550
|
+
};
|
|
1551
|
+
};
|
|
1503
1552
|
readonly 'administration/order': {
|
|
1504
1553
|
detail: {
|
|
1505
1554
|
items: string;
|
|
@@ -1742,6 +1791,14 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1742
1791
|
modals: {
|
|
1743
1792
|
generateVariants: string;
|
|
1744
1793
|
};
|
|
1794
|
+
propertyValues: {
|
|
1795
|
+
blue: string;
|
|
1796
|
+
red: string;
|
|
1797
|
+
green: string;
|
|
1798
|
+
small: string;
|
|
1799
|
+
medium: string;
|
|
1800
|
+
large: string;
|
|
1801
|
+
};
|
|
1745
1802
|
};
|
|
1746
1803
|
readonly 'storefront/account': {
|
|
1747
1804
|
common: {
|
|
@@ -1799,6 +1856,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1799
1856
|
postalCode: string;
|
|
1800
1857
|
state: string;
|
|
1801
1858
|
editAddress: string;
|
|
1859
|
+
addNewAddress: string;
|
|
1802
1860
|
useAsDefaultBilling: string;
|
|
1803
1861
|
useAsDefaultShipping: string;
|
|
1804
1862
|
deliveryNotPossible: string;
|
|
@@ -1961,6 +2019,10 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1961
2019
|
marketing: string;
|
|
1962
2020
|
};
|
|
1963
2021
|
};
|
|
2022
|
+
readonly 'storefront/header': {
|
|
2023
|
+
skipToContentLink: string;
|
|
2024
|
+
searchInputAriaLabel: string;
|
|
2025
|
+
};
|
|
1964
2026
|
readonly 'storefront/home': {
|
|
1965
2027
|
account: {
|
|
1966
2028
|
yourAccount: string;
|
|
@@ -2402,6 +2464,19 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2402
2464
|
warning: string;
|
|
2403
2465
|
};
|
|
2404
2466
|
};
|
|
2467
|
+
readonly 'administration/media': {
|
|
2468
|
+
buttons: {
|
|
2469
|
+
uploadFile: string;
|
|
2470
|
+
addNewFolder: string;
|
|
2471
|
+
};
|
|
2472
|
+
search: {
|
|
2473
|
+
placeholder: string;
|
|
2474
|
+
};
|
|
2475
|
+
actions: {
|
|
2476
|
+
rename: string;
|
|
2477
|
+
delete: string;
|
|
2478
|
+
};
|
|
2479
|
+
};
|
|
2405
2480
|
readonly 'administration/order': {
|
|
2406
2481
|
detail: {
|
|
2407
2482
|
items: string;
|
|
@@ -2502,6 +2577,14 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2502
2577
|
modals: {
|
|
2503
2578
|
generateVariants: string;
|
|
2504
2579
|
};
|
|
2580
|
+
propertyValues: {
|
|
2581
|
+
blue: string;
|
|
2582
|
+
red: string;
|
|
2583
|
+
green: string;
|
|
2584
|
+
small: string;
|
|
2585
|
+
medium: string;
|
|
2586
|
+
large: string;
|
|
2587
|
+
};
|
|
2505
2588
|
};
|
|
2506
2589
|
readonly 'administration/promotion': {
|
|
2507
2590
|
listing: {
|
|
@@ -2695,6 +2778,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2695
2778
|
postalCode: string;
|
|
2696
2779
|
state: string;
|
|
2697
2780
|
editAddress: string;
|
|
2781
|
+
addNewAddress: string;
|
|
2698
2782
|
useAsDefaultBilling: string;
|
|
2699
2783
|
useAsDefaultShipping: string;
|
|
2700
2784
|
deliveryNotPossible: string;
|
|
@@ -2866,6 +2950,10 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2866
2950
|
};
|
|
2867
2951
|
title: string;
|
|
2868
2952
|
};
|
|
2953
|
+
readonly 'storefront/header': {
|
|
2954
|
+
skipToContentLink: string;
|
|
2955
|
+
searchInputAriaLabel: string;
|
|
2956
|
+
};
|
|
2869
2957
|
readonly 'storefront/home': {
|
|
2870
2958
|
account: {
|
|
2871
2959
|
yourAccount: string;
|
|
@@ -3298,6 +3386,19 @@ declare const baseNamespaces: {
|
|
|
3298
3386
|
warning: string;
|
|
3299
3387
|
};
|
|
3300
3388
|
};
|
|
3389
|
+
readonly media: {
|
|
3390
|
+
buttons: {
|
|
3391
|
+
uploadFile: string;
|
|
3392
|
+
addNewFolder: string;
|
|
3393
|
+
};
|
|
3394
|
+
search: {
|
|
3395
|
+
placeholder: string;
|
|
3396
|
+
};
|
|
3397
|
+
actions: {
|
|
3398
|
+
rename: string;
|
|
3399
|
+
delete: string;
|
|
3400
|
+
};
|
|
3401
|
+
};
|
|
3301
3402
|
readonly order: {
|
|
3302
3403
|
detail: {
|
|
3303
3404
|
items: string;
|
|
@@ -3540,6 +3641,14 @@ declare const baseNamespaces: {
|
|
|
3540
3641
|
modals: {
|
|
3541
3642
|
generateVariants: string;
|
|
3542
3643
|
};
|
|
3644
|
+
propertyValues: {
|
|
3645
|
+
blue: string;
|
|
3646
|
+
red: string;
|
|
3647
|
+
green: string;
|
|
3648
|
+
small: string;
|
|
3649
|
+
medium: string;
|
|
3650
|
+
large: string;
|
|
3651
|
+
};
|
|
3543
3652
|
};
|
|
3544
3653
|
};
|
|
3545
3654
|
readonly storefront: {
|
|
@@ -3599,6 +3708,7 @@ declare const baseNamespaces: {
|
|
|
3599
3708
|
postalCode: string;
|
|
3600
3709
|
state: string;
|
|
3601
3710
|
editAddress: string;
|
|
3711
|
+
addNewAddress: string;
|
|
3602
3712
|
useAsDefaultBilling: string;
|
|
3603
3713
|
useAsDefaultShipping: string;
|
|
3604
3714
|
deliveryNotPossible: string;
|
|
@@ -3761,6 +3871,10 @@ declare const baseNamespaces: {
|
|
|
3761
3871
|
marketing: string;
|
|
3762
3872
|
};
|
|
3763
3873
|
};
|
|
3874
|
+
readonly header: {
|
|
3875
|
+
skipToContentLink: string;
|
|
3876
|
+
searchInputAriaLabel: string;
|
|
3877
|
+
};
|
|
3764
3878
|
readonly home: {
|
|
3765
3879
|
account: {
|
|
3766
3880
|
yourAccount: string;
|
|
@@ -4023,16 +4137,16 @@ interface HelperFixtureTypes {
|
|
|
4023
4137
|
|
|
4024
4138
|
interface StoreBaseConfig {
|
|
4025
4139
|
storefrontTypeId: string;
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4140
|
+
currentLocaleId: string;
|
|
4141
|
+
currentLanguageId: string;
|
|
4142
|
+
currentCurrencyId: string;
|
|
4029
4143
|
defaultCurrencyId: string;
|
|
4030
4144
|
defaultLanguageId: string;
|
|
4031
4145
|
invoicePaymentMethodId: string;
|
|
4032
4146
|
defaultShippingMethod: string;
|
|
4033
4147
|
taxId: string;
|
|
4034
|
-
|
|
4035
|
-
|
|
4148
|
+
currentCountryId: string;
|
|
4149
|
+
currentSnippetSetId: string;
|
|
4036
4150
|
defaultThemeId: string;
|
|
4037
4151
|
appUrl: string | undefined;
|
|
4038
4152
|
adminUrl: string;
|
|
@@ -4729,6 +4843,9 @@ declare class RuleCreate implements PageObject {
|
|
|
4729
4843
|
readonly header: Locator;
|
|
4730
4844
|
readonly nameInput: Locator;
|
|
4731
4845
|
readonly priorityInput: Locator;
|
|
4846
|
+
readonly descriptionInput: Locator;
|
|
4847
|
+
readonly typeItem: Locator;
|
|
4848
|
+
readonly tagItem: Locator;
|
|
4732
4849
|
readonly conditionTypeSelectionInput: Locator;
|
|
4733
4850
|
readonly conditionValueSelectionInput: Locator;
|
|
4734
4851
|
readonly filtersResultPopoverSelectionList: Locator;
|
|
@@ -4763,6 +4880,25 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
4763
4880
|
readonly assignmentModal: Locator;
|
|
4764
4881
|
readonly assignmentModalAddButton: Locator;
|
|
4765
4882
|
readonly assignmentModalSearchField: Locator;
|
|
4883
|
+
readonly conditionSelectField: Locator;
|
|
4884
|
+
readonly conditionLineItemGoodsTotalOperator: Locator;
|
|
4885
|
+
readonly conditionLineItemGoodsTotalValue: Locator;
|
|
4886
|
+
readonly conditionDateRangeOperator: Locator;
|
|
4887
|
+
readonly conditionDateRangeDateFieldFirst: Locator;
|
|
4888
|
+
readonly conditionDateRangeDateFieldSecond: Locator;
|
|
4889
|
+
readonly conditionCustomerSurnameOperator: Locator;
|
|
4890
|
+
readonly conditionCustomerSurnameValue: Locator;
|
|
4891
|
+
readonly conditionCartLineItemTaxationMatchOperator: Locator;
|
|
4892
|
+
readonly conditionCartLineItemTaxationOperator: Locator;
|
|
4893
|
+
readonly conditionCartLineItemTaxationValue: Locator;
|
|
4894
|
+
readonly conditionTimeRangeValueFirst: Locator;
|
|
4895
|
+
readonly conditionTimeRangeValueSecond: Locator;
|
|
4896
|
+
readonly conditionOrderCreatedByAdminValue: Locator;
|
|
4897
|
+
readonly conditionLineItemGoodsTotalFilter: Locator;
|
|
4898
|
+
readonly conditionFilterModal: Locator;
|
|
4899
|
+
readonly conditionCartLineItemInStockOperator: Locator;
|
|
4900
|
+
readonly conditionCartLineItemInStockValue: Locator;
|
|
4901
|
+
readonly conditionFilterModalCloseButtonX: Locator;
|
|
4766
4902
|
readonly conditionORContainer: Locator;
|
|
4767
4903
|
readonly adminMenuAvatar: Locator;
|
|
4768
4904
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
@@ -4775,8 +4911,9 @@ declare class RuleListing implements PageObject {
|
|
|
4775
4911
|
readonly header: Locator;
|
|
4776
4912
|
readonly grid: Locator;
|
|
4777
4913
|
readonly page: Page;
|
|
4914
|
+
readonly gridCell: Locator;
|
|
4778
4915
|
constructor(page: Page);
|
|
4779
|
-
url(): string;
|
|
4916
|
+
url(searchTerm: string): string;
|
|
4780
4917
|
}
|
|
4781
4918
|
|
|
4782
4919
|
declare class ManufacturerCreate implements PageObject {
|
|
@@ -5884,6 +6021,8 @@ declare class Header implements PageObject {
|
|
|
5884
6021
|
readonly languagesMenuOptions: Locator;
|
|
5885
6022
|
readonly currenciesDropdown: Locator;
|
|
5886
6023
|
readonly currenciesMenuOptions: Locator;
|
|
6024
|
+
readonly searchInput: Locator;
|
|
6025
|
+
readonly skipToMainContentLink: Locator;
|
|
5887
6026
|
readonly wishlistIcon: Locator;
|
|
5888
6027
|
readonly wishlistBasket: Locator;
|
|
5889
6028
|
readonly page: Page;
|
|
@@ -6024,5 +6163,5 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
|
|
|
6024
6163
|
CheckVisibilityInHome: Task;
|
|
6025
6164
|
}, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
6026
6165
|
|
|
6027
|
-
export { AdminPageObjects, BUNDLED_RESOURCES, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, compareFlowTemplateWithFlow, createRandomImage, encodeImage, extractIdFromUrl, getCountryId, getCurrency, getCurrentContext, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
|
|
6166
|
+
export { AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, compareFlowTemplateWithFlow, createRandomImage, encodeImage, extractIdFromUrl, 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, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
|
|
6028
6167
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -379,18 +379,53 @@ interface Flow {
|
|
|
379
379
|
];
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
declare const COUNTRY_ADDRESS_DATA: {
|
|
383
|
+
DE: {
|
|
384
|
+
street: string;
|
|
385
|
+
city: string;
|
|
386
|
+
country: string;
|
|
387
|
+
postalCode: string;
|
|
388
|
+
vatRegNo: string;
|
|
389
|
+
};
|
|
390
|
+
US: {
|
|
391
|
+
street: string;
|
|
392
|
+
city: string;
|
|
393
|
+
country: string;
|
|
394
|
+
postalCode: string;
|
|
395
|
+
vatRegNo: string;
|
|
396
|
+
};
|
|
397
|
+
GB: {
|
|
398
|
+
street: string;
|
|
399
|
+
city: string;
|
|
400
|
+
country: string;
|
|
401
|
+
postalCode: string;
|
|
402
|
+
vatRegNo: string;
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
declare const getCountryAddressData: (countryCode?: string) => {
|
|
406
|
+
street: string;
|
|
407
|
+
city: string;
|
|
408
|
+
country: string;
|
|
409
|
+
postalCode: string;
|
|
410
|
+
vatRegNo: string;
|
|
411
|
+
};
|
|
412
|
+
declare const getLocale: () => string;
|
|
413
|
+
declare const getLanguageCode: (locale: string) => string;
|
|
414
|
+
declare const getCountryCodeFromLocale: (locale: string) => string;
|
|
415
|
+
declare const getCurrencyCodeFromLocale: (locale: string) => string;
|
|
416
|
+
declare const getCurrencySymbolFromLocale: (locale: string) => string;
|
|
382
417
|
type Language$1 = components['schemas']['Language'] & {
|
|
383
418
|
id: string;
|
|
384
419
|
translationCode: components['schemas']['Locale'] & {
|
|
385
420
|
id: string;
|
|
386
421
|
};
|
|
387
422
|
};
|
|
388
|
-
declare const getLanguageData: (
|
|
389
|
-
declare const getSnippetSetId: (
|
|
423
|
+
declare const getLanguageData: (adminApiContext: AdminApiContext, languageCode?: string) => Promise<Language$1>;
|
|
424
|
+
declare const getSnippetSetId: (adminApiContext: AdminApiContext, languageCode?: string) => Promise<string>;
|
|
390
425
|
type Currency$1 = components['schemas']['Currency'] & {
|
|
391
426
|
id: string;
|
|
392
427
|
};
|
|
393
|
-
declare const getCurrency: (
|
|
428
|
+
declare const getCurrency: (adminApiContext: AdminApiContext, isoCode?: string) => Promise<Currency$1>;
|
|
394
429
|
declare const getTaxId: (adminApiContext: AdminApiContext) => Promise<string>;
|
|
395
430
|
declare const getPaymentMethodId: (adminApiContext: AdminApiContext, handlerId?: string) => Promise<string>;
|
|
396
431
|
/**
|
|
@@ -489,7 +524,8 @@ declare class TestDataService {
|
|
|
489
524
|
*
|
|
490
525
|
* @private
|
|
491
526
|
*/
|
|
492
|
-
private
|
|
527
|
+
private _shouldCleanUp;
|
|
528
|
+
get shouldCleanUp(): boolean;
|
|
493
529
|
/**
|
|
494
530
|
* Configuration of higher priority entities for the cleanup operation.
|
|
495
531
|
* These entities will be deleted before others.
|
|
@@ -690,7 +726,7 @@ declare class TestDataService {
|
|
|
690
726
|
/**
|
|
691
727
|
* Creates a new basic rule with the condition cart amount >= 1.
|
|
692
728
|
*
|
|
693
|
-
* @param overrides - Specific data overrides that will be applied to the
|
|
729
|
+
* @param overrides - Specific data overrides that will be applied to the basic rule data struct.
|
|
694
730
|
*/
|
|
695
731
|
createBasicRule(overrides?: Partial<Rule>, conditionType?: string, operator?: string, amount?: number): Promise<Rule>;
|
|
696
732
|
/**
|
|
@@ -876,7 +912,7 @@ declare class TestDataService {
|
|
|
876
912
|
* Retrieves a language based on its code.
|
|
877
913
|
* @param languageCode
|
|
878
914
|
*/
|
|
879
|
-
getLanguageData(languageCode
|
|
915
|
+
getLanguageData(languageCode?: string): Promise<Language$2>;
|
|
880
916
|
/**
|
|
881
917
|
* Retrieves a currency based on its ISO code.
|
|
882
918
|
*
|
|
@@ -1500,6 +1536,19 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1500
1536
|
warning: string;
|
|
1501
1537
|
};
|
|
1502
1538
|
};
|
|
1539
|
+
readonly 'administration/media': {
|
|
1540
|
+
buttons: {
|
|
1541
|
+
uploadFile: string;
|
|
1542
|
+
addNewFolder: string;
|
|
1543
|
+
};
|
|
1544
|
+
search: {
|
|
1545
|
+
placeholder: string;
|
|
1546
|
+
};
|
|
1547
|
+
actions: {
|
|
1548
|
+
rename: string;
|
|
1549
|
+
delete: string;
|
|
1550
|
+
};
|
|
1551
|
+
};
|
|
1503
1552
|
readonly 'administration/order': {
|
|
1504
1553
|
detail: {
|
|
1505
1554
|
items: string;
|
|
@@ -1742,6 +1791,14 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1742
1791
|
modals: {
|
|
1743
1792
|
generateVariants: string;
|
|
1744
1793
|
};
|
|
1794
|
+
propertyValues: {
|
|
1795
|
+
blue: string;
|
|
1796
|
+
red: string;
|
|
1797
|
+
green: string;
|
|
1798
|
+
small: string;
|
|
1799
|
+
medium: string;
|
|
1800
|
+
large: string;
|
|
1801
|
+
};
|
|
1745
1802
|
};
|
|
1746
1803
|
readonly 'storefront/account': {
|
|
1747
1804
|
common: {
|
|
@@ -1799,6 +1856,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1799
1856
|
postalCode: string;
|
|
1800
1857
|
state: string;
|
|
1801
1858
|
editAddress: string;
|
|
1859
|
+
addNewAddress: string;
|
|
1802
1860
|
useAsDefaultBilling: string;
|
|
1803
1861
|
useAsDefaultShipping: string;
|
|
1804
1862
|
deliveryNotPossible: string;
|
|
@@ -1961,6 +2019,10 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1961
2019
|
marketing: string;
|
|
1962
2020
|
};
|
|
1963
2021
|
};
|
|
2022
|
+
readonly 'storefront/header': {
|
|
2023
|
+
skipToContentLink: string;
|
|
2024
|
+
searchInputAriaLabel: string;
|
|
2025
|
+
};
|
|
1964
2026
|
readonly 'storefront/home': {
|
|
1965
2027
|
account: {
|
|
1966
2028
|
yourAccount: string;
|
|
@@ -2402,6 +2464,19 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2402
2464
|
warning: string;
|
|
2403
2465
|
};
|
|
2404
2466
|
};
|
|
2467
|
+
readonly 'administration/media': {
|
|
2468
|
+
buttons: {
|
|
2469
|
+
uploadFile: string;
|
|
2470
|
+
addNewFolder: string;
|
|
2471
|
+
};
|
|
2472
|
+
search: {
|
|
2473
|
+
placeholder: string;
|
|
2474
|
+
};
|
|
2475
|
+
actions: {
|
|
2476
|
+
rename: string;
|
|
2477
|
+
delete: string;
|
|
2478
|
+
};
|
|
2479
|
+
};
|
|
2405
2480
|
readonly 'administration/order': {
|
|
2406
2481
|
detail: {
|
|
2407
2482
|
items: string;
|
|
@@ -2502,6 +2577,14 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2502
2577
|
modals: {
|
|
2503
2578
|
generateVariants: string;
|
|
2504
2579
|
};
|
|
2580
|
+
propertyValues: {
|
|
2581
|
+
blue: string;
|
|
2582
|
+
red: string;
|
|
2583
|
+
green: string;
|
|
2584
|
+
small: string;
|
|
2585
|
+
medium: string;
|
|
2586
|
+
large: string;
|
|
2587
|
+
};
|
|
2505
2588
|
};
|
|
2506
2589
|
readonly 'administration/promotion': {
|
|
2507
2590
|
listing: {
|
|
@@ -2695,6 +2778,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2695
2778
|
postalCode: string;
|
|
2696
2779
|
state: string;
|
|
2697
2780
|
editAddress: string;
|
|
2781
|
+
addNewAddress: string;
|
|
2698
2782
|
useAsDefaultBilling: string;
|
|
2699
2783
|
useAsDefaultShipping: string;
|
|
2700
2784
|
deliveryNotPossible: string;
|
|
@@ -2866,6 +2950,10 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2866
2950
|
};
|
|
2867
2951
|
title: string;
|
|
2868
2952
|
};
|
|
2953
|
+
readonly 'storefront/header': {
|
|
2954
|
+
skipToContentLink: string;
|
|
2955
|
+
searchInputAriaLabel: string;
|
|
2956
|
+
};
|
|
2869
2957
|
readonly 'storefront/home': {
|
|
2870
2958
|
account: {
|
|
2871
2959
|
yourAccount: string;
|
|
@@ -3298,6 +3386,19 @@ declare const baseNamespaces: {
|
|
|
3298
3386
|
warning: string;
|
|
3299
3387
|
};
|
|
3300
3388
|
};
|
|
3389
|
+
readonly media: {
|
|
3390
|
+
buttons: {
|
|
3391
|
+
uploadFile: string;
|
|
3392
|
+
addNewFolder: string;
|
|
3393
|
+
};
|
|
3394
|
+
search: {
|
|
3395
|
+
placeholder: string;
|
|
3396
|
+
};
|
|
3397
|
+
actions: {
|
|
3398
|
+
rename: string;
|
|
3399
|
+
delete: string;
|
|
3400
|
+
};
|
|
3401
|
+
};
|
|
3301
3402
|
readonly order: {
|
|
3302
3403
|
detail: {
|
|
3303
3404
|
items: string;
|
|
@@ -3540,6 +3641,14 @@ declare const baseNamespaces: {
|
|
|
3540
3641
|
modals: {
|
|
3541
3642
|
generateVariants: string;
|
|
3542
3643
|
};
|
|
3644
|
+
propertyValues: {
|
|
3645
|
+
blue: string;
|
|
3646
|
+
red: string;
|
|
3647
|
+
green: string;
|
|
3648
|
+
small: string;
|
|
3649
|
+
medium: string;
|
|
3650
|
+
large: string;
|
|
3651
|
+
};
|
|
3543
3652
|
};
|
|
3544
3653
|
};
|
|
3545
3654
|
readonly storefront: {
|
|
@@ -3599,6 +3708,7 @@ declare const baseNamespaces: {
|
|
|
3599
3708
|
postalCode: string;
|
|
3600
3709
|
state: string;
|
|
3601
3710
|
editAddress: string;
|
|
3711
|
+
addNewAddress: string;
|
|
3602
3712
|
useAsDefaultBilling: string;
|
|
3603
3713
|
useAsDefaultShipping: string;
|
|
3604
3714
|
deliveryNotPossible: string;
|
|
@@ -3761,6 +3871,10 @@ declare const baseNamespaces: {
|
|
|
3761
3871
|
marketing: string;
|
|
3762
3872
|
};
|
|
3763
3873
|
};
|
|
3874
|
+
readonly header: {
|
|
3875
|
+
skipToContentLink: string;
|
|
3876
|
+
searchInputAriaLabel: string;
|
|
3877
|
+
};
|
|
3764
3878
|
readonly home: {
|
|
3765
3879
|
account: {
|
|
3766
3880
|
yourAccount: string;
|
|
@@ -4023,16 +4137,16 @@ interface HelperFixtureTypes {
|
|
|
4023
4137
|
|
|
4024
4138
|
interface StoreBaseConfig {
|
|
4025
4139
|
storefrontTypeId: string;
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4140
|
+
currentLocaleId: string;
|
|
4141
|
+
currentLanguageId: string;
|
|
4142
|
+
currentCurrencyId: string;
|
|
4029
4143
|
defaultCurrencyId: string;
|
|
4030
4144
|
defaultLanguageId: string;
|
|
4031
4145
|
invoicePaymentMethodId: string;
|
|
4032
4146
|
defaultShippingMethod: string;
|
|
4033
4147
|
taxId: string;
|
|
4034
|
-
|
|
4035
|
-
|
|
4148
|
+
currentCountryId: string;
|
|
4149
|
+
currentSnippetSetId: string;
|
|
4036
4150
|
defaultThemeId: string;
|
|
4037
4151
|
appUrl: string | undefined;
|
|
4038
4152
|
adminUrl: string;
|
|
@@ -4729,6 +4843,9 @@ declare class RuleCreate implements PageObject {
|
|
|
4729
4843
|
readonly header: Locator;
|
|
4730
4844
|
readonly nameInput: Locator;
|
|
4731
4845
|
readonly priorityInput: Locator;
|
|
4846
|
+
readonly descriptionInput: Locator;
|
|
4847
|
+
readonly typeItem: Locator;
|
|
4848
|
+
readonly tagItem: Locator;
|
|
4732
4849
|
readonly conditionTypeSelectionInput: Locator;
|
|
4733
4850
|
readonly conditionValueSelectionInput: Locator;
|
|
4734
4851
|
readonly filtersResultPopoverSelectionList: Locator;
|
|
@@ -4763,6 +4880,25 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
4763
4880
|
readonly assignmentModal: Locator;
|
|
4764
4881
|
readonly assignmentModalAddButton: Locator;
|
|
4765
4882
|
readonly assignmentModalSearchField: Locator;
|
|
4883
|
+
readonly conditionSelectField: Locator;
|
|
4884
|
+
readonly conditionLineItemGoodsTotalOperator: Locator;
|
|
4885
|
+
readonly conditionLineItemGoodsTotalValue: Locator;
|
|
4886
|
+
readonly conditionDateRangeOperator: Locator;
|
|
4887
|
+
readonly conditionDateRangeDateFieldFirst: Locator;
|
|
4888
|
+
readonly conditionDateRangeDateFieldSecond: Locator;
|
|
4889
|
+
readonly conditionCustomerSurnameOperator: Locator;
|
|
4890
|
+
readonly conditionCustomerSurnameValue: Locator;
|
|
4891
|
+
readonly conditionCartLineItemTaxationMatchOperator: Locator;
|
|
4892
|
+
readonly conditionCartLineItemTaxationOperator: Locator;
|
|
4893
|
+
readonly conditionCartLineItemTaxationValue: Locator;
|
|
4894
|
+
readonly conditionTimeRangeValueFirst: Locator;
|
|
4895
|
+
readonly conditionTimeRangeValueSecond: Locator;
|
|
4896
|
+
readonly conditionOrderCreatedByAdminValue: Locator;
|
|
4897
|
+
readonly conditionLineItemGoodsTotalFilter: Locator;
|
|
4898
|
+
readonly conditionFilterModal: Locator;
|
|
4899
|
+
readonly conditionCartLineItemInStockOperator: Locator;
|
|
4900
|
+
readonly conditionCartLineItemInStockValue: Locator;
|
|
4901
|
+
readonly conditionFilterModalCloseButtonX: Locator;
|
|
4766
4902
|
readonly conditionORContainer: Locator;
|
|
4767
4903
|
readonly adminMenuAvatar: Locator;
|
|
4768
4904
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
@@ -4775,8 +4911,9 @@ declare class RuleListing implements PageObject {
|
|
|
4775
4911
|
readonly header: Locator;
|
|
4776
4912
|
readonly grid: Locator;
|
|
4777
4913
|
readonly page: Page;
|
|
4914
|
+
readonly gridCell: Locator;
|
|
4778
4915
|
constructor(page: Page);
|
|
4779
|
-
url(): string;
|
|
4916
|
+
url(searchTerm: string): string;
|
|
4780
4917
|
}
|
|
4781
4918
|
|
|
4782
4919
|
declare class ManufacturerCreate implements PageObject {
|
|
@@ -5884,6 +6021,8 @@ declare class Header implements PageObject {
|
|
|
5884
6021
|
readonly languagesMenuOptions: Locator;
|
|
5885
6022
|
readonly currenciesDropdown: Locator;
|
|
5886
6023
|
readonly currenciesMenuOptions: Locator;
|
|
6024
|
+
readonly searchInput: Locator;
|
|
6025
|
+
readonly skipToMainContentLink: Locator;
|
|
5887
6026
|
readonly wishlistIcon: Locator;
|
|
5888
6027
|
readonly wishlistBasket: Locator;
|
|
5889
6028
|
readonly page: Page;
|
|
@@ -6024,5 +6163,5 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
|
|
|
6024
6163
|
CheckVisibilityInHome: Task;
|
|
6025
6164
|
}, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
6026
6165
|
|
|
6027
|
-
export { AdminPageObjects, BUNDLED_RESOURCES, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, compareFlowTemplateWithFlow, createRandomImage, encodeImage, extractIdFromUrl, getCountryId, getCurrency, getCurrentContext, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
|
|
6166
|
+
export { AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, compareFlowTemplateWithFlow, createRandomImage, encodeImage, extractIdFromUrl, 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, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
|
|
6028
6167
|
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 };
|