@shopware-ag/acceptance-test-suite 10.0.0 → 10.1.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 +90 -16
- package/dist/index.d.ts +90 -16
- package/dist/index.mjs +826 -630
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -171,6 +171,9 @@ declare class IdProvider {
|
|
|
171
171
|
type SalesChannel = components['schemas']['SalesChannel'] & {
|
|
172
172
|
id: string;
|
|
173
173
|
};
|
|
174
|
+
type SalesChannelDomain = components['schemas']['SalesChannelDomain'] & {
|
|
175
|
+
id: string;
|
|
176
|
+
};
|
|
174
177
|
type Customer = Omit<components['schemas']['Customer'], 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
175
178
|
id: string;
|
|
176
179
|
password: string;
|
|
@@ -361,6 +364,19 @@ type CustomField = Omit<components['schemas']['CustomField'], 'config'> & {
|
|
|
361
364
|
};
|
|
362
365
|
};
|
|
363
366
|
};
|
|
367
|
+
declare enum RuleType {
|
|
368
|
+
shippingAvailability = "shippingMethodAvailabilityRule",
|
|
369
|
+
taxAvailability = "taxProviderAvailabilityRule",
|
|
370
|
+
paymentAvailability = "paymentMethodAvailabilityRule",
|
|
371
|
+
promotionOrder = "promotionOrderRule",
|
|
372
|
+
promotionCustomer = "promotionCustomerRule",
|
|
373
|
+
promotionCart = "promotionCartRule"
|
|
374
|
+
}
|
|
375
|
+
interface RuleAssignmentEntity {
|
|
376
|
+
id: string;
|
|
377
|
+
name: string;
|
|
378
|
+
ruleType: RuleType;
|
|
379
|
+
}
|
|
364
380
|
|
|
365
381
|
interface SalesChannelRecord {
|
|
366
382
|
salesChannelId: string;
|
|
@@ -638,6 +654,12 @@ declare class TestDataService {
|
|
|
638
654
|
* @param overrides - Specific data overrides that will be applied to the custom field set data struct.
|
|
639
655
|
*/
|
|
640
656
|
createCustomFieldSet(overrides?: Partial<CustomFieldSet>): Promise<CustomFieldSet>;
|
|
657
|
+
/**
|
|
658
|
+
* Creates a new domain for a sales channel.
|
|
659
|
+
*
|
|
660
|
+
* @param overrides - Specific data overrides that will be applied to the sales channel domain data struct.
|
|
661
|
+
*/
|
|
662
|
+
createSalesChannelDomain(overrides?: Partial<SalesChannelDomain>): Promise<SalesChannelDomain>;
|
|
641
663
|
/**
|
|
642
664
|
* Assigns a media resource as the download of a digital product.
|
|
643
665
|
*
|
|
@@ -987,6 +1009,7 @@ declare class TestDataService {
|
|
|
987
1009
|
clearCaches(): Promise<void>;
|
|
988
1010
|
getBasicCustomFieldSetStruct(overrides?: Partial<CustomFieldSet>): Partial<CustomFieldSet>;
|
|
989
1011
|
getBasicCustomFieldStruct(overrides?: Partial<CustomField>): Partial<CustomField>;
|
|
1012
|
+
getSalesChannelDomainStruct(salesChannelId: string, currencyId: string, languageId: string, snippetSetId: string, overrides?: Partial<SalesChannelDomain>): Partial<SalesChannelDomain>;
|
|
990
1013
|
}
|
|
991
1014
|
|
|
992
1015
|
interface TestDataFixtureTypes {
|
|
@@ -1042,7 +1065,9 @@ declare class Home implements PageObject {
|
|
|
1042
1065
|
readonly productImages: Locator;
|
|
1043
1066
|
readonly productListItems: Locator;
|
|
1044
1067
|
readonly languagesDropdown: Locator;
|
|
1068
|
+
readonly languagesMenuOptions: Locator;
|
|
1045
1069
|
readonly currenciesDropdown: Locator;
|
|
1070
|
+
readonly currenciesMenuOptions: Locator;
|
|
1046
1071
|
readonly consentOnlyTechnicallyRequiredButton: Locator;
|
|
1047
1072
|
readonly consentConfigureButton: Locator;
|
|
1048
1073
|
readonly consentAcceptAllCookiesButton: Locator;
|
|
@@ -1628,6 +1653,28 @@ declare class ShippingListing implements PageObject {
|
|
|
1628
1653
|
url(): string;
|
|
1629
1654
|
}
|
|
1630
1655
|
|
|
1656
|
+
declare class ShippingDetail implements PageObject {
|
|
1657
|
+
readonly page: Page;
|
|
1658
|
+
readonly header: Locator;
|
|
1659
|
+
readonly nameField: Locator;
|
|
1660
|
+
readonly availabilityRuleField: Locator;
|
|
1661
|
+
readonly availabilityRuleListItem: Locator;
|
|
1662
|
+
constructor(page: Page);
|
|
1663
|
+
url(shippingId: string): string;
|
|
1664
|
+
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
declare class PaymentDetail implements PageObject {
|
|
1668
|
+
readonly page: Page;
|
|
1669
|
+
readonly header: Locator;
|
|
1670
|
+
readonly nameField: Locator;
|
|
1671
|
+
readonly availabilityRuleField: Locator;
|
|
1672
|
+
readonly availabilityRuleListItem: Locator;
|
|
1673
|
+
constructor(page: Page);
|
|
1674
|
+
url(paymentId: string): string;
|
|
1675
|
+
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1631
1678
|
declare class LandingPageCreate implements PageObject {
|
|
1632
1679
|
readonly page: Page;
|
|
1633
1680
|
/**
|
|
@@ -1728,17 +1775,6 @@ declare class Categories implements PageObject {
|
|
|
1728
1775
|
url(): string;
|
|
1729
1776
|
}
|
|
1730
1777
|
|
|
1731
|
-
declare class RuleDetail implements PageObject {
|
|
1732
|
-
readonly page: Page;
|
|
1733
|
-
readonly nameInput: Locator;
|
|
1734
|
-
readonly priorityInput: Locator;
|
|
1735
|
-
readonly conditionTypeSelectionInput: Locator;
|
|
1736
|
-
readonly conditionValueSelectionInput: Locator;
|
|
1737
|
-
readonly filtersResultPopoverSelectionList: Locator;
|
|
1738
|
-
constructor(page: Page);
|
|
1739
|
-
url(ruleId: string, tabName?: string): string;
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
1778
|
declare class CustomFieldListing implements PageObject {
|
|
1743
1779
|
readonly page: Page;
|
|
1744
1780
|
readonly addNewSetButton: Locator;
|
|
@@ -1810,6 +1846,36 @@ declare class RuleCreate implements PageObject {
|
|
|
1810
1846
|
url(): string;
|
|
1811
1847
|
}
|
|
1812
1848
|
|
|
1849
|
+
declare class RuleDetail extends RuleCreate implements PageObject {
|
|
1850
|
+
readonly page: Page;
|
|
1851
|
+
readonly shippingMethodAvailabilityRulesCard: Locator;
|
|
1852
|
+
readonly shippingMethodAvailabilityRulesCardLink: Locator;
|
|
1853
|
+
readonly shippingMethodAvailabilityRulesCardTable: Locator;
|
|
1854
|
+
readonly shippingMethodAvailabilityRulesCardEmptyState: Locator;
|
|
1855
|
+
readonly shippingMethodAvailabilityRulesCardSearchField: Locator;
|
|
1856
|
+
readonly taxProviderRulesCard: Locator;
|
|
1857
|
+
readonly taxProviderRulesCardEmptyState: Locator;
|
|
1858
|
+
readonly paymentMethodsAvailabilityRulesCard: Locator;
|
|
1859
|
+
readonly paymentMethodsAvailabilityRulesCardEmptyState: Locator;
|
|
1860
|
+
readonly paymentMethodsAvailabilityRulesCardLink: Locator;
|
|
1861
|
+
readonly promotionOrderRulesCard: Locator;
|
|
1862
|
+
readonly promotionOrderRulesCardEmptyState: Locator;
|
|
1863
|
+
readonly promotionCustomerRulesCard: Locator;
|
|
1864
|
+
readonly promotionCustomerRulesCardEmptyState: Locator;
|
|
1865
|
+
readonly promotionCartRulesCard: Locator;
|
|
1866
|
+
readonly promotionCartRulesCardEmptyState: Locator;
|
|
1867
|
+
constructor(page: Page);
|
|
1868
|
+
getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
|
|
1869
|
+
url(ruleId?: string, tabName?: string): string;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
declare class RuleListing implements PageObject {
|
|
1873
|
+
readonly page: Page;
|
|
1874
|
+
readonly createRuleButton: Locator;
|
|
1875
|
+
constructor(page: Page);
|
|
1876
|
+
url(): string;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1813
1879
|
declare class ManufacturerCreate implements PageObject {
|
|
1814
1880
|
readonly page: Page;
|
|
1815
1881
|
readonly saveButton: Locator;
|
|
@@ -1967,15 +2033,18 @@ interface AdministrationPageTypes {
|
|
|
1967
2033
|
AdminDataSharing: DataSharing;
|
|
1968
2034
|
AdminDashboard: Dashboard;
|
|
1969
2035
|
AdminShippingListing: ShippingListing;
|
|
2036
|
+
AdminShippingDetail: ShippingDetail;
|
|
2037
|
+
AdminPaymentDetail: PaymentDetail;
|
|
1970
2038
|
AdminCategories: Categories;
|
|
1971
2039
|
AdminCategoryDetail: CategoryDetail;
|
|
1972
2040
|
AdminLandingPageCreate: LandingPageCreate;
|
|
1973
2041
|
AdminLandingPageDetail: LandingPageDetail;
|
|
1974
|
-
AdminRuleDetail: RuleDetail;
|
|
1975
|
-
AdminRuleCreate: RuleCreate;
|
|
1976
2042
|
AdminCustomFieldListing: CustomFieldListing;
|
|
1977
2043
|
AdminCustomFieldCreate: CustomFieldCreate;
|
|
1978
2044
|
AdminCustomFieldDetail: CustomFieldDetail;
|
|
2045
|
+
AdminRuleDetail: RuleDetail;
|
|
2046
|
+
AdminRuleCreate: RuleCreate;
|
|
2047
|
+
AdminRuleListing: RuleListing;
|
|
1979
2048
|
AdminManufacturerCreate: ManufacturerCreate;
|
|
1980
2049
|
AdminManufacturerListing: ManufacturerListing;
|
|
1981
2050
|
AdminManufacturerDetail: ManufacturerDetail;
|
|
@@ -1998,15 +2067,18 @@ declare const AdminPageObjects: {
|
|
|
1998
2067
|
Dashboard: typeof Dashboard;
|
|
1999
2068
|
DataSharing: typeof DataSharing;
|
|
2000
2069
|
ShippingListing: typeof ShippingListing;
|
|
2070
|
+
ShippingDetail: typeof ShippingDetail;
|
|
2071
|
+
PaymentDetail: typeof PaymentDetail;
|
|
2001
2072
|
Categories: typeof Categories;
|
|
2002
2073
|
CategoryDetail: typeof CategoryDetail;
|
|
2003
2074
|
LandingPageCreate: typeof LandingPageCreate;
|
|
2004
2075
|
LandingPageDetail: typeof LandingPageDetail;
|
|
2005
|
-
RuleDetail: typeof RuleDetail;
|
|
2006
|
-
RuleCreate: typeof RuleCreate;
|
|
2007
2076
|
CustomFieldListing: typeof CustomFieldListing;
|
|
2008
2077
|
CustomFieldCreate: typeof CustomFieldCreate;
|
|
2009
2078
|
CustomFieldDetail: typeof CustomFieldDetail;
|
|
2079
|
+
RuleCreate: typeof RuleCreate;
|
|
2080
|
+
RuleDetail: typeof RuleDetail;
|
|
2081
|
+
RuleListing: typeof RuleListing;
|
|
2010
2082
|
ManufacturerCreate: typeof ManufacturerCreate;
|
|
2011
2083
|
ManufacturerDetail: typeof ManufacturerDetail;
|
|
2012
2084
|
ManufacturerListing: typeof ManufacturerListing;
|
|
@@ -2109,6 +2181,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2109
2181
|
BulkEditProducts: Task;
|
|
2110
2182
|
} & {
|
|
2111
2183
|
BulkEditCustomers: Task;
|
|
2184
|
+
} & {
|
|
2185
|
+
AssignEntitiesToRule: Task;
|
|
2112
2186
|
} & {
|
|
2113
2187
|
Login: Task;
|
|
2114
2188
|
} & {
|
|
@@ -2149,4 +2223,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2149
2223
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2150
2224
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2151
2225
|
|
|
2152
|
-
export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type SalesChannel, type SalesChannelAnalytics, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type Task, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
|
2226
|
+
export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type Task, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
package/dist/index.d.ts
CHANGED
|
@@ -171,6 +171,9 @@ declare class IdProvider {
|
|
|
171
171
|
type SalesChannel = components['schemas']['SalesChannel'] & {
|
|
172
172
|
id: string;
|
|
173
173
|
};
|
|
174
|
+
type SalesChannelDomain = components['schemas']['SalesChannelDomain'] & {
|
|
175
|
+
id: string;
|
|
176
|
+
};
|
|
174
177
|
type Customer = Omit<components['schemas']['Customer'], 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
175
178
|
id: string;
|
|
176
179
|
password: string;
|
|
@@ -361,6 +364,19 @@ type CustomField = Omit<components['schemas']['CustomField'], 'config'> & {
|
|
|
361
364
|
};
|
|
362
365
|
};
|
|
363
366
|
};
|
|
367
|
+
declare enum RuleType {
|
|
368
|
+
shippingAvailability = "shippingMethodAvailabilityRule",
|
|
369
|
+
taxAvailability = "taxProviderAvailabilityRule",
|
|
370
|
+
paymentAvailability = "paymentMethodAvailabilityRule",
|
|
371
|
+
promotionOrder = "promotionOrderRule",
|
|
372
|
+
promotionCustomer = "promotionCustomerRule",
|
|
373
|
+
promotionCart = "promotionCartRule"
|
|
374
|
+
}
|
|
375
|
+
interface RuleAssignmentEntity {
|
|
376
|
+
id: string;
|
|
377
|
+
name: string;
|
|
378
|
+
ruleType: RuleType;
|
|
379
|
+
}
|
|
364
380
|
|
|
365
381
|
interface SalesChannelRecord {
|
|
366
382
|
salesChannelId: string;
|
|
@@ -638,6 +654,12 @@ declare class TestDataService {
|
|
|
638
654
|
* @param overrides - Specific data overrides that will be applied to the custom field set data struct.
|
|
639
655
|
*/
|
|
640
656
|
createCustomFieldSet(overrides?: Partial<CustomFieldSet>): Promise<CustomFieldSet>;
|
|
657
|
+
/**
|
|
658
|
+
* Creates a new domain for a sales channel.
|
|
659
|
+
*
|
|
660
|
+
* @param overrides - Specific data overrides that will be applied to the sales channel domain data struct.
|
|
661
|
+
*/
|
|
662
|
+
createSalesChannelDomain(overrides?: Partial<SalesChannelDomain>): Promise<SalesChannelDomain>;
|
|
641
663
|
/**
|
|
642
664
|
* Assigns a media resource as the download of a digital product.
|
|
643
665
|
*
|
|
@@ -987,6 +1009,7 @@ declare class TestDataService {
|
|
|
987
1009
|
clearCaches(): Promise<void>;
|
|
988
1010
|
getBasicCustomFieldSetStruct(overrides?: Partial<CustomFieldSet>): Partial<CustomFieldSet>;
|
|
989
1011
|
getBasicCustomFieldStruct(overrides?: Partial<CustomField>): Partial<CustomField>;
|
|
1012
|
+
getSalesChannelDomainStruct(salesChannelId: string, currencyId: string, languageId: string, snippetSetId: string, overrides?: Partial<SalesChannelDomain>): Partial<SalesChannelDomain>;
|
|
990
1013
|
}
|
|
991
1014
|
|
|
992
1015
|
interface TestDataFixtureTypes {
|
|
@@ -1042,7 +1065,9 @@ declare class Home implements PageObject {
|
|
|
1042
1065
|
readonly productImages: Locator;
|
|
1043
1066
|
readonly productListItems: Locator;
|
|
1044
1067
|
readonly languagesDropdown: Locator;
|
|
1068
|
+
readonly languagesMenuOptions: Locator;
|
|
1045
1069
|
readonly currenciesDropdown: Locator;
|
|
1070
|
+
readonly currenciesMenuOptions: Locator;
|
|
1046
1071
|
readonly consentOnlyTechnicallyRequiredButton: Locator;
|
|
1047
1072
|
readonly consentConfigureButton: Locator;
|
|
1048
1073
|
readonly consentAcceptAllCookiesButton: Locator;
|
|
@@ -1628,6 +1653,28 @@ declare class ShippingListing implements PageObject {
|
|
|
1628
1653
|
url(): string;
|
|
1629
1654
|
}
|
|
1630
1655
|
|
|
1656
|
+
declare class ShippingDetail implements PageObject {
|
|
1657
|
+
readonly page: Page;
|
|
1658
|
+
readonly header: Locator;
|
|
1659
|
+
readonly nameField: Locator;
|
|
1660
|
+
readonly availabilityRuleField: Locator;
|
|
1661
|
+
readonly availabilityRuleListItem: Locator;
|
|
1662
|
+
constructor(page: Page);
|
|
1663
|
+
url(shippingId: string): string;
|
|
1664
|
+
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
declare class PaymentDetail implements PageObject {
|
|
1668
|
+
readonly page: Page;
|
|
1669
|
+
readonly header: Locator;
|
|
1670
|
+
readonly nameField: Locator;
|
|
1671
|
+
readonly availabilityRuleField: Locator;
|
|
1672
|
+
readonly availabilityRuleListItem: Locator;
|
|
1673
|
+
constructor(page: Page);
|
|
1674
|
+
url(paymentId: string): string;
|
|
1675
|
+
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1631
1678
|
declare class LandingPageCreate implements PageObject {
|
|
1632
1679
|
readonly page: Page;
|
|
1633
1680
|
/**
|
|
@@ -1728,17 +1775,6 @@ declare class Categories implements PageObject {
|
|
|
1728
1775
|
url(): string;
|
|
1729
1776
|
}
|
|
1730
1777
|
|
|
1731
|
-
declare class RuleDetail implements PageObject {
|
|
1732
|
-
readonly page: Page;
|
|
1733
|
-
readonly nameInput: Locator;
|
|
1734
|
-
readonly priorityInput: Locator;
|
|
1735
|
-
readonly conditionTypeSelectionInput: Locator;
|
|
1736
|
-
readonly conditionValueSelectionInput: Locator;
|
|
1737
|
-
readonly filtersResultPopoverSelectionList: Locator;
|
|
1738
|
-
constructor(page: Page);
|
|
1739
|
-
url(ruleId: string, tabName?: string): string;
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
1778
|
declare class CustomFieldListing implements PageObject {
|
|
1743
1779
|
readonly page: Page;
|
|
1744
1780
|
readonly addNewSetButton: Locator;
|
|
@@ -1810,6 +1846,36 @@ declare class RuleCreate implements PageObject {
|
|
|
1810
1846
|
url(): string;
|
|
1811
1847
|
}
|
|
1812
1848
|
|
|
1849
|
+
declare class RuleDetail extends RuleCreate implements PageObject {
|
|
1850
|
+
readonly page: Page;
|
|
1851
|
+
readonly shippingMethodAvailabilityRulesCard: Locator;
|
|
1852
|
+
readonly shippingMethodAvailabilityRulesCardLink: Locator;
|
|
1853
|
+
readonly shippingMethodAvailabilityRulesCardTable: Locator;
|
|
1854
|
+
readonly shippingMethodAvailabilityRulesCardEmptyState: Locator;
|
|
1855
|
+
readonly shippingMethodAvailabilityRulesCardSearchField: Locator;
|
|
1856
|
+
readonly taxProviderRulesCard: Locator;
|
|
1857
|
+
readonly taxProviderRulesCardEmptyState: Locator;
|
|
1858
|
+
readonly paymentMethodsAvailabilityRulesCard: Locator;
|
|
1859
|
+
readonly paymentMethodsAvailabilityRulesCardEmptyState: Locator;
|
|
1860
|
+
readonly paymentMethodsAvailabilityRulesCardLink: Locator;
|
|
1861
|
+
readonly promotionOrderRulesCard: Locator;
|
|
1862
|
+
readonly promotionOrderRulesCardEmptyState: Locator;
|
|
1863
|
+
readonly promotionCustomerRulesCard: Locator;
|
|
1864
|
+
readonly promotionCustomerRulesCardEmptyState: Locator;
|
|
1865
|
+
readonly promotionCartRulesCard: Locator;
|
|
1866
|
+
readonly promotionCartRulesCardEmptyState: Locator;
|
|
1867
|
+
constructor(page: Page);
|
|
1868
|
+
getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
|
|
1869
|
+
url(ruleId?: string, tabName?: string): string;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
declare class RuleListing implements PageObject {
|
|
1873
|
+
readonly page: Page;
|
|
1874
|
+
readonly createRuleButton: Locator;
|
|
1875
|
+
constructor(page: Page);
|
|
1876
|
+
url(): string;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1813
1879
|
declare class ManufacturerCreate implements PageObject {
|
|
1814
1880
|
readonly page: Page;
|
|
1815
1881
|
readonly saveButton: Locator;
|
|
@@ -1967,15 +2033,18 @@ interface AdministrationPageTypes {
|
|
|
1967
2033
|
AdminDataSharing: DataSharing;
|
|
1968
2034
|
AdminDashboard: Dashboard;
|
|
1969
2035
|
AdminShippingListing: ShippingListing;
|
|
2036
|
+
AdminShippingDetail: ShippingDetail;
|
|
2037
|
+
AdminPaymentDetail: PaymentDetail;
|
|
1970
2038
|
AdminCategories: Categories;
|
|
1971
2039
|
AdminCategoryDetail: CategoryDetail;
|
|
1972
2040
|
AdminLandingPageCreate: LandingPageCreate;
|
|
1973
2041
|
AdminLandingPageDetail: LandingPageDetail;
|
|
1974
|
-
AdminRuleDetail: RuleDetail;
|
|
1975
|
-
AdminRuleCreate: RuleCreate;
|
|
1976
2042
|
AdminCustomFieldListing: CustomFieldListing;
|
|
1977
2043
|
AdminCustomFieldCreate: CustomFieldCreate;
|
|
1978
2044
|
AdminCustomFieldDetail: CustomFieldDetail;
|
|
2045
|
+
AdminRuleDetail: RuleDetail;
|
|
2046
|
+
AdminRuleCreate: RuleCreate;
|
|
2047
|
+
AdminRuleListing: RuleListing;
|
|
1979
2048
|
AdminManufacturerCreate: ManufacturerCreate;
|
|
1980
2049
|
AdminManufacturerListing: ManufacturerListing;
|
|
1981
2050
|
AdminManufacturerDetail: ManufacturerDetail;
|
|
@@ -1998,15 +2067,18 @@ declare const AdminPageObjects: {
|
|
|
1998
2067
|
Dashboard: typeof Dashboard;
|
|
1999
2068
|
DataSharing: typeof DataSharing;
|
|
2000
2069
|
ShippingListing: typeof ShippingListing;
|
|
2070
|
+
ShippingDetail: typeof ShippingDetail;
|
|
2071
|
+
PaymentDetail: typeof PaymentDetail;
|
|
2001
2072
|
Categories: typeof Categories;
|
|
2002
2073
|
CategoryDetail: typeof CategoryDetail;
|
|
2003
2074
|
LandingPageCreate: typeof LandingPageCreate;
|
|
2004
2075
|
LandingPageDetail: typeof LandingPageDetail;
|
|
2005
|
-
RuleDetail: typeof RuleDetail;
|
|
2006
|
-
RuleCreate: typeof RuleCreate;
|
|
2007
2076
|
CustomFieldListing: typeof CustomFieldListing;
|
|
2008
2077
|
CustomFieldCreate: typeof CustomFieldCreate;
|
|
2009
2078
|
CustomFieldDetail: typeof CustomFieldDetail;
|
|
2079
|
+
RuleCreate: typeof RuleCreate;
|
|
2080
|
+
RuleDetail: typeof RuleDetail;
|
|
2081
|
+
RuleListing: typeof RuleListing;
|
|
2010
2082
|
ManufacturerCreate: typeof ManufacturerCreate;
|
|
2011
2083
|
ManufacturerDetail: typeof ManufacturerDetail;
|
|
2012
2084
|
ManufacturerListing: typeof ManufacturerListing;
|
|
@@ -2109,6 +2181,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2109
2181
|
BulkEditProducts: Task;
|
|
2110
2182
|
} & {
|
|
2111
2183
|
BulkEditCustomers: Task;
|
|
2184
|
+
} & {
|
|
2185
|
+
AssignEntitiesToRule: Task;
|
|
2112
2186
|
} & {
|
|
2113
2187
|
Login: Task;
|
|
2114
2188
|
} & {
|
|
@@ -2149,4 +2223,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2149
2223
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2150
2224
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2151
2225
|
|
|
2152
|
-
export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type SalesChannel, type SalesChannelAnalytics, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type Task, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
|
2226
|
+
export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type Task, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|