@shopware-ag/acceptance-test-suite 11.6.0 → 11.7.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 +98 -6
- package/dist/index.d.ts +98 -6
- package/dist/index.mjs +670 -423
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -202,6 +202,18 @@ type Customer = Omit<components['schemas']['Customer'], 'defaultShippingAddress'
|
|
|
202
202
|
type CustomerAddress = components['schemas']['CustomerAddress'] & {
|
|
203
203
|
id: string;
|
|
204
204
|
};
|
|
205
|
+
interface Address {
|
|
206
|
+
salutation: string;
|
|
207
|
+
firstName: string;
|
|
208
|
+
lastName: string;
|
|
209
|
+
company: string;
|
|
210
|
+
department: string;
|
|
211
|
+
street: string;
|
|
212
|
+
city: string;
|
|
213
|
+
zipCode: string;
|
|
214
|
+
country: string;
|
|
215
|
+
state: string;
|
|
216
|
+
}
|
|
205
217
|
type Salutation = components['schemas']['Salutation'] & {
|
|
206
218
|
id: string;
|
|
207
219
|
};
|
|
@@ -265,8 +277,14 @@ type Rule = components['schemas']['Rule'] & {
|
|
|
265
277
|
type Currency$1 = components['schemas']['Currency'] & {
|
|
266
278
|
id: string;
|
|
267
279
|
};
|
|
268
|
-
type Country = components['schemas']['Country'] & {
|
|
280
|
+
type Country = Omit<components['schemas']['Country'], 'states'> & {
|
|
269
281
|
id: string;
|
|
282
|
+
states: [
|
|
283
|
+
{
|
|
284
|
+
name: string;
|
|
285
|
+
shortCode: string;
|
|
286
|
+
}
|
|
287
|
+
];
|
|
270
288
|
};
|
|
271
289
|
type SystemConfig = components['schemas']['SystemConfig'] & {
|
|
272
290
|
id: string;
|
|
@@ -863,6 +881,13 @@ declare class TestDataService {
|
|
|
863
881
|
* @param addressId - The uuid of the customer address.
|
|
864
882
|
*/
|
|
865
883
|
getCustomerAddress(addressId: string): Promise<CustomerAddress>;
|
|
884
|
+
/**
|
|
885
|
+
* Retrieves a customer by its email address.
|
|
886
|
+
*
|
|
887
|
+
* @param email - The email address of the customer.
|
|
888
|
+
* @returns The customer object.
|
|
889
|
+
*/
|
|
890
|
+
getCustomerByEmail(email: string): Promise<Customer>;
|
|
866
891
|
/**
|
|
867
892
|
* Retrieves a customer salutations by its key.
|
|
868
893
|
*
|
|
@@ -958,11 +983,18 @@ declare class TestDataService {
|
|
|
958
983
|
*/
|
|
959
984
|
combineAll: (array: Record<string, string>[][]) => Record<string, string>[][];
|
|
960
985
|
/**
|
|
986
|
+
* @deprecated Use `getCountry` instead.
|
|
961
987
|
* Retrieves a country Id based on its iso2 code.
|
|
962
988
|
*
|
|
963
989
|
* @param iso2 - The iso2 code of the country, for example "DE".
|
|
964
990
|
*/
|
|
965
991
|
getCountryId(iso2: string): Promise<Country>;
|
|
992
|
+
/**
|
|
993
|
+
* Retrieves a country based on its iso2 code.
|
|
994
|
+
*
|
|
995
|
+
* @param iso2 - The iso2 code of the country, for example "DE".
|
|
996
|
+
*/
|
|
997
|
+
getCountry(iso2: string): Promise<Country>;
|
|
966
998
|
getCountryStruct(overrides?: Partial<Country>): Partial<Country>;
|
|
967
999
|
getCurrencyStruct(overrides: Partial<Currency$1> | undefined, roundingDecimals: number): Partial<Currency$1>;
|
|
968
1000
|
getBasicProductStruct(taxId?: string, currencyId?: string, overrides?: Partial<Product>): Partial<Product>;
|
|
@@ -1156,9 +1188,15 @@ declare class Home implements PageObject {
|
|
|
1156
1188
|
readonly offcanvasBackdrop: Locator;
|
|
1157
1189
|
readonly mainNavigationLink: Locator;
|
|
1158
1190
|
readonly contactFormLink: Locator;
|
|
1191
|
+
readonly wishlistIcon: Locator;
|
|
1192
|
+
readonly wishlistBasket: Locator;
|
|
1159
1193
|
constructor(page: Page);
|
|
1160
1194
|
getMenuItemByCategoryName(categoryName: string): Promise<Record<string, Locator>>;
|
|
1195
|
+
/**
|
|
1196
|
+
* @deprecated - use getListingItemByProductName instead
|
|
1197
|
+
*/
|
|
1161
1198
|
getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
|
|
1199
|
+
getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
|
|
1162
1200
|
url(): string;
|
|
1163
1201
|
}
|
|
1164
1202
|
|
|
@@ -1178,6 +1216,8 @@ declare class ProductDetail$1 implements PageObject {
|
|
|
1178
1216
|
readonly offCanvasLineItemImages: Locator;
|
|
1179
1217
|
readonly offCanvasSummaryTotalPrice: Locator;
|
|
1180
1218
|
readonly offCanvas: Locator;
|
|
1219
|
+
readonly wishlistAddedButton: Locator;
|
|
1220
|
+
readonly wishlistNotAddedButton: Locator;
|
|
1181
1221
|
constructor(page: Page);
|
|
1182
1222
|
url(productData: Product): string;
|
|
1183
1223
|
}
|
|
@@ -1283,6 +1323,8 @@ declare class Account implements PageObject {
|
|
|
1283
1323
|
readonly newsletterCheckbox: Locator;
|
|
1284
1324
|
readonly newsletterRegistrationSuccessMessage: Locator;
|
|
1285
1325
|
readonly customerGroupRequestMessage: Locator;
|
|
1326
|
+
readonly cannotDeliverToCountryAlert: Locator;
|
|
1327
|
+
readonly shippingToAddressNotPossibleAlert: Locator;
|
|
1286
1328
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1287
1329
|
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1288
1330
|
url(): string;
|
|
@@ -1319,7 +1361,18 @@ declare class AccountLogin implements PageObject {
|
|
|
1319
1361
|
readonly greCaptchaV3Input: Locator;
|
|
1320
1362
|
readonly greCaptchaProtectionInformation: Locator;
|
|
1321
1363
|
readonly greCaptchaBadge: Locator;
|
|
1364
|
+
readonly differentShippingAddressCheckbox: Locator;
|
|
1365
|
+
readonly registerShippingAddressFormArea: Locator;
|
|
1366
|
+
readonly shippingAddressSalutationSelect: Locator;
|
|
1367
|
+
readonly shippingAddressFirstNameInput: Locator;
|
|
1368
|
+
readonly shippingAddressLastNameInput: Locator;
|
|
1369
|
+
readonly shippingAddressStreetAddressInput: Locator;
|
|
1370
|
+
readonly shippingAddressCityInput: Locator;
|
|
1371
|
+
readonly shippingAddressCountryInput: Locator;
|
|
1372
|
+
readonly shippingAddressPostalCodeInput: Locator;
|
|
1373
|
+
readonly shippingAddressStateInput: Locator;
|
|
1322
1374
|
constructor(page: Page);
|
|
1375
|
+
getShippingCountryLocatorByName(countryName: string): Promise<Locator>;
|
|
1323
1376
|
url(): string;
|
|
1324
1377
|
}
|
|
1325
1378
|
|
|
@@ -1382,12 +1435,18 @@ declare class AccountOrder implements PageObject {
|
|
|
1382
1435
|
|
|
1383
1436
|
declare class AccountAddresses implements PageObject {
|
|
1384
1437
|
readonly page: Page;
|
|
1438
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1385
1439
|
readonly addNewAddressButton: Locator;
|
|
1386
1440
|
readonly editBillingAddressButton: Locator;
|
|
1387
1441
|
readonly editShippingAddressButton: Locator;
|
|
1388
1442
|
readonly useDefaultBillingAddressButton: Locator;
|
|
1389
1443
|
readonly useDefaultShippingAddressButton: Locator;
|
|
1390
|
-
|
|
1444
|
+
readonly deliveryNotPossibleAlert: Locator | undefined;
|
|
1445
|
+
readonly availableAddresses: Locator | undefined;
|
|
1446
|
+
readonly addressDropdownButton: Locator | undefined;
|
|
1447
|
+
readonly availableAddressesUseAsBillingAddress: Locator | undefined;
|
|
1448
|
+
readonly availableAddressesUseAsShippingAddress: Locator | undefined;
|
|
1449
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1391
1450
|
url(): string;
|
|
1392
1451
|
}
|
|
1393
1452
|
|
|
@@ -1471,6 +1530,7 @@ declare class AccountAddressCreate implements PageObject {
|
|
|
1471
1530
|
readonly cityInput: Locator;
|
|
1472
1531
|
readonly countryDropdown: Locator;
|
|
1473
1532
|
readonly saveAddressButton: Locator;
|
|
1533
|
+
readonly stateDropdown: Locator;
|
|
1474
1534
|
constructor(page: Page);
|
|
1475
1535
|
url(): string;
|
|
1476
1536
|
}
|
|
@@ -1487,8 +1547,16 @@ declare class PageNotFound implements PageObject {
|
|
|
1487
1547
|
|
|
1488
1548
|
declare class ContactForm extends Home implements PageObject {
|
|
1489
1549
|
readonly page: Page;
|
|
1550
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1551
|
+
/**
|
|
1552
|
+
* @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactWrapper' instead
|
|
1553
|
+
*/
|
|
1490
1554
|
readonly contactModal: Locator;
|
|
1491
|
-
|
|
1555
|
+
/**
|
|
1556
|
+
* @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactSuccessMessage' instead
|
|
1557
|
+
*/
|
|
1558
|
+
readonly contactSuccessModal: Locator | undefined;
|
|
1559
|
+
readonly contactWrapper: Locator;
|
|
1492
1560
|
readonly salutationSelect: Locator;
|
|
1493
1561
|
readonly firstNameInput: Locator;
|
|
1494
1562
|
readonly lastNameInput: Locator;
|
|
@@ -1500,6 +1568,8 @@ declare class ContactForm extends Home implements PageObject {
|
|
|
1500
1568
|
readonly submitButton: Locator;
|
|
1501
1569
|
readonly contactSuccessMessage: Locator;
|
|
1502
1570
|
readonly cardTitle: Locator;
|
|
1571
|
+
readonly formFieldFeedback: Locator | undefined;
|
|
1572
|
+
readonly formAlert: Locator | undefined;
|
|
1503
1573
|
/**
|
|
1504
1574
|
* Captcha locators
|
|
1505
1575
|
*/
|
|
@@ -1510,7 +1580,17 @@ declare class ContactForm extends Home implements PageObject {
|
|
|
1510
1580
|
readonly greCaptchaV2Container: Locator;
|
|
1511
1581
|
readonly greCaptchaV2Input: Locator;
|
|
1512
1582
|
readonly greCaptchaProtectionInformation: Locator;
|
|
1583
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1584
|
+
url(): string;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
declare class Wishlist extends Home implements PageObject {
|
|
1588
|
+
readonly page: Page;
|
|
1589
|
+
readonly wishListHeader: Locator;
|
|
1590
|
+
readonly removeAlert: Locator;
|
|
1591
|
+
readonly emptyListing: Locator;
|
|
1513
1592
|
constructor(page: Page);
|
|
1593
|
+
getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
|
|
1514
1594
|
url(): string;
|
|
1515
1595
|
}
|
|
1516
1596
|
|
|
@@ -1537,6 +1617,7 @@ interface StorefrontPageTypes {
|
|
|
1537
1617
|
StorefrontCheckoutOrderEdit: CheckoutOrderEdit;
|
|
1538
1618
|
StorefrontPageNotFound: PageNotFound;
|
|
1539
1619
|
StorefrontContactForm: ContactForm;
|
|
1620
|
+
StorefrontWishlist: Wishlist;
|
|
1540
1621
|
}
|
|
1541
1622
|
declare const StorefrontPageObjects: {
|
|
1542
1623
|
Home: typeof Home;
|
|
@@ -1561,6 +1642,7 @@ declare const StorefrontPageObjects: {
|
|
|
1561
1642
|
CheckoutOrderEdit: typeof CheckoutOrderEdit;
|
|
1562
1643
|
PageNotFound: typeof PageNotFound;
|
|
1563
1644
|
ContactForm: typeof ContactForm;
|
|
1645
|
+
Wishlist: typeof Wishlist;
|
|
1564
1646
|
};
|
|
1565
1647
|
|
|
1566
1648
|
declare class ProductDetail implements PageObject {
|
|
@@ -1694,6 +1776,7 @@ declare class CustomerGroupListing implements PageObject {
|
|
|
1694
1776
|
|
|
1695
1777
|
declare class CustomerGroupCreate implements PageObject {
|
|
1696
1778
|
readonly page: Page;
|
|
1779
|
+
readonly instanceMeta: HelperFixtureTypes$1['InstanceMeta'];
|
|
1697
1780
|
readonly headline: Locator;
|
|
1698
1781
|
readonly saveButton: Locator;
|
|
1699
1782
|
readonly cancelButton: Locator;
|
|
@@ -1708,17 +1791,18 @@ declare class CustomerGroupCreate implements PageObject {
|
|
|
1708
1791
|
readonly signupFormCompanySignupToggle: Locator;
|
|
1709
1792
|
readonly customerGroupSaleschannelSelection: Locator;
|
|
1710
1793
|
readonly customerGroupSaleschannelResultList: Locator;
|
|
1711
|
-
constructor(page: Page);
|
|
1794
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes$1['InstanceMeta']);
|
|
1712
1795
|
url(): string;
|
|
1713
1796
|
}
|
|
1714
1797
|
|
|
1715
1798
|
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
1716
1799
|
readonly page: Page;
|
|
1800
|
+
readonly instanceMeta: HelperFixtureTypes$1['InstanceMeta'];
|
|
1717
1801
|
readonly headline: Locator;
|
|
1718
1802
|
readonly selectedSalesChannel: Locator;
|
|
1719
1803
|
readonly technicalUrl: Locator;
|
|
1720
1804
|
readonly saleschannelUrl: Locator;
|
|
1721
|
-
constructor(page: Page);
|
|
1805
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes$1['InstanceMeta']);
|
|
1722
1806
|
url(customerGroupId?: string): string;
|
|
1723
1807
|
}
|
|
1724
1808
|
|
|
@@ -2399,6 +2483,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2399
2483
|
RegisterGuest: Task;
|
|
2400
2484
|
} & {
|
|
2401
2485
|
ChangeStorefrontCurrency: Task;
|
|
2486
|
+
} & {
|
|
2487
|
+
AddNewAddress: Task;
|
|
2402
2488
|
} & {
|
|
2403
2489
|
AddProductToCart: Task;
|
|
2404
2490
|
} & {
|
|
@@ -2429,6 +2515,12 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2429
2515
|
SearchForTerm: Task;
|
|
2430
2516
|
} & {
|
|
2431
2517
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2518
|
+
} & {
|
|
2519
|
+
RemoveProductFromWishlist: Task;
|
|
2520
|
+
} & {
|
|
2521
|
+
AddProductToCartFromWishlist: Task;
|
|
2522
|
+
} & {
|
|
2523
|
+
AddProductToWishlist: Task;
|
|
2432
2524
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2433
2525
|
|
|
2434
|
-
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 ProductCrossSelling, 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 Tax, type TaxRules, TestDataService, type VariantListingConfig, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
|
2526
|
+
export { type AccountData, type Address, 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 ProductCrossSelling, 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 Tax, type TaxRules, TestDataService, type VariantListingConfig, 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
|
@@ -202,6 +202,18 @@ type Customer = Omit<components['schemas']['Customer'], 'defaultShippingAddress'
|
|
|
202
202
|
type CustomerAddress = components['schemas']['CustomerAddress'] & {
|
|
203
203
|
id: string;
|
|
204
204
|
};
|
|
205
|
+
interface Address {
|
|
206
|
+
salutation: string;
|
|
207
|
+
firstName: string;
|
|
208
|
+
lastName: string;
|
|
209
|
+
company: string;
|
|
210
|
+
department: string;
|
|
211
|
+
street: string;
|
|
212
|
+
city: string;
|
|
213
|
+
zipCode: string;
|
|
214
|
+
country: string;
|
|
215
|
+
state: string;
|
|
216
|
+
}
|
|
205
217
|
type Salutation = components['schemas']['Salutation'] & {
|
|
206
218
|
id: string;
|
|
207
219
|
};
|
|
@@ -265,8 +277,14 @@ type Rule = components['schemas']['Rule'] & {
|
|
|
265
277
|
type Currency$1 = components['schemas']['Currency'] & {
|
|
266
278
|
id: string;
|
|
267
279
|
};
|
|
268
|
-
type Country = components['schemas']['Country'] & {
|
|
280
|
+
type Country = Omit<components['schemas']['Country'], 'states'> & {
|
|
269
281
|
id: string;
|
|
282
|
+
states: [
|
|
283
|
+
{
|
|
284
|
+
name: string;
|
|
285
|
+
shortCode: string;
|
|
286
|
+
}
|
|
287
|
+
];
|
|
270
288
|
};
|
|
271
289
|
type SystemConfig = components['schemas']['SystemConfig'] & {
|
|
272
290
|
id: string;
|
|
@@ -863,6 +881,13 @@ declare class TestDataService {
|
|
|
863
881
|
* @param addressId - The uuid of the customer address.
|
|
864
882
|
*/
|
|
865
883
|
getCustomerAddress(addressId: string): Promise<CustomerAddress>;
|
|
884
|
+
/**
|
|
885
|
+
* Retrieves a customer by its email address.
|
|
886
|
+
*
|
|
887
|
+
* @param email - The email address of the customer.
|
|
888
|
+
* @returns The customer object.
|
|
889
|
+
*/
|
|
890
|
+
getCustomerByEmail(email: string): Promise<Customer>;
|
|
866
891
|
/**
|
|
867
892
|
* Retrieves a customer salutations by its key.
|
|
868
893
|
*
|
|
@@ -958,11 +983,18 @@ declare class TestDataService {
|
|
|
958
983
|
*/
|
|
959
984
|
combineAll: (array: Record<string, string>[][]) => Record<string, string>[][];
|
|
960
985
|
/**
|
|
986
|
+
* @deprecated Use `getCountry` instead.
|
|
961
987
|
* Retrieves a country Id based on its iso2 code.
|
|
962
988
|
*
|
|
963
989
|
* @param iso2 - The iso2 code of the country, for example "DE".
|
|
964
990
|
*/
|
|
965
991
|
getCountryId(iso2: string): Promise<Country>;
|
|
992
|
+
/**
|
|
993
|
+
* Retrieves a country based on its iso2 code.
|
|
994
|
+
*
|
|
995
|
+
* @param iso2 - The iso2 code of the country, for example "DE".
|
|
996
|
+
*/
|
|
997
|
+
getCountry(iso2: string): Promise<Country>;
|
|
966
998
|
getCountryStruct(overrides?: Partial<Country>): Partial<Country>;
|
|
967
999
|
getCurrencyStruct(overrides: Partial<Currency$1> | undefined, roundingDecimals: number): Partial<Currency$1>;
|
|
968
1000
|
getBasicProductStruct(taxId?: string, currencyId?: string, overrides?: Partial<Product>): Partial<Product>;
|
|
@@ -1156,9 +1188,15 @@ declare class Home implements PageObject {
|
|
|
1156
1188
|
readonly offcanvasBackdrop: Locator;
|
|
1157
1189
|
readonly mainNavigationLink: Locator;
|
|
1158
1190
|
readonly contactFormLink: Locator;
|
|
1191
|
+
readonly wishlistIcon: Locator;
|
|
1192
|
+
readonly wishlistBasket: Locator;
|
|
1159
1193
|
constructor(page: Page);
|
|
1160
1194
|
getMenuItemByCategoryName(categoryName: string): Promise<Record<string, Locator>>;
|
|
1195
|
+
/**
|
|
1196
|
+
* @deprecated - use getListingItemByProductName instead
|
|
1197
|
+
*/
|
|
1161
1198
|
getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
|
|
1199
|
+
getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
|
|
1162
1200
|
url(): string;
|
|
1163
1201
|
}
|
|
1164
1202
|
|
|
@@ -1178,6 +1216,8 @@ declare class ProductDetail$1 implements PageObject {
|
|
|
1178
1216
|
readonly offCanvasLineItemImages: Locator;
|
|
1179
1217
|
readonly offCanvasSummaryTotalPrice: Locator;
|
|
1180
1218
|
readonly offCanvas: Locator;
|
|
1219
|
+
readonly wishlistAddedButton: Locator;
|
|
1220
|
+
readonly wishlistNotAddedButton: Locator;
|
|
1181
1221
|
constructor(page: Page);
|
|
1182
1222
|
url(productData: Product): string;
|
|
1183
1223
|
}
|
|
@@ -1283,6 +1323,8 @@ declare class Account implements PageObject {
|
|
|
1283
1323
|
readonly newsletterCheckbox: Locator;
|
|
1284
1324
|
readonly newsletterRegistrationSuccessMessage: Locator;
|
|
1285
1325
|
readonly customerGroupRequestMessage: Locator;
|
|
1326
|
+
readonly cannotDeliverToCountryAlert: Locator;
|
|
1327
|
+
readonly shippingToAddressNotPossibleAlert: Locator;
|
|
1286
1328
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1287
1329
|
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1288
1330
|
url(): string;
|
|
@@ -1319,7 +1361,18 @@ declare class AccountLogin implements PageObject {
|
|
|
1319
1361
|
readonly greCaptchaV3Input: Locator;
|
|
1320
1362
|
readonly greCaptchaProtectionInformation: Locator;
|
|
1321
1363
|
readonly greCaptchaBadge: Locator;
|
|
1364
|
+
readonly differentShippingAddressCheckbox: Locator;
|
|
1365
|
+
readonly registerShippingAddressFormArea: Locator;
|
|
1366
|
+
readonly shippingAddressSalutationSelect: Locator;
|
|
1367
|
+
readonly shippingAddressFirstNameInput: Locator;
|
|
1368
|
+
readonly shippingAddressLastNameInput: Locator;
|
|
1369
|
+
readonly shippingAddressStreetAddressInput: Locator;
|
|
1370
|
+
readonly shippingAddressCityInput: Locator;
|
|
1371
|
+
readonly shippingAddressCountryInput: Locator;
|
|
1372
|
+
readonly shippingAddressPostalCodeInput: Locator;
|
|
1373
|
+
readonly shippingAddressStateInput: Locator;
|
|
1322
1374
|
constructor(page: Page);
|
|
1375
|
+
getShippingCountryLocatorByName(countryName: string): Promise<Locator>;
|
|
1323
1376
|
url(): string;
|
|
1324
1377
|
}
|
|
1325
1378
|
|
|
@@ -1382,12 +1435,18 @@ declare class AccountOrder implements PageObject {
|
|
|
1382
1435
|
|
|
1383
1436
|
declare class AccountAddresses implements PageObject {
|
|
1384
1437
|
readonly page: Page;
|
|
1438
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1385
1439
|
readonly addNewAddressButton: Locator;
|
|
1386
1440
|
readonly editBillingAddressButton: Locator;
|
|
1387
1441
|
readonly editShippingAddressButton: Locator;
|
|
1388
1442
|
readonly useDefaultBillingAddressButton: Locator;
|
|
1389
1443
|
readonly useDefaultShippingAddressButton: Locator;
|
|
1390
|
-
|
|
1444
|
+
readonly deliveryNotPossibleAlert: Locator | undefined;
|
|
1445
|
+
readonly availableAddresses: Locator | undefined;
|
|
1446
|
+
readonly addressDropdownButton: Locator | undefined;
|
|
1447
|
+
readonly availableAddressesUseAsBillingAddress: Locator | undefined;
|
|
1448
|
+
readonly availableAddressesUseAsShippingAddress: Locator | undefined;
|
|
1449
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1391
1450
|
url(): string;
|
|
1392
1451
|
}
|
|
1393
1452
|
|
|
@@ -1471,6 +1530,7 @@ declare class AccountAddressCreate implements PageObject {
|
|
|
1471
1530
|
readonly cityInput: Locator;
|
|
1472
1531
|
readonly countryDropdown: Locator;
|
|
1473
1532
|
readonly saveAddressButton: Locator;
|
|
1533
|
+
readonly stateDropdown: Locator;
|
|
1474
1534
|
constructor(page: Page);
|
|
1475
1535
|
url(): string;
|
|
1476
1536
|
}
|
|
@@ -1487,8 +1547,16 @@ declare class PageNotFound implements PageObject {
|
|
|
1487
1547
|
|
|
1488
1548
|
declare class ContactForm extends Home implements PageObject {
|
|
1489
1549
|
readonly page: Page;
|
|
1550
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1551
|
+
/**
|
|
1552
|
+
* @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactWrapper' instead
|
|
1553
|
+
*/
|
|
1490
1554
|
readonly contactModal: Locator;
|
|
1491
|
-
|
|
1555
|
+
/**
|
|
1556
|
+
* @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactSuccessMessage' instead
|
|
1557
|
+
*/
|
|
1558
|
+
readonly contactSuccessModal: Locator | undefined;
|
|
1559
|
+
readonly contactWrapper: Locator;
|
|
1492
1560
|
readonly salutationSelect: Locator;
|
|
1493
1561
|
readonly firstNameInput: Locator;
|
|
1494
1562
|
readonly lastNameInput: Locator;
|
|
@@ -1500,6 +1568,8 @@ declare class ContactForm extends Home implements PageObject {
|
|
|
1500
1568
|
readonly submitButton: Locator;
|
|
1501
1569
|
readonly contactSuccessMessage: Locator;
|
|
1502
1570
|
readonly cardTitle: Locator;
|
|
1571
|
+
readonly formFieldFeedback: Locator | undefined;
|
|
1572
|
+
readonly formAlert: Locator | undefined;
|
|
1503
1573
|
/**
|
|
1504
1574
|
* Captcha locators
|
|
1505
1575
|
*/
|
|
@@ -1510,7 +1580,17 @@ declare class ContactForm extends Home implements PageObject {
|
|
|
1510
1580
|
readonly greCaptchaV2Container: Locator;
|
|
1511
1581
|
readonly greCaptchaV2Input: Locator;
|
|
1512
1582
|
readonly greCaptchaProtectionInformation: Locator;
|
|
1583
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1584
|
+
url(): string;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
declare class Wishlist extends Home implements PageObject {
|
|
1588
|
+
readonly page: Page;
|
|
1589
|
+
readonly wishListHeader: Locator;
|
|
1590
|
+
readonly removeAlert: Locator;
|
|
1591
|
+
readonly emptyListing: Locator;
|
|
1513
1592
|
constructor(page: Page);
|
|
1593
|
+
getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
|
|
1514
1594
|
url(): string;
|
|
1515
1595
|
}
|
|
1516
1596
|
|
|
@@ -1537,6 +1617,7 @@ interface StorefrontPageTypes {
|
|
|
1537
1617
|
StorefrontCheckoutOrderEdit: CheckoutOrderEdit;
|
|
1538
1618
|
StorefrontPageNotFound: PageNotFound;
|
|
1539
1619
|
StorefrontContactForm: ContactForm;
|
|
1620
|
+
StorefrontWishlist: Wishlist;
|
|
1540
1621
|
}
|
|
1541
1622
|
declare const StorefrontPageObjects: {
|
|
1542
1623
|
Home: typeof Home;
|
|
@@ -1561,6 +1642,7 @@ declare const StorefrontPageObjects: {
|
|
|
1561
1642
|
CheckoutOrderEdit: typeof CheckoutOrderEdit;
|
|
1562
1643
|
PageNotFound: typeof PageNotFound;
|
|
1563
1644
|
ContactForm: typeof ContactForm;
|
|
1645
|
+
Wishlist: typeof Wishlist;
|
|
1564
1646
|
};
|
|
1565
1647
|
|
|
1566
1648
|
declare class ProductDetail implements PageObject {
|
|
@@ -1694,6 +1776,7 @@ declare class CustomerGroupListing implements PageObject {
|
|
|
1694
1776
|
|
|
1695
1777
|
declare class CustomerGroupCreate implements PageObject {
|
|
1696
1778
|
readonly page: Page;
|
|
1779
|
+
readonly instanceMeta: HelperFixtureTypes$1['InstanceMeta'];
|
|
1697
1780
|
readonly headline: Locator;
|
|
1698
1781
|
readonly saveButton: Locator;
|
|
1699
1782
|
readonly cancelButton: Locator;
|
|
@@ -1708,17 +1791,18 @@ declare class CustomerGroupCreate implements PageObject {
|
|
|
1708
1791
|
readonly signupFormCompanySignupToggle: Locator;
|
|
1709
1792
|
readonly customerGroupSaleschannelSelection: Locator;
|
|
1710
1793
|
readonly customerGroupSaleschannelResultList: Locator;
|
|
1711
|
-
constructor(page: Page);
|
|
1794
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes$1['InstanceMeta']);
|
|
1712
1795
|
url(): string;
|
|
1713
1796
|
}
|
|
1714
1797
|
|
|
1715
1798
|
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
1716
1799
|
readonly page: Page;
|
|
1800
|
+
readonly instanceMeta: HelperFixtureTypes$1['InstanceMeta'];
|
|
1717
1801
|
readonly headline: Locator;
|
|
1718
1802
|
readonly selectedSalesChannel: Locator;
|
|
1719
1803
|
readonly technicalUrl: Locator;
|
|
1720
1804
|
readonly saleschannelUrl: Locator;
|
|
1721
|
-
constructor(page: Page);
|
|
1805
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes$1['InstanceMeta']);
|
|
1722
1806
|
url(customerGroupId?: string): string;
|
|
1723
1807
|
}
|
|
1724
1808
|
|
|
@@ -2399,6 +2483,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2399
2483
|
RegisterGuest: Task;
|
|
2400
2484
|
} & {
|
|
2401
2485
|
ChangeStorefrontCurrency: Task;
|
|
2486
|
+
} & {
|
|
2487
|
+
AddNewAddress: Task;
|
|
2402
2488
|
} & {
|
|
2403
2489
|
AddProductToCart: Task;
|
|
2404
2490
|
} & {
|
|
@@ -2429,6 +2515,12 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
|
|
|
2429
2515
|
SearchForTerm: Task;
|
|
2430
2516
|
} & {
|
|
2431
2517
|
ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
|
|
2518
|
+
} & {
|
|
2519
|
+
RemoveProductFromWishlist: Task;
|
|
2520
|
+
} & {
|
|
2521
|
+
AddProductToCartFromWishlist: Task;
|
|
2522
|
+
} & {
|
|
2523
|
+
AddProductToWishlist: Task;
|
|
2432
2524
|
}, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
|
|
2433
2525
|
|
|
2434
|
-
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 ProductCrossSelling, 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 Tax, type TaxRules, TestDataService, type VariantListingConfig, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
|
2526
|
+
export { type AccountData, type Address, 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 ProductCrossSelling, 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 Tax, type TaxRules, TestDataService, type VariantListingConfig, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|