@shopware-ag/acceptance-test-suite 11.6.1 → 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.mjs CHANGED
@@ -386,16 +386,16 @@ const test$c = test$e.extend({
386
386
  ]
387
387
  });
388
388
 
389
- var __defProp$X = Object.defineProperty;
390
- var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
391
- var __publicField$X = (obj, key, value) => {
392
- __defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
389
+ var __defProp$Y = Object.defineProperty;
390
+ var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
391
+ var __publicField$Y = (obj, key, value) => {
392
+ __defNormalProp$Y(obj, typeof key !== "symbol" ? key + "" : key, value);
393
393
  return value;
394
394
  };
395
395
  const _AdminApiContext = class _AdminApiContext {
396
396
  constructor(context, options) {
397
- __publicField$X(this, "context");
398
- __publicField$X(this, "options");
397
+ __publicField$Y(this, "context");
398
+ __publicField$Y(this, "options");
399
399
  this.context = context;
400
400
  this.options = options;
401
401
  }
@@ -515,7 +515,7 @@ const _AdminApiContext = class _AdminApiContext {
515
515
  return response;
516
516
  }
517
517
  };
518
- __publicField$X(_AdminApiContext, "defaultOptions", {
518
+ __publicField$Y(_AdminApiContext, "defaultOptions", {
519
519
  app_url: process.env["APP_URL"],
520
520
  client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
521
521
  client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
@@ -525,16 +525,16 @@ __publicField$X(_AdminApiContext, "defaultOptions", {
525
525
  });
526
526
  let AdminApiContext = _AdminApiContext;
527
527
 
528
- var __defProp$W = Object.defineProperty;
529
- var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
530
- var __publicField$W = (obj, key, value) => {
531
- __defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
528
+ var __defProp$X = Object.defineProperty;
529
+ var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
530
+ var __publicField$X = (obj, key, value) => {
531
+ __defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
532
532
  return value;
533
533
  };
534
534
  const _StoreApiContext = class _StoreApiContext {
535
535
  constructor(context, options) {
536
- __publicField$W(this, "context");
537
- __publicField$W(this, "options");
536
+ __publicField$X(this, "context");
537
+ __publicField$X(this, "options");
538
538
  this.context = context;
539
539
  this.options = options;
540
540
  }
@@ -593,21 +593,21 @@ const _StoreApiContext = class _StoreApiContext {
593
593
  return this.context.head(url, options);
594
594
  }
595
595
  };
596
- __publicField$W(_StoreApiContext, "defaultOptions", {
596
+ __publicField$X(_StoreApiContext, "defaultOptions", {
597
597
  app_url: process.env["APP_URL"],
598
598
  ignoreHTTPSErrors: true
599
599
  });
600
600
  let StoreApiContext = _StoreApiContext;
601
601
 
602
- var __defProp$V = Object.defineProperty;
603
- var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
604
- var __publicField$V = (obj, key, value) => {
605
- __defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
602
+ var __defProp$W = Object.defineProperty;
603
+ var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
604
+ var __publicField$W = (obj, key, value) => {
605
+ __defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
606
606
  return value;
607
607
  };
608
608
  class MailpitApiContext {
609
609
  constructor(context) {
610
- __publicField$V(this, "context");
610
+ __publicField$W(this, "context");
611
611
  this.context = context;
612
612
  }
613
613
  /**
@@ -904,17 +904,17 @@ const test$a = test$e.extend({
904
904
  }
905
905
  });
906
906
 
907
- var __defProp$U = Object.defineProperty;
908
- var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
909
- var __publicField$U = (obj, key, value) => {
910
- __defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
907
+ var __defProp$V = Object.defineProperty;
908
+ var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
909
+ var __publicField$V = (obj, key, value) => {
910
+ __defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
911
911
  return value;
912
912
  };
913
913
  class Actor {
914
914
  constructor(name, page) {
915
- __publicField$U(this, "page");
916
- __publicField$U(this, "name");
917
- __publicField$U(this, "expects", expect);
915
+ __publicField$V(this, "page");
916
+ __publicField$V(this, "name");
917
+ __publicField$V(this, "expects", expect);
918
918
  this.name = name;
919
919
  this.page = page;
920
920
  }
@@ -963,31 +963,31 @@ function createRandomImage(width = 800, height = 600) {
963
963
  return new Image(width, height, buffer);
964
964
  }
965
965
 
966
- var __defProp$T = Object.defineProperty;
967
- var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
968
- var __publicField$T = (obj, key, value) => {
969
- __defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
966
+ var __defProp$U = Object.defineProperty;
967
+ var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
968
+ var __publicField$U = (obj, key, value) => {
969
+ __defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
970
970
  return value;
971
971
  };
972
972
  class TestDataService {
973
973
  constructor(AdminApiClient, IdProvider, options) {
974
- __publicField$T(this, "AdminApiClient");
975
- __publicField$T(this, "IdProvider");
976
- __publicField$T(this, "namePrefix", "Test-");
977
- __publicField$T(this, "nameSuffix", "");
978
- __publicField$T(this, "defaultSalesChannel");
979
- __publicField$T(this, "defaultTaxId");
980
- __publicField$T(this, "defaultCurrencyId");
981
- __publicField$T(this, "defaultCategoryId");
982
- __publicField$T(this, "defaultLanguageId");
983
- __publicField$T(this, "defaultCountryId");
984
- __publicField$T(this, "defaultCustomerGroupId");
974
+ __publicField$U(this, "AdminApiClient");
975
+ __publicField$U(this, "IdProvider");
976
+ __publicField$U(this, "namePrefix", "Test-");
977
+ __publicField$U(this, "nameSuffix", "");
978
+ __publicField$U(this, "defaultSalesChannel");
979
+ __publicField$U(this, "defaultTaxId");
980
+ __publicField$U(this, "defaultCurrencyId");
981
+ __publicField$U(this, "defaultCategoryId");
982
+ __publicField$U(this, "defaultLanguageId");
983
+ __publicField$U(this, "defaultCountryId");
984
+ __publicField$U(this, "defaultCustomerGroupId");
985
985
  /**
986
986
  * Configures if an automated cleanup of the data should be executed.
987
987
  *
988
988
  * @private
989
989
  */
990
- __publicField$T(this, "shouldCleanUp", true);
990
+ __publicField$U(this, "shouldCleanUp", true);
991
991
  /**
992
992
  * Configuration of higher priority entities for the cleanup operation.
993
993
  * These entities will be deleted before others.
@@ -995,26 +995,26 @@ class TestDataService {
995
995
  *
996
996
  * @private
997
997
  */
998
- __publicField$T(this, "highPriorityEntities", ["order", "product", "product_cross_selling", "landing_page", "shipping_method", "sales_channel_domain", "sales_channel_currency", "sales_channel_country", "sales_channel_payment_method", "customer"]);
998
+ __publicField$U(this, "highPriorityEntities", ["order", "product", "product_cross_selling", "landing_page", "shipping_method", "sales_channel_domain", "sales_channel_currency", "sales_channel_country", "sales_channel_payment_method", "customer"]);
999
999
  /**
1000
1000
  * A registry of all created records.
1001
1001
  *
1002
1002
  * @private
1003
1003
  */
1004
- __publicField$T(this, "createdRecords", []);
1005
- __publicField$T(this, "restoreSystemConfig", {});
1004
+ __publicField$U(this, "createdRecords", []);
1005
+ __publicField$U(this, "restoreSystemConfig", {});
1006
1006
  /**
1007
1007
  * A registry of all created sales channel records.
1008
1008
  *
1009
1009
  * @private
1010
1010
  */
1011
- __publicField$T(this, "createdSalesChannelRecords", []);
1011
+ __publicField$U(this, "createdSalesChannelRecords", []);
1012
1012
  /**
1013
1013
  * Function that generates combinations from n number of arrays
1014
1014
  * with m number of elements in them.
1015
1015
  * @param array
1016
1016
  */
1017
- __publicField$T(this, "combineAll", (array) => {
1017
+ __publicField$U(this, "combineAll", (array) => {
1018
1018
  const result = [];
1019
1019
  const max = array.length - 1;
1020
1020
  const helper = (tmpArray, i) => {
@@ -2388,11 +2388,20 @@ class TestDataService {
2388
2388
  return date.toISOString().slice(0, 19).replace("T", " ");
2389
2389
  }
2390
2390
  /**
2391
+ * @deprecated Use `getCountry` instead.
2391
2392
  * Retrieves a country Id based on its iso2 code.
2392
2393
  *
2393
2394
  * @param iso2 - The iso2 code of the country, for example "DE".
2394
2395
  */
2395
2396
  async getCountryId(iso2) {
2397
+ return await this.getCountry(iso2);
2398
+ }
2399
+ /**
2400
+ * Retrieves a country based on its iso2 code.
2401
+ *
2402
+ * @param iso2 - The iso2 code of the country, for example "DE".
2403
+ */
2404
+ async getCountry(iso2) {
2396
2405
  const countryResponse = await this.AdminApiClient.post("search/country", {
2397
2406
  data: {
2398
2407
  limit: 1,
@@ -3138,16 +3147,16 @@ const test$8 = test$e.extend({
3138
3147
  }
3139
3148
  });
3140
3149
 
3141
- var __defProp$S = Object.defineProperty;
3142
- var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3143
- var __publicField$S = (obj, key, value) => {
3144
- __defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
3150
+ var __defProp$T = Object.defineProperty;
3151
+ var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3152
+ var __publicField$T = (obj, key, value) => {
3153
+ __defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
3145
3154
  return value;
3146
3155
  };
3147
3156
  class IdProvider {
3148
3157
  constructor(workerIndex, seed) {
3149
- __publicField$S(this, "workerIndex");
3150
- __publicField$S(this, "seed");
3158
+ __publicField$T(this, "workerIndex");
3159
+ __publicField$T(this, "seed");
3151
3160
  this.workerIndex = workerIndex;
3152
3161
  this.seed = seed;
3153
3162
  }
@@ -3231,42 +3240,45 @@ const test$7 = test$e.extend({
3231
3240
  ]
3232
3241
  });
3233
3242
 
3234
- var __defProp$R = Object.defineProperty;
3235
- var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3236
- var __publicField$R = (obj, key, value) => {
3237
- __defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
3243
+ var __defProp$S = Object.defineProperty;
3244
+ var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3245
+ var __publicField$S = (obj, key, value) => {
3246
+ __defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
3238
3247
  return value;
3239
3248
  };
3240
3249
  class Home {
3241
3250
  constructor(page) {
3242
3251
  this.page = page;
3243
- __publicField$R(this, "accountMenuButton");
3244
- __publicField$R(this, "closeGuestSessionButton");
3245
- __publicField$R(this, "productImages");
3246
- __publicField$R(this, "productListItems");
3247
- __publicField$R(this, "languagesDropdown");
3248
- __publicField$R(this, "languagesMenuOptions");
3249
- __publicField$R(this, "currenciesDropdown");
3250
- __publicField$R(this, "currenciesMenuOptions");
3251
- __publicField$R(this, "consentOnlyTechnicallyRequiredButton");
3252
- __publicField$R(this, "consentConfigureButton");
3253
- __publicField$R(this, "consentAcceptAllCookiesButton");
3254
- __publicField$R(this, "consentCookiePreferences");
3255
- __publicField$R(this, "consentCookiePermissionContent");
3256
- __publicField$R(this, "consentDialog");
3257
- __publicField$R(this, "consentDialogTechnicallyRequiredCheckbox");
3258
- __publicField$R(this, "consentDialogStatisticsCheckbox");
3252
+ __publicField$S(this, "accountMenuButton");
3253
+ __publicField$S(this, "closeGuestSessionButton");
3254
+ __publicField$S(this, "productImages");
3255
+ __publicField$S(this, "productListItems");
3256
+ __publicField$S(this, "languagesDropdown");
3257
+ __publicField$S(this, "languagesMenuOptions");
3258
+ __publicField$S(this, "currenciesDropdown");
3259
+ __publicField$S(this, "currenciesMenuOptions");
3260
+ __publicField$S(this, "consentOnlyTechnicallyRequiredButton");
3261
+ __publicField$S(this, "consentConfigureButton");
3262
+ __publicField$S(this, "consentAcceptAllCookiesButton");
3263
+ __publicField$S(this, "consentCookiePreferences");
3264
+ __publicField$S(this, "consentCookiePermissionContent");
3265
+ __publicField$S(this, "consentDialog");
3266
+ __publicField$S(this, "consentDialogTechnicallyRequiredCheckbox");
3267
+ __publicField$S(this, "consentDialogStatisticsCheckbox");
3259
3268
  /**
3260
3269
  * @deprecated Use 'consentDialogMarketingCheckbox' instead
3261
3270
  */
3262
- __publicField$R(this, "consentDialogMarketingdCheckbox");
3263
- __publicField$R(this, "consentDialogMarketingCheckbox");
3264
- __publicField$R(this, "consentDialogAcceptAllCookiesButton");
3265
- __publicField$R(this, "consentDialogSaveButton");
3266
- __publicField$R(this, "consentCookieBannerContainer");
3267
- __publicField$R(this, "offcanvasBackdrop");
3268
- __publicField$R(this, "mainNavigationLink");
3269
- __publicField$R(this, "contactFormLink");
3271
+ __publicField$S(this, "consentDialogMarketingdCheckbox");
3272
+ __publicField$S(this, "consentDialogMarketingCheckbox");
3273
+ __publicField$S(this, "consentDialogAcceptAllCookiesButton");
3274
+ __publicField$S(this, "consentDialogSaveButton");
3275
+ __publicField$S(this, "consentCookieBannerContainer");
3276
+ __publicField$S(this, "offcanvasBackdrop");
3277
+ __publicField$S(this, "mainNavigationLink");
3278
+ __publicField$S(this, "contactFormLink");
3279
+ //wishlist
3280
+ __publicField$S(this, "wishlistIcon");
3281
+ __publicField$S(this, "wishlistBasket");
3270
3282
  this.accountMenuButton = page.getByLabel("Your account");
3271
3283
  this.closeGuestSessionButton = page.locator(".account-aside-btn");
3272
3284
  this.productImages = page.locator(".product-image-wrapper");
@@ -3303,6 +3315,8 @@ class Home {
3303
3315
  this.offcanvasBackdrop = page.locator(".offcanvas-backdrop");
3304
3316
  this.mainNavigationLink = page.locator(".main-navigation-link-text");
3305
3317
  this.contactFormLink = this.page.getByRole("listitem").getByTitle("Contact form", { exact: true });
3318
+ this.wishlistIcon = page.locator(".header-wishlist-icon");
3319
+ this.wishlistBasket = page.locator(".header-wishlist-badge");
3306
3320
  }
3307
3321
  async getMenuItemByCategoryName(categoryName) {
3308
3322
  const menuNavigationItem = this.page.locator(".nav-main").getByText(categoryName, { exact: true });
@@ -3337,6 +3351,8 @@ class Home {
3337
3351
  const productListingPrice = listingItem.locator(".list-price-price");
3338
3352
  const productListingPricePercentage = listingItem.locator(".list-price-percentage");
3339
3353
  const productListingPriceBadge = listingItem.locator(".badge-discount");
3354
+ const wishlistNotAddedIcon = listingItem.locator(".product-wishlist-not-added");
3355
+ const wishlistAddedIcon = listingItem.locator(".product-wishlist-added");
3340
3356
  return {
3341
3357
  productImage,
3342
3358
  productRating,
@@ -3349,7 +3365,9 @@ class Home {
3349
3365
  productAddToShoppingCart,
3350
3366
  productListingPrice,
3351
3367
  productListingPricePercentage,
3352
- productListingPriceBadge
3368
+ productListingPriceBadge,
3369
+ wishlistNotAddedIcon,
3370
+ wishlistAddedIcon
3353
3371
  };
3354
3372
  }
3355
3373
  async getListingItemByProductName(productListingName) {
@@ -3368,6 +3386,8 @@ class Home {
3368
3386
  const productListingPrice = listingItem.locator(".list-price-price");
3369
3387
  const productListingPricePercentage = listingItem.locator(".list-price-percentage");
3370
3388
  const productListingPriceBadge = listingItem.locator(".badge-discount");
3389
+ const wishlistNotAddedIcon = listingItem.locator(".product-wishlist-not-added");
3390
+ const wishlistAddedIcon = listingItem.locator(".product-wishlist-added");
3371
3391
  return {
3372
3392
  productImage,
3373
3393
  productRating,
@@ -3380,7 +3400,9 @@ class Home {
3380
3400
  productAddToShoppingCart,
3381
3401
  productListingPrice,
3382
3402
  productListingPricePercentage,
3383
- productListingPriceBadge
3403
+ productListingPriceBadge,
3404
+ wishlistNotAddedIcon,
3405
+ wishlistAddedIcon
3384
3406
  };
3385
3407
  }
3386
3408
  url() {
@@ -3388,29 +3410,31 @@ class Home {
3388
3410
  }
3389
3411
  }
3390
3412
 
3391
- var __defProp$Q = Object.defineProperty;
3392
- var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3393
- var __publicField$Q = (obj, key, value) => {
3394
- __defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
3413
+ var __defProp$R = Object.defineProperty;
3414
+ var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3415
+ var __publicField$R = (obj, key, value) => {
3416
+ __defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
3395
3417
  return value;
3396
3418
  };
3397
3419
  let ProductDetail$1 = class ProductDetail {
3398
3420
  constructor(page) {
3399
3421
  this.page = page;
3400
- __publicField$Q(this, "addToCartButton");
3401
- __publicField$Q(this, "quantitySelect");
3402
- __publicField$Q(this, "productSingleImage");
3403
- __publicField$Q(this, "productSinglePrice");
3404
- __publicField$Q(this, "productPriceRangesRow");
3405
- __publicField$Q(this, "productListingPriceBadge");
3406
- __publicField$Q(this, "productListingPrice");
3407
- __publicField$Q(this, "productListingPricePercentage");
3408
- __publicField$Q(this, "offCanvasCartTitle");
3409
- __publicField$Q(this, "offCanvasCart");
3410
- __publicField$Q(this, "offCanvasCartGoToCheckoutButton");
3411
- __publicField$Q(this, "offCanvasLineItemImages");
3412
- __publicField$Q(this, "offCanvasSummaryTotalPrice");
3413
- __publicField$Q(this, "offCanvas");
3422
+ __publicField$R(this, "addToCartButton");
3423
+ __publicField$R(this, "quantitySelect");
3424
+ __publicField$R(this, "productSingleImage");
3425
+ __publicField$R(this, "productSinglePrice");
3426
+ __publicField$R(this, "productPriceRangesRow");
3427
+ __publicField$R(this, "productListingPriceBadge");
3428
+ __publicField$R(this, "productListingPrice");
3429
+ __publicField$R(this, "productListingPricePercentage");
3430
+ __publicField$R(this, "offCanvasCartTitle");
3431
+ __publicField$R(this, "offCanvasCart");
3432
+ __publicField$R(this, "offCanvasCartGoToCheckoutButton");
3433
+ __publicField$R(this, "offCanvasLineItemImages");
3434
+ __publicField$R(this, "offCanvasSummaryTotalPrice");
3435
+ __publicField$R(this, "offCanvas");
3436
+ __publicField$R(this, "wishlistAddedButton");
3437
+ __publicField$R(this, "wishlistNotAddedButton");
3414
3438
  this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
3415
3439
  this.quantitySelect = page.getByLabel("Quantity", { exact: true });
3416
3440
  this.productSingleImage = page.locator(".gallery-slider-single-image");
@@ -3425,6 +3449,8 @@ let ProductDetail$1 = class ProductDetail {
3425
3449
  this.offCanvasCartGoToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
3426
3450
  this.offCanvasLineItemImages = page.locator(".line-item-img-link");
3427
3451
  this.offCanvasSummaryTotalPrice = page.locator(".offcanvas-summary").locator('dt:has-text("Subtotal") + dd');
3452
+ this.wishlistAddedButton = page.locator(".product-wishlist-added");
3453
+ this.wishlistNotAddedButton = page.locator(".product-wishlist-not-added");
3428
3454
  }
3429
3455
  url(productData) {
3430
3456
  let namePath = "";
@@ -3435,18 +3461,18 @@ let ProductDetail$1 = class ProductDetail {
3435
3461
  }
3436
3462
  };
3437
3463
 
3438
- var __defProp$P = Object.defineProperty;
3439
- var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3440
- var __publicField$P = (obj, key, value) => {
3441
- __defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
3464
+ var __defProp$Q = Object.defineProperty;
3465
+ var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3466
+ var __publicField$Q = (obj, key, value) => {
3467
+ __defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
3442
3468
  return value;
3443
3469
  };
3444
3470
  class Category {
3445
3471
  constructor(page) {
3446
3472
  this.page = page;
3447
- __publicField$P(this, "sortingSelect");
3448
- __publicField$P(this, "firstProductBuyButton");
3449
- __publicField$P(this, "noProductsFoundAlert");
3473
+ __publicField$Q(this, "sortingSelect");
3474
+ __publicField$Q(this, "firstProductBuyButton");
3475
+ __publicField$Q(this, "noProductsFoundAlert");
3450
3476
  this.sortingSelect = page.getByLabel("Sorting");
3451
3477
  this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
3452
3478
  this.noProductsFoundAlert = page.getByText("No products found.");
@@ -3456,24 +3482,24 @@ class Category {
3456
3482
  }
3457
3483
  }
3458
3484
 
3459
- var __defProp$O = Object.defineProperty;
3460
- var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3461
- var __publicField$O = (obj, key, value) => {
3462
- __defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
3485
+ var __defProp$P = Object.defineProperty;
3486
+ var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3487
+ var __publicField$P = (obj, key, value) => {
3488
+ __defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
3463
3489
  return value;
3464
3490
  };
3465
3491
  class CheckoutCart {
3466
3492
  constructor(page) {
3467
3493
  this.page = page;
3468
- __publicField$O(this, "headline");
3469
- __publicField$O(this, "goToCheckoutButton");
3470
- __publicField$O(this, "enterPromoInput");
3471
- __publicField$O(this, "grandTotalPrice");
3472
- __publicField$O(this, "emptyCartAlert");
3473
- __publicField$O(this, "stockReachedAlert");
3474
- __publicField$O(this, "cartLineItemImages");
3475
- __publicField$O(this, "unitPriceInfo");
3476
- __publicField$O(this, "cartQuantityNumber");
3494
+ __publicField$P(this, "headline");
3495
+ __publicField$P(this, "goToCheckoutButton");
3496
+ __publicField$P(this, "enterPromoInput");
3497
+ __publicField$P(this, "grandTotalPrice");
3498
+ __publicField$P(this, "emptyCartAlert");
3499
+ __publicField$P(this, "stockReachedAlert");
3500
+ __publicField$P(this, "cartLineItemImages");
3501
+ __publicField$P(this, "unitPriceInfo");
3502
+ __publicField$P(this, "cartQuantityNumber");
3477
3503
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
3478
3504
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
3479
3505
  this.enterPromoInput = page.getByLabel("Promo code");
@@ -3514,25 +3540,25 @@ class CheckoutCart {
3514
3540
  }
3515
3541
  }
3516
3542
 
3517
- var __defProp$N = Object.defineProperty;
3518
- var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3519
- var __publicField$N = (obj, key, value) => {
3520
- __defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
3543
+ var __defProp$O = Object.defineProperty;
3544
+ var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3545
+ var __publicField$O = (obj, key, value) => {
3546
+ __defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
3521
3547
  return value;
3522
3548
  };
3523
3549
  class OffCanvasCart {
3524
3550
  constructor(page) {
3525
3551
  this.page = page;
3526
- __publicField$N(this, "headline");
3527
- __publicField$N(this, "itemCount");
3528
- __publicField$N(this, "goToCheckoutButton");
3529
- __publicField$N(this, "goToCartButton");
3530
- __publicField$N(this, "continueShoppingButton");
3531
- __publicField$N(this, "enterPromoInput");
3532
- __publicField$N(this, "submitDiscountButton");
3533
- __publicField$N(this, "subTotalPrice");
3534
- __publicField$N(this, "shippingCosts");
3535
- __publicField$N(this, "cartQuantityNumber");
3552
+ __publicField$O(this, "headline");
3553
+ __publicField$O(this, "itemCount");
3554
+ __publicField$O(this, "goToCheckoutButton");
3555
+ __publicField$O(this, "goToCartButton");
3556
+ __publicField$O(this, "continueShoppingButton");
3557
+ __publicField$O(this, "enterPromoInput");
3558
+ __publicField$O(this, "submitDiscountButton");
3559
+ __publicField$O(this, "subTotalPrice");
3560
+ __publicField$O(this, "shippingCosts");
3561
+ __publicField$O(this, "cartQuantityNumber");
3536
3562
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
3537
3563
  this.itemCount = page.locator(".offcanvas-cart-header-count");
3538
3564
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
@@ -3559,6 +3585,8 @@ class OffCanvasCart {
3559
3585
  const productUnitPriceValue = lineItem.locator(".line-item-unit-price-value");
3560
3586
  const productTotalPriceValue = lineItem.locator(".line-item-total-price-value");
3561
3587
  const removeButton = lineItem.locator(".line-item-remove-button");
3588
+ const wishlistAddedButton = lineItem.locator(".product-wishlist-added");
3589
+ const wishlistNotAddedButton = lineItem.locator(".product-wishlist-not-added");
3562
3590
  return {
3563
3591
  lineItemImage,
3564
3592
  productNameLabel,
@@ -3569,41 +3597,43 @@ class OffCanvasCart {
3569
3597
  productQuantityInput,
3570
3598
  productUnitPriceValue,
3571
3599
  productTotalPriceValue,
3572
- removeButton
3600
+ removeButton,
3601
+ wishlistAddedButton,
3602
+ wishlistNotAddedButton
3573
3603
  };
3574
3604
  }
3575
3605
  }
3576
3606
 
3577
- var __defProp$M = Object.defineProperty;
3578
- var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3579
- var __publicField$M = (obj, key, value) => {
3580
- __defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
3607
+ var __defProp$N = Object.defineProperty;
3608
+ var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3609
+ var __publicField$N = (obj, key, value) => {
3610
+ __defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
3581
3611
  return value;
3582
3612
  };
3583
3613
  class CheckoutConfirm {
3584
3614
  constructor(page) {
3585
3615
  this.page = page;
3586
- __publicField$M(this, "headline");
3587
- __publicField$M(this, "termsAndConditionsCheckbox");
3588
- __publicField$M(this, "immediateAccessToDigitalProductCheckbox");
3589
- __publicField$M(this, "grandTotalPrice");
3590
- __publicField$M(this, "taxPrice");
3591
- __publicField$M(this, "submitOrderButton");
3616
+ __publicField$N(this, "headline");
3617
+ __publicField$N(this, "termsAndConditionsCheckbox");
3618
+ __publicField$N(this, "immediateAccessToDigitalProductCheckbox");
3619
+ __publicField$N(this, "grandTotalPrice");
3620
+ __publicField$N(this, "taxPrice");
3621
+ __publicField$N(this, "submitOrderButton");
3592
3622
  /**
3593
3623
  * Payment options
3594
3624
  */
3595
- __publicField$M(this, "paymentCashOnDelivery");
3596
- __publicField$M(this, "paymentPaidInAdvance");
3597
- __publicField$M(this, "paymentInvoice");
3625
+ __publicField$N(this, "paymentCashOnDelivery");
3626
+ __publicField$N(this, "paymentPaidInAdvance");
3627
+ __publicField$N(this, "paymentInvoice");
3598
3628
  /**
3599
3629
  * Shipping options
3600
3630
  */
3601
- __publicField$M(this, "shippingStandard");
3602
- __publicField$M(this, "shippingExpress");
3631
+ __publicField$N(this, "shippingStandard");
3632
+ __publicField$N(this, "shippingExpress");
3603
3633
  /**
3604
3634
  * Product details
3605
3635
  */
3606
- __publicField$M(this, "cartLineItemImages");
3636
+ __publicField$N(this, "cartLineItemImages");
3607
3637
  this.headline = page.getByRole("heading", { name: "Complete order" });
3608
3638
  this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
3609
3639
  this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
@@ -3622,21 +3652,21 @@ class CheckoutConfirm {
3622
3652
  }
3623
3653
  }
3624
3654
 
3625
- var __defProp$L = Object.defineProperty;
3626
- var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3627
- var __publicField$L = (obj, key, value) => {
3628
- __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
3655
+ var __defProp$M = Object.defineProperty;
3656
+ var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3657
+ var __publicField$M = (obj, key, value) => {
3658
+ __defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
3629
3659
  return value;
3630
3660
  };
3631
3661
  class CheckoutFinish {
3632
3662
  constructor(page) {
3633
3663
  this.page = page;
3634
- __publicField$L(this, "headline");
3635
- __publicField$L(this, "orderNumberText");
3636
- __publicField$L(this, "grandTotalPrice");
3637
- __publicField$L(this, "taxPrice");
3638
- __publicField$L(this, "cartLineItemImages");
3639
- __publicField$L(this, "orderNumberRegex", /Your order number: #(\d+)/);
3664
+ __publicField$M(this, "headline");
3665
+ __publicField$M(this, "orderNumberText");
3666
+ __publicField$M(this, "grandTotalPrice");
3667
+ __publicField$M(this, "taxPrice");
3668
+ __publicField$M(this, "cartLineItemImages");
3669
+ __publicField$M(this, "orderNumberRegex", /Your order number: #(\d+)/);
3640
3670
  this.headline = page.getByRole("heading", { name: "Thank you for your order" });
3641
3671
  this.orderNumberText = page.getByText(this.orderNumberRegex);
3642
3672
  this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
@@ -3665,16 +3695,16 @@ class CheckoutFinish {
3665
3695
  }
3666
3696
  }
3667
3697
 
3668
- var __defProp$K = Object.defineProperty;
3669
- var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3670
- var __publicField$K = (obj, key, value) => {
3671
- __defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
3698
+ var __defProp$L = Object.defineProperty;
3699
+ var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3700
+ var __publicField$L = (obj, key, value) => {
3701
+ __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
3672
3702
  return value;
3673
3703
  };
3674
3704
  class CheckoutRegister {
3675
3705
  constructor(page) {
3676
3706
  this.page = page;
3677
- __publicField$K(this, "cartLineItemImages");
3707
+ __publicField$L(this, "cartLineItemImages");
3678
3708
  this.cartLineItemImages = page.locator(".line-item-img-link");
3679
3709
  }
3680
3710
  url() {
@@ -3682,26 +3712,26 @@ class CheckoutRegister {
3682
3712
  }
3683
3713
  }
3684
3714
 
3685
- var __defProp$J = Object.defineProperty;
3686
- var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3687
- var __publicField$J = (obj, key, value) => {
3688
- __defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
3715
+ var __defProp$K = Object.defineProperty;
3716
+ var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3717
+ var __publicField$K = (obj, key, value) => {
3718
+ __defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
3689
3719
  return value;
3690
3720
  };
3691
3721
  class Account {
3692
3722
  constructor(page, instanceMeta) {
3693
3723
  this.page = page;
3694
3724
  this.instanceMeta = instanceMeta;
3695
- __publicField$J(this, "headline");
3696
- __publicField$J(this, "personalDataCardTitle");
3697
- __publicField$J(this, "paymentMethodCardTitle");
3698
- __publicField$J(this, "billingAddressCardTitle");
3699
- __publicField$J(this, "shippingAddressCardTitle");
3700
- __publicField$J(this, "newsletterCheckbox");
3701
- __publicField$J(this, "newsletterRegistrationSuccessMessage");
3702
- __publicField$J(this, "customerGroupRequestMessage");
3703
- __publicField$J(this, "cannotDeliverToCountryAlert");
3704
- __publicField$J(this, "shippingToAddressNotPossibleAlert");
3725
+ __publicField$K(this, "headline");
3726
+ __publicField$K(this, "personalDataCardTitle");
3727
+ __publicField$K(this, "paymentMethodCardTitle");
3728
+ __publicField$K(this, "billingAddressCardTitle");
3729
+ __publicField$K(this, "shippingAddressCardTitle");
3730
+ __publicField$K(this, "newsletterCheckbox");
3731
+ __publicField$K(this, "newsletterRegistrationSuccessMessage");
3732
+ __publicField$K(this, "customerGroupRequestMessage");
3733
+ __publicField$K(this, "cannotDeliverToCountryAlert");
3734
+ __publicField$K(this, "shippingToAddressNotPossibleAlert");
3705
3735
  this.headline = page.getByRole("heading", { name: "Overview" });
3706
3736
  this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
3707
3737
  this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
@@ -3725,57 +3755,57 @@ class Account {
3725
3755
  }
3726
3756
  }
3727
3757
 
3728
- var __defProp$I = Object.defineProperty;
3729
- var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3730
- var __publicField$I = (obj, key, value) => {
3731
- __defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
3758
+ var __defProp$J = Object.defineProperty;
3759
+ var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3760
+ var __publicField$J = (obj, key, value) => {
3761
+ __defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
3732
3762
  return value;
3733
3763
  };
3734
3764
  class AccountLogin {
3735
3765
  constructor(page) {
3736
3766
  this.page = page;
3737
- __publicField$I(this, "emailInput");
3738
- __publicField$I(this, "passwordInput");
3739
- __publicField$I(this, "forgotPasswordLink");
3740
- __publicField$I(this, "loginButton");
3741
- __publicField$I(this, "logoutLink");
3742
- __publicField$I(this, "successAlert");
3743
- __publicField$I(this, "invalidCredentialsAlert");
3744
- __publicField$I(this, "passwordUpdatedAlert");
3767
+ __publicField$J(this, "emailInput");
3768
+ __publicField$J(this, "passwordInput");
3769
+ __publicField$J(this, "forgotPasswordLink");
3770
+ __publicField$J(this, "loginButton");
3771
+ __publicField$J(this, "logoutLink");
3772
+ __publicField$J(this, "successAlert");
3773
+ __publicField$J(this, "invalidCredentialsAlert");
3774
+ __publicField$J(this, "passwordUpdatedAlert");
3745
3775
  // Inputs for registration
3746
- __publicField$I(this, "personalFormArea");
3747
- __publicField$I(this, "billingAddressFormArea");
3748
- __publicField$I(this, "accountTypeSelect");
3749
- __publicField$I(this, "salutationSelect");
3750
- __publicField$I(this, "firstNameInput");
3751
- __publicField$I(this, "lastNameInput");
3752
- __publicField$I(this, "companyInput");
3753
- __publicField$I(this, "departmentInput");
3754
- __publicField$I(this, "vatRegNoInput");
3755
- __publicField$I(this, "registerEmailInput");
3756
- __publicField$I(this, "registerPasswordInput");
3757
- __publicField$I(this, "streetAddressInput");
3758
- __publicField$I(this, "cityInput");
3759
- __publicField$I(this, "countryInput");
3760
- __publicField$I(this, "postalCodeInput");
3761
- __publicField$I(this, "registerButton");
3776
+ __publicField$J(this, "personalFormArea");
3777
+ __publicField$J(this, "billingAddressFormArea");
3778
+ __publicField$J(this, "accountTypeSelect");
3779
+ __publicField$J(this, "salutationSelect");
3780
+ __publicField$J(this, "firstNameInput");
3781
+ __publicField$J(this, "lastNameInput");
3782
+ __publicField$J(this, "companyInput");
3783
+ __publicField$J(this, "departmentInput");
3784
+ __publicField$J(this, "vatRegNoInput");
3785
+ __publicField$J(this, "registerEmailInput");
3786
+ __publicField$J(this, "registerPasswordInput");
3787
+ __publicField$J(this, "streetAddressInput");
3788
+ __publicField$J(this, "cityInput");
3789
+ __publicField$J(this, "countryInput");
3790
+ __publicField$J(this, "postalCodeInput");
3791
+ __publicField$J(this, "registerButton");
3762
3792
  // Inputs for reCaptcha
3763
- __publicField$I(this, "greCaptchaV2Container");
3764
- __publicField$I(this, "greCaptchaV2Input");
3765
- __publicField$I(this, "greCaptchaV3Input");
3766
- __publicField$I(this, "greCaptchaProtectionInformation");
3767
- __publicField$I(this, "greCaptchaBadge");
3793
+ __publicField$J(this, "greCaptchaV2Container");
3794
+ __publicField$J(this, "greCaptchaV2Input");
3795
+ __publicField$J(this, "greCaptchaV3Input");
3796
+ __publicField$J(this, "greCaptchaProtectionInformation");
3797
+ __publicField$J(this, "greCaptchaBadge");
3768
3798
  //Input for shipping address
3769
- __publicField$I(this, "differentShippingAddressCheckbox");
3770
- __publicField$I(this, "registerShippingAddressFormArea");
3771
- __publicField$I(this, "shippingAddressSalutationSelect");
3772
- __publicField$I(this, "shippingAddressFirstNameInput");
3773
- __publicField$I(this, "shippingAddressLastNameInput");
3774
- __publicField$I(this, "shippingAddressStreetAddressInput");
3775
- __publicField$I(this, "shippingAddressCityInput");
3776
- __publicField$I(this, "shippingAddressCountryInput");
3777
- __publicField$I(this, "shippingAddressPostalCodeInput");
3778
- __publicField$I(this, "shippingAddressStateInput");
3799
+ __publicField$J(this, "differentShippingAddressCheckbox");
3800
+ __publicField$J(this, "registerShippingAddressFormArea");
3801
+ __publicField$J(this, "shippingAddressSalutationSelect");
3802
+ __publicField$J(this, "shippingAddressFirstNameInput");
3803
+ __publicField$J(this, "shippingAddressLastNameInput");
3804
+ __publicField$J(this, "shippingAddressStreetAddressInput");
3805
+ __publicField$J(this, "shippingAddressCityInput");
3806
+ __publicField$J(this, "shippingAddressCountryInput");
3807
+ __publicField$J(this, "shippingAddressPostalCodeInput");
3808
+ __publicField$J(this, "shippingAddressStateInput");
3779
3809
  this.emailInput = page.getByLabel("Your email address");
3780
3810
  this.passwordInput = page.getByLabel("Your password");
3781
3811
  this.loginButton = page.getByRole("button", { name: "Log in" });
@@ -3825,26 +3855,26 @@ class AccountLogin {
3825
3855
  }
3826
3856
  }
3827
3857
 
3828
- var __defProp$H = Object.defineProperty;
3829
- var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3830
- var __publicField$H = (obj, key, value) => {
3831
- __defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
3858
+ var __defProp$I = Object.defineProperty;
3859
+ var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3860
+ var __publicField$I = (obj, key, value) => {
3861
+ __defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
3832
3862
  return value;
3833
3863
  };
3834
3864
  class AccountRecover {
3835
3865
  constructor(page) {
3836
3866
  this.page = page;
3837
- __publicField$H(this, "passwordRecoveryForm");
3838
- __publicField$H(this, "title");
3839
- __publicField$H(this, "subtitle");
3840
- __publicField$H(this, "emailInput");
3841
- __publicField$H(this, "requestEmailButton");
3842
- __publicField$H(this, "backButton");
3843
- __publicField$H(this, "passwordResetEmailSentMessage");
3844
- __publicField$H(this, "newPasswordInput");
3845
- __publicField$H(this, "newPasswordConfirmInput");
3846
- __publicField$H(this, "changePasswordButton");
3847
- __publicField$H(this, "invalidLinkMessage");
3867
+ __publicField$I(this, "passwordRecoveryForm");
3868
+ __publicField$I(this, "title");
3869
+ __publicField$I(this, "subtitle");
3870
+ __publicField$I(this, "emailInput");
3871
+ __publicField$I(this, "requestEmailButton");
3872
+ __publicField$I(this, "backButton");
3873
+ __publicField$I(this, "passwordResetEmailSentMessage");
3874
+ __publicField$I(this, "newPasswordInput");
3875
+ __publicField$I(this, "newPasswordConfirmInput");
3876
+ __publicField$I(this, "changePasswordButton");
3877
+ __publicField$I(this, "invalidLinkMessage");
3848
3878
  this.passwordRecoveryForm = page.locator(".account-recover-password-form");
3849
3879
  const cardTitle = this.passwordRecoveryForm.locator(".card-title");
3850
3880
  this.title = cardTitle.getByText("Password recovery");
@@ -3866,36 +3896,36 @@ class AccountRecover {
3866
3896
  }
3867
3897
  }
3868
3898
 
3869
- var __defProp$G = Object.defineProperty;
3870
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3871
- var __publicField$G = (obj, key, value) => {
3872
- __defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
3899
+ var __defProp$H = Object.defineProperty;
3900
+ var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3901
+ var __publicField$H = (obj, key, value) => {
3902
+ __defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
3873
3903
  return value;
3874
3904
  };
3875
3905
  class AccountProfile {
3876
3906
  constructor(page, instanceMeta) {
3877
3907
  this.page = page;
3878
3908
  this.instanceMeta = instanceMeta;
3879
- __publicField$G(this, "salutationSelect");
3880
- __publicField$G(this, "firstNameInput");
3881
- __publicField$G(this, "lastNameInput");
3882
- __publicField$G(this, "saveProfileButton");
3883
- __publicField$G(this, "changeEmailButton");
3884
- __publicField$G(this, "emailAddressInput");
3885
- __publicField$G(this, "emailAddressConfirmInput");
3886
- __publicField$G(this, "emailConfirmPasswordInput");
3887
- __publicField$G(this, "saveEmailAddressButton");
3888
- __publicField$G(this, "changePasswordButton");
3889
- __publicField$G(this, "newPasswordInput");
3890
- __publicField$G(this, "newPasswordConfirmInput");
3891
- __publicField$G(this, "currentPasswordInput");
3892
- __publicField$G(this, "saveNewPasswordButton");
3893
- __publicField$G(this, "loginDataEmailAddress");
3894
- __publicField$G(this, "emailUpdateMessage");
3895
- __publicField$G(this, "passwordUpdateMessage");
3896
- __publicField$G(this, "emailValidationAlert");
3897
- __publicField$G(this, "emailUpdateFailureAlert");
3898
- __publicField$G(this, "passwordUpdateFailureAlert");
3909
+ __publicField$H(this, "salutationSelect");
3910
+ __publicField$H(this, "firstNameInput");
3911
+ __publicField$H(this, "lastNameInput");
3912
+ __publicField$H(this, "saveProfileButton");
3913
+ __publicField$H(this, "changeEmailButton");
3914
+ __publicField$H(this, "emailAddressInput");
3915
+ __publicField$H(this, "emailAddressConfirmInput");
3916
+ __publicField$H(this, "emailConfirmPasswordInput");
3917
+ __publicField$H(this, "saveEmailAddressButton");
3918
+ __publicField$H(this, "changePasswordButton");
3919
+ __publicField$H(this, "newPasswordInput");
3920
+ __publicField$H(this, "newPasswordConfirmInput");
3921
+ __publicField$H(this, "currentPasswordInput");
3922
+ __publicField$H(this, "saveNewPasswordButton");
3923
+ __publicField$H(this, "loginDataEmailAddress");
3924
+ __publicField$H(this, "emailUpdateMessage");
3925
+ __publicField$H(this, "passwordUpdateMessage");
3926
+ __publicField$H(this, "emailValidationAlert");
3927
+ __publicField$H(this, "emailUpdateFailureAlert");
3928
+ __publicField$H(this, "passwordUpdateFailureAlert");
3899
3929
  this.salutationSelect = page.getByLabel("Salutation");
3900
3930
  this.firstNameInput = page.getByLabel("First name");
3901
3931
  this.lastNameInput = page.getByLabel("Last name");
@@ -3935,21 +3965,21 @@ class AccountProfile {
3935
3965
  }
3936
3966
  }
3937
3967
 
3938
- var __defProp$F = Object.defineProperty;
3939
- var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3940
- var __publicField$F = (obj, key, value) => {
3941
- __defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
3968
+ var __defProp$G = Object.defineProperty;
3969
+ var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3970
+ var __publicField$G = (obj, key, value) => {
3971
+ __defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
3942
3972
  return value;
3943
3973
  };
3944
3974
  class AccountOrder {
3945
3975
  constructor(page) {
3946
3976
  this.page = page;
3947
- __publicField$F(this, "cartLineItemImages");
3948
- __publicField$F(this, "orderExpandButton");
3949
- __publicField$F(this, "digitalProductDownloadButton");
3950
- __publicField$F(this, "dialogOrderCancel");
3951
- __publicField$F(this, "dialogOrderCancelButton");
3952
- __publicField$F(this, "dialogBackButton");
3977
+ __publicField$G(this, "cartLineItemImages");
3978
+ __publicField$G(this, "orderExpandButton");
3979
+ __publicField$G(this, "digitalProductDownloadButton");
3980
+ __publicField$G(this, "dialogOrderCancel");
3981
+ __publicField$G(this, "dialogOrderCancelButton");
3982
+ __publicField$G(this, "dialogBackButton");
3953
3983
  this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
3954
3984
  this.cartLineItemImages = page.locator(".line-item-img-link");
3955
3985
  this.digitalProductDownloadButton = page.getByRole("link", { name: "Download" }).first();
@@ -3997,26 +4027,26 @@ class AccountOrder {
3997
4027
  }
3998
4028
  }
3999
4029
 
4000
- var __defProp$E = Object.defineProperty;
4001
- var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4002
- var __publicField$E = (obj, key, value) => {
4003
- __defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
4030
+ var __defProp$F = Object.defineProperty;
4031
+ var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4032
+ var __publicField$F = (obj, key, value) => {
4033
+ __defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
4004
4034
  return value;
4005
4035
  };
4006
4036
  class AccountAddresses {
4007
4037
  constructor(page, instanceMeta) {
4008
4038
  this.page = page;
4009
4039
  this.instanceMeta = instanceMeta;
4010
- __publicField$E(this, "addNewAddressButton");
4011
- __publicField$E(this, "editBillingAddressButton");
4012
- __publicField$E(this, "editShippingAddressButton");
4013
- __publicField$E(this, "useDefaultBillingAddressButton");
4014
- __publicField$E(this, "useDefaultShippingAddressButton");
4015
- __publicField$E(this, "deliveryNotPossibleAlert");
4016
- __publicField$E(this, "availableAddresses");
4017
- __publicField$E(this, "addressDropdownButton");
4018
- __publicField$E(this, "availableAddressesUseAsBillingAddress");
4019
- __publicField$E(this, "availableAddressesUseAsShippingAddress");
4040
+ __publicField$F(this, "addNewAddressButton");
4041
+ __publicField$F(this, "editBillingAddressButton");
4042
+ __publicField$F(this, "editShippingAddressButton");
4043
+ __publicField$F(this, "useDefaultBillingAddressButton");
4044
+ __publicField$F(this, "useDefaultShippingAddressButton");
4045
+ __publicField$F(this, "deliveryNotPossibleAlert");
4046
+ __publicField$F(this, "availableAddresses");
4047
+ __publicField$F(this, "addressDropdownButton");
4048
+ __publicField$F(this, "availableAddressesUseAsBillingAddress");
4049
+ __publicField$F(this, "availableAddressesUseAsShippingAddress");
4020
4050
  this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
4021
4051
  this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
4022
4052
  this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
@@ -4037,19 +4067,19 @@ class AccountAddresses {
4037
4067
  }
4038
4068
  }
4039
4069
 
4040
- var __defProp$D = Object.defineProperty;
4041
- var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4042
- var __publicField$D = (obj, key, value) => {
4043
- __defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
4070
+ var __defProp$E = Object.defineProperty;
4071
+ var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4072
+ var __publicField$E = (obj, key, value) => {
4073
+ __defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
4044
4074
  return value;
4045
4075
  };
4046
4076
  class AccountPayment {
4047
4077
  constructor(page) {
4048
4078
  this.page = page;
4049
- __publicField$D(this, "cashOnDeliveryOption");
4050
- __publicField$D(this, "paidInAdvanceOption");
4051
- __publicField$D(this, "invoiceOption");
4052
- __publicField$D(this, "changeDefaultPaymentButton");
4079
+ __publicField$E(this, "cashOnDeliveryOption");
4080
+ __publicField$E(this, "paidInAdvanceOption");
4081
+ __publicField$E(this, "invoiceOption");
4082
+ __publicField$E(this, "changeDefaultPaymentButton");
4053
4083
  this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
4054
4084
  this.paidInAdvanceOption = page.getByLabel("Paid in advance");
4055
4085
  this.invoiceOption = page.getByLabel("Invoice");
@@ -4060,17 +4090,17 @@ class AccountPayment {
4060
4090
  }
4061
4091
  }
4062
4092
 
4063
- var __defProp$C = Object.defineProperty;
4064
- var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4065
- var __publicField$C = (obj, key, value) => {
4066
- __defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
4093
+ var __defProp$D = Object.defineProperty;
4094
+ var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4095
+ var __publicField$D = (obj, key, value) => {
4096
+ __defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
4067
4097
  return value;
4068
4098
  };
4069
4099
  class Search {
4070
4100
  constructor(page) {
4071
4101
  this.page = page;
4072
- __publicField$C(this, "headline");
4073
- __publicField$C(this, "productImages");
4102
+ __publicField$D(this, "headline");
4103
+ __publicField$D(this, "productImages");
4074
4104
  this.headline = page.locator("h1.search-headline");
4075
4105
  this.productImages = page.locator(".product-image-wrapper");
4076
4106
  }
@@ -4079,25 +4109,25 @@ class Search {
4079
4109
  }
4080
4110
  }
4081
4111
 
4082
- var __defProp$B = Object.defineProperty;
4083
- var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4084
- var __publicField$B = (obj, key, value) => {
4085
- __defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
4112
+ var __defProp$C = Object.defineProperty;
4113
+ var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4114
+ var __publicField$C = (obj, key, value) => {
4115
+ __defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
4086
4116
  return value;
4087
4117
  };
4088
4118
  class SearchSuggest extends Home {
4089
4119
  constructor(page) {
4090
4120
  super(page);
4091
4121
  this.page = page;
4092
- __publicField$B(this, "searchSuggestLineItemImages");
4093
- __publicField$B(this, "searchInput");
4094
- __publicField$B(this, "searchIcon");
4095
- __publicField$B(this, "searchSuggestNoResult");
4096
- __publicField$B(this, "searchSuggestLineItemName");
4097
- __publicField$B(this, "searchSuggestLineItemPrice");
4098
- __publicField$B(this, "searchSuggestTotalLink");
4099
- __publicField$B(this, "searchResultTotal");
4100
- __publicField$B(this, "searchHeadline");
4122
+ __publicField$C(this, "searchSuggestLineItemImages");
4123
+ __publicField$C(this, "searchInput");
4124
+ __publicField$C(this, "searchIcon");
4125
+ __publicField$C(this, "searchSuggestNoResult");
4126
+ __publicField$C(this, "searchSuggestLineItemName");
4127
+ __publicField$C(this, "searchSuggestLineItemPrice");
4128
+ __publicField$C(this, "searchSuggestTotalLink");
4129
+ __publicField$C(this, "searchResultTotal");
4130
+ __publicField$C(this, "searchHeadline");
4101
4131
  this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
4102
4132
  this.searchInput = page.locator(".header-search-input");
4103
4133
  this.searchIcon = page.locator(".header-search-icon");
@@ -4127,31 +4157,31 @@ class CustomRegister extends AccountLogin {
4127
4157
  }
4128
4158
  }
4129
4159
 
4130
- var __defProp$A = Object.defineProperty;
4131
- var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4132
- var __publicField$A = (obj, key, value) => {
4133
- __defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
4160
+ var __defProp$B = Object.defineProperty;
4161
+ var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4162
+ var __publicField$B = (obj, key, value) => {
4163
+ __defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
4134
4164
  return value;
4135
4165
  };
4136
4166
  class CheckoutOrderEdit {
4137
4167
  constructor(page) {
4138
4168
  this.page = page;
4139
- __publicField$A(this, "completePaymentButton");
4140
- __publicField$A(this, "orderCancelButton");
4141
- __publicField$A(this, "dialogOrderCancel");
4142
- __publicField$A(this, "dialogOrderCancelButton");
4143
- __publicField$A(this, "dialogBackButton");
4169
+ __publicField$B(this, "completePaymentButton");
4170
+ __publicField$B(this, "orderCancelButton");
4171
+ __publicField$B(this, "dialogOrderCancel");
4172
+ __publicField$B(this, "dialogOrderCancelButton");
4173
+ __publicField$B(this, "dialogBackButton");
4144
4174
  /**
4145
4175
  * Payment options
4146
4176
  */
4147
- __publicField$A(this, "paymentCashOnDelivery");
4148
- __publicField$A(this, "paymentPaidInAdvance");
4149
- __publicField$A(this, "paymentInvoice");
4177
+ __publicField$B(this, "paymentCashOnDelivery");
4178
+ __publicField$B(this, "paymentPaidInAdvance");
4179
+ __publicField$B(this, "paymentInvoice");
4150
4180
  /**
4151
4181
  * Shipping options
4152
4182
  */
4153
- __publicField$A(this, "shippingStandard");
4154
- __publicField$A(this, "shippingExpress");
4183
+ __publicField$B(this, "shippingStandard");
4184
+ __publicField$B(this, "shippingExpress");
4155
4185
  this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
4156
4186
  this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
4157
4187
  this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
@@ -4176,26 +4206,26 @@ class CheckoutOrderEdit {
4176
4206
  }
4177
4207
  }
4178
4208
 
4179
- var __defProp$z = Object.defineProperty;
4180
- var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4181
- var __publicField$z = (obj, key, value) => {
4182
- __defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
4209
+ var __defProp$A = Object.defineProperty;
4210
+ var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4211
+ var __publicField$A = (obj, key, value) => {
4212
+ __defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
4183
4213
  return value;
4184
4214
  };
4185
4215
  class AccountAddressCreate {
4186
4216
  constructor(page) {
4187
4217
  this.page = page;
4188
- __publicField$z(this, "salutationDropdown");
4189
- __publicField$z(this, "firstNameInput");
4190
- __publicField$z(this, "lastNameInput");
4191
- __publicField$z(this, "companyInput");
4192
- __publicField$z(this, "departmentInput");
4193
- __publicField$z(this, "streetInput");
4194
- __publicField$z(this, "zipcodeInput");
4195
- __publicField$z(this, "cityInput");
4196
- __publicField$z(this, "countryDropdown");
4197
- __publicField$z(this, "saveAddressButton");
4198
- __publicField$z(this, "stateDropdown");
4218
+ __publicField$A(this, "salutationDropdown");
4219
+ __publicField$A(this, "firstNameInput");
4220
+ __publicField$A(this, "lastNameInput");
4221
+ __publicField$A(this, "companyInput");
4222
+ __publicField$A(this, "departmentInput");
4223
+ __publicField$A(this, "streetInput");
4224
+ __publicField$A(this, "zipcodeInput");
4225
+ __publicField$A(this, "cityInput");
4226
+ __publicField$A(this, "countryDropdown");
4227
+ __publicField$A(this, "saveAddressButton");
4228
+ __publicField$A(this, "stateDropdown");
4199
4229
  this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
4200
4230
  this.firstNameInput = page.getByRole("textbox", { name: "First name" });
4201
4231
  this.lastNameInput = page.getByRole("textbox", { name: "Last name" });
@@ -4213,19 +4243,19 @@ class AccountAddressCreate {
4213
4243
  }
4214
4244
  }
4215
4245
 
4216
- var __defProp$y = Object.defineProperty;
4217
- var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4218
- var __publicField$y = (obj, key, value) => {
4219
- __defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
4246
+ var __defProp$z = Object.defineProperty;
4247
+ var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4248
+ var __publicField$z = (obj, key, value) => {
4249
+ __defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
4220
4250
  return value;
4221
4251
  };
4222
4252
  class PageNotFound {
4223
4253
  constructor(page) {
4224
4254
  this.page = page;
4225
- __publicField$y(this, "pageNotFoundImage");
4226
- __publicField$y(this, "headline");
4227
- __publicField$y(this, "pageNotFoundMessage");
4228
- __publicField$y(this, "backToShopButton");
4255
+ __publicField$z(this, "pageNotFoundImage");
4256
+ __publicField$z(this, "headline");
4257
+ __publicField$z(this, "pageNotFoundMessage");
4258
+ __publicField$z(this, "backToShopButton");
4229
4259
  this.pageNotFoundImage = page.getByAltText("Page not found");
4230
4260
  this.headline = page.getByRole("heading", { name: "Page not found" });
4231
4261
  this.pageNotFoundMessage = page.getByText(`We are sorry, the page you're looking for could not be found. It may no longer exist or may have been moved.`);
@@ -4236,10 +4266,10 @@ class PageNotFound {
4236
4266
  }
4237
4267
  }
4238
4268
 
4239
- var __defProp$x = Object.defineProperty;
4240
- var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4241
- var __publicField$x = (obj, key, value) => {
4242
- __defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
4269
+ var __defProp$y = Object.defineProperty;
4270
+ var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4271
+ var __publicField$y = (obj, key, value) => {
4272
+ __defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
4243
4273
  return value;
4244
4274
  };
4245
4275
  class ContactForm extends Home {
@@ -4250,35 +4280,35 @@ class ContactForm extends Home {
4250
4280
  /**
4251
4281
  * @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactWrapper' instead
4252
4282
  */
4253
- __publicField$x(this, "contactModal");
4283
+ __publicField$y(this, "contactModal");
4254
4284
  /**
4255
4285
  * @deprecated Compatible until 6.6.x, will be removed in 6.8.x, use 'contactSuccessMessage' instead
4256
4286
  */
4257
- __publicField$x(this, "contactSuccessModal");
4258
- __publicField$x(this, "contactWrapper");
4259
- __publicField$x(this, "salutationSelect");
4260
- __publicField$x(this, "firstNameInput");
4261
- __publicField$x(this, "lastNameInput");
4262
- __publicField$x(this, "emailInput");
4263
- __publicField$x(this, "phoneInput");
4264
- __publicField$x(this, "subjectInput");
4265
- __publicField$x(this, "commentInput");
4266
- __publicField$x(this, "privacyPolicyCheckbox");
4267
- __publicField$x(this, "submitButton");
4268
- __publicField$x(this, "contactSuccessMessage");
4269
- __publicField$x(this, "cardTitle");
4270
- __publicField$x(this, "formFieldFeedback");
4271
- __publicField$x(this, "formAlert");
4287
+ __publicField$y(this, "contactSuccessModal");
4288
+ __publicField$y(this, "contactWrapper");
4289
+ __publicField$y(this, "salutationSelect");
4290
+ __publicField$y(this, "firstNameInput");
4291
+ __publicField$y(this, "lastNameInput");
4292
+ __publicField$y(this, "emailInput");
4293
+ __publicField$y(this, "phoneInput");
4294
+ __publicField$y(this, "subjectInput");
4295
+ __publicField$y(this, "commentInput");
4296
+ __publicField$y(this, "privacyPolicyCheckbox");
4297
+ __publicField$y(this, "submitButton");
4298
+ __publicField$y(this, "contactSuccessMessage");
4299
+ __publicField$y(this, "cardTitle");
4300
+ __publicField$y(this, "formFieldFeedback");
4301
+ __publicField$y(this, "formAlert");
4272
4302
  /**
4273
4303
  * Captcha locators
4274
4304
  */
4275
- __publicField$x(this, "basicCaptcha");
4276
- __publicField$x(this, "basicCaptchaImage");
4277
- __publicField$x(this, "basicCaptchaRefreshButton");
4278
- __publicField$x(this, "basicCaptchaInput");
4279
- __publicField$x(this, "greCaptchaV2Container");
4280
- __publicField$x(this, "greCaptchaV2Input");
4281
- __publicField$x(this, "greCaptchaProtectionInformation");
4305
+ __publicField$y(this, "basicCaptcha");
4306
+ __publicField$y(this, "basicCaptchaImage");
4307
+ __publicField$y(this, "basicCaptchaRefreshButton");
4308
+ __publicField$y(this, "basicCaptchaInput");
4309
+ __publicField$y(this, "greCaptchaV2Container");
4310
+ __publicField$y(this, "greCaptchaV2Input");
4311
+ __publicField$y(this, "greCaptchaProtectionInformation");
4282
4312
  this.contactModal = this.page.getByRole("dialog").filter({ has: this.page.getByText("Contact") });
4283
4313
  if (satisfies(instanceMeta.version, "<6.7")) {
4284
4314
  this.contactWrapper = this.page.getByRole("dialog").filter({ has: this.page.getByText("Contact") });
@@ -4314,6 +4344,37 @@ class ContactForm extends Home {
4314
4344
  }
4315
4345
  }
4316
4346
 
4347
+ var __defProp$x = Object.defineProperty;
4348
+ var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4349
+ var __publicField$x = (obj, key, value) => {
4350
+ __defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
4351
+ return value;
4352
+ };
4353
+ class Wishlist extends Home {
4354
+ constructor(page) {
4355
+ super(page);
4356
+ this.page = page;
4357
+ __publicField$x(this, "wishListHeader");
4358
+ __publicField$x(this, "removeAlert");
4359
+ __publicField$x(this, "emptyListing");
4360
+ this.wishListHeader = page.locator(".wishlist-headline");
4361
+ this.removeAlert = page.locator(".alert-success");
4362
+ this.emptyListing = page.locator(".wishlist-listing-empty");
4363
+ }
4364
+ async getListingItemByProductName(productListingName) {
4365
+ const baseItems = await super.getListingItemByProductName(productListingName);
4366
+ const listingItem = this.page.getByRole("listitem").filter({ has: this.page.getByText(productListingName) });
4367
+ const removeFromWishlistButton = listingItem.locator(".icon-wishlist-remove");
4368
+ return {
4369
+ ...baseItems,
4370
+ removeFromWishlistButton
4371
+ };
4372
+ }
4373
+ url() {
4374
+ return `wishlist`;
4375
+ }
4376
+ }
4377
+
4317
4378
  const StorefrontPageObjects = {
4318
4379
  Home,
4319
4380
  ProductDetail: ProductDetail$1,
@@ -4336,7 +4397,8 @@ const StorefrontPageObjects = {
4336
4397
  CustomRegister,
4337
4398
  CheckoutOrderEdit,
4338
4399
  PageNotFound,
4339
- ContactForm
4400
+ ContactForm,
4401
+ Wishlist
4340
4402
  };
4341
4403
  const test$6 = test$e.extend({
4342
4404
  StorefrontHome: async ({ StorefrontPage }, use) => {
@@ -4404,6 +4466,9 @@ const test$6 = test$e.extend({
4404
4466
  },
4405
4467
  StorefrontContactForm: async ({ StorefrontPage, InstanceMeta }, use) => {
4406
4468
  await use(new ContactForm(StorefrontPage, InstanceMeta));
4469
+ },
4470
+ StorefrontWishlist: async ({ StorefrontPage }, use) => {
4471
+ await use(new Wishlist(StorefrontPage));
4407
4472
  }
4408
4473
  });
4409
4474
 
@@ -4736,8 +4801,9 @@ var __publicField$r = (obj, key, value) => {
4736
4801
  return value;
4737
4802
  };
4738
4803
  class CustomerGroupCreate {
4739
- constructor(page) {
4804
+ constructor(page, instanceMeta) {
4740
4805
  this.page = page;
4806
+ this.instanceMeta = instanceMeta;
4741
4807
  __publicField$r(this, "headline");
4742
4808
  __publicField$r(this, "saveButton");
4743
4809
  __publicField$r(this, "cancelButton");
@@ -4761,7 +4827,11 @@ class CustomerGroupCreate {
4761
4827
  this.customerGroupNetTaxDisplay = page.locator("#sw-field--castedValue-1");
4762
4828
  this.customSignupFormToggle = page.getByLabel("Custom signup form");
4763
4829
  this.signupFormTitle = page.locator("#sw-field--customerGroup-registrationTitle");
4764
- this.signupFormIntroduction = page.locator(".sw-text-editor__content-editor");
4830
+ if (satisfies(instanceMeta.version, "<6.7")) {
4831
+ this.signupFormIntroduction = page.locator(".sw-text-editor__content-editor");
4832
+ } else {
4833
+ this.signupFormIntroduction = page.locator(".mt-text-editor__content-editor");
4834
+ }
4765
4835
  this.signupFormSeoDescription = page.locator("#sw-field--customerGroup-registrationSeoMetaDescription");
4766
4836
  this.signupFormCompanySignupToggle = page.getByLabel("Company signup form");
4767
4837
  this.customerGroupSaleschannelSelection = page.locator("input[class=sw-select-selection-list__input]");
@@ -4779,9 +4849,10 @@ var __publicField$q = (obj, key, value) => {
4779
4849
  return value;
4780
4850
  };
4781
4851
  class CustomerGroupDetail extends CustomerGroupCreate {
4782
- constructor(page) {
4783
- super(page);
4852
+ constructor(page, instanceMeta) {
4853
+ super(page, instanceMeta);
4784
4854
  this.page = page;
4855
+ this.instanceMeta = instanceMeta;
4785
4856
  __publicField$q(this, "headline");
4786
4857
  __publicField$q(this, "selectedSalesChannel");
4787
4858
  __publicField$q(this, "technicalUrl");
@@ -6033,11 +6104,11 @@ const test$5 = test$e.extend({
6033
6104
  AdminCustomerGroupListing: async ({ AdminPage }, use) => {
6034
6105
  await use(new CustomerGroupListing(AdminPage));
6035
6106
  },
6036
- AdminCustomerGroupCreate: async ({ AdminPage }, use) => {
6037
- await use(new CustomerGroupCreate(AdminPage));
6107
+ AdminCustomerGroupCreate: async ({ AdminPage, InstanceMeta }, use) => {
6108
+ await use(new CustomerGroupCreate(AdminPage, InstanceMeta));
6038
6109
  },
6039
- AdminCustomerGroupDetail: async ({ AdminPage }, use) => {
6040
- await use(new CustomerGroupDetail(AdminPage));
6110
+ AdminCustomerGroupDetail: async ({ AdminPage, InstanceMeta }, use) => {
6111
+ await use(new CustomerGroupDetail(AdminPage, InstanceMeta));
6041
6112
  },
6042
6113
  AdminFirstRunWizard: async ({ AdminPage, InstanceMeta }, use) => {
6043
6114
  await use(new FirstRunWizard(AdminPage, InstanceMeta));
@@ -7343,6 +7414,48 @@ const ValidateAccessibility = test$e.extend({
7343
7414
  }
7344
7415
  });
7345
7416
 
7417
+ const AddProductToCartFromWishlist = test$e.extend({
7418
+ AddProductToCartFromWishlist: async ({ ShopCustomer, StorefrontWishlist, StorefrontOffCanvasCart }, use) => {
7419
+ const task = (ProductData) => {
7420
+ return async function AddProductToCartFromWishlist2() {
7421
+ const listedItem = await StorefrontWishlist.getListingItemByProductName(ProductData.name);
7422
+ await listedItem.productAddToShoppingCart.click();
7423
+ await StorefrontWishlist.page.waitForResponse((response) => response.url().includes(`checkout/offcanvas`) && response.ok());
7424
+ await ShopCustomer.expects(StorefrontOffCanvasCart.itemCount).toBeVisible();
7425
+ const offcanvasItem = await StorefrontOffCanvasCart.getLineItemByProductNumber(ProductData.productNumber);
7426
+ const itemsPrice = await offcanvasItem.productTotalPriceValue.innerText();
7427
+ const expectedPrice = await listedItem.productPrice.innerText();
7428
+ ShopCustomer.expects(itemsPrice).toBe(expectedPrice);
7429
+ };
7430
+ };
7431
+ await use(task);
7432
+ }
7433
+ });
7434
+ const RemoveProductFromWishlist = test$e.extend({
7435
+ RemoveProductFromWishlist: async ({ StorefrontHome, StorefrontWishlist }, use) => {
7436
+ const task = (ProductData) => {
7437
+ return async function RemoveProductFromWishlist2() {
7438
+ const listedItem = await StorefrontHome.getListingItemByProductName(ProductData.name);
7439
+ await listedItem.wishlistAddedIcon.click();
7440
+ await StorefrontWishlist.page.waitForResponse((response) => response.url().includes(`remove/${ProductData.id}`) && response.ok());
7441
+ };
7442
+ };
7443
+ await use(task);
7444
+ }
7445
+ });
7446
+ const AddProductToWishlist = test$e.extend({
7447
+ AddProductToWishlist: async ({ StorefrontHome, ShopCustomer }, use) => {
7448
+ const task = (ProductData) => {
7449
+ return async function AddProductToWishlist2() {
7450
+ const listedItem = await StorefrontHome.getListingItemByProductName(ProductData.name);
7451
+ await listedItem.wishlistNotAddedIcon.click();
7452
+ await ShopCustomer.expects(listedItem.wishlistAddedIcon).toBeVisible();
7453
+ };
7454
+ };
7455
+ await use(task);
7456
+ }
7457
+ });
7458
+
7346
7459
  const test$2 = mergeTests(
7347
7460
  Login,
7348
7461
  Logout,
@@ -7364,7 +7477,10 @@ const test$2 = mergeTests(
7364
7477
  OpenSearchResultPage,
7365
7478
  OpenSearchSuggestPage,
7366
7479
  SearchForTerm,
7367
- ValidateAccessibility
7480
+ ValidateAccessibility,
7481
+ RemoveProductFromWishlist,
7482
+ AddProductToCartFromWishlist,
7483
+ AddProductToWishlist
7368
7484
  );
7369
7485
 
7370
7486
  var __defProp = Object.defineProperty;