@shopware-ag/acceptance-test-suite 5.2.0 → 5.4.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 +120 -1
- package/dist/index.d.ts +120 -1
- package/dist/index.mjs +850 -511
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -322,6 +322,9 @@ type DeliveryTime = components['schemas']['DeliveryTime'] & {
|
|
|
322
322
|
type CmsPage = components['schemas']['CmsPage'] & {
|
|
323
323
|
id: string;
|
|
324
324
|
};
|
|
325
|
+
type CustomerGroup = components['schemas']['CustomerGroup'] & {
|
|
326
|
+
id: string;
|
|
327
|
+
};
|
|
325
328
|
|
|
326
329
|
interface CreatedRecord {
|
|
327
330
|
resource: string;
|
|
@@ -556,6 +559,12 @@ declare class TestDataService {
|
|
|
556
559
|
* @param overrides - Specific data overrides that will be applied to the currency data struct.
|
|
557
560
|
*/
|
|
558
561
|
createCurrency(overrides?: Partial<Currency$1>, roundingDecimals?: number): Promise<Currency$1>;
|
|
562
|
+
/**
|
|
563
|
+
* Creates a random customer group
|
|
564
|
+
*
|
|
565
|
+
* @param overrides - Specific data overrides that will be applied to the customer group data struct.
|
|
566
|
+
*/
|
|
567
|
+
createCustomerGroup(overrides?: Partial<CustomerGroup>): Promise<CustomerGroup>;
|
|
559
568
|
/**
|
|
560
569
|
* Assigns a media resource as the download of a digital product.
|
|
561
570
|
*
|
|
@@ -857,6 +866,7 @@ declare class TestDataService {
|
|
|
857
866
|
} & Partial<OrderLineItem>;
|
|
858
867
|
getBasicPromotionStruct(salesChannelId?: string, overrides?: Partial<Promotion>): Partial<Promotion>;
|
|
859
868
|
getBasicCmsStruct(cmsType: string, overrides: Partial<CmsPage>): Partial<CmsPage>;
|
|
869
|
+
getBasicCustomerGroupStruct(overrides?: Partial<CustomerGroup>): Partial<CustomerGroup>;
|
|
860
870
|
}
|
|
861
871
|
|
|
862
872
|
interface TestDataFixtureTypes {
|
|
@@ -1034,7 +1044,9 @@ declare class Account implements PageObject {
|
|
|
1034
1044
|
readonly shippingAddressCardTitle: Locator;
|
|
1035
1045
|
readonly newsletterCheckbox: Locator;
|
|
1036
1046
|
readonly newsletterRegistrationSuccessMessage: Locator;
|
|
1047
|
+
readonly customerGroupRequestMessage: Locator;
|
|
1037
1048
|
constructor(page: Page);
|
|
1049
|
+
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1038
1050
|
url(): string;
|
|
1039
1051
|
}
|
|
1040
1052
|
|
|
@@ -1049,6 +1061,9 @@ declare class AccountLogin implements PageObject {
|
|
|
1049
1061
|
readonly billingAddressFormArea: Locator;
|
|
1050
1062
|
readonly firstNameInput: Locator;
|
|
1051
1063
|
readonly lastNameInput: Locator;
|
|
1064
|
+
readonly companyInput: Locator;
|
|
1065
|
+
readonly departmentInput: Locator;
|
|
1066
|
+
readonly vatRegNoInput: Locator;
|
|
1052
1067
|
readonly registerEmailInput: Locator;
|
|
1053
1068
|
readonly registerPasswordInput: Locator;
|
|
1054
1069
|
readonly streetAddressInput: Locator;
|
|
@@ -1125,6 +1140,12 @@ declare class SearchSuggest implements PageObject {
|
|
|
1125
1140
|
url(searchTerm: string): string;
|
|
1126
1141
|
}
|
|
1127
1142
|
|
|
1143
|
+
declare class CustomRegister extends AccountLogin implements PageObject {
|
|
1144
|
+
readonly page: Page;
|
|
1145
|
+
constructor(page: Page);
|
|
1146
|
+
url(customCustomerGroupName?: string): string;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1128
1149
|
interface StorefrontPageTypes {
|
|
1129
1150
|
StorefrontHome: Home;
|
|
1130
1151
|
StorefrontProductDetail: ProductDetail$1;
|
|
@@ -1142,6 +1163,7 @@ interface StorefrontPageTypes {
|
|
|
1142
1163
|
StorefrontAccountPayment: AccountPayment;
|
|
1143
1164
|
StorefrontSearch: Search;
|
|
1144
1165
|
StorefrontSearchSuggest: SearchSuggest;
|
|
1166
|
+
StorefrontCustomRegister: CustomRegister;
|
|
1145
1167
|
}
|
|
1146
1168
|
declare const StorefrontPageObjects: {
|
|
1147
1169
|
Home: typeof Home;
|
|
@@ -1160,6 +1182,7 @@ declare const StorefrontPageObjects: {
|
|
|
1160
1182
|
AccountPayment: typeof AccountPayment;
|
|
1161
1183
|
Search: typeof Search;
|
|
1162
1184
|
SearchSuggest: typeof SearchSuggest;
|
|
1185
|
+
CustomRegister: typeof CustomRegister;
|
|
1163
1186
|
};
|
|
1164
1187
|
|
|
1165
1188
|
declare class ProductDetail implements PageObject {
|
|
@@ -1219,6 +1242,15 @@ declare class OrderDetail implements PageObject {
|
|
|
1219
1242
|
url(orderId: string): string;
|
|
1220
1243
|
}
|
|
1221
1244
|
|
|
1245
|
+
declare class CustomerListing implements PageObject {
|
|
1246
|
+
readonly page: Page;
|
|
1247
|
+
readonly headline: Locator;
|
|
1248
|
+
readonly addCustomerButton: Locator;
|
|
1249
|
+
constructor(page: Page);
|
|
1250
|
+
getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1251
|
+
url(): string;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1222
1254
|
declare class CustomerDetail implements PageObject {
|
|
1223
1255
|
readonly page: Page;
|
|
1224
1256
|
readonly editButton: Locator;
|
|
@@ -1227,11 +1259,54 @@ declare class CustomerDetail implements PageObject {
|
|
|
1227
1259
|
readonly customFieldCard: Locator;
|
|
1228
1260
|
readonly customFieldSetTabs: Locator;
|
|
1229
1261
|
readonly customFieldSetTabCustomContent: Locator;
|
|
1262
|
+
readonly customerGroupRequestMessage: Locator;
|
|
1263
|
+
readonly customerGroupAcceptButton: Locator;
|
|
1264
|
+
readonly customerGroupDeclineButton: Locator;
|
|
1230
1265
|
constructor(page: Page);
|
|
1231
1266
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1267
|
+
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1232
1268
|
url(customerId: string): string;
|
|
1233
1269
|
}
|
|
1234
1270
|
|
|
1271
|
+
declare class CustomerGroupListing implements PageObject {
|
|
1272
|
+
readonly page: Page;
|
|
1273
|
+
readonly headline: Locator;
|
|
1274
|
+
readonly addCustomerGroupButton: Locator;
|
|
1275
|
+
constructor(page: Page);
|
|
1276
|
+
getCustomerGroupByName(customerGroup: string): Promise<Record<string, Locator>>;
|
|
1277
|
+
url(): string;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
declare class CustomerGroupCreate implements PageObject {
|
|
1281
|
+
readonly page: Page;
|
|
1282
|
+
readonly headline: Locator;
|
|
1283
|
+
readonly saveButton: Locator;
|
|
1284
|
+
readonly cancelButton: Locator;
|
|
1285
|
+
readonly cardTitle: Locator;
|
|
1286
|
+
readonly customerGroupNameField: Locator;
|
|
1287
|
+
readonly customerGroupGrossTaxDisplay: Locator;
|
|
1288
|
+
readonly customerGroupNetTaxDisplay: Locator;
|
|
1289
|
+
readonly customSignupFormToggle: Locator;
|
|
1290
|
+
readonly signupFormTitle: Locator;
|
|
1291
|
+
readonly signupFormIntroduction: Locator;
|
|
1292
|
+
readonly signupFormSeoDescription: Locator;
|
|
1293
|
+
readonly signupFormCompanySignupToggle: Locator;
|
|
1294
|
+
readonly customerGroupSaleschannelSelection: Locator;
|
|
1295
|
+
readonly customerGroupSaleschannelResultList: Locator;
|
|
1296
|
+
constructor(page: Page);
|
|
1297
|
+
url(): string;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
1301
|
+
readonly page: Page;
|
|
1302
|
+
readonly headline: Locator;
|
|
1303
|
+
readonly selectedSalesChannel: Locator;
|
|
1304
|
+
readonly technicalUrl: Locator;
|
|
1305
|
+
readonly saleschannelUrl: Locator;
|
|
1306
|
+
constructor(page: Page);
|
|
1307
|
+
url(customerGroupId?: string): string;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1235
1310
|
declare class FirstRunWizard implements PageObject {
|
|
1236
1311
|
readonly page: Page;
|
|
1237
1312
|
readonly nextButton: Locator;
|
|
@@ -1534,10 +1609,44 @@ declare class RuleCreate implements PageObject {
|
|
|
1534
1609
|
url(): string;
|
|
1535
1610
|
}
|
|
1536
1611
|
|
|
1612
|
+
declare class ManufacturerCreate implements PageObject {
|
|
1613
|
+
readonly page: Page;
|
|
1614
|
+
readonly saveButton: Locator;
|
|
1615
|
+
readonly cancelButton: Locator;
|
|
1616
|
+
readonly nameInput: Locator;
|
|
1617
|
+
readonly websiteInput: Locator;
|
|
1618
|
+
readonly descriptionInput: Locator;
|
|
1619
|
+
constructor(page: Page);
|
|
1620
|
+
url(): string;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
declare class ManufacturerListing implements PageObject {
|
|
1624
|
+
readonly page: Page;
|
|
1625
|
+
readonly addManufacturerButton: Locator;
|
|
1626
|
+
readonly manufacturerRows: Locator;
|
|
1627
|
+
constructor(page: Page);
|
|
1628
|
+
getLineItemByManufacturerName(manufacturerName: string): Promise<Record<string, Locator>>;
|
|
1629
|
+
url(): string;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
declare class ManufacturerDetail extends ManufacturerCreate {
|
|
1633
|
+
readonly page: Page;
|
|
1634
|
+
readonly customFieldCard: Locator;
|
|
1635
|
+
readonly customFieldSetTabs: Locator;
|
|
1636
|
+
readonly customFieldSetTabCustomContent: Locator;
|
|
1637
|
+
constructor(page: Page);
|
|
1638
|
+
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1639
|
+
url(manufacturerUuid?: string): string;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1537
1642
|
interface AdministrationPageTypes {
|
|
1538
1643
|
AdminProductDetail: ProductDetail;
|
|
1539
1644
|
AdminOrderDetail: OrderDetail;
|
|
1645
|
+
AdminCustomerListing: CustomerListing;
|
|
1540
1646
|
AdminCustomerDetail: CustomerDetail;
|
|
1647
|
+
AdminCustomerGroupListing: CustomerGroupListing;
|
|
1648
|
+
AdminCustomerGroupCreate: CustomerGroupCreate;
|
|
1649
|
+
AdminCustomerGroupDetail: CustomerGroupDetail;
|
|
1541
1650
|
AdminFirstRunWizard: FirstRunWizard;
|
|
1542
1651
|
AdminFlowBuilderCreate: FlowBuilderCreate;
|
|
1543
1652
|
AdminFlowBuilderListing: FlowBuilderListing;
|
|
@@ -1554,11 +1663,18 @@ interface AdministrationPageTypes {
|
|
|
1554
1663
|
AdminCustomFieldListing: CustomFieldListing;
|
|
1555
1664
|
AdminCustomFieldCreate: CustomFieldCreate;
|
|
1556
1665
|
AdminCustomFieldDetail: CustomFieldDetail;
|
|
1666
|
+
AdminManufacturerCreate: ManufacturerCreate;
|
|
1667
|
+
AdminManufacturerListing: ManufacturerListing;
|
|
1668
|
+
AdminManufacturerDetail: ManufacturerDetail;
|
|
1557
1669
|
}
|
|
1558
1670
|
declare const AdminPageObjects: {
|
|
1559
1671
|
ProductDetail: typeof ProductDetail;
|
|
1560
1672
|
OrderDetail: typeof OrderDetail;
|
|
1673
|
+
CustomerListing: typeof CustomerListing;
|
|
1561
1674
|
CustomerDetail: typeof CustomerDetail;
|
|
1675
|
+
CustomerGroupListing: typeof CustomerGroupListing;
|
|
1676
|
+
CustomerGroupCreate: typeof CustomerGroupCreate;
|
|
1677
|
+
CustomerGroupDetail: typeof CustomerGroupDetail;
|
|
1562
1678
|
FirstRunWizard: typeof FirstRunWizard;
|
|
1563
1679
|
FlowBuilderCreate: typeof FlowBuilderCreate;
|
|
1564
1680
|
FlowBuilderListing: typeof FlowBuilderListing;
|
|
@@ -1575,6 +1691,9 @@ declare const AdminPageObjects: {
|
|
|
1575
1691
|
CustomFieldListing: typeof CustomFieldListing;
|
|
1576
1692
|
CustomFieldCreate: typeof CustomFieldCreate;
|
|
1577
1693
|
CustomFieldDetail: typeof CustomFieldDetail;
|
|
1694
|
+
ManufacturerCreate: typeof ManufacturerCreate;
|
|
1695
|
+
ManufacturerDetail: typeof ManufacturerDetail;
|
|
1696
|
+
ManufacturerListing: typeof ManufacturerListing;
|
|
1578
1697
|
};
|
|
1579
1698
|
|
|
1580
1699
|
interface DataFixtureTypes {
|
|
@@ -1703,4 +1822,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
1703
1822
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
1704
1823
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
1705
1824
|
|
|
1706
|
-
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 };
|
|
1825
|
+
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 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
|
@@ -322,6 +322,9 @@ type DeliveryTime = components['schemas']['DeliveryTime'] & {
|
|
|
322
322
|
type CmsPage = components['schemas']['CmsPage'] & {
|
|
323
323
|
id: string;
|
|
324
324
|
};
|
|
325
|
+
type CustomerGroup = components['schemas']['CustomerGroup'] & {
|
|
326
|
+
id: string;
|
|
327
|
+
};
|
|
325
328
|
|
|
326
329
|
interface CreatedRecord {
|
|
327
330
|
resource: string;
|
|
@@ -556,6 +559,12 @@ declare class TestDataService {
|
|
|
556
559
|
* @param overrides - Specific data overrides that will be applied to the currency data struct.
|
|
557
560
|
*/
|
|
558
561
|
createCurrency(overrides?: Partial<Currency$1>, roundingDecimals?: number): Promise<Currency$1>;
|
|
562
|
+
/**
|
|
563
|
+
* Creates a random customer group
|
|
564
|
+
*
|
|
565
|
+
* @param overrides - Specific data overrides that will be applied to the customer group data struct.
|
|
566
|
+
*/
|
|
567
|
+
createCustomerGroup(overrides?: Partial<CustomerGroup>): Promise<CustomerGroup>;
|
|
559
568
|
/**
|
|
560
569
|
* Assigns a media resource as the download of a digital product.
|
|
561
570
|
*
|
|
@@ -857,6 +866,7 @@ declare class TestDataService {
|
|
|
857
866
|
} & Partial<OrderLineItem>;
|
|
858
867
|
getBasicPromotionStruct(salesChannelId?: string, overrides?: Partial<Promotion>): Partial<Promotion>;
|
|
859
868
|
getBasicCmsStruct(cmsType: string, overrides: Partial<CmsPage>): Partial<CmsPage>;
|
|
869
|
+
getBasicCustomerGroupStruct(overrides?: Partial<CustomerGroup>): Partial<CustomerGroup>;
|
|
860
870
|
}
|
|
861
871
|
|
|
862
872
|
interface TestDataFixtureTypes {
|
|
@@ -1034,7 +1044,9 @@ declare class Account implements PageObject {
|
|
|
1034
1044
|
readonly shippingAddressCardTitle: Locator;
|
|
1035
1045
|
readonly newsletterCheckbox: Locator;
|
|
1036
1046
|
readonly newsletterRegistrationSuccessMessage: Locator;
|
|
1047
|
+
readonly customerGroupRequestMessage: Locator;
|
|
1037
1048
|
constructor(page: Page);
|
|
1049
|
+
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1038
1050
|
url(): string;
|
|
1039
1051
|
}
|
|
1040
1052
|
|
|
@@ -1049,6 +1061,9 @@ declare class AccountLogin implements PageObject {
|
|
|
1049
1061
|
readonly billingAddressFormArea: Locator;
|
|
1050
1062
|
readonly firstNameInput: Locator;
|
|
1051
1063
|
readonly lastNameInput: Locator;
|
|
1064
|
+
readonly companyInput: Locator;
|
|
1065
|
+
readonly departmentInput: Locator;
|
|
1066
|
+
readonly vatRegNoInput: Locator;
|
|
1052
1067
|
readonly registerEmailInput: Locator;
|
|
1053
1068
|
readonly registerPasswordInput: Locator;
|
|
1054
1069
|
readonly streetAddressInput: Locator;
|
|
@@ -1125,6 +1140,12 @@ declare class SearchSuggest implements PageObject {
|
|
|
1125
1140
|
url(searchTerm: string): string;
|
|
1126
1141
|
}
|
|
1127
1142
|
|
|
1143
|
+
declare class CustomRegister extends AccountLogin implements PageObject {
|
|
1144
|
+
readonly page: Page;
|
|
1145
|
+
constructor(page: Page);
|
|
1146
|
+
url(customCustomerGroupName?: string): string;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1128
1149
|
interface StorefrontPageTypes {
|
|
1129
1150
|
StorefrontHome: Home;
|
|
1130
1151
|
StorefrontProductDetail: ProductDetail$1;
|
|
@@ -1142,6 +1163,7 @@ interface StorefrontPageTypes {
|
|
|
1142
1163
|
StorefrontAccountPayment: AccountPayment;
|
|
1143
1164
|
StorefrontSearch: Search;
|
|
1144
1165
|
StorefrontSearchSuggest: SearchSuggest;
|
|
1166
|
+
StorefrontCustomRegister: CustomRegister;
|
|
1145
1167
|
}
|
|
1146
1168
|
declare const StorefrontPageObjects: {
|
|
1147
1169
|
Home: typeof Home;
|
|
@@ -1160,6 +1182,7 @@ declare const StorefrontPageObjects: {
|
|
|
1160
1182
|
AccountPayment: typeof AccountPayment;
|
|
1161
1183
|
Search: typeof Search;
|
|
1162
1184
|
SearchSuggest: typeof SearchSuggest;
|
|
1185
|
+
CustomRegister: typeof CustomRegister;
|
|
1163
1186
|
};
|
|
1164
1187
|
|
|
1165
1188
|
declare class ProductDetail implements PageObject {
|
|
@@ -1219,6 +1242,15 @@ declare class OrderDetail implements PageObject {
|
|
|
1219
1242
|
url(orderId: string): string;
|
|
1220
1243
|
}
|
|
1221
1244
|
|
|
1245
|
+
declare class CustomerListing implements PageObject {
|
|
1246
|
+
readonly page: Page;
|
|
1247
|
+
readonly headline: Locator;
|
|
1248
|
+
readonly addCustomerButton: Locator;
|
|
1249
|
+
constructor(page: Page);
|
|
1250
|
+
getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1251
|
+
url(): string;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1222
1254
|
declare class CustomerDetail implements PageObject {
|
|
1223
1255
|
readonly page: Page;
|
|
1224
1256
|
readonly editButton: Locator;
|
|
@@ -1227,11 +1259,54 @@ declare class CustomerDetail implements PageObject {
|
|
|
1227
1259
|
readonly customFieldCard: Locator;
|
|
1228
1260
|
readonly customFieldSetTabs: Locator;
|
|
1229
1261
|
readonly customFieldSetTabCustomContent: Locator;
|
|
1262
|
+
readonly customerGroupRequestMessage: Locator;
|
|
1263
|
+
readonly customerGroupAcceptButton: Locator;
|
|
1264
|
+
readonly customerGroupDeclineButton: Locator;
|
|
1230
1265
|
constructor(page: Page);
|
|
1231
1266
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1267
|
+
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1232
1268
|
url(customerId: string): string;
|
|
1233
1269
|
}
|
|
1234
1270
|
|
|
1271
|
+
declare class CustomerGroupListing implements PageObject {
|
|
1272
|
+
readonly page: Page;
|
|
1273
|
+
readonly headline: Locator;
|
|
1274
|
+
readonly addCustomerGroupButton: Locator;
|
|
1275
|
+
constructor(page: Page);
|
|
1276
|
+
getCustomerGroupByName(customerGroup: string): Promise<Record<string, Locator>>;
|
|
1277
|
+
url(): string;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
declare class CustomerGroupCreate implements PageObject {
|
|
1281
|
+
readonly page: Page;
|
|
1282
|
+
readonly headline: Locator;
|
|
1283
|
+
readonly saveButton: Locator;
|
|
1284
|
+
readonly cancelButton: Locator;
|
|
1285
|
+
readonly cardTitle: Locator;
|
|
1286
|
+
readonly customerGroupNameField: Locator;
|
|
1287
|
+
readonly customerGroupGrossTaxDisplay: Locator;
|
|
1288
|
+
readonly customerGroupNetTaxDisplay: Locator;
|
|
1289
|
+
readonly customSignupFormToggle: Locator;
|
|
1290
|
+
readonly signupFormTitle: Locator;
|
|
1291
|
+
readonly signupFormIntroduction: Locator;
|
|
1292
|
+
readonly signupFormSeoDescription: Locator;
|
|
1293
|
+
readonly signupFormCompanySignupToggle: Locator;
|
|
1294
|
+
readonly customerGroupSaleschannelSelection: Locator;
|
|
1295
|
+
readonly customerGroupSaleschannelResultList: Locator;
|
|
1296
|
+
constructor(page: Page);
|
|
1297
|
+
url(): string;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
1301
|
+
readonly page: Page;
|
|
1302
|
+
readonly headline: Locator;
|
|
1303
|
+
readonly selectedSalesChannel: Locator;
|
|
1304
|
+
readonly technicalUrl: Locator;
|
|
1305
|
+
readonly saleschannelUrl: Locator;
|
|
1306
|
+
constructor(page: Page);
|
|
1307
|
+
url(customerGroupId?: string): string;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1235
1310
|
declare class FirstRunWizard implements PageObject {
|
|
1236
1311
|
readonly page: Page;
|
|
1237
1312
|
readonly nextButton: Locator;
|
|
@@ -1534,10 +1609,44 @@ declare class RuleCreate implements PageObject {
|
|
|
1534
1609
|
url(): string;
|
|
1535
1610
|
}
|
|
1536
1611
|
|
|
1612
|
+
declare class ManufacturerCreate implements PageObject {
|
|
1613
|
+
readonly page: Page;
|
|
1614
|
+
readonly saveButton: Locator;
|
|
1615
|
+
readonly cancelButton: Locator;
|
|
1616
|
+
readonly nameInput: Locator;
|
|
1617
|
+
readonly websiteInput: Locator;
|
|
1618
|
+
readonly descriptionInput: Locator;
|
|
1619
|
+
constructor(page: Page);
|
|
1620
|
+
url(): string;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
declare class ManufacturerListing implements PageObject {
|
|
1624
|
+
readonly page: Page;
|
|
1625
|
+
readonly addManufacturerButton: Locator;
|
|
1626
|
+
readonly manufacturerRows: Locator;
|
|
1627
|
+
constructor(page: Page);
|
|
1628
|
+
getLineItemByManufacturerName(manufacturerName: string): Promise<Record<string, Locator>>;
|
|
1629
|
+
url(): string;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
declare class ManufacturerDetail extends ManufacturerCreate {
|
|
1633
|
+
readonly page: Page;
|
|
1634
|
+
readonly customFieldCard: Locator;
|
|
1635
|
+
readonly customFieldSetTabs: Locator;
|
|
1636
|
+
readonly customFieldSetTabCustomContent: Locator;
|
|
1637
|
+
constructor(page: Page);
|
|
1638
|
+
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1639
|
+
url(manufacturerUuid?: string): string;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1537
1642
|
interface AdministrationPageTypes {
|
|
1538
1643
|
AdminProductDetail: ProductDetail;
|
|
1539
1644
|
AdminOrderDetail: OrderDetail;
|
|
1645
|
+
AdminCustomerListing: CustomerListing;
|
|
1540
1646
|
AdminCustomerDetail: CustomerDetail;
|
|
1647
|
+
AdminCustomerGroupListing: CustomerGroupListing;
|
|
1648
|
+
AdminCustomerGroupCreate: CustomerGroupCreate;
|
|
1649
|
+
AdminCustomerGroupDetail: CustomerGroupDetail;
|
|
1541
1650
|
AdminFirstRunWizard: FirstRunWizard;
|
|
1542
1651
|
AdminFlowBuilderCreate: FlowBuilderCreate;
|
|
1543
1652
|
AdminFlowBuilderListing: FlowBuilderListing;
|
|
@@ -1554,11 +1663,18 @@ interface AdministrationPageTypes {
|
|
|
1554
1663
|
AdminCustomFieldListing: CustomFieldListing;
|
|
1555
1664
|
AdminCustomFieldCreate: CustomFieldCreate;
|
|
1556
1665
|
AdminCustomFieldDetail: CustomFieldDetail;
|
|
1666
|
+
AdminManufacturerCreate: ManufacturerCreate;
|
|
1667
|
+
AdminManufacturerListing: ManufacturerListing;
|
|
1668
|
+
AdminManufacturerDetail: ManufacturerDetail;
|
|
1557
1669
|
}
|
|
1558
1670
|
declare const AdminPageObjects: {
|
|
1559
1671
|
ProductDetail: typeof ProductDetail;
|
|
1560
1672
|
OrderDetail: typeof OrderDetail;
|
|
1673
|
+
CustomerListing: typeof CustomerListing;
|
|
1561
1674
|
CustomerDetail: typeof CustomerDetail;
|
|
1675
|
+
CustomerGroupListing: typeof CustomerGroupListing;
|
|
1676
|
+
CustomerGroupCreate: typeof CustomerGroupCreate;
|
|
1677
|
+
CustomerGroupDetail: typeof CustomerGroupDetail;
|
|
1562
1678
|
FirstRunWizard: typeof FirstRunWizard;
|
|
1563
1679
|
FlowBuilderCreate: typeof FlowBuilderCreate;
|
|
1564
1680
|
FlowBuilderListing: typeof FlowBuilderListing;
|
|
@@ -1575,6 +1691,9 @@ declare const AdminPageObjects: {
|
|
|
1575
1691
|
CustomFieldListing: typeof CustomFieldListing;
|
|
1576
1692
|
CustomFieldCreate: typeof CustomFieldCreate;
|
|
1577
1693
|
CustomFieldDetail: typeof CustomFieldDetail;
|
|
1694
|
+
ManufacturerCreate: typeof ManufacturerCreate;
|
|
1695
|
+
ManufacturerDetail: typeof ManufacturerDetail;
|
|
1696
|
+
ManufacturerListing: typeof ManufacturerListing;
|
|
1578
1697
|
};
|
|
1579
1698
|
|
|
1580
1699
|
interface DataFixtureTypes {
|
|
@@ -1703,4 +1822,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
1703
1822
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
1704
1823
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
1705
1824
|
|
|
1706
|
-
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 };
|
|
1825
|
+
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 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 };
|