@shopware-ag/acceptance-test-suite 5.3.0 → 5.5.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 +104 -1
- package/dist/index.d.ts +104 -1
- package/dist/index.mjs +617 -273
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -256,6 +256,9 @@ type Currency$1 = components['schemas']['Currency'] & {
|
|
|
256
256
|
type Country = components['schemas']['Country'] & {
|
|
257
257
|
id: string;
|
|
258
258
|
};
|
|
259
|
+
type SystemConfig = components['schemas']['SystemConfig'] & {
|
|
260
|
+
id: string;
|
|
261
|
+
};
|
|
259
262
|
interface CalculatedTaxes {
|
|
260
263
|
tax: number;
|
|
261
264
|
taxRate: number;
|
|
@@ -322,6 +325,9 @@ type DeliveryTime = components['schemas']['DeliveryTime'] & {
|
|
|
322
325
|
type CmsPage = components['schemas']['CmsPage'] & {
|
|
323
326
|
id: string;
|
|
324
327
|
};
|
|
328
|
+
type CustomerGroup = components['schemas']['CustomerGroup'] & {
|
|
329
|
+
id: string;
|
|
330
|
+
};
|
|
325
331
|
|
|
326
332
|
interface CreatedRecord {
|
|
327
333
|
resource: string;
|
|
@@ -556,6 +562,20 @@ declare class TestDataService {
|
|
|
556
562
|
* @param overrides - Specific data overrides that will be applied to the currency data struct.
|
|
557
563
|
*/
|
|
558
564
|
createCurrency(overrides?: Partial<Currency$1>, roundingDecimals?: number): Promise<Currency$1>;
|
|
565
|
+
/**
|
|
566
|
+
* Creates a random customer group
|
|
567
|
+
*
|
|
568
|
+
* @param overrides - Specific data overrides that will be applied to the customer group data struct.
|
|
569
|
+
*/
|
|
570
|
+
createCustomerGroup(overrides?: Partial<CustomerGroup>): Promise<CustomerGroup>;
|
|
571
|
+
/**
|
|
572
|
+
* Creates a system config entry
|
|
573
|
+
*
|
|
574
|
+
* @param configurationKey - Config key for shop configurations.
|
|
575
|
+
* @param configurationValue - Config value as object for shop configurations (see {@link https://shopware.stoplight.io/docs/admin-api/9174d032146f8-create-a-new-system-config-resources|AdminApi Stoplight}).
|
|
576
|
+
* @param salesChannelId - Unique identity of sales channel.
|
|
577
|
+
*/
|
|
578
|
+
createSystemConfigEntry(configurationKey: string, configurationValue?: {}, salesChannelId?: string): Promise<SystemConfig>;
|
|
559
579
|
/**
|
|
560
580
|
* Assigns a media resource as the download of a digital product.
|
|
561
581
|
*
|
|
@@ -857,6 +877,7 @@ declare class TestDataService {
|
|
|
857
877
|
} & Partial<OrderLineItem>;
|
|
858
878
|
getBasicPromotionStruct(salesChannelId?: string, overrides?: Partial<Promotion>): Partial<Promotion>;
|
|
859
879
|
getBasicCmsStruct(cmsType: string, overrides: Partial<CmsPage>): Partial<CmsPage>;
|
|
880
|
+
getBasicCustomerGroupStruct(overrides?: Partial<CustomerGroup>): Partial<CustomerGroup>;
|
|
860
881
|
}
|
|
861
882
|
|
|
862
883
|
interface TestDataFixtureTypes {
|
|
@@ -1034,7 +1055,9 @@ declare class Account implements PageObject {
|
|
|
1034
1055
|
readonly shippingAddressCardTitle: Locator;
|
|
1035
1056
|
readonly newsletterCheckbox: Locator;
|
|
1036
1057
|
readonly newsletterRegistrationSuccessMessage: Locator;
|
|
1058
|
+
readonly customerGroupRequestMessage: Locator;
|
|
1037
1059
|
constructor(page: Page);
|
|
1060
|
+
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1038
1061
|
url(): string;
|
|
1039
1062
|
}
|
|
1040
1063
|
|
|
@@ -1049,6 +1072,9 @@ declare class AccountLogin implements PageObject {
|
|
|
1049
1072
|
readonly billingAddressFormArea: Locator;
|
|
1050
1073
|
readonly firstNameInput: Locator;
|
|
1051
1074
|
readonly lastNameInput: Locator;
|
|
1075
|
+
readonly companyInput: Locator;
|
|
1076
|
+
readonly departmentInput: Locator;
|
|
1077
|
+
readonly vatRegNoInput: Locator;
|
|
1052
1078
|
readonly registerEmailInput: Locator;
|
|
1053
1079
|
readonly registerPasswordInput: Locator;
|
|
1054
1080
|
readonly streetAddressInput: Locator;
|
|
@@ -1085,7 +1111,12 @@ declare class AccountOrder implements PageObject {
|
|
|
1085
1111
|
readonly cartLineItemImages: Locator;
|
|
1086
1112
|
readonly orderExpandButton: Locator;
|
|
1087
1113
|
readonly digitalProductDownloadButton: Locator;
|
|
1114
|
+
readonly dialogOrderCancel: Locator;
|
|
1115
|
+
readonly dialogOrderCancelButton: Locator;
|
|
1116
|
+
readonly dialogBackButton: Locator;
|
|
1088
1117
|
constructor(page: Page);
|
|
1118
|
+
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
1119
|
+
getViewSubscriptionLink: (orderNumber: string) => Locator;
|
|
1089
1120
|
url(): string;
|
|
1090
1121
|
}
|
|
1091
1122
|
|
|
@@ -1125,6 +1156,12 @@ declare class SearchSuggest implements PageObject {
|
|
|
1125
1156
|
url(searchTerm: string): string;
|
|
1126
1157
|
}
|
|
1127
1158
|
|
|
1159
|
+
declare class CustomRegister extends AccountLogin implements PageObject {
|
|
1160
|
+
readonly page: Page;
|
|
1161
|
+
constructor(page: Page);
|
|
1162
|
+
url(customCustomerGroupName?: string): string;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1128
1165
|
interface StorefrontPageTypes {
|
|
1129
1166
|
StorefrontHome: Home;
|
|
1130
1167
|
StorefrontProductDetail: ProductDetail$1;
|
|
@@ -1142,6 +1179,7 @@ interface StorefrontPageTypes {
|
|
|
1142
1179
|
StorefrontAccountPayment: AccountPayment;
|
|
1143
1180
|
StorefrontSearch: Search;
|
|
1144
1181
|
StorefrontSearchSuggest: SearchSuggest;
|
|
1182
|
+
StorefrontCustomRegister: CustomRegister;
|
|
1145
1183
|
}
|
|
1146
1184
|
declare const StorefrontPageObjects: {
|
|
1147
1185
|
Home: typeof Home;
|
|
@@ -1160,6 +1198,7 @@ declare const StorefrontPageObjects: {
|
|
|
1160
1198
|
AccountPayment: typeof AccountPayment;
|
|
1161
1199
|
Search: typeof Search;
|
|
1162
1200
|
SearchSuggest: typeof SearchSuggest;
|
|
1201
|
+
CustomRegister: typeof CustomRegister;
|
|
1163
1202
|
};
|
|
1164
1203
|
|
|
1165
1204
|
declare class ProductDetail implements PageObject {
|
|
@@ -1219,6 +1258,15 @@ declare class OrderDetail implements PageObject {
|
|
|
1219
1258
|
url(orderId: string): string;
|
|
1220
1259
|
}
|
|
1221
1260
|
|
|
1261
|
+
declare class CustomerListing implements PageObject {
|
|
1262
|
+
readonly page: Page;
|
|
1263
|
+
readonly headline: Locator;
|
|
1264
|
+
readonly addCustomerButton: Locator;
|
|
1265
|
+
constructor(page: Page);
|
|
1266
|
+
getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1267
|
+
url(): string;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1222
1270
|
declare class CustomerDetail implements PageObject {
|
|
1223
1271
|
readonly page: Page;
|
|
1224
1272
|
readonly editButton: Locator;
|
|
@@ -1227,11 +1275,54 @@ declare class CustomerDetail implements PageObject {
|
|
|
1227
1275
|
readonly customFieldCard: Locator;
|
|
1228
1276
|
readonly customFieldSetTabs: Locator;
|
|
1229
1277
|
readonly customFieldSetTabCustomContent: Locator;
|
|
1278
|
+
readonly customerGroupRequestMessage: Locator;
|
|
1279
|
+
readonly customerGroupAcceptButton: Locator;
|
|
1280
|
+
readonly customerGroupDeclineButton: Locator;
|
|
1230
1281
|
constructor(page: Page);
|
|
1231
1282
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1283
|
+
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1232
1284
|
url(customerId: string): string;
|
|
1233
1285
|
}
|
|
1234
1286
|
|
|
1287
|
+
declare class CustomerGroupListing implements PageObject {
|
|
1288
|
+
readonly page: Page;
|
|
1289
|
+
readonly headline: Locator;
|
|
1290
|
+
readonly addCustomerGroupButton: Locator;
|
|
1291
|
+
constructor(page: Page);
|
|
1292
|
+
getCustomerGroupByName(customerGroup: string): Promise<Record<string, Locator>>;
|
|
1293
|
+
url(): string;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
declare class CustomerGroupCreate implements PageObject {
|
|
1297
|
+
readonly page: Page;
|
|
1298
|
+
readonly headline: Locator;
|
|
1299
|
+
readonly saveButton: Locator;
|
|
1300
|
+
readonly cancelButton: Locator;
|
|
1301
|
+
readonly cardTitle: Locator;
|
|
1302
|
+
readonly customerGroupNameField: Locator;
|
|
1303
|
+
readonly customerGroupGrossTaxDisplay: Locator;
|
|
1304
|
+
readonly customerGroupNetTaxDisplay: Locator;
|
|
1305
|
+
readonly customSignupFormToggle: Locator;
|
|
1306
|
+
readonly signupFormTitle: Locator;
|
|
1307
|
+
readonly signupFormIntroduction: Locator;
|
|
1308
|
+
readonly signupFormSeoDescription: Locator;
|
|
1309
|
+
readonly signupFormCompanySignupToggle: Locator;
|
|
1310
|
+
readonly customerGroupSaleschannelSelection: Locator;
|
|
1311
|
+
readonly customerGroupSaleschannelResultList: Locator;
|
|
1312
|
+
constructor(page: Page);
|
|
1313
|
+
url(): string;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
1317
|
+
readonly page: Page;
|
|
1318
|
+
readonly headline: Locator;
|
|
1319
|
+
readonly selectedSalesChannel: Locator;
|
|
1320
|
+
readonly technicalUrl: Locator;
|
|
1321
|
+
readonly saleschannelUrl: Locator;
|
|
1322
|
+
constructor(page: Page);
|
|
1323
|
+
url(customerGroupId?: string): string;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1235
1326
|
declare class FirstRunWizard implements PageObject {
|
|
1236
1327
|
readonly page: Page;
|
|
1237
1328
|
readonly nextButton: Locator;
|
|
@@ -1425,6 +1516,7 @@ declare class Categories implements PageObject {
|
|
|
1425
1516
|
readonly categoryMenuItemList: Locator;
|
|
1426
1517
|
readonly createCategoryInput: Locator;
|
|
1427
1518
|
readonly confirmCategoryCreationButton: Locator;
|
|
1519
|
+
readonly confirmCategoryCancelButton: Locator;
|
|
1428
1520
|
readonly categoryItems: Locator;
|
|
1429
1521
|
/**
|
|
1430
1522
|
* General
|
|
@@ -1435,6 +1527,7 @@ declare class Categories implements PageObject {
|
|
|
1435
1527
|
readonly filtersResultPopoverItemList: Locator;
|
|
1436
1528
|
readonly saveButton: Locator;
|
|
1437
1529
|
readonly loadingSpinner: Locator;
|
|
1530
|
+
readonly fadingBar: Locator;
|
|
1438
1531
|
/**
|
|
1439
1532
|
* Customisable link
|
|
1440
1533
|
*/
|
|
@@ -1567,7 +1660,11 @@ declare class ManufacturerDetail extends ManufacturerCreate {
|
|
|
1567
1660
|
interface AdministrationPageTypes {
|
|
1568
1661
|
AdminProductDetail: ProductDetail;
|
|
1569
1662
|
AdminOrderDetail: OrderDetail;
|
|
1663
|
+
AdminCustomerListing: CustomerListing;
|
|
1570
1664
|
AdminCustomerDetail: CustomerDetail;
|
|
1665
|
+
AdminCustomerGroupListing: CustomerGroupListing;
|
|
1666
|
+
AdminCustomerGroupCreate: CustomerGroupCreate;
|
|
1667
|
+
AdminCustomerGroupDetail: CustomerGroupDetail;
|
|
1571
1668
|
AdminFirstRunWizard: FirstRunWizard;
|
|
1572
1669
|
AdminFlowBuilderCreate: FlowBuilderCreate;
|
|
1573
1670
|
AdminFlowBuilderListing: FlowBuilderListing;
|
|
@@ -1591,7 +1688,11 @@ interface AdministrationPageTypes {
|
|
|
1591
1688
|
declare const AdminPageObjects: {
|
|
1592
1689
|
ProductDetail: typeof ProductDetail;
|
|
1593
1690
|
OrderDetail: typeof OrderDetail;
|
|
1691
|
+
CustomerListing: typeof CustomerListing;
|
|
1594
1692
|
CustomerDetail: typeof CustomerDetail;
|
|
1693
|
+
CustomerGroupListing: typeof CustomerGroupListing;
|
|
1694
|
+
CustomerGroupCreate: typeof CustomerGroupCreate;
|
|
1695
|
+
CustomerGroupDetail: typeof CustomerGroupDetail;
|
|
1595
1696
|
FirstRunWizard: typeof FirstRunWizard;
|
|
1596
1697
|
FlowBuilderCreate: typeof FlowBuilderCreate;
|
|
1597
1698
|
FlowBuilderListing: typeof FlowBuilderListing;
|
|
@@ -1699,6 +1800,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
1699
1800
|
SaveProduct: Task;
|
|
1700
1801
|
} & {
|
|
1701
1802
|
ExpectNotification: Task;
|
|
1803
|
+
} & {
|
|
1804
|
+
CreateLinkTypeCategory: Task;
|
|
1702
1805
|
} & {
|
|
1703
1806
|
Login: Task;
|
|
1704
1807
|
} & {
|
|
@@ -1739,4 +1842,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
1739
1842
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
1740
1843
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
1741
1844
|
|
|
1742
|
-
export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type Customer, type CustomerAddress, type DataServiceOptions, type DeliveryTime, type FixtureTypes, 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 Rule, type SalesChannel, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, 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 };
|
|
1845
|
+
export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, 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 Rule, type SalesChannel, 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
|
@@ -256,6 +256,9 @@ type Currency$1 = components['schemas']['Currency'] & {
|
|
|
256
256
|
type Country = components['schemas']['Country'] & {
|
|
257
257
|
id: string;
|
|
258
258
|
};
|
|
259
|
+
type SystemConfig = components['schemas']['SystemConfig'] & {
|
|
260
|
+
id: string;
|
|
261
|
+
};
|
|
259
262
|
interface CalculatedTaxes {
|
|
260
263
|
tax: number;
|
|
261
264
|
taxRate: number;
|
|
@@ -322,6 +325,9 @@ type DeliveryTime = components['schemas']['DeliveryTime'] & {
|
|
|
322
325
|
type CmsPage = components['schemas']['CmsPage'] & {
|
|
323
326
|
id: string;
|
|
324
327
|
};
|
|
328
|
+
type CustomerGroup = components['schemas']['CustomerGroup'] & {
|
|
329
|
+
id: string;
|
|
330
|
+
};
|
|
325
331
|
|
|
326
332
|
interface CreatedRecord {
|
|
327
333
|
resource: string;
|
|
@@ -556,6 +562,20 @@ declare class TestDataService {
|
|
|
556
562
|
* @param overrides - Specific data overrides that will be applied to the currency data struct.
|
|
557
563
|
*/
|
|
558
564
|
createCurrency(overrides?: Partial<Currency$1>, roundingDecimals?: number): Promise<Currency$1>;
|
|
565
|
+
/**
|
|
566
|
+
* Creates a random customer group
|
|
567
|
+
*
|
|
568
|
+
* @param overrides - Specific data overrides that will be applied to the customer group data struct.
|
|
569
|
+
*/
|
|
570
|
+
createCustomerGroup(overrides?: Partial<CustomerGroup>): Promise<CustomerGroup>;
|
|
571
|
+
/**
|
|
572
|
+
* Creates a system config entry
|
|
573
|
+
*
|
|
574
|
+
* @param configurationKey - Config key for shop configurations.
|
|
575
|
+
* @param configurationValue - Config value as object for shop configurations (see {@link https://shopware.stoplight.io/docs/admin-api/9174d032146f8-create-a-new-system-config-resources|AdminApi Stoplight}).
|
|
576
|
+
* @param salesChannelId - Unique identity of sales channel.
|
|
577
|
+
*/
|
|
578
|
+
createSystemConfigEntry(configurationKey: string, configurationValue?: {}, salesChannelId?: string): Promise<SystemConfig>;
|
|
559
579
|
/**
|
|
560
580
|
* Assigns a media resource as the download of a digital product.
|
|
561
581
|
*
|
|
@@ -857,6 +877,7 @@ declare class TestDataService {
|
|
|
857
877
|
} & Partial<OrderLineItem>;
|
|
858
878
|
getBasicPromotionStruct(salesChannelId?: string, overrides?: Partial<Promotion>): Partial<Promotion>;
|
|
859
879
|
getBasicCmsStruct(cmsType: string, overrides: Partial<CmsPage>): Partial<CmsPage>;
|
|
880
|
+
getBasicCustomerGroupStruct(overrides?: Partial<CustomerGroup>): Partial<CustomerGroup>;
|
|
860
881
|
}
|
|
861
882
|
|
|
862
883
|
interface TestDataFixtureTypes {
|
|
@@ -1034,7 +1055,9 @@ declare class Account implements PageObject {
|
|
|
1034
1055
|
readonly shippingAddressCardTitle: Locator;
|
|
1035
1056
|
readonly newsletterCheckbox: Locator;
|
|
1036
1057
|
readonly newsletterRegistrationSuccessMessage: Locator;
|
|
1058
|
+
readonly customerGroupRequestMessage: Locator;
|
|
1037
1059
|
constructor(page: Page);
|
|
1060
|
+
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1038
1061
|
url(): string;
|
|
1039
1062
|
}
|
|
1040
1063
|
|
|
@@ -1049,6 +1072,9 @@ declare class AccountLogin implements PageObject {
|
|
|
1049
1072
|
readonly billingAddressFormArea: Locator;
|
|
1050
1073
|
readonly firstNameInput: Locator;
|
|
1051
1074
|
readonly lastNameInput: Locator;
|
|
1075
|
+
readonly companyInput: Locator;
|
|
1076
|
+
readonly departmentInput: Locator;
|
|
1077
|
+
readonly vatRegNoInput: Locator;
|
|
1052
1078
|
readonly registerEmailInput: Locator;
|
|
1053
1079
|
readonly registerPasswordInput: Locator;
|
|
1054
1080
|
readonly streetAddressInput: Locator;
|
|
@@ -1085,7 +1111,12 @@ declare class AccountOrder implements PageObject {
|
|
|
1085
1111
|
readonly cartLineItemImages: Locator;
|
|
1086
1112
|
readonly orderExpandButton: Locator;
|
|
1087
1113
|
readonly digitalProductDownloadButton: Locator;
|
|
1114
|
+
readonly dialogOrderCancel: Locator;
|
|
1115
|
+
readonly dialogOrderCancelButton: Locator;
|
|
1116
|
+
readonly dialogBackButton: Locator;
|
|
1088
1117
|
constructor(page: Page);
|
|
1118
|
+
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
1119
|
+
getViewSubscriptionLink: (orderNumber: string) => Locator;
|
|
1089
1120
|
url(): string;
|
|
1090
1121
|
}
|
|
1091
1122
|
|
|
@@ -1125,6 +1156,12 @@ declare class SearchSuggest implements PageObject {
|
|
|
1125
1156
|
url(searchTerm: string): string;
|
|
1126
1157
|
}
|
|
1127
1158
|
|
|
1159
|
+
declare class CustomRegister extends AccountLogin implements PageObject {
|
|
1160
|
+
readonly page: Page;
|
|
1161
|
+
constructor(page: Page);
|
|
1162
|
+
url(customCustomerGroupName?: string): string;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1128
1165
|
interface StorefrontPageTypes {
|
|
1129
1166
|
StorefrontHome: Home;
|
|
1130
1167
|
StorefrontProductDetail: ProductDetail$1;
|
|
@@ -1142,6 +1179,7 @@ interface StorefrontPageTypes {
|
|
|
1142
1179
|
StorefrontAccountPayment: AccountPayment;
|
|
1143
1180
|
StorefrontSearch: Search;
|
|
1144
1181
|
StorefrontSearchSuggest: SearchSuggest;
|
|
1182
|
+
StorefrontCustomRegister: CustomRegister;
|
|
1145
1183
|
}
|
|
1146
1184
|
declare const StorefrontPageObjects: {
|
|
1147
1185
|
Home: typeof Home;
|
|
@@ -1160,6 +1198,7 @@ declare const StorefrontPageObjects: {
|
|
|
1160
1198
|
AccountPayment: typeof AccountPayment;
|
|
1161
1199
|
Search: typeof Search;
|
|
1162
1200
|
SearchSuggest: typeof SearchSuggest;
|
|
1201
|
+
CustomRegister: typeof CustomRegister;
|
|
1163
1202
|
};
|
|
1164
1203
|
|
|
1165
1204
|
declare class ProductDetail implements PageObject {
|
|
@@ -1219,6 +1258,15 @@ declare class OrderDetail implements PageObject {
|
|
|
1219
1258
|
url(orderId: string): string;
|
|
1220
1259
|
}
|
|
1221
1260
|
|
|
1261
|
+
declare class CustomerListing implements PageObject {
|
|
1262
|
+
readonly page: Page;
|
|
1263
|
+
readonly headline: Locator;
|
|
1264
|
+
readonly addCustomerButton: Locator;
|
|
1265
|
+
constructor(page: Page);
|
|
1266
|
+
getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1267
|
+
url(): string;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1222
1270
|
declare class CustomerDetail implements PageObject {
|
|
1223
1271
|
readonly page: Page;
|
|
1224
1272
|
readonly editButton: Locator;
|
|
@@ -1227,11 +1275,54 @@ declare class CustomerDetail implements PageObject {
|
|
|
1227
1275
|
readonly customFieldCard: Locator;
|
|
1228
1276
|
readonly customFieldSetTabs: Locator;
|
|
1229
1277
|
readonly customFieldSetTabCustomContent: Locator;
|
|
1278
|
+
readonly customerGroupRequestMessage: Locator;
|
|
1279
|
+
readonly customerGroupAcceptButton: Locator;
|
|
1280
|
+
readonly customerGroupDeclineButton: Locator;
|
|
1230
1281
|
constructor(page: Page);
|
|
1231
1282
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1283
|
+
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1232
1284
|
url(customerId: string): string;
|
|
1233
1285
|
}
|
|
1234
1286
|
|
|
1287
|
+
declare class CustomerGroupListing implements PageObject {
|
|
1288
|
+
readonly page: Page;
|
|
1289
|
+
readonly headline: Locator;
|
|
1290
|
+
readonly addCustomerGroupButton: Locator;
|
|
1291
|
+
constructor(page: Page);
|
|
1292
|
+
getCustomerGroupByName(customerGroup: string): Promise<Record<string, Locator>>;
|
|
1293
|
+
url(): string;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
declare class CustomerGroupCreate implements PageObject {
|
|
1297
|
+
readonly page: Page;
|
|
1298
|
+
readonly headline: Locator;
|
|
1299
|
+
readonly saveButton: Locator;
|
|
1300
|
+
readonly cancelButton: Locator;
|
|
1301
|
+
readonly cardTitle: Locator;
|
|
1302
|
+
readonly customerGroupNameField: Locator;
|
|
1303
|
+
readonly customerGroupGrossTaxDisplay: Locator;
|
|
1304
|
+
readonly customerGroupNetTaxDisplay: Locator;
|
|
1305
|
+
readonly customSignupFormToggle: Locator;
|
|
1306
|
+
readonly signupFormTitle: Locator;
|
|
1307
|
+
readonly signupFormIntroduction: Locator;
|
|
1308
|
+
readonly signupFormSeoDescription: Locator;
|
|
1309
|
+
readonly signupFormCompanySignupToggle: Locator;
|
|
1310
|
+
readonly customerGroupSaleschannelSelection: Locator;
|
|
1311
|
+
readonly customerGroupSaleschannelResultList: Locator;
|
|
1312
|
+
constructor(page: Page);
|
|
1313
|
+
url(): string;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
1317
|
+
readonly page: Page;
|
|
1318
|
+
readonly headline: Locator;
|
|
1319
|
+
readonly selectedSalesChannel: Locator;
|
|
1320
|
+
readonly technicalUrl: Locator;
|
|
1321
|
+
readonly saleschannelUrl: Locator;
|
|
1322
|
+
constructor(page: Page);
|
|
1323
|
+
url(customerGroupId?: string): string;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1235
1326
|
declare class FirstRunWizard implements PageObject {
|
|
1236
1327
|
readonly page: Page;
|
|
1237
1328
|
readonly nextButton: Locator;
|
|
@@ -1425,6 +1516,7 @@ declare class Categories implements PageObject {
|
|
|
1425
1516
|
readonly categoryMenuItemList: Locator;
|
|
1426
1517
|
readonly createCategoryInput: Locator;
|
|
1427
1518
|
readonly confirmCategoryCreationButton: Locator;
|
|
1519
|
+
readonly confirmCategoryCancelButton: Locator;
|
|
1428
1520
|
readonly categoryItems: Locator;
|
|
1429
1521
|
/**
|
|
1430
1522
|
* General
|
|
@@ -1435,6 +1527,7 @@ declare class Categories implements PageObject {
|
|
|
1435
1527
|
readonly filtersResultPopoverItemList: Locator;
|
|
1436
1528
|
readonly saveButton: Locator;
|
|
1437
1529
|
readonly loadingSpinner: Locator;
|
|
1530
|
+
readonly fadingBar: Locator;
|
|
1438
1531
|
/**
|
|
1439
1532
|
* Customisable link
|
|
1440
1533
|
*/
|
|
@@ -1567,7 +1660,11 @@ declare class ManufacturerDetail extends ManufacturerCreate {
|
|
|
1567
1660
|
interface AdministrationPageTypes {
|
|
1568
1661
|
AdminProductDetail: ProductDetail;
|
|
1569
1662
|
AdminOrderDetail: OrderDetail;
|
|
1663
|
+
AdminCustomerListing: CustomerListing;
|
|
1570
1664
|
AdminCustomerDetail: CustomerDetail;
|
|
1665
|
+
AdminCustomerGroupListing: CustomerGroupListing;
|
|
1666
|
+
AdminCustomerGroupCreate: CustomerGroupCreate;
|
|
1667
|
+
AdminCustomerGroupDetail: CustomerGroupDetail;
|
|
1571
1668
|
AdminFirstRunWizard: FirstRunWizard;
|
|
1572
1669
|
AdminFlowBuilderCreate: FlowBuilderCreate;
|
|
1573
1670
|
AdminFlowBuilderListing: FlowBuilderListing;
|
|
@@ -1591,7 +1688,11 @@ interface AdministrationPageTypes {
|
|
|
1591
1688
|
declare const AdminPageObjects: {
|
|
1592
1689
|
ProductDetail: typeof ProductDetail;
|
|
1593
1690
|
OrderDetail: typeof OrderDetail;
|
|
1691
|
+
CustomerListing: typeof CustomerListing;
|
|
1594
1692
|
CustomerDetail: typeof CustomerDetail;
|
|
1693
|
+
CustomerGroupListing: typeof CustomerGroupListing;
|
|
1694
|
+
CustomerGroupCreate: typeof CustomerGroupCreate;
|
|
1695
|
+
CustomerGroupDetail: typeof CustomerGroupDetail;
|
|
1595
1696
|
FirstRunWizard: typeof FirstRunWizard;
|
|
1596
1697
|
FlowBuilderCreate: typeof FlowBuilderCreate;
|
|
1597
1698
|
FlowBuilderListing: typeof FlowBuilderListing;
|
|
@@ -1699,6 +1800,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
1699
1800
|
SaveProduct: Task;
|
|
1700
1801
|
} & {
|
|
1701
1802
|
ExpectNotification: Task;
|
|
1803
|
+
} & {
|
|
1804
|
+
CreateLinkTypeCategory: Task;
|
|
1702
1805
|
} & {
|
|
1703
1806
|
Login: Task;
|
|
1704
1807
|
} & {
|
|
@@ -1739,4 +1842,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
1739
1842
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
1740
1843
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
1741
1844
|
|
|
1742
|
-
export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type Customer, type CustomerAddress, type DataServiceOptions, type DeliveryTime, type FixtureTypes, 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 Rule, type SalesChannel, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, 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 };
|
|
1845
|
+
export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, 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 Rule, type SalesChannel, 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 };
|