@shopware-ag/acceptance-test-suite 10.0.1 → 10.2.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 +124 -16
- package/dist/index.d.ts +124 -16
- package/dist/index.mjs +840 -635
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -364,6 +364,46 @@ type CustomField = Omit<components['schemas']['CustomField'], 'config'> & {
|
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
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
|
+
}
|
|
380
|
+
interface CategoryData {
|
|
381
|
+
name: string;
|
|
382
|
+
categoryType: 'Link' | 'Page / List' | 'Structuring element / Entry point';
|
|
383
|
+
status: boolean;
|
|
384
|
+
}
|
|
385
|
+
interface CategoryCustomizableLinkData {
|
|
386
|
+
linkType: 'Internal' | 'External';
|
|
387
|
+
entity: 'Category' | 'Product' | 'Landing page';
|
|
388
|
+
category?: string;
|
|
389
|
+
product?: string;
|
|
390
|
+
landingPage?: string;
|
|
391
|
+
openInNewTab: boolean;
|
|
392
|
+
}
|
|
393
|
+
interface AccountData {
|
|
394
|
+
customerGroup?: string;
|
|
395
|
+
accountStatus?: boolean;
|
|
396
|
+
language?: string;
|
|
397
|
+
replyToCustomerGroupRequest?: string;
|
|
398
|
+
}
|
|
399
|
+
interface TagData {
|
|
400
|
+
changeType: 'Overwrite' | 'Clear' | 'Add' | 'Remove';
|
|
401
|
+
tags: string[];
|
|
402
|
+
}
|
|
403
|
+
interface CustomFieldData {
|
|
404
|
+
customFieldSetName: string;
|
|
405
|
+
customFieldValue: string;
|
|
406
|
+
}
|
|
367
407
|
|
|
368
408
|
interface SalesChannelRecord {
|
|
369
409
|
salesChannelId: string;
|
|
@@ -1199,6 +1239,7 @@ declare class AccountLogin implements PageObject {
|
|
|
1199
1239
|
readonly page: Page;
|
|
1200
1240
|
readonly emailInput: Locator;
|
|
1201
1241
|
readonly passwordInput: Locator;
|
|
1242
|
+
readonly forgotPasswordLink: Locator;
|
|
1202
1243
|
readonly loginButton: Locator;
|
|
1203
1244
|
readonly logoutLink: Locator;
|
|
1204
1245
|
readonly successAlert: Locator;
|
|
@@ -1222,6 +1263,19 @@ declare class AccountLogin implements PageObject {
|
|
|
1222
1263
|
url(): string;
|
|
1223
1264
|
}
|
|
1224
1265
|
|
|
1266
|
+
declare class AccountRecover implements PageObject {
|
|
1267
|
+
readonly page: Page;
|
|
1268
|
+
readonly passwordRecoveryForm: Locator;
|
|
1269
|
+
readonly title: Locator;
|
|
1270
|
+
readonly subtitle: Locator;
|
|
1271
|
+
readonly emailInput: Locator;
|
|
1272
|
+
readonly requestEmailButton: Locator;
|
|
1273
|
+
readonly backButton: Locator;
|
|
1274
|
+
readonly passwordResetEmailSentMessage: Locator;
|
|
1275
|
+
constructor(page: Page);
|
|
1276
|
+
url(): string;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1225
1279
|
declare class AccountProfile implements PageObject {
|
|
1226
1280
|
readonly page: Page;
|
|
1227
1281
|
readonly salutationSelect: Locator;
|
|
@@ -1238,6 +1292,9 @@ declare class AccountProfile implements PageObject {
|
|
|
1238
1292
|
readonly newPasswordConfirmInput: Locator;
|
|
1239
1293
|
readonly currentPasswordInput: Locator;
|
|
1240
1294
|
readonly saveNewPasswordButton: Locator;
|
|
1295
|
+
readonly loginDataEmailAddress: Locator;
|
|
1296
|
+
readonly emailUpdateMessage: Locator;
|
|
1297
|
+
readonly passwordUpdateMessage: Locator;
|
|
1241
1298
|
constructor(page: Page);
|
|
1242
1299
|
url(): string;
|
|
1243
1300
|
}
|
|
@@ -1331,6 +1388,7 @@ interface StorefrontPageTypes {
|
|
|
1331
1388
|
StorefrontCheckoutRegister: CheckoutRegister;
|
|
1332
1389
|
StorefrontAccount: Account;
|
|
1333
1390
|
StorefrontAccountLogin: AccountLogin;
|
|
1391
|
+
StorefrontAccountRecover: AccountRecover;
|
|
1334
1392
|
StorefrontAccountProfile: AccountProfile;
|
|
1335
1393
|
StorefrontAccountOrder: AccountOrder;
|
|
1336
1394
|
StorefrontAccountAddresses: AccountAddresses;
|
|
@@ -1351,6 +1409,7 @@ declare const StorefrontPageObjects: {
|
|
|
1351
1409
|
CheckoutRegister: typeof CheckoutRegister;
|
|
1352
1410
|
Account: typeof Account;
|
|
1353
1411
|
AccountLogin: typeof AccountLogin;
|
|
1412
|
+
AccountRecover: typeof AccountRecover;
|
|
1354
1413
|
AccountProfile: typeof AccountProfile;
|
|
1355
1414
|
AccountOrder: typeof AccountOrder;
|
|
1356
1415
|
AccountAddresses: typeof AccountAddresses;
|
|
@@ -1640,6 +1699,28 @@ declare class ShippingListing implements PageObject {
|
|
|
1640
1699
|
url(): string;
|
|
1641
1700
|
}
|
|
1642
1701
|
|
|
1702
|
+
declare class ShippingDetail implements PageObject {
|
|
1703
|
+
readonly page: Page;
|
|
1704
|
+
readonly header: Locator;
|
|
1705
|
+
readonly nameField: Locator;
|
|
1706
|
+
readonly availabilityRuleField: Locator;
|
|
1707
|
+
readonly availabilityRuleListItem: Locator;
|
|
1708
|
+
constructor(page: Page);
|
|
1709
|
+
url(shippingId: string): string;
|
|
1710
|
+
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
declare class PaymentDetail implements PageObject {
|
|
1714
|
+
readonly page: Page;
|
|
1715
|
+
readonly header: Locator;
|
|
1716
|
+
readonly nameField: Locator;
|
|
1717
|
+
readonly availabilityRuleField: Locator;
|
|
1718
|
+
readonly availabilityRuleListItem: Locator;
|
|
1719
|
+
constructor(page: Page);
|
|
1720
|
+
url(paymentId: string): string;
|
|
1721
|
+
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1643
1724
|
declare class LandingPageCreate implements PageObject {
|
|
1644
1725
|
readonly page: Page;
|
|
1645
1726
|
/**
|
|
@@ -1740,17 +1821,6 @@ declare class Categories implements PageObject {
|
|
|
1740
1821
|
url(): string;
|
|
1741
1822
|
}
|
|
1742
1823
|
|
|
1743
|
-
declare class RuleDetail implements PageObject {
|
|
1744
|
-
readonly page: Page;
|
|
1745
|
-
readonly nameInput: Locator;
|
|
1746
|
-
readonly priorityInput: Locator;
|
|
1747
|
-
readonly conditionTypeSelectionInput: Locator;
|
|
1748
|
-
readonly conditionValueSelectionInput: Locator;
|
|
1749
|
-
readonly filtersResultPopoverSelectionList: Locator;
|
|
1750
|
-
constructor(page: Page);
|
|
1751
|
-
url(ruleId: string, tabName?: string): string;
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
1824
|
declare class CustomFieldListing implements PageObject {
|
|
1755
1825
|
readonly page: Page;
|
|
1756
1826
|
readonly addNewSetButton: Locator;
|
|
@@ -1822,6 +1892,36 @@ declare class RuleCreate implements PageObject {
|
|
|
1822
1892
|
url(): string;
|
|
1823
1893
|
}
|
|
1824
1894
|
|
|
1895
|
+
declare class RuleDetail extends RuleCreate implements PageObject {
|
|
1896
|
+
readonly page: Page;
|
|
1897
|
+
readonly shippingMethodAvailabilityRulesCard: Locator;
|
|
1898
|
+
readonly shippingMethodAvailabilityRulesCardLink: Locator;
|
|
1899
|
+
readonly shippingMethodAvailabilityRulesCardTable: Locator;
|
|
1900
|
+
readonly shippingMethodAvailabilityRulesCardEmptyState: Locator;
|
|
1901
|
+
readonly shippingMethodAvailabilityRulesCardSearchField: Locator;
|
|
1902
|
+
readonly taxProviderRulesCard: Locator;
|
|
1903
|
+
readonly taxProviderRulesCardEmptyState: Locator;
|
|
1904
|
+
readonly paymentMethodsAvailabilityRulesCard: Locator;
|
|
1905
|
+
readonly paymentMethodsAvailabilityRulesCardEmptyState: Locator;
|
|
1906
|
+
readonly paymentMethodsAvailabilityRulesCardLink: Locator;
|
|
1907
|
+
readonly promotionOrderRulesCard: Locator;
|
|
1908
|
+
readonly promotionOrderRulesCardEmptyState: Locator;
|
|
1909
|
+
readonly promotionCustomerRulesCard: Locator;
|
|
1910
|
+
readonly promotionCustomerRulesCardEmptyState: Locator;
|
|
1911
|
+
readonly promotionCartRulesCard: Locator;
|
|
1912
|
+
readonly promotionCartRulesCardEmptyState: Locator;
|
|
1913
|
+
constructor(page: Page);
|
|
1914
|
+
getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
|
|
1915
|
+
url(ruleId?: string, tabName?: string): string;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
declare class RuleListing implements PageObject {
|
|
1919
|
+
readonly page: Page;
|
|
1920
|
+
readonly createRuleButton: Locator;
|
|
1921
|
+
constructor(page: Page);
|
|
1922
|
+
url(): string;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1825
1925
|
declare class ManufacturerCreate implements PageObject {
|
|
1826
1926
|
readonly page: Page;
|
|
1827
1927
|
readonly saveButton: Locator;
|
|
@@ -1979,15 +2079,18 @@ interface AdministrationPageTypes {
|
|
|
1979
2079
|
AdminDataSharing: DataSharing;
|
|
1980
2080
|
AdminDashboard: Dashboard;
|
|
1981
2081
|
AdminShippingListing: ShippingListing;
|
|
2082
|
+
AdminShippingDetail: ShippingDetail;
|
|
2083
|
+
AdminPaymentDetail: PaymentDetail;
|
|
1982
2084
|
AdminCategories: Categories;
|
|
1983
2085
|
AdminCategoryDetail: CategoryDetail;
|
|
1984
2086
|
AdminLandingPageCreate: LandingPageCreate;
|
|
1985
2087
|
AdminLandingPageDetail: LandingPageDetail;
|
|
1986
|
-
AdminRuleDetail: RuleDetail;
|
|
1987
|
-
AdminRuleCreate: RuleCreate;
|
|
1988
2088
|
AdminCustomFieldListing: CustomFieldListing;
|
|
1989
2089
|
AdminCustomFieldCreate: CustomFieldCreate;
|
|
1990
2090
|
AdminCustomFieldDetail: CustomFieldDetail;
|
|
2091
|
+
AdminRuleDetail: RuleDetail;
|
|
2092
|
+
AdminRuleCreate: RuleCreate;
|
|
2093
|
+
AdminRuleListing: RuleListing;
|
|
1991
2094
|
AdminManufacturerCreate: ManufacturerCreate;
|
|
1992
2095
|
AdminManufacturerListing: ManufacturerListing;
|
|
1993
2096
|
AdminManufacturerDetail: ManufacturerDetail;
|
|
@@ -2010,15 +2113,18 @@ declare const AdminPageObjects: {
|
|
|
2010
2113
|
Dashboard: typeof Dashboard;
|
|
2011
2114
|
DataSharing: typeof DataSharing;
|
|
2012
2115
|
ShippingListing: typeof ShippingListing;
|
|
2116
|
+
ShippingDetail: typeof ShippingDetail;
|
|
2117
|
+
PaymentDetail: typeof PaymentDetail;
|
|
2013
2118
|
Categories: typeof Categories;
|
|
2014
2119
|
CategoryDetail: typeof CategoryDetail;
|
|
2015
2120
|
LandingPageCreate: typeof LandingPageCreate;
|
|
2016
2121
|
LandingPageDetail: typeof LandingPageDetail;
|
|
2017
|
-
RuleDetail: typeof RuleDetail;
|
|
2018
|
-
RuleCreate: typeof RuleCreate;
|
|
2019
2122
|
CustomFieldListing: typeof CustomFieldListing;
|
|
2020
2123
|
CustomFieldCreate: typeof CustomFieldCreate;
|
|
2021
2124
|
CustomFieldDetail: typeof CustomFieldDetail;
|
|
2125
|
+
RuleCreate: typeof RuleCreate;
|
|
2126
|
+
RuleDetail: typeof RuleDetail;
|
|
2127
|
+
RuleListing: typeof RuleListing;
|
|
2022
2128
|
ManufacturerCreate: typeof ManufacturerCreate;
|
|
2023
2129
|
ManufacturerDetail: typeof ManufacturerDetail;
|
|
2024
2130
|
ManufacturerListing: typeof ManufacturerListing;
|
|
@@ -2121,6 +2227,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2121
2227
|
BulkEditProducts: Task;
|
|
2122
2228
|
} & {
|
|
2123
2229
|
BulkEditCustomers: Task;
|
|
2230
|
+
} & {
|
|
2231
|
+
AssignEntitiesToRule: Task;
|
|
2124
2232
|
} & {
|
|
2125
2233
|
Login: Task;
|
|
2126
2234
|
} & {
|
|
@@ -2161,4 +2269,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2161
2269
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2162
2270
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2163
2271
|
|
|
2164
|
-
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 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 };
|
|
2272
|
+
export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, 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 TagData, 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
|
@@ -364,6 +364,46 @@ type CustomField = Omit<components['schemas']['CustomField'], 'config'> & {
|
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
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
|
+
}
|
|
380
|
+
interface CategoryData {
|
|
381
|
+
name: string;
|
|
382
|
+
categoryType: 'Link' | 'Page / List' | 'Structuring element / Entry point';
|
|
383
|
+
status: boolean;
|
|
384
|
+
}
|
|
385
|
+
interface CategoryCustomizableLinkData {
|
|
386
|
+
linkType: 'Internal' | 'External';
|
|
387
|
+
entity: 'Category' | 'Product' | 'Landing page';
|
|
388
|
+
category?: string;
|
|
389
|
+
product?: string;
|
|
390
|
+
landingPage?: string;
|
|
391
|
+
openInNewTab: boolean;
|
|
392
|
+
}
|
|
393
|
+
interface AccountData {
|
|
394
|
+
customerGroup?: string;
|
|
395
|
+
accountStatus?: boolean;
|
|
396
|
+
language?: string;
|
|
397
|
+
replyToCustomerGroupRequest?: string;
|
|
398
|
+
}
|
|
399
|
+
interface TagData {
|
|
400
|
+
changeType: 'Overwrite' | 'Clear' | 'Add' | 'Remove';
|
|
401
|
+
tags: string[];
|
|
402
|
+
}
|
|
403
|
+
interface CustomFieldData {
|
|
404
|
+
customFieldSetName: string;
|
|
405
|
+
customFieldValue: string;
|
|
406
|
+
}
|
|
367
407
|
|
|
368
408
|
interface SalesChannelRecord {
|
|
369
409
|
salesChannelId: string;
|
|
@@ -1199,6 +1239,7 @@ declare class AccountLogin implements PageObject {
|
|
|
1199
1239
|
readonly page: Page;
|
|
1200
1240
|
readonly emailInput: Locator;
|
|
1201
1241
|
readonly passwordInput: Locator;
|
|
1242
|
+
readonly forgotPasswordLink: Locator;
|
|
1202
1243
|
readonly loginButton: Locator;
|
|
1203
1244
|
readonly logoutLink: Locator;
|
|
1204
1245
|
readonly successAlert: Locator;
|
|
@@ -1222,6 +1263,19 @@ declare class AccountLogin implements PageObject {
|
|
|
1222
1263
|
url(): string;
|
|
1223
1264
|
}
|
|
1224
1265
|
|
|
1266
|
+
declare class AccountRecover implements PageObject {
|
|
1267
|
+
readonly page: Page;
|
|
1268
|
+
readonly passwordRecoveryForm: Locator;
|
|
1269
|
+
readonly title: Locator;
|
|
1270
|
+
readonly subtitle: Locator;
|
|
1271
|
+
readonly emailInput: Locator;
|
|
1272
|
+
readonly requestEmailButton: Locator;
|
|
1273
|
+
readonly backButton: Locator;
|
|
1274
|
+
readonly passwordResetEmailSentMessage: Locator;
|
|
1275
|
+
constructor(page: Page);
|
|
1276
|
+
url(): string;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1225
1279
|
declare class AccountProfile implements PageObject {
|
|
1226
1280
|
readonly page: Page;
|
|
1227
1281
|
readonly salutationSelect: Locator;
|
|
@@ -1238,6 +1292,9 @@ declare class AccountProfile implements PageObject {
|
|
|
1238
1292
|
readonly newPasswordConfirmInput: Locator;
|
|
1239
1293
|
readonly currentPasswordInput: Locator;
|
|
1240
1294
|
readonly saveNewPasswordButton: Locator;
|
|
1295
|
+
readonly loginDataEmailAddress: Locator;
|
|
1296
|
+
readonly emailUpdateMessage: Locator;
|
|
1297
|
+
readonly passwordUpdateMessage: Locator;
|
|
1241
1298
|
constructor(page: Page);
|
|
1242
1299
|
url(): string;
|
|
1243
1300
|
}
|
|
@@ -1331,6 +1388,7 @@ interface StorefrontPageTypes {
|
|
|
1331
1388
|
StorefrontCheckoutRegister: CheckoutRegister;
|
|
1332
1389
|
StorefrontAccount: Account;
|
|
1333
1390
|
StorefrontAccountLogin: AccountLogin;
|
|
1391
|
+
StorefrontAccountRecover: AccountRecover;
|
|
1334
1392
|
StorefrontAccountProfile: AccountProfile;
|
|
1335
1393
|
StorefrontAccountOrder: AccountOrder;
|
|
1336
1394
|
StorefrontAccountAddresses: AccountAddresses;
|
|
@@ -1351,6 +1409,7 @@ declare const StorefrontPageObjects: {
|
|
|
1351
1409
|
CheckoutRegister: typeof CheckoutRegister;
|
|
1352
1410
|
Account: typeof Account;
|
|
1353
1411
|
AccountLogin: typeof AccountLogin;
|
|
1412
|
+
AccountRecover: typeof AccountRecover;
|
|
1354
1413
|
AccountProfile: typeof AccountProfile;
|
|
1355
1414
|
AccountOrder: typeof AccountOrder;
|
|
1356
1415
|
AccountAddresses: typeof AccountAddresses;
|
|
@@ -1640,6 +1699,28 @@ declare class ShippingListing implements PageObject {
|
|
|
1640
1699
|
url(): string;
|
|
1641
1700
|
}
|
|
1642
1701
|
|
|
1702
|
+
declare class ShippingDetail implements PageObject {
|
|
1703
|
+
readonly page: Page;
|
|
1704
|
+
readonly header: Locator;
|
|
1705
|
+
readonly nameField: Locator;
|
|
1706
|
+
readonly availabilityRuleField: Locator;
|
|
1707
|
+
readonly availabilityRuleListItem: Locator;
|
|
1708
|
+
constructor(page: Page);
|
|
1709
|
+
url(shippingId: string): string;
|
|
1710
|
+
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
declare class PaymentDetail implements PageObject {
|
|
1714
|
+
readonly page: Page;
|
|
1715
|
+
readonly header: Locator;
|
|
1716
|
+
readonly nameField: Locator;
|
|
1717
|
+
readonly availabilityRuleField: Locator;
|
|
1718
|
+
readonly availabilityRuleListItem: Locator;
|
|
1719
|
+
constructor(page: Page);
|
|
1720
|
+
url(paymentId: string): string;
|
|
1721
|
+
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1643
1724
|
declare class LandingPageCreate implements PageObject {
|
|
1644
1725
|
readonly page: Page;
|
|
1645
1726
|
/**
|
|
@@ -1740,17 +1821,6 @@ declare class Categories implements PageObject {
|
|
|
1740
1821
|
url(): string;
|
|
1741
1822
|
}
|
|
1742
1823
|
|
|
1743
|
-
declare class RuleDetail implements PageObject {
|
|
1744
|
-
readonly page: Page;
|
|
1745
|
-
readonly nameInput: Locator;
|
|
1746
|
-
readonly priorityInput: Locator;
|
|
1747
|
-
readonly conditionTypeSelectionInput: Locator;
|
|
1748
|
-
readonly conditionValueSelectionInput: Locator;
|
|
1749
|
-
readonly filtersResultPopoverSelectionList: Locator;
|
|
1750
|
-
constructor(page: Page);
|
|
1751
|
-
url(ruleId: string, tabName?: string): string;
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
1824
|
declare class CustomFieldListing implements PageObject {
|
|
1755
1825
|
readonly page: Page;
|
|
1756
1826
|
readonly addNewSetButton: Locator;
|
|
@@ -1822,6 +1892,36 @@ declare class RuleCreate implements PageObject {
|
|
|
1822
1892
|
url(): string;
|
|
1823
1893
|
}
|
|
1824
1894
|
|
|
1895
|
+
declare class RuleDetail extends RuleCreate implements PageObject {
|
|
1896
|
+
readonly page: Page;
|
|
1897
|
+
readonly shippingMethodAvailabilityRulesCard: Locator;
|
|
1898
|
+
readonly shippingMethodAvailabilityRulesCardLink: Locator;
|
|
1899
|
+
readonly shippingMethodAvailabilityRulesCardTable: Locator;
|
|
1900
|
+
readonly shippingMethodAvailabilityRulesCardEmptyState: Locator;
|
|
1901
|
+
readonly shippingMethodAvailabilityRulesCardSearchField: Locator;
|
|
1902
|
+
readonly taxProviderRulesCard: Locator;
|
|
1903
|
+
readonly taxProviderRulesCardEmptyState: Locator;
|
|
1904
|
+
readonly paymentMethodsAvailabilityRulesCard: Locator;
|
|
1905
|
+
readonly paymentMethodsAvailabilityRulesCardEmptyState: Locator;
|
|
1906
|
+
readonly paymentMethodsAvailabilityRulesCardLink: Locator;
|
|
1907
|
+
readonly promotionOrderRulesCard: Locator;
|
|
1908
|
+
readonly promotionOrderRulesCardEmptyState: Locator;
|
|
1909
|
+
readonly promotionCustomerRulesCard: Locator;
|
|
1910
|
+
readonly promotionCustomerRulesCardEmptyState: Locator;
|
|
1911
|
+
readonly promotionCartRulesCard: Locator;
|
|
1912
|
+
readonly promotionCartRulesCardEmptyState: Locator;
|
|
1913
|
+
constructor(page: Page);
|
|
1914
|
+
getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
|
|
1915
|
+
url(ruleId?: string, tabName?: string): string;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
declare class RuleListing implements PageObject {
|
|
1919
|
+
readonly page: Page;
|
|
1920
|
+
readonly createRuleButton: Locator;
|
|
1921
|
+
constructor(page: Page);
|
|
1922
|
+
url(): string;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1825
1925
|
declare class ManufacturerCreate implements PageObject {
|
|
1826
1926
|
readonly page: Page;
|
|
1827
1927
|
readonly saveButton: Locator;
|
|
@@ -1979,15 +2079,18 @@ interface AdministrationPageTypes {
|
|
|
1979
2079
|
AdminDataSharing: DataSharing;
|
|
1980
2080
|
AdminDashboard: Dashboard;
|
|
1981
2081
|
AdminShippingListing: ShippingListing;
|
|
2082
|
+
AdminShippingDetail: ShippingDetail;
|
|
2083
|
+
AdminPaymentDetail: PaymentDetail;
|
|
1982
2084
|
AdminCategories: Categories;
|
|
1983
2085
|
AdminCategoryDetail: CategoryDetail;
|
|
1984
2086
|
AdminLandingPageCreate: LandingPageCreate;
|
|
1985
2087
|
AdminLandingPageDetail: LandingPageDetail;
|
|
1986
|
-
AdminRuleDetail: RuleDetail;
|
|
1987
|
-
AdminRuleCreate: RuleCreate;
|
|
1988
2088
|
AdminCustomFieldListing: CustomFieldListing;
|
|
1989
2089
|
AdminCustomFieldCreate: CustomFieldCreate;
|
|
1990
2090
|
AdminCustomFieldDetail: CustomFieldDetail;
|
|
2091
|
+
AdminRuleDetail: RuleDetail;
|
|
2092
|
+
AdminRuleCreate: RuleCreate;
|
|
2093
|
+
AdminRuleListing: RuleListing;
|
|
1991
2094
|
AdminManufacturerCreate: ManufacturerCreate;
|
|
1992
2095
|
AdminManufacturerListing: ManufacturerListing;
|
|
1993
2096
|
AdminManufacturerDetail: ManufacturerDetail;
|
|
@@ -2010,15 +2113,18 @@ declare const AdminPageObjects: {
|
|
|
2010
2113
|
Dashboard: typeof Dashboard;
|
|
2011
2114
|
DataSharing: typeof DataSharing;
|
|
2012
2115
|
ShippingListing: typeof ShippingListing;
|
|
2116
|
+
ShippingDetail: typeof ShippingDetail;
|
|
2117
|
+
PaymentDetail: typeof PaymentDetail;
|
|
2013
2118
|
Categories: typeof Categories;
|
|
2014
2119
|
CategoryDetail: typeof CategoryDetail;
|
|
2015
2120
|
LandingPageCreate: typeof LandingPageCreate;
|
|
2016
2121
|
LandingPageDetail: typeof LandingPageDetail;
|
|
2017
|
-
RuleDetail: typeof RuleDetail;
|
|
2018
|
-
RuleCreate: typeof RuleCreate;
|
|
2019
2122
|
CustomFieldListing: typeof CustomFieldListing;
|
|
2020
2123
|
CustomFieldCreate: typeof CustomFieldCreate;
|
|
2021
2124
|
CustomFieldDetail: typeof CustomFieldDetail;
|
|
2125
|
+
RuleCreate: typeof RuleCreate;
|
|
2126
|
+
RuleDetail: typeof RuleDetail;
|
|
2127
|
+
RuleListing: typeof RuleListing;
|
|
2022
2128
|
ManufacturerCreate: typeof ManufacturerCreate;
|
|
2023
2129
|
ManufacturerDetail: typeof ManufacturerDetail;
|
|
2024
2130
|
ManufacturerListing: typeof ManufacturerListing;
|
|
@@ -2121,6 +2227,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2121
2227
|
BulkEditProducts: Task;
|
|
2122
2228
|
} & {
|
|
2123
2229
|
BulkEditCustomers: Task;
|
|
2230
|
+
} & {
|
|
2231
|
+
AssignEntitiesToRule: Task;
|
|
2124
2232
|
} & {
|
|
2125
2233
|
Login: Task;
|
|
2126
2234
|
} & {
|
|
@@ -2161,4 +2269,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2161
2269
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2162
2270
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2163
2271
|
|
|
2164
|
-
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 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 };
|
|
2272
|
+
export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, 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 TagData, 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 };
|