@shopware-ag/acceptance-test-suite 8.2.2 → 9.0.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 +108 -3
- package/dist/index.d.ts +108 -3
- package/dist/index.mjs +1032 -679
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -347,6 +347,20 @@ interface RegistrationData {
|
|
|
347
347
|
department: string;
|
|
348
348
|
vatRegNo: string;
|
|
349
349
|
}
|
|
350
|
+
type Language$1 = components['schemas']['Language'] & {
|
|
351
|
+
id: string;
|
|
352
|
+
};
|
|
353
|
+
type CustomFieldSet = components['schemas']['CustomFieldSet'] & {
|
|
354
|
+
id: string;
|
|
355
|
+
};
|
|
356
|
+
type CustomField = Omit<components['schemas']['CustomField'], 'config'> & {
|
|
357
|
+
id: string;
|
|
358
|
+
config: {
|
|
359
|
+
label: {
|
|
360
|
+
'en-GB': string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
350
364
|
|
|
351
365
|
interface SalesChannelRecord {
|
|
352
366
|
salesChannelId: string;
|
|
@@ -611,6 +625,19 @@ declare class TestDataService {
|
|
|
611
625
|
* @param overrides - Specific data overrides that will be applied to the sales channel analytics data struct.
|
|
612
626
|
*/
|
|
613
627
|
createSalesChannelAnalytics(overrides?: Partial<SalesChannelAnalytics>): Promise<SalesChannelAnalytics>;
|
|
628
|
+
/**
|
|
629
|
+
* Creates a custom field
|
|
630
|
+
*
|
|
631
|
+
* @param customFieldSetId - The uuid of the custom field set.
|
|
632
|
+
* @param overrides - Specific data overrides that will be applied to the custom field data struct.
|
|
633
|
+
*/
|
|
634
|
+
createCustomField(customFieldSetId: string, overrides?: Partial<CustomField>): Promise<CustomField>;
|
|
635
|
+
/**
|
|
636
|
+
* Creates a custom field set
|
|
637
|
+
*
|
|
638
|
+
* @param overrides - Specific data overrides that will be applied to the custom field set data struct.
|
|
639
|
+
*/
|
|
640
|
+
createCustomFieldSet(overrides?: Partial<CustomFieldSet>): Promise<CustomFieldSet>;
|
|
614
641
|
/**
|
|
615
642
|
* Assigns a media resource as the download of a digital product.
|
|
616
643
|
*
|
|
@@ -691,6 +718,13 @@ declare class TestDataService {
|
|
|
691
718
|
* @param countryId - The uuid of the country.
|
|
692
719
|
*/
|
|
693
720
|
assignSalesChannelCountry(salesChannelId: string, countryId: string): Promise<any>;
|
|
721
|
+
/**
|
|
722
|
+
* Assigns a language to a sales channel.
|
|
723
|
+
*
|
|
724
|
+
* @param salesChannelId - The uuid of the sales channel.
|
|
725
|
+
* @param languageId - The uuid of the language.
|
|
726
|
+
*/
|
|
727
|
+
assignSalesChannelLanguage(salesChannelId: string, languageId: string): Promise<any>;
|
|
694
728
|
/**
|
|
695
729
|
* Assigns a media resource to a payment method as a logo.
|
|
696
730
|
*
|
|
@@ -705,6 +739,11 @@ declare class TestDataService {
|
|
|
705
739
|
* @param mediaId - The uuid of the media resource.
|
|
706
740
|
*/
|
|
707
741
|
assignShippingMethodMedia(shippingMethodId: string, mediaId: string): Promise<any>;
|
|
742
|
+
/**
|
|
743
|
+
* Retrieves a language based on its code.
|
|
744
|
+
* @param languageCode
|
|
745
|
+
*/
|
|
746
|
+
getLanguageData(languageCode: string): Promise<Language$1>;
|
|
708
747
|
/**
|
|
709
748
|
* Retrieves a currency based on its ISO code.
|
|
710
749
|
*
|
|
@@ -776,6 +815,22 @@ declare class TestDataService {
|
|
|
776
815
|
* @param propertyGroupId - The uuid of the property group.
|
|
777
816
|
*/
|
|
778
817
|
getPropertyGroupOptions(propertyGroupId: string): Promise<PropertyGroupOption[]>;
|
|
818
|
+
/**
|
|
819
|
+
* Retrieves a customer group by its id.
|
|
820
|
+
*
|
|
821
|
+
* @param customerGroupId - The id of the property group.
|
|
822
|
+
*/
|
|
823
|
+
getCustomerGroupById(customerGroupId: string): Promise<CustomerGroup>;
|
|
824
|
+
/**
|
|
825
|
+
* Retrieves list of customer groups
|
|
826
|
+
*/
|
|
827
|
+
getCustomerGroups(): Promise<CustomerGroup[]>;
|
|
828
|
+
/**
|
|
829
|
+
* Retrieves a language by its id.
|
|
830
|
+
*
|
|
831
|
+
* @param languageId - The id of the property group.
|
|
832
|
+
*/
|
|
833
|
+
getLanguageById(languageId: string): Promise<Language$1>;
|
|
779
834
|
/**
|
|
780
835
|
* Adds an entity reference to the registry of created records.
|
|
781
836
|
* All entities added to the registry will be deleted by the cleanup call.
|
|
@@ -930,6 +985,8 @@ declare class TestDataService {
|
|
|
930
985
|
getBasicCustomerGroupStruct(overrides?: Partial<CustomerGroup>): Partial<CustomerGroup>;
|
|
931
986
|
getSalesChannelAnalyticsStruct(overrides?: Partial<SalesChannelAnalytics>): Partial<SalesChannelAnalytics>;
|
|
932
987
|
clearCaches(): Promise<void>;
|
|
988
|
+
getBasicCustomFieldSetStruct(overrides?: Partial<CustomFieldSet>): Partial<CustomFieldSet>;
|
|
989
|
+
getBasicCustomFieldStruct(overrides?: Partial<CustomField>): Partial<CustomField>;
|
|
933
990
|
}
|
|
934
991
|
|
|
935
992
|
interface TestDataFixtureTypes {
|
|
@@ -1376,8 +1433,16 @@ declare class CustomerListing implements PageObject {
|
|
|
1376
1433
|
readonly page: Page;
|
|
1377
1434
|
readonly headline: Locator;
|
|
1378
1435
|
readonly addCustomerButton: Locator;
|
|
1436
|
+
readonly bulkEditButton: Locator;
|
|
1437
|
+
readonly deleteButton: Locator;
|
|
1438
|
+
readonly bulkEditModal: Locator;
|
|
1439
|
+
readonly startBulkEditButton: Locator;
|
|
1440
|
+
readonly cancelButton: Locator;
|
|
1441
|
+
readonly modalHeaderCheckbox: Locator;
|
|
1379
1442
|
constructor(page: Page);
|
|
1380
1443
|
getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1444
|
+
getCustomerBulkEditModalTitle(customerCount: number): Promise<Locator>;
|
|
1445
|
+
getBulkEditModalLineItemByCustomerEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1381
1446
|
url(): string;
|
|
1382
1447
|
}
|
|
1383
1448
|
|
|
@@ -1392,9 +1457,14 @@ declare class CustomerDetail implements PageObject {
|
|
|
1392
1457
|
readonly customerGroupRequestMessage: Locator;
|
|
1393
1458
|
readonly customerGroupAcceptButton: Locator;
|
|
1394
1459
|
readonly customerGroupDeclineButton: Locator;
|
|
1460
|
+
readonly tagList: Locator;
|
|
1461
|
+
readonly tagItems: Locator;
|
|
1395
1462
|
constructor(page: Page);
|
|
1396
1463
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1397
1464
|
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1465
|
+
getCustomerGroup(): Promise<Locator>;
|
|
1466
|
+
getAccountStatus(): Promise<Locator>;
|
|
1467
|
+
getLanguage(): Promise<Locator>;
|
|
1398
1468
|
url(customerId: string): string;
|
|
1399
1469
|
}
|
|
1400
1470
|
|
|
@@ -1625,8 +1695,6 @@ declare class Categories implements PageObject {
|
|
|
1625
1695
|
* Category tree
|
|
1626
1696
|
*/
|
|
1627
1697
|
readonly categoryTree: Locator;
|
|
1628
|
-
readonly homeCategory: Locator;
|
|
1629
|
-
readonly homeCategoryContextButton: Locator;
|
|
1630
1698
|
readonly categoryMenuItemList: Locator;
|
|
1631
1699
|
readonly createCategoryInput: Locator;
|
|
1632
1700
|
readonly confirmCategoryCreationButton: Locator;
|
|
@@ -1656,6 +1724,7 @@ declare class Categories implements PageObject {
|
|
|
1656
1724
|
constructor(page: Page);
|
|
1657
1725
|
getLandingPageByName(landingPageName: string): Promise<Locator>;
|
|
1658
1726
|
getPopOverCategoryByName(categoryName: string): Promise<Locator>;
|
|
1727
|
+
getTreeItemContextButton(name: string): Locator;
|
|
1659
1728
|
url(): string;
|
|
1660
1729
|
}
|
|
1661
1730
|
|
|
@@ -1851,6 +1920,38 @@ declare class ProductBulkEdit implements PageObject {
|
|
|
1851
1920
|
getDropdownEntry(entry: string): Promise<Locator>;
|
|
1852
1921
|
}
|
|
1853
1922
|
|
|
1923
|
+
declare class CustomerBulkEdit implements PageObject {
|
|
1924
|
+
readonly page: Page;
|
|
1925
|
+
readonly applyChangesButton: Locator;
|
|
1926
|
+
readonly filtersResultPopoverItemList: Locator;
|
|
1927
|
+
readonly changeCustomerGroupCheckbox: Locator;
|
|
1928
|
+
readonly customerGroupInput: Locator;
|
|
1929
|
+
readonly changeAccountStatusCheckbox: Locator;
|
|
1930
|
+
readonly accountStatusInput: Locator;
|
|
1931
|
+
readonly changeLanguageCheckbox: Locator;
|
|
1932
|
+
readonly changeLanguageInput: Locator;
|
|
1933
|
+
readonly replyToCustomerGroupRequest: Locator;
|
|
1934
|
+
readonly replyToCustomerGroupRequestInput: Locator;
|
|
1935
|
+
readonly changeTagsCheckbox: Locator;
|
|
1936
|
+
readonly changeTypeSelect: Locator;
|
|
1937
|
+
readonly enterTagsSelect: Locator;
|
|
1938
|
+
readonly customFieldCheckbox: Locator;
|
|
1939
|
+
readonly customFieldInput: Locator;
|
|
1940
|
+
readonly customFieldArrowRightButton: Locator;
|
|
1941
|
+
/**
|
|
1942
|
+
* Confirmation modal
|
|
1943
|
+
*/
|
|
1944
|
+
readonly confirmModal: Locator;
|
|
1945
|
+
readonly confirmModalApplyChangesButton: Locator;
|
|
1946
|
+
readonly confirmModalSuccessHeader: Locator;
|
|
1947
|
+
readonly confirmModalSuccessCloseButton: Locator;
|
|
1948
|
+
constructor(page: Page);
|
|
1949
|
+
getPageHeadline(customerCount: number): Promise<Locator>;
|
|
1950
|
+
getCustomFieldInputByName(customFieldName: string): Promise<Locator>;
|
|
1951
|
+
getCustomFieldLinkByName(customFieldSetName: string): Promise<Locator>;
|
|
1952
|
+
url(): string;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1854
1955
|
interface AdministrationPageTypes {
|
|
1855
1956
|
AdminProductDetail: ProductDetail;
|
|
1856
1957
|
AdminOrderDetail: OrderDetail;
|
|
@@ -1880,6 +1981,7 @@ interface AdministrationPageTypes {
|
|
|
1880
1981
|
AdminManufacturerDetail: ManufacturerDetail;
|
|
1881
1982
|
AdminProductListing: ProductListing;
|
|
1882
1983
|
AdminProductBulkEdit: ProductBulkEdit;
|
|
1984
|
+
AdminCustomerBulkEdit: CustomerBulkEdit;
|
|
1883
1985
|
}
|
|
1884
1986
|
declare const AdminPageObjects: {
|
|
1885
1987
|
ProductDetail: typeof ProductDetail;
|
|
@@ -1910,6 +2012,7 @@ declare const AdminPageObjects: {
|
|
|
1910
2012
|
ManufacturerListing: typeof ManufacturerListing;
|
|
1911
2013
|
ProductListing: typeof ProductListing;
|
|
1912
2014
|
ProductBulkEdit: typeof ProductBulkEdit;
|
|
2015
|
+
CustomerBulkEdit: typeof CustomerBulkEdit;
|
|
1913
2016
|
};
|
|
1914
2017
|
|
|
1915
2018
|
interface DataFixtureTypes {
|
|
@@ -2004,6 +2107,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2004
2107
|
SetSystemConfigValues: Task;
|
|
2005
2108
|
} & {
|
|
2006
2109
|
BulkEditProducts: Task;
|
|
2110
|
+
} & {
|
|
2111
|
+
BulkEditCustomers: Task;
|
|
2007
2112
|
} & {
|
|
2008
2113
|
Login: Task;
|
|
2009
2114
|
} & {
|
|
@@ -2044,4 +2149,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2044
2149
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2045
2150
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2046
2151
|
|
|
2047
|
-
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 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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -347,6 +347,20 @@ interface RegistrationData {
|
|
|
347
347
|
department: string;
|
|
348
348
|
vatRegNo: string;
|
|
349
349
|
}
|
|
350
|
+
type Language$1 = components['schemas']['Language'] & {
|
|
351
|
+
id: string;
|
|
352
|
+
};
|
|
353
|
+
type CustomFieldSet = components['schemas']['CustomFieldSet'] & {
|
|
354
|
+
id: string;
|
|
355
|
+
};
|
|
356
|
+
type CustomField = Omit<components['schemas']['CustomField'], 'config'> & {
|
|
357
|
+
id: string;
|
|
358
|
+
config: {
|
|
359
|
+
label: {
|
|
360
|
+
'en-GB': string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
350
364
|
|
|
351
365
|
interface SalesChannelRecord {
|
|
352
366
|
salesChannelId: string;
|
|
@@ -611,6 +625,19 @@ declare class TestDataService {
|
|
|
611
625
|
* @param overrides - Specific data overrides that will be applied to the sales channel analytics data struct.
|
|
612
626
|
*/
|
|
613
627
|
createSalesChannelAnalytics(overrides?: Partial<SalesChannelAnalytics>): Promise<SalesChannelAnalytics>;
|
|
628
|
+
/**
|
|
629
|
+
* Creates a custom field
|
|
630
|
+
*
|
|
631
|
+
* @param customFieldSetId - The uuid of the custom field set.
|
|
632
|
+
* @param overrides - Specific data overrides that will be applied to the custom field data struct.
|
|
633
|
+
*/
|
|
634
|
+
createCustomField(customFieldSetId: string, overrides?: Partial<CustomField>): Promise<CustomField>;
|
|
635
|
+
/**
|
|
636
|
+
* Creates a custom field set
|
|
637
|
+
*
|
|
638
|
+
* @param overrides - Specific data overrides that will be applied to the custom field set data struct.
|
|
639
|
+
*/
|
|
640
|
+
createCustomFieldSet(overrides?: Partial<CustomFieldSet>): Promise<CustomFieldSet>;
|
|
614
641
|
/**
|
|
615
642
|
* Assigns a media resource as the download of a digital product.
|
|
616
643
|
*
|
|
@@ -691,6 +718,13 @@ declare class TestDataService {
|
|
|
691
718
|
* @param countryId - The uuid of the country.
|
|
692
719
|
*/
|
|
693
720
|
assignSalesChannelCountry(salesChannelId: string, countryId: string): Promise<any>;
|
|
721
|
+
/**
|
|
722
|
+
* Assigns a language to a sales channel.
|
|
723
|
+
*
|
|
724
|
+
* @param salesChannelId - The uuid of the sales channel.
|
|
725
|
+
* @param languageId - The uuid of the language.
|
|
726
|
+
*/
|
|
727
|
+
assignSalesChannelLanguage(salesChannelId: string, languageId: string): Promise<any>;
|
|
694
728
|
/**
|
|
695
729
|
* Assigns a media resource to a payment method as a logo.
|
|
696
730
|
*
|
|
@@ -705,6 +739,11 @@ declare class TestDataService {
|
|
|
705
739
|
* @param mediaId - The uuid of the media resource.
|
|
706
740
|
*/
|
|
707
741
|
assignShippingMethodMedia(shippingMethodId: string, mediaId: string): Promise<any>;
|
|
742
|
+
/**
|
|
743
|
+
* Retrieves a language based on its code.
|
|
744
|
+
* @param languageCode
|
|
745
|
+
*/
|
|
746
|
+
getLanguageData(languageCode: string): Promise<Language$1>;
|
|
708
747
|
/**
|
|
709
748
|
* Retrieves a currency based on its ISO code.
|
|
710
749
|
*
|
|
@@ -776,6 +815,22 @@ declare class TestDataService {
|
|
|
776
815
|
* @param propertyGroupId - The uuid of the property group.
|
|
777
816
|
*/
|
|
778
817
|
getPropertyGroupOptions(propertyGroupId: string): Promise<PropertyGroupOption[]>;
|
|
818
|
+
/**
|
|
819
|
+
* Retrieves a customer group by its id.
|
|
820
|
+
*
|
|
821
|
+
* @param customerGroupId - The id of the property group.
|
|
822
|
+
*/
|
|
823
|
+
getCustomerGroupById(customerGroupId: string): Promise<CustomerGroup>;
|
|
824
|
+
/**
|
|
825
|
+
* Retrieves list of customer groups
|
|
826
|
+
*/
|
|
827
|
+
getCustomerGroups(): Promise<CustomerGroup[]>;
|
|
828
|
+
/**
|
|
829
|
+
* Retrieves a language by its id.
|
|
830
|
+
*
|
|
831
|
+
* @param languageId - The id of the property group.
|
|
832
|
+
*/
|
|
833
|
+
getLanguageById(languageId: string): Promise<Language$1>;
|
|
779
834
|
/**
|
|
780
835
|
* Adds an entity reference to the registry of created records.
|
|
781
836
|
* All entities added to the registry will be deleted by the cleanup call.
|
|
@@ -930,6 +985,8 @@ declare class TestDataService {
|
|
|
930
985
|
getBasicCustomerGroupStruct(overrides?: Partial<CustomerGroup>): Partial<CustomerGroup>;
|
|
931
986
|
getSalesChannelAnalyticsStruct(overrides?: Partial<SalesChannelAnalytics>): Partial<SalesChannelAnalytics>;
|
|
932
987
|
clearCaches(): Promise<void>;
|
|
988
|
+
getBasicCustomFieldSetStruct(overrides?: Partial<CustomFieldSet>): Partial<CustomFieldSet>;
|
|
989
|
+
getBasicCustomFieldStruct(overrides?: Partial<CustomField>): Partial<CustomField>;
|
|
933
990
|
}
|
|
934
991
|
|
|
935
992
|
interface TestDataFixtureTypes {
|
|
@@ -1376,8 +1433,16 @@ declare class CustomerListing implements PageObject {
|
|
|
1376
1433
|
readonly page: Page;
|
|
1377
1434
|
readonly headline: Locator;
|
|
1378
1435
|
readonly addCustomerButton: Locator;
|
|
1436
|
+
readonly bulkEditButton: Locator;
|
|
1437
|
+
readonly deleteButton: Locator;
|
|
1438
|
+
readonly bulkEditModal: Locator;
|
|
1439
|
+
readonly startBulkEditButton: Locator;
|
|
1440
|
+
readonly cancelButton: Locator;
|
|
1441
|
+
readonly modalHeaderCheckbox: Locator;
|
|
1379
1442
|
constructor(page: Page);
|
|
1380
1443
|
getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1444
|
+
getCustomerBulkEditModalTitle(customerCount: number): Promise<Locator>;
|
|
1445
|
+
getBulkEditModalLineItemByCustomerEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1381
1446
|
url(): string;
|
|
1382
1447
|
}
|
|
1383
1448
|
|
|
@@ -1392,9 +1457,14 @@ declare class CustomerDetail implements PageObject {
|
|
|
1392
1457
|
readonly customerGroupRequestMessage: Locator;
|
|
1393
1458
|
readonly customerGroupAcceptButton: Locator;
|
|
1394
1459
|
readonly customerGroupDeclineButton: Locator;
|
|
1460
|
+
readonly tagList: Locator;
|
|
1461
|
+
readonly tagItems: Locator;
|
|
1395
1462
|
constructor(page: Page);
|
|
1396
1463
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1397
1464
|
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1465
|
+
getCustomerGroup(): Promise<Locator>;
|
|
1466
|
+
getAccountStatus(): Promise<Locator>;
|
|
1467
|
+
getLanguage(): Promise<Locator>;
|
|
1398
1468
|
url(customerId: string): string;
|
|
1399
1469
|
}
|
|
1400
1470
|
|
|
@@ -1625,8 +1695,6 @@ declare class Categories implements PageObject {
|
|
|
1625
1695
|
* Category tree
|
|
1626
1696
|
*/
|
|
1627
1697
|
readonly categoryTree: Locator;
|
|
1628
|
-
readonly homeCategory: Locator;
|
|
1629
|
-
readonly homeCategoryContextButton: Locator;
|
|
1630
1698
|
readonly categoryMenuItemList: Locator;
|
|
1631
1699
|
readonly createCategoryInput: Locator;
|
|
1632
1700
|
readonly confirmCategoryCreationButton: Locator;
|
|
@@ -1656,6 +1724,7 @@ declare class Categories implements PageObject {
|
|
|
1656
1724
|
constructor(page: Page);
|
|
1657
1725
|
getLandingPageByName(landingPageName: string): Promise<Locator>;
|
|
1658
1726
|
getPopOverCategoryByName(categoryName: string): Promise<Locator>;
|
|
1727
|
+
getTreeItemContextButton(name: string): Locator;
|
|
1659
1728
|
url(): string;
|
|
1660
1729
|
}
|
|
1661
1730
|
|
|
@@ -1851,6 +1920,38 @@ declare class ProductBulkEdit implements PageObject {
|
|
|
1851
1920
|
getDropdownEntry(entry: string): Promise<Locator>;
|
|
1852
1921
|
}
|
|
1853
1922
|
|
|
1923
|
+
declare class CustomerBulkEdit implements PageObject {
|
|
1924
|
+
readonly page: Page;
|
|
1925
|
+
readonly applyChangesButton: Locator;
|
|
1926
|
+
readonly filtersResultPopoverItemList: Locator;
|
|
1927
|
+
readonly changeCustomerGroupCheckbox: Locator;
|
|
1928
|
+
readonly customerGroupInput: Locator;
|
|
1929
|
+
readonly changeAccountStatusCheckbox: Locator;
|
|
1930
|
+
readonly accountStatusInput: Locator;
|
|
1931
|
+
readonly changeLanguageCheckbox: Locator;
|
|
1932
|
+
readonly changeLanguageInput: Locator;
|
|
1933
|
+
readonly replyToCustomerGroupRequest: Locator;
|
|
1934
|
+
readonly replyToCustomerGroupRequestInput: Locator;
|
|
1935
|
+
readonly changeTagsCheckbox: Locator;
|
|
1936
|
+
readonly changeTypeSelect: Locator;
|
|
1937
|
+
readonly enterTagsSelect: Locator;
|
|
1938
|
+
readonly customFieldCheckbox: Locator;
|
|
1939
|
+
readonly customFieldInput: Locator;
|
|
1940
|
+
readonly customFieldArrowRightButton: Locator;
|
|
1941
|
+
/**
|
|
1942
|
+
* Confirmation modal
|
|
1943
|
+
*/
|
|
1944
|
+
readonly confirmModal: Locator;
|
|
1945
|
+
readonly confirmModalApplyChangesButton: Locator;
|
|
1946
|
+
readonly confirmModalSuccessHeader: Locator;
|
|
1947
|
+
readonly confirmModalSuccessCloseButton: Locator;
|
|
1948
|
+
constructor(page: Page);
|
|
1949
|
+
getPageHeadline(customerCount: number): Promise<Locator>;
|
|
1950
|
+
getCustomFieldInputByName(customFieldName: string): Promise<Locator>;
|
|
1951
|
+
getCustomFieldLinkByName(customFieldSetName: string): Promise<Locator>;
|
|
1952
|
+
url(): string;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1854
1955
|
interface AdministrationPageTypes {
|
|
1855
1956
|
AdminProductDetail: ProductDetail;
|
|
1856
1957
|
AdminOrderDetail: OrderDetail;
|
|
@@ -1880,6 +1981,7 @@ interface AdministrationPageTypes {
|
|
|
1880
1981
|
AdminManufacturerDetail: ManufacturerDetail;
|
|
1881
1982
|
AdminProductListing: ProductListing;
|
|
1882
1983
|
AdminProductBulkEdit: ProductBulkEdit;
|
|
1984
|
+
AdminCustomerBulkEdit: CustomerBulkEdit;
|
|
1883
1985
|
}
|
|
1884
1986
|
declare const AdminPageObjects: {
|
|
1885
1987
|
ProductDetail: typeof ProductDetail;
|
|
@@ -1910,6 +2012,7 @@ declare const AdminPageObjects: {
|
|
|
1910
2012
|
ManufacturerListing: typeof ManufacturerListing;
|
|
1911
2013
|
ProductListing: typeof ProductListing;
|
|
1912
2014
|
ProductBulkEdit: typeof ProductBulkEdit;
|
|
2015
|
+
CustomerBulkEdit: typeof CustomerBulkEdit;
|
|
1913
2016
|
};
|
|
1914
2017
|
|
|
1915
2018
|
interface DataFixtureTypes {
|
|
@@ -2004,6 +2107,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2004
2107
|
SetSystemConfigValues: Task;
|
|
2005
2108
|
} & {
|
|
2006
2109
|
BulkEditProducts: Task;
|
|
2110
|
+
} & {
|
|
2111
|
+
BulkEditCustomers: Task;
|
|
2007
2112
|
} & {
|
|
2008
2113
|
Login: Task;
|
|
2009
2114
|
} & {
|
|
@@ -2044,4 +2149,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2044
2149
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2045
2150
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2046
2151
|
|
|
2047
|
-
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 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 };
|
|
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 };
|