@shopware-ag/acceptance-test-suite 11.5.0 → 11.6.1

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 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
  };
@@ -211,6 +223,9 @@ interface Price {
211
223
  linked: boolean;
212
224
  currencyId: string;
213
225
  }
226
+ interface VariantListingConfig {
227
+ displayParent: boolean;
228
+ }
214
229
  interface ProductPrice {
215
230
  productId?: string;
216
231
  ruleId: string;
@@ -218,7 +233,7 @@ interface ProductPrice {
218
233
  quantityStart: number;
219
234
  quantityEnd: number | null;
220
235
  }
221
- type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities'> & {
236
+ type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities' | 'variantListingConfig'> & {
222
237
  id: string;
223
238
  price: Price[];
224
239
  prices?: ProductPrice[];
@@ -228,6 +243,7 @@ type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'opti
228
243
  options?: Record<string, string>[];
229
244
  tags?: Record<string, string>[];
230
245
  visibilities?: Record<string, unknown>[];
246
+ variantListingConfig?: VariantListingConfig;
231
247
  };
232
248
  type OrderDelivery = Omit<components['schemas']['OrderDelivery'], 'shippingOrderAddress' | 'shippingCosts'> & {
233
249
  id: string;
@@ -261,12 +277,21 @@ type Rule = components['schemas']['Rule'] & {
261
277
  type Currency$1 = components['schemas']['Currency'] & {
262
278
  id: string;
263
279
  };
264
- type Country = components['schemas']['Country'] & {
280
+ type Country = Omit<components['schemas']['Country'], 'states'> & {
265
281
  id: string;
282
+ states: [
283
+ {
284
+ name: string;
285
+ shortCode: string;
286
+ }
287
+ ];
266
288
  };
267
289
  type SystemConfig = components['schemas']['SystemConfig'] & {
268
290
  id: string;
269
291
  };
292
+ type ProductCrossSelling = components['schemas']['ProductCrossSelling'] & {
293
+ id: string;
294
+ };
270
295
  interface CalculatedTaxes {
271
296
  tax: number;
272
297
  taxRate: number;
@@ -494,6 +519,13 @@ declare class TestDataService {
494
519
  * @param currencyId - The uuid of the currency to use for the product pricing.
495
520
  */
496
521
  createBasicProduct(overrides?: Partial<Product>, taxId?: string, currencyId?: string): Promise<Product>;
522
+ /**
523
+ * Creates a basic product cross-selling entity without products.
524
+ *
525
+ * @param productId - The uuid of the product to which the pproduct cross-selling should be assigned.
526
+ * @param overrides - Specific data overrides that will be applied to the property group data struct.
527
+ */
528
+ createProductCrossSelling(productId: string, overrides?: Partial<ProductCrossSelling>): Promise<ProductCrossSelling>;
497
529
  /**
498
530
  * Creates a basic product with one randomly generated image.
499
531
  * The product will be added to the default sales channel category if configured.
@@ -849,6 +881,13 @@ declare class TestDataService {
849
881
  * @param addressId - The uuid of the customer address.
850
882
  */
851
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>;
852
891
  /**
853
892
  * Retrieves a customer salutations by its key.
854
893
  *
@@ -1060,6 +1099,7 @@ declare class TestDataService {
1060
1099
  getBasicCustomFieldStruct(overrides?: Partial<CustomField>): Partial<CustomField>;
1061
1100
  getSalesChannelDomainStruct(salesChannelId: string, currencyId: string, languageId: string, snippetSetId: string, overrides?: Partial<SalesChannelDomain>): Partial<SalesChannelDomain>;
1062
1101
  getTaxStruct(overrides: Partial<Tax>): Partial<Tax>;
1102
+ getBasicCrossSellingStruct(productId: string, overrides?: Partial<ProductCrossSelling>): never;
1063
1103
  }
1064
1104
 
1065
1105
  interface TestDataFixtureTypes {
@@ -1139,9 +1179,15 @@ declare class Home implements PageObject {
1139
1179
  readonly consentDialogSaveButton: Locator;
1140
1180
  readonly consentCookieBannerContainer: Locator;
1141
1181
  readonly offcanvasBackdrop: Locator;
1182
+ readonly mainNavigationLink: Locator;
1183
+ readonly contactFormLink: Locator;
1142
1184
  constructor(page: Page);
1143
1185
  getMenuItemByCategoryName(categoryName: string): Promise<Record<string, Locator>>;
1186
+ /**
1187
+ * @deprecated - use getListingItemByProductName instead
1188
+ */
1144
1189
  getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
1190
+ getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
1145
1191
  url(): string;
1146
1192
  }
1147
1193
 
@@ -1152,6 +1198,9 @@ declare class ProductDetail$1 implements PageObject {
1152
1198
  readonly productSingleImage: Locator;
1153
1199
  readonly productSinglePrice: Locator;
1154
1200
  readonly productPriceRangesRow: Locator;
1201
+ readonly productListingPriceBadge: Locator;
1202
+ readonly productListingPrice: Locator;
1203
+ readonly productListingPricePercentage: Locator;
1155
1204
  readonly offCanvasCartTitle: Locator;
1156
1205
  readonly offCanvasCart: Locator;
1157
1206
  readonly offCanvasCartGoToCheckoutButton: Locator;
@@ -1263,6 +1312,8 @@ declare class Account implements PageObject {
1263
1312
  readonly newsletterCheckbox: Locator;
1264
1313
  readonly newsletterRegistrationSuccessMessage: Locator;
1265
1314
  readonly customerGroupRequestMessage: Locator;
1315
+ readonly cannotDeliverToCountryAlert: Locator;
1316
+ readonly shippingToAddressNotPossibleAlert: Locator;
1266
1317
  constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
1267
1318
  getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
1268
1319
  url(): string;
@@ -1294,7 +1345,23 @@ declare class AccountLogin implements PageObject {
1294
1345
  readonly countryInput: Locator;
1295
1346
  readonly postalCodeInput: Locator;
1296
1347
  readonly registerButton: Locator;
1348
+ readonly greCaptchaV2Container: Locator;
1349
+ readonly greCaptchaV2Input: Locator;
1350
+ readonly greCaptchaV3Input: Locator;
1351
+ readonly greCaptchaProtectionInformation: Locator;
1352
+ readonly greCaptchaBadge: Locator;
1353
+ readonly differentShippingAddressCheckbox: Locator;
1354
+ readonly registerShippingAddressFormArea: Locator;
1355
+ readonly shippingAddressSalutationSelect: Locator;
1356
+ readonly shippingAddressFirstNameInput: Locator;
1357
+ readonly shippingAddressLastNameInput: Locator;
1358
+ readonly shippingAddressStreetAddressInput: Locator;
1359
+ readonly shippingAddressCityInput: Locator;
1360
+ readonly shippingAddressCountryInput: Locator;
1361
+ readonly shippingAddressPostalCodeInput: Locator;
1362
+ readonly shippingAddressStateInput: Locator;
1297
1363
  constructor(page: Page);
1364
+ getShippingCountryLocatorByName(countryName: string): Promise<Locator>;
1298
1365
  url(): string;
1299
1366
  }
1300
1367
 
@@ -1352,18 +1419,23 @@ declare class AccountOrder implements PageObject {
1352
1419
  readonly dialogBackButton: Locator;
1353
1420
  constructor(page: Page);
1354
1421
  getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
1355
- getViewSubscriptionLink: (orderNumber: string) => Locator;
1356
1422
  url(): string;
1357
1423
  }
1358
1424
 
1359
1425
  declare class AccountAddresses implements PageObject {
1360
1426
  readonly page: Page;
1427
+ readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
1361
1428
  readonly addNewAddressButton: Locator;
1362
1429
  readonly editBillingAddressButton: Locator;
1363
1430
  readonly editShippingAddressButton: Locator;
1364
1431
  readonly useDefaultBillingAddressButton: Locator;
1365
1432
  readonly useDefaultShippingAddressButton: Locator;
1366
- constructor(page: Page);
1433
+ readonly deliveryNotPossibleAlert: Locator | undefined;
1434
+ readonly availableAddresses: Locator | undefined;
1435
+ readonly addressDropdownButton: Locator | undefined;
1436
+ readonly availableAddressesUseAsBillingAddress: Locator | undefined;
1437
+ readonly availableAddressesUseAsShippingAddress: Locator | undefined;
1438
+ constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
1367
1439
  url(): string;
1368
1440
  }
1369
1441
 
@@ -1447,10 +1519,60 @@ declare class AccountAddressCreate implements PageObject {
1447
1519
  readonly cityInput: Locator;
1448
1520
  readonly countryDropdown: Locator;
1449
1521
  readonly saveAddressButton: Locator;
1522
+ readonly stateDropdown: Locator;
1523
+ constructor(page: Page);
1524
+ url(): string;
1525
+ }
1526
+
1527
+ declare class PageNotFound implements PageObject {
1528
+ readonly page: Page;
1529
+ readonly pageNotFoundImage: Locator;
1530
+ readonly headline: Locator;
1531
+ readonly pageNotFoundMessage: Locator;
1532
+ readonly backToShopButton: Locator;
1450
1533
  constructor(page: Page);
1451
1534
  url(): string;
1452
1535
  }
1453
1536
 
1537
+ declare class ContactForm extends Home implements PageObject {
1538
+ readonly page: Page;
1539
+ readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
1540
+ /**
1541
+ * @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactWrapper' instead
1542
+ */
1543
+ readonly contactModal: Locator;
1544
+ /**
1545
+ * @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactSuccessMessage' instead
1546
+ */
1547
+ readonly contactSuccessModal: Locator | undefined;
1548
+ readonly contactWrapper: Locator;
1549
+ readonly salutationSelect: Locator;
1550
+ readonly firstNameInput: Locator;
1551
+ readonly lastNameInput: Locator;
1552
+ readonly emailInput: Locator;
1553
+ readonly phoneInput: Locator;
1554
+ readonly subjectInput: Locator;
1555
+ readonly commentInput: Locator;
1556
+ readonly privacyPolicyCheckbox: Locator;
1557
+ readonly submitButton: Locator;
1558
+ readonly contactSuccessMessage: Locator;
1559
+ readonly cardTitle: Locator;
1560
+ readonly formFieldFeedback: Locator | undefined;
1561
+ readonly formAlert: Locator | undefined;
1562
+ /**
1563
+ * Captcha locators
1564
+ */
1565
+ readonly basicCaptcha: Locator;
1566
+ readonly basicCaptchaImage: Locator;
1567
+ readonly basicCaptchaRefreshButton: Locator;
1568
+ readonly basicCaptchaInput: Locator;
1569
+ readonly greCaptchaV2Container: Locator;
1570
+ readonly greCaptchaV2Input: Locator;
1571
+ readonly greCaptchaProtectionInformation: Locator;
1572
+ constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
1573
+ url(): string;
1574
+ }
1575
+
1454
1576
  interface StorefrontPageTypes {
1455
1577
  StorefrontHome: Home;
1456
1578
  StorefrontProductDetail: ProductDetail$1;
@@ -1472,6 +1594,8 @@ interface StorefrontPageTypes {
1472
1594
  StorefrontSearchSuggest: SearchSuggest;
1473
1595
  StorefrontCustomRegister: CustomRegister;
1474
1596
  StorefrontCheckoutOrderEdit: CheckoutOrderEdit;
1597
+ StorefrontPageNotFound: PageNotFound;
1598
+ StorefrontContactForm: ContactForm;
1475
1599
  }
1476
1600
  declare const StorefrontPageObjects: {
1477
1601
  Home: typeof Home;
@@ -1494,6 +1618,8 @@ declare const StorefrontPageObjects: {
1494
1618
  SearchSuggest: typeof SearchSuggest;
1495
1619
  CustomRegister: typeof CustomRegister;
1496
1620
  CheckoutOrderEdit: typeof CheckoutOrderEdit;
1621
+ PageNotFound: typeof PageNotFound;
1622
+ ContactForm: typeof ContactForm;
1497
1623
  };
1498
1624
 
1499
1625
  declare class ProductDetail implements PageObject {
@@ -2332,6 +2458,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
2332
2458
  RegisterGuest: Task;
2333
2459
  } & {
2334
2460
  ChangeStorefrontCurrency: Task;
2461
+ } & {
2462
+ AddNewAddress: Task;
2335
2463
  } & {
2336
2464
  AddProductToCart: Task;
2337
2465
  } & {
@@ -2364,4 +2492,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
2364
2492
  ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
2365
2493
  }, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
2366
2494
 
2367
- export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
2495
+ 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
  };
@@ -211,6 +223,9 @@ interface Price {
211
223
  linked: boolean;
212
224
  currencyId: string;
213
225
  }
226
+ interface VariantListingConfig {
227
+ displayParent: boolean;
228
+ }
214
229
  interface ProductPrice {
215
230
  productId?: string;
216
231
  ruleId: string;
@@ -218,7 +233,7 @@ interface ProductPrice {
218
233
  quantityStart: number;
219
234
  quantityEnd: number | null;
220
235
  }
221
- type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities'> & {
236
+ type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities' | 'variantListingConfig'> & {
222
237
  id: string;
223
238
  price: Price[];
224
239
  prices?: ProductPrice[];
@@ -228,6 +243,7 @@ type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'opti
228
243
  options?: Record<string, string>[];
229
244
  tags?: Record<string, string>[];
230
245
  visibilities?: Record<string, unknown>[];
246
+ variantListingConfig?: VariantListingConfig;
231
247
  };
232
248
  type OrderDelivery = Omit<components['schemas']['OrderDelivery'], 'shippingOrderAddress' | 'shippingCosts'> & {
233
249
  id: string;
@@ -261,12 +277,21 @@ type Rule = components['schemas']['Rule'] & {
261
277
  type Currency$1 = components['schemas']['Currency'] & {
262
278
  id: string;
263
279
  };
264
- type Country = components['schemas']['Country'] & {
280
+ type Country = Omit<components['schemas']['Country'], 'states'> & {
265
281
  id: string;
282
+ states: [
283
+ {
284
+ name: string;
285
+ shortCode: string;
286
+ }
287
+ ];
266
288
  };
267
289
  type SystemConfig = components['schemas']['SystemConfig'] & {
268
290
  id: string;
269
291
  };
292
+ type ProductCrossSelling = components['schemas']['ProductCrossSelling'] & {
293
+ id: string;
294
+ };
270
295
  interface CalculatedTaxes {
271
296
  tax: number;
272
297
  taxRate: number;
@@ -494,6 +519,13 @@ declare class TestDataService {
494
519
  * @param currencyId - The uuid of the currency to use for the product pricing.
495
520
  */
496
521
  createBasicProduct(overrides?: Partial<Product>, taxId?: string, currencyId?: string): Promise<Product>;
522
+ /**
523
+ * Creates a basic product cross-selling entity without products.
524
+ *
525
+ * @param productId - The uuid of the product to which the pproduct cross-selling should be assigned.
526
+ * @param overrides - Specific data overrides that will be applied to the property group data struct.
527
+ */
528
+ createProductCrossSelling(productId: string, overrides?: Partial<ProductCrossSelling>): Promise<ProductCrossSelling>;
497
529
  /**
498
530
  * Creates a basic product with one randomly generated image.
499
531
  * The product will be added to the default sales channel category if configured.
@@ -849,6 +881,13 @@ declare class TestDataService {
849
881
  * @param addressId - The uuid of the customer address.
850
882
  */
851
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>;
852
891
  /**
853
892
  * Retrieves a customer salutations by its key.
854
893
  *
@@ -1060,6 +1099,7 @@ declare class TestDataService {
1060
1099
  getBasicCustomFieldStruct(overrides?: Partial<CustomField>): Partial<CustomField>;
1061
1100
  getSalesChannelDomainStruct(salesChannelId: string, currencyId: string, languageId: string, snippetSetId: string, overrides?: Partial<SalesChannelDomain>): Partial<SalesChannelDomain>;
1062
1101
  getTaxStruct(overrides: Partial<Tax>): Partial<Tax>;
1102
+ getBasicCrossSellingStruct(productId: string, overrides?: Partial<ProductCrossSelling>): never;
1063
1103
  }
1064
1104
 
1065
1105
  interface TestDataFixtureTypes {
@@ -1139,9 +1179,15 @@ declare class Home implements PageObject {
1139
1179
  readonly consentDialogSaveButton: Locator;
1140
1180
  readonly consentCookieBannerContainer: Locator;
1141
1181
  readonly offcanvasBackdrop: Locator;
1182
+ readonly mainNavigationLink: Locator;
1183
+ readonly contactFormLink: Locator;
1142
1184
  constructor(page: Page);
1143
1185
  getMenuItemByCategoryName(categoryName: string): Promise<Record<string, Locator>>;
1186
+ /**
1187
+ * @deprecated - use getListingItemByProductName instead
1188
+ */
1144
1189
  getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
1190
+ getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
1145
1191
  url(): string;
1146
1192
  }
1147
1193
 
@@ -1152,6 +1198,9 @@ declare class ProductDetail$1 implements PageObject {
1152
1198
  readonly productSingleImage: Locator;
1153
1199
  readonly productSinglePrice: Locator;
1154
1200
  readonly productPriceRangesRow: Locator;
1201
+ readonly productListingPriceBadge: Locator;
1202
+ readonly productListingPrice: Locator;
1203
+ readonly productListingPricePercentage: Locator;
1155
1204
  readonly offCanvasCartTitle: Locator;
1156
1205
  readonly offCanvasCart: Locator;
1157
1206
  readonly offCanvasCartGoToCheckoutButton: Locator;
@@ -1263,6 +1312,8 @@ declare class Account implements PageObject {
1263
1312
  readonly newsletterCheckbox: Locator;
1264
1313
  readonly newsletterRegistrationSuccessMessage: Locator;
1265
1314
  readonly customerGroupRequestMessage: Locator;
1315
+ readonly cannotDeliverToCountryAlert: Locator;
1316
+ readonly shippingToAddressNotPossibleAlert: Locator;
1266
1317
  constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
1267
1318
  getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
1268
1319
  url(): string;
@@ -1294,7 +1345,23 @@ declare class AccountLogin implements PageObject {
1294
1345
  readonly countryInput: Locator;
1295
1346
  readonly postalCodeInput: Locator;
1296
1347
  readonly registerButton: Locator;
1348
+ readonly greCaptchaV2Container: Locator;
1349
+ readonly greCaptchaV2Input: Locator;
1350
+ readonly greCaptchaV3Input: Locator;
1351
+ readonly greCaptchaProtectionInformation: Locator;
1352
+ readonly greCaptchaBadge: Locator;
1353
+ readonly differentShippingAddressCheckbox: Locator;
1354
+ readonly registerShippingAddressFormArea: Locator;
1355
+ readonly shippingAddressSalutationSelect: Locator;
1356
+ readonly shippingAddressFirstNameInput: Locator;
1357
+ readonly shippingAddressLastNameInput: Locator;
1358
+ readonly shippingAddressStreetAddressInput: Locator;
1359
+ readonly shippingAddressCityInput: Locator;
1360
+ readonly shippingAddressCountryInput: Locator;
1361
+ readonly shippingAddressPostalCodeInput: Locator;
1362
+ readonly shippingAddressStateInput: Locator;
1297
1363
  constructor(page: Page);
1364
+ getShippingCountryLocatorByName(countryName: string): Promise<Locator>;
1298
1365
  url(): string;
1299
1366
  }
1300
1367
 
@@ -1352,18 +1419,23 @@ declare class AccountOrder implements PageObject {
1352
1419
  readonly dialogBackButton: Locator;
1353
1420
  constructor(page: Page);
1354
1421
  getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
1355
- getViewSubscriptionLink: (orderNumber: string) => Locator;
1356
1422
  url(): string;
1357
1423
  }
1358
1424
 
1359
1425
  declare class AccountAddresses implements PageObject {
1360
1426
  readonly page: Page;
1427
+ readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
1361
1428
  readonly addNewAddressButton: Locator;
1362
1429
  readonly editBillingAddressButton: Locator;
1363
1430
  readonly editShippingAddressButton: Locator;
1364
1431
  readonly useDefaultBillingAddressButton: Locator;
1365
1432
  readonly useDefaultShippingAddressButton: Locator;
1366
- constructor(page: Page);
1433
+ readonly deliveryNotPossibleAlert: Locator | undefined;
1434
+ readonly availableAddresses: Locator | undefined;
1435
+ readonly addressDropdownButton: Locator | undefined;
1436
+ readonly availableAddressesUseAsBillingAddress: Locator | undefined;
1437
+ readonly availableAddressesUseAsShippingAddress: Locator | undefined;
1438
+ constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
1367
1439
  url(): string;
1368
1440
  }
1369
1441
 
@@ -1447,10 +1519,60 @@ declare class AccountAddressCreate implements PageObject {
1447
1519
  readonly cityInput: Locator;
1448
1520
  readonly countryDropdown: Locator;
1449
1521
  readonly saveAddressButton: Locator;
1522
+ readonly stateDropdown: Locator;
1523
+ constructor(page: Page);
1524
+ url(): string;
1525
+ }
1526
+
1527
+ declare class PageNotFound implements PageObject {
1528
+ readonly page: Page;
1529
+ readonly pageNotFoundImage: Locator;
1530
+ readonly headline: Locator;
1531
+ readonly pageNotFoundMessage: Locator;
1532
+ readonly backToShopButton: Locator;
1450
1533
  constructor(page: Page);
1451
1534
  url(): string;
1452
1535
  }
1453
1536
 
1537
+ declare class ContactForm extends Home implements PageObject {
1538
+ readonly page: Page;
1539
+ readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
1540
+ /**
1541
+ * @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactWrapper' instead
1542
+ */
1543
+ readonly contactModal: Locator;
1544
+ /**
1545
+ * @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactSuccessMessage' instead
1546
+ */
1547
+ readonly contactSuccessModal: Locator | undefined;
1548
+ readonly contactWrapper: Locator;
1549
+ readonly salutationSelect: Locator;
1550
+ readonly firstNameInput: Locator;
1551
+ readonly lastNameInput: Locator;
1552
+ readonly emailInput: Locator;
1553
+ readonly phoneInput: Locator;
1554
+ readonly subjectInput: Locator;
1555
+ readonly commentInput: Locator;
1556
+ readonly privacyPolicyCheckbox: Locator;
1557
+ readonly submitButton: Locator;
1558
+ readonly contactSuccessMessage: Locator;
1559
+ readonly cardTitle: Locator;
1560
+ readonly formFieldFeedback: Locator | undefined;
1561
+ readonly formAlert: Locator | undefined;
1562
+ /**
1563
+ * Captcha locators
1564
+ */
1565
+ readonly basicCaptcha: Locator;
1566
+ readonly basicCaptchaImage: Locator;
1567
+ readonly basicCaptchaRefreshButton: Locator;
1568
+ readonly basicCaptchaInput: Locator;
1569
+ readonly greCaptchaV2Container: Locator;
1570
+ readonly greCaptchaV2Input: Locator;
1571
+ readonly greCaptchaProtectionInformation: Locator;
1572
+ constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
1573
+ url(): string;
1574
+ }
1575
+
1454
1576
  interface StorefrontPageTypes {
1455
1577
  StorefrontHome: Home;
1456
1578
  StorefrontProductDetail: ProductDetail$1;
@@ -1472,6 +1594,8 @@ interface StorefrontPageTypes {
1472
1594
  StorefrontSearchSuggest: SearchSuggest;
1473
1595
  StorefrontCustomRegister: CustomRegister;
1474
1596
  StorefrontCheckoutOrderEdit: CheckoutOrderEdit;
1597
+ StorefrontPageNotFound: PageNotFound;
1598
+ StorefrontContactForm: ContactForm;
1475
1599
  }
1476
1600
  declare const StorefrontPageObjects: {
1477
1601
  Home: typeof Home;
@@ -1494,6 +1618,8 @@ declare const StorefrontPageObjects: {
1494
1618
  SearchSuggest: typeof SearchSuggest;
1495
1619
  CustomRegister: typeof CustomRegister;
1496
1620
  CheckoutOrderEdit: typeof CheckoutOrderEdit;
1621
+ PageNotFound: typeof PageNotFound;
1622
+ ContactForm: typeof ContactForm;
1497
1623
  };
1498
1624
 
1499
1625
  declare class ProductDetail implements PageObject {
@@ -2332,6 +2458,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
2332
2458
  RegisterGuest: Task;
2333
2459
  } & {
2334
2460
  ChangeStorefrontCurrency: Task;
2461
+ } & {
2462
+ AddNewAddress: Task;
2335
2463
  } & {
2336
2464
  AddProductToCart: Task;
2337
2465
  } & {
@@ -2364,4 +2492,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
2364
2492
  ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
2365
2493
  }, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
2366
2494
 
2367
- export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
2495
+ 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 };