@shopware-ag/acceptance-test-suite 11.38.0 → 12.0.1
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 +136 -12
- package/dist/index.d.ts +136 -12
- package/dist/index.mjs +656 -467
- 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
|
/**
|
|
@@ -691,7 +726,7 @@ declare class TestDataService {
|
|
|
691
726
|
/**
|
|
692
727
|
* Creates a new basic rule with the condition cart amount >= 1.
|
|
693
728
|
*
|
|
694
|
-
* @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.
|
|
695
730
|
*/
|
|
696
731
|
createBasicRule(overrides?: Partial<Rule>, conditionType?: string, operator?: string, amount?: number): Promise<Rule>;
|
|
697
732
|
/**
|
|
@@ -877,7 +912,7 @@ declare class TestDataService {
|
|
|
877
912
|
* Retrieves a language based on its code.
|
|
878
913
|
* @param languageCode
|
|
879
914
|
*/
|
|
880
|
-
getLanguageData(languageCode
|
|
915
|
+
getLanguageData(languageCode?: string): Promise<Language$2>;
|
|
881
916
|
/**
|
|
882
917
|
* Retrieves a currency based on its ISO code.
|
|
883
918
|
*
|
|
@@ -1501,6 +1536,19 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1501
1536
|
warning: string;
|
|
1502
1537
|
};
|
|
1503
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
|
+
};
|
|
1504
1552
|
readonly 'administration/order': {
|
|
1505
1553
|
detail: {
|
|
1506
1554
|
items: string;
|
|
@@ -1743,6 +1791,14 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1743
1791
|
modals: {
|
|
1744
1792
|
generateVariants: string;
|
|
1745
1793
|
};
|
|
1794
|
+
propertyValues: {
|
|
1795
|
+
blue: string;
|
|
1796
|
+
red: string;
|
|
1797
|
+
green: string;
|
|
1798
|
+
small: string;
|
|
1799
|
+
medium: string;
|
|
1800
|
+
large: string;
|
|
1801
|
+
};
|
|
1746
1802
|
};
|
|
1747
1803
|
readonly 'storefront/account': {
|
|
1748
1804
|
common: {
|
|
@@ -1800,6 +1856,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1800
1856
|
postalCode: string;
|
|
1801
1857
|
state: string;
|
|
1802
1858
|
editAddress: string;
|
|
1859
|
+
addNewAddress: string;
|
|
1803
1860
|
useAsDefaultBilling: string;
|
|
1804
1861
|
useAsDefaultShipping: string;
|
|
1805
1862
|
deliveryNotPossible: string;
|
|
@@ -2407,6 +2464,19 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2407
2464
|
warning: string;
|
|
2408
2465
|
};
|
|
2409
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
|
+
};
|
|
2410
2480
|
readonly 'administration/order': {
|
|
2411
2481
|
detail: {
|
|
2412
2482
|
items: string;
|
|
@@ -2507,6 +2577,14 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2507
2577
|
modals: {
|
|
2508
2578
|
generateVariants: string;
|
|
2509
2579
|
};
|
|
2580
|
+
propertyValues: {
|
|
2581
|
+
blue: string;
|
|
2582
|
+
red: string;
|
|
2583
|
+
green: string;
|
|
2584
|
+
small: string;
|
|
2585
|
+
medium: string;
|
|
2586
|
+
large: string;
|
|
2587
|
+
};
|
|
2510
2588
|
};
|
|
2511
2589
|
readonly 'administration/promotion': {
|
|
2512
2590
|
listing: {
|
|
@@ -2700,6 +2778,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2700
2778
|
postalCode: string;
|
|
2701
2779
|
state: string;
|
|
2702
2780
|
editAddress: string;
|
|
2781
|
+
addNewAddress: string;
|
|
2703
2782
|
useAsDefaultBilling: string;
|
|
2704
2783
|
useAsDefaultShipping: string;
|
|
2705
2784
|
deliveryNotPossible: string;
|
|
@@ -3307,6 +3386,19 @@ declare const baseNamespaces: {
|
|
|
3307
3386
|
warning: string;
|
|
3308
3387
|
};
|
|
3309
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
|
+
};
|
|
3310
3402
|
readonly order: {
|
|
3311
3403
|
detail: {
|
|
3312
3404
|
items: string;
|
|
@@ -3549,6 +3641,14 @@ declare const baseNamespaces: {
|
|
|
3549
3641
|
modals: {
|
|
3550
3642
|
generateVariants: string;
|
|
3551
3643
|
};
|
|
3644
|
+
propertyValues: {
|
|
3645
|
+
blue: string;
|
|
3646
|
+
red: string;
|
|
3647
|
+
green: string;
|
|
3648
|
+
small: string;
|
|
3649
|
+
medium: string;
|
|
3650
|
+
large: string;
|
|
3651
|
+
};
|
|
3552
3652
|
};
|
|
3553
3653
|
};
|
|
3554
3654
|
readonly storefront: {
|
|
@@ -3608,6 +3708,7 @@ declare const baseNamespaces: {
|
|
|
3608
3708
|
postalCode: string;
|
|
3609
3709
|
state: string;
|
|
3610
3710
|
editAddress: string;
|
|
3711
|
+
addNewAddress: string;
|
|
3611
3712
|
useAsDefaultBilling: string;
|
|
3612
3713
|
useAsDefaultShipping: string;
|
|
3613
3714
|
deliveryNotPossible: string;
|
|
@@ -4036,16 +4137,16 @@ interface HelperFixtureTypes {
|
|
|
4036
4137
|
|
|
4037
4138
|
interface StoreBaseConfig {
|
|
4038
4139
|
storefrontTypeId: string;
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4140
|
+
currentLocaleId: string;
|
|
4141
|
+
currentLanguageId: string;
|
|
4142
|
+
currentCurrencyId: string;
|
|
4042
4143
|
defaultCurrencyId: string;
|
|
4043
4144
|
defaultLanguageId: string;
|
|
4044
4145
|
invoicePaymentMethodId: string;
|
|
4045
4146
|
defaultShippingMethod: string;
|
|
4046
4147
|
taxId: string;
|
|
4047
|
-
|
|
4048
|
-
|
|
4148
|
+
currentCountryId: string;
|
|
4149
|
+
currentSnippetSetId: string;
|
|
4049
4150
|
defaultThemeId: string;
|
|
4050
4151
|
appUrl: string | undefined;
|
|
4051
4152
|
adminUrl: string;
|
|
@@ -4742,6 +4843,9 @@ declare class RuleCreate implements PageObject {
|
|
|
4742
4843
|
readonly header: Locator;
|
|
4743
4844
|
readonly nameInput: Locator;
|
|
4744
4845
|
readonly priorityInput: Locator;
|
|
4846
|
+
readonly descriptionInput: Locator;
|
|
4847
|
+
readonly typeItem: Locator;
|
|
4848
|
+
readonly tagItem: Locator;
|
|
4745
4849
|
readonly conditionTypeSelectionInput: Locator;
|
|
4746
4850
|
readonly conditionValueSelectionInput: Locator;
|
|
4747
4851
|
readonly filtersResultPopoverSelectionList: Locator;
|
|
@@ -4776,6 +4880,25 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
4776
4880
|
readonly assignmentModal: Locator;
|
|
4777
4881
|
readonly assignmentModalAddButton: Locator;
|
|
4778
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;
|
|
4779
4902
|
readonly conditionORContainer: Locator;
|
|
4780
4903
|
readonly adminMenuAvatar: Locator;
|
|
4781
4904
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
@@ -4788,8 +4911,9 @@ declare class RuleListing implements PageObject {
|
|
|
4788
4911
|
readonly header: Locator;
|
|
4789
4912
|
readonly grid: Locator;
|
|
4790
4913
|
readonly page: Page;
|
|
4914
|
+
readonly gridCell: Locator;
|
|
4791
4915
|
constructor(page: Page);
|
|
4792
|
-
url(): string;
|
|
4916
|
+
url(searchTerm: string): string;
|
|
4793
4917
|
}
|
|
4794
4918
|
|
|
4795
4919
|
declare class ManufacturerCreate implements PageObject {
|
|
@@ -6039,5 +6163,5 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
|
|
|
6039
6163
|
CheckVisibilityInHome: Task;
|
|
6040
6164
|
}, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
6041
6165
|
|
|
6042
|
-
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 };
|
|
6043
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
|
/**
|
|
@@ -691,7 +726,7 @@ declare class TestDataService {
|
|
|
691
726
|
/**
|
|
692
727
|
* Creates a new basic rule with the condition cart amount >= 1.
|
|
693
728
|
*
|
|
694
|
-
* @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.
|
|
695
730
|
*/
|
|
696
731
|
createBasicRule(overrides?: Partial<Rule>, conditionType?: string, operator?: string, amount?: number): Promise<Rule>;
|
|
697
732
|
/**
|
|
@@ -877,7 +912,7 @@ declare class TestDataService {
|
|
|
877
912
|
* Retrieves a language based on its code.
|
|
878
913
|
* @param languageCode
|
|
879
914
|
*/
|
|
880
|
-
getLanguageData(languageCode
|
|
915
|
+
getLanguageData(languageCode?: string): Promise<Language$2>;
|
|
881
916
|
/**
|
|
882
917
|
* Retrieves a currency based on its ISO code.
|
|
883
918
|
*
|
|
@@ -1501,6 +1536,19 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1501
1536
|
warning: string;
|
|
1502
1537
|
};
|
|
1503
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
|
+
};
|
|
1504
1552
|
readonly 'administration/order': {
|
|
1505
1553
|
detail: {
|
|
1506
1554
|
items: string;
|
|
@@ -1743,6 +1791,14 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1743
1791
|
modals: {
|
|
1744
1792
|
generateVariants: string;
|
|
1745
1793
|
};
|
|
1794
|
+
propertyValues: {
|
|
1795
|
+
blue: string;
|
|
1796
|
+
red: string;
|
|
1797
|
+
green: string;
|
|
1798
|
+
small: string;
|
|
1799
|
+
medium: string;
|
|
1800
|
+
large: string;
|
|
1801
|
+
};
|
|
1746
1802
|
};
|
|
1747
1803
|
readonly 'storefront/account': {
|
|
1748
1804
|
common: {
|
|
@@ -1800,6 +1856,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1800
1856
|
postalCode: string;
|
|
1801
1857
|
state: string;
|
|
1802
1858
|
editAddress: string;
|
|
1859
|
+
addNewAddress: string;
|
|
1803
1860
|
useAsDefaultBilling: string;
|
|
1804
1861
|
useAsDefaultShipping: string;
|
|
1805
1862
|
deliveryNotPossible: string;
|
|
@@ -2407,6 +2464,19 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2407
2464
|
warning: string;
|
|
2408
2465
|
};
|
|
2409
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
|
+
};
|
|
2410
2480
|
readonly 'administration/order': {
|
|
2411
2481
|
detail: {
|
|
2412
2482
|
items: string;
|
|
@@ -2507,6 +2577,14 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2507
2577
|
modals: {
|
|
2508
2578
|
generateVariants: string;
|
|
2509
2579
|
};
|
|
2580
|
+
propertyValues: {
|
|
2581
|
+
blue: string;
|
|
2582
|
+
red: string;
|
|
2583
|
+
green: string;
|
|
2584
|
+
small: string;
|
|
2585
|
+
medium: string;
|
|
2586
|
+
large: string;
|
|
2587
|
+
};
|
|
2510
2588
|
};
|
|
2511
2589
|
readonly 'administration/promotion': {
|
|
2512
2590
|
listing: {
|
|
@@ -2700,6 +2778,7 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2700
2778
|
postalCode: string;
|
|
2701
2779
|
state: string;
|
|
2702
2780
|
editAddress: string;
|
|
2781
|
+
addNewAddress: string;
|
|
2703
2782
|
useAsDefaultBilling: string;
|
|
2704
2783
|
useAsDefaultShipping: string;
|
|
2705
2784
|
deliveryNotPossible: string;
|
|
@@ -3307,6 +3386,19 @@ declare const baseNamespaces: {
|
|
|
3307
3386
|
warning: string;
|
|
3308
3387
|
};
|
|
3309
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
|
+
};
|
|
3310
3402
|
readonly order: {
|
|
3311
3403
|
detail: {
|
|
3312
3404
|
items: string;
|
|
@@ -3549,6 +3641,14 @@ declare const baseNamespaces: {
|
|
|
3549
3641
|
modals: {
|
|
3550
3642
|
generateVariants: string;
|
|
3551
3643
|
};
|
|
3644
|
+
propertyValues: {
|
|
3645
|
+
blue: string;
|
|
3646
|
+
red: string;
|
|
3647
|
+
green: string;
|
|
3648
|
+
small: string;
|
|
3649
|
+
medium: string;
|
|
3650
|
+
large: string;
|
|
3651
|
+
};
|
|
3552
3652
|
};
|
|
3553
3653
|
};
|
|
3554
3654
|
readonly storefront: {
|
|
@@ -3608,6 +3708,7 @@ declare const baseNamespaces: {
|
|
|
3608
3708
|
postalCode: string;
|
|
3609
3709
|
state: string;
|
|
3610
3710
|
editAddress: string;
|
|
3711
|
+
addNewAddress: string;
|
|
3611
3712
|
useAsDefaultBilling: string;
|
|
3612
3713
|
useAsDefaultShipping: string;
|
|
3613
3714
|
deliveryNotPossible: string;
|
|
@@ -4036,16 +4137,16 @@ interface HelperFixtureTypes {
|
|
|
4036
4137
|
|
|
4037
4138
|
interface StoreBaseConfig {
|
|
4038
4139
|
storefrontTypeId: string;
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4140
|
+
currentLocaleId: string;
|
|
4141
|
+
currentLanguageId: string;
|
|
4142
|
+
currentCurrencyId: string;
|
|
4042
4143
|
defaultCurrencyId: string;
|
|
4043
4144
|
defaultLanguageId: string;
|
|
4044
4145
|
invoicePaymentMethodId: string;
|
|
4045
4146
|
defaultShippingMethod: string;
|
|
4046
4147
|
taxId: string;
|
|
4047
|
-
|
|
4048
|
-
|
|
4148
|
+
currentCountryId: string;
|
|
4149
|
+
currentSnippetSetId: string;
|
|
4049
4150
|
defaultThemeId: string;
|
|
4050
4151
|
appUrl: string | undefined;
|
|
4051
4152
|
adminUrl: string;
|
|
@@ -4742,6 +4843,9 @@ declare class RuleCreate implements PageObject {
|
|
|
4742
4843
|
readonly header: Locator;
|
|
4743
4844
|
readonly nameInput: Locator;
|
|
4744
4845
|
readonly priorityInput: Locator;
|
|
4846
|
+
readonly descriptionInput: Locator;
|
|
4847
|
+
readonly typeItem: Locator;
|
|
4848
|
+
readonly tagItem: Locator;
|
|
4745
4849
|
readonly conditionTypeSelectionInput: Locator;
|
|
4746
4850
|
readonly conditionValueSelectionInput: Locator;
|
|
4747
4851
|
readonly filtersResultPopoverSelectionList: Locator;
|
|
@@ -4776,6 +4880,25 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
4776
4880
|
readonly assignmentModal: Locator;
|
|
4777
4881
|
readonly assignmentModalAddButton: Locator;
|
|
4778
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;
|
|
4779
4902
|
readonly conditionORContainer: Locator;
|
|
4780
4903
|
readonly adminMenuAvatar: Locator;
|
|
4781
4904
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
@@ -4788,8 +4911,9 @@ declare class RuleListing implements PageObject {
|
|
|
4788
4911
|
readonly header: Locator;
|
|
4789
4912
|
readonly grid: Locator;
|
|
4790
4913
|
readonly page: Page;
|
|
4914
|
+
readonly gridCell: Locator;
|
|
4791
4915
|
constructor(page: Page);
|
|
4792
|
-
url(): string;
|
|
4916
|
+
url(searchTerm: string): string;
|
|
4793
4917
|
}
|
|
4794
4918
|
|
|
4795
4919
|
declare class ManufacturerCreate implements PageObject {
|
|
@@ -6039,5 +6163,5 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
|
|
|
6039
6163
|
CheckVisibilityInHome: Task;
|
|
6040
6164
|
}, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
6041
6165
|
|
|
6042
|
-
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 };
|
|
6043
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 };
|