@shopware-ag/acceptance-test-suite 8.0.1 → 8.1.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
@@ -385,16 +385,16 @@ const test$c = test$e.extend({
385
385
  ]
386
386
  });
387
387
 
388
- var __defProp$N = Object.defineProperty;
389
- var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
390
- var __publicField$N = (obj, key, value) => {
391
- __defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
388
+ var __defProp$P = Object.defineProperty;
389
+ var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
390
+ var __publicField$P = (obj, key, value) => {
391
+ __defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
392
392
  return value;
393
393
  };
394
394
  const _AdminApiContext = class _AdminApiContext {
395
395
  constructor(context, options) {
396
- __publicField$N(this, "context");
397
- __publicField$N(this, "options");
396
+ __publicField$P(this, "context");
397
+ __publicField$P(this, "options");
398
398
  this.context = context;
399
399
  this.options = options;
400
400
  }
@@ -486,7 +486,7 @@ const _AdminApiContext = class _AdminApiContext {
486
486
  return this.context.head(url, options);
487
487
  }
488
488
  };
489
- __publicField$N(_AdminApiContext, "defaultOptions", {
489
+ __publicField$P(_AdminApiContext, "defaultOptions", {
490
490
  app_url: process.env["APP_URL"],
491
491
  client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
492
492
  client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
@@ -496,16 +496,16 @@ __publicField$N(_AdminApiContext, "defaultOptions", {
496
496
  });
497
497
  let AdminApiContext = _AdminApiContext;
498
498
 
499
- var __defProp$M = Object.defineProperty;
500
- var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
501
- var __publicField$M = (obj, key, value) => {
502
- __defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
499
+ var __defProp$O = Object.defineProperty;
500
+ var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
501
+ var __publicField$O = (obj, key, value) => {
502
+ __defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
503
503
  return value;
504
504
  };
505
505
  const _StoreApiContext = class _StoreApiContext {
506
506
  constructor(context, options) {
507
- __publicField$M(this, "context");
508
- __publicField$M(this, "options");
507
+ __publicField$O(this, "context");
508
+ __publicField$O(this, "options");
509
509
  this.context = context;
510
510
  this.options = options;
511
511
  }
@@ -564,21 +564,21 @@ const _StoreApiContext = class _StoreApiContext {
564
564
  return this.context.head(url, options);
565
565
  }
566
566
  };
567
- __publicField$M(_StoreApiContext, "defaultOptions", {
567
+ __publicField$O(_StoreApiContext, "defaultOptions", {
568
568
  app_url: process.env["APP_URL"],
569
569
  ignoreHTTPSErrors: true
570
570
  });
571
571
  let StoreApiContext = _StoreApiContext;
572
572
 
573
- var __defProp$L = Object.defineProperty;
574
- var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
575
- var __publicField$L = (obj, key, value) => {
576
- __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
573
+ var __defProp$N = Object.defineProperty;
574
+ var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
575
+ var __publicField$N = (obj, key, value) => {
576
+ __defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
577
577
  return value;
578
578
  };
579
579
  class MailpitApiContext {
580
580
  constructor(context) {
581
- __publicField$L(this, "context");
581
+ __publicField$N(this, "context");
582
582
  this.context = context;
583
583
  }
584
584
  /**
@@ -875,17 +875,17 @@ const test$a = test$e.extend({
875
875
  }
876
876
  });
877
877
 
878
- var __defProp$K = Object.defineProperty;
879
- var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
880
- var __publicField$K = (obj, key, value) => {
881
- __defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
878
+ var __defProp$M = Object.defineProperty;
879
+ var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
880
+ var __publicField$M = (obj, key, value) => {
881
+ __defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
882
882
  return value;
883
883
  };
884
884
  class Actor {
885
885
  constructor(name, page) {
886
- __publicField$K(this, "page");
887
- __publicField$K(this, "name");
888
- __publicField$K(this, "expects", expect);
886
+ __publicField$M(this, "page");
887
+ __publicField$M(this, "name");
888
+ __publicField$M(this, "expects", expect);
889
889
  this.name = name;
890
890
  this.page = page;
891
891
  }
@@ -934,31 +934,31 @@ function createRandomImage(width = 800, height = 600) {
934
934
  return new Image(width, height, buffer);
935
935
  }
936
936
 
937
- var __defProp$J = Object.defineProperty;
938
- var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
939
- var __publicField$J = (obj, key, value) => {
940
- __defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
937
+ var __defProp$L = Object.defineProperty;
938
+ var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
939
+ var __publicField$L = (obj, key, value) => {
940
+ __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
941
941
  return value;
942
942
  };
943
943
  class TestDataService {
944
944
  constructor(AdminApiClient, IdProvider, options) {
945
- __publicField$J(this, "AdminApiClient");
946
- __publicField$J(this, "IdProvider");
947
- __publicField$J(this, "namePrefix", "Test-");
948
- __publicField$J(this, "nameSuffix", "");
949
- __publicField$J(this, "defaultSalesChannel");
950
- __publicField$J(this, "defaultTaxId");
951
- __publicField$J(this, "defaultCurrencyId");
952
- __publicField$J(this, "defaultCategoryId");
953
- __publicField$J(this, "defaultLanguageId");
954
- __publicField$J(this, "defaultCountryId");
955
- __publicField$J(this, "defaultCustomerGroupId");
945
+ __publicField$L(this, "AdminApiClient");
946
+ __publicField$L(this, "IdProvider");
947
+ __publicField$L(this, "namePrefix", "Test-");
948
+ __publicField$L(this, "nameSuffix", "");
949
+ __publicField$L(this, "defaultSalesChannel");
950
+ __publicField$L(this, "defaultTaxId");
951
+ __publicField$L(this, "defaultCurrencyId");
952
+ __publicField$L(this, "defaultCategoryId");
953
+ __publicField$L(this, "defaultLanguageId");
954
+ __publicField$L(this, "defaultCountryId");
955
+ __publicField$L(this, "defaultCustomerGroupId");
956
956
  /**
957
957
  * Configures if an automated cleanup of the data should be executed.
958
958
  *
959
959
  * @private
960
960
  */
961
- __publicField$J(this, "shouldCleanUp", true);
961
+ __publicField$L(this, "shouldCleanUp", true);
962
962
  /**
963
963
  * Configuration of higher priority entities for the cleanup operation.
964
964
  * These entities will be deleted before others.
@@ -966,19 +966,19 @@ class TestDataService {
966
966
  *
967
967
  * @private
968
968
  */
969
- __publicField$J(this, "highPriorityEntities", ["order", "product", "landing_page"]);
969
+ __publicField$L(this, "highPriorityEntities", ["order", "product", "landing_page"]);
970
970
  /**
971
971
  * A registry of all created records.
972
972
  *
973
973
  * @private
974
974
  */
975
- __publicField$J(this, "createdRecords", []);
975
+ __publicField$L(this, "createdRecords", []);
976
976
  /**
977
977
  * Function that generates combinations from n number of arrays
978
978
  * with m number of elements in them.
979
979
  * @param array
980
980
  */
981
- __publicField$J(this, "combineAll", (array) => {
981
+ __publicField$L(this, "combineAll", (array) => {
982
982
  const result = [];
983
983
  const max = array.length - 1;
984
984
  const helper = (tmpArray, i) => {
@@ -2673,16 +2673,16 @@ const test$8 = test$e.extend({
2673
2673
  }
2674
2674
  });
2675
2675
 
2676
- var __defProp$I = Object.defineProperty;
2677
- var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2678
- var __publicField$I = (obj, key, value) => {
2679
- __defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
2676
+ var __defProp$K = Object.defineProperty;
2677
+ var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2678
+ var __publicField$K = (obj, key, value) => {
2679
+ __defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
2680
2680
  return value;
2681
2681
  };
2682
2682
  class IdProvider {
2683
2683
  constructor(workerIndex, seed) {
2684
- __publicField$I(this, "workerIndex");
2685
- __publicField$I(this, "seed");
2684
+ __publicField$K(this, "workerIndex");
2685
+ __publicField$K(this, "seed");
2686
2686
  this.workerIndex = workerIndex;
2687
2687
  this.seed = seed;
2688
2688
  }
@@ -2756,32 +2756,32 @@ const test$7 = test$e.extend({
2756
2756
  ]
2757
2757
  });
2758
2758
 
2759
- var __defProp$H = Object.defineProperty;
2760
- var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2761
- var __publicField$H = (obj, key, value) => {
2762
- __defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
2759
+ var __defProp$J = Object.defineProperty;
2760
+ var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2761
+ var __publicField$J = (obj, key, value) => {
2762
+ __defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
2763
2763
  return value;
2764
2764
  };
2765
2765
  class Home {
2766
2766
  constructor(page) {
2767
2767
  this.page = page;
2768
- __publicField$H(this, "productImages");
2769
- __publicField$H(this, "productListItems");
2770
- __publicField$H(this, "languagesDropdown");
2771
- __publicField$H(this, "currenciesDropdown");
2772
- __publicField$H(this, "consentOnlyTechnicallyRequiredButton");
2773
- __publicField$H(this, "consentConfigureButton");
2774
- __publicField$H(this, "consentAcceptAllCookiesButton");
2775
- __publicField$H(this, "consentCookiePreferences");
2776
- __publicField$H(this, "consentCookiePermissionContent");
2777
- __publicField$H(this, "consentDialog");
2778
- __publicField$H(this, "consentDialogTechnicallyRequiredCheckbox");
2779
- __publicField$H(this, "consentDialogStatisticsCheckbox");
2780
- __publicField$H(this, "consentDialogMarketingdCheckbox");
2781
- __publicField$H(this, "consentDialogAcceptAllCookiesButton");
2782
- __publicField$H(this, "consentDialogSaveButton");
2783
- __publicField$H(this, "consentCookieBannerContainer");
2784
- __publicField$H(this, "offcanvasBackdrop");
2768
+ __publicField$J(this, "productImages");
2769
+ __publicField$J(this, "productListItems");
2770
+ __publicField$J(this, "languagesDropdown");
2771
+ __publicField$J(this, "currenciesDropdown");
2772
+ __publicField$J(this, "consentOnlyTechnicallyRequiredButton");
2773
+ __publicField$J(this, "consentConfigureButton");
2774
+ __publicField$J(this, "consentAcceptAllCookiesButton");
2775
+ __publicField$J(this, "consentCookiePreferences");
2776
+ __publicField$J(this, "consentCookiePermissionContent");
2777
+ __publicField$J(this, "consentDialog");
2778
+ __publicField$J(this, "consentDialogTechnicallyRequiredCheckbox");
2779
+ __publicField$J(this, "consentDialogStatisticsCheckbox");
2780
+ __publicField$J(this, "consentDialogMarketingdCheckbox");
2781
+ __publicField$J(this, "consentDialogAcceptAllCookiesButton");
2782
+ __publicField$J(this, "consentDialogSaveButton");
2783
+ __publicField$J(this, "consentCookieBannerContainer");
2784
+ __publicField$J(this, "offcanvasBackdrop");
2785
2785
  this.productImages = page.locator(".product-image-link");
2786
2786
  this.productListItems = page.getByRole("listitem");
2787
2787
  this.languagesDropdown = page.getByLabel("Shop settings").locator(".languages-menu");
@@ -2828,26 +2828,26 @@ class Home {
2828
2828
  }
2829
2829
  }
2830
2830
 
2831
- var __defProp$G = Object.defineProperty;
2832
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2833
- var __publicField$G = (obj, key, value) => {
2834
- __defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
2831
+ var __defProp$I = Object.defineProperty;
2832
+ var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2833
+ var __publicField$I = (obj, key, value) => {
2834
+ __defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
2835
2835
  return value;
2836
2836
  };
2837
2837
  let ProductDetail$1 = class ProductDetail {
2838
2838
  constructor(page) {
2839
2839
  this.page = page;
2840
- __publicField$G(this, "addToCartButton");
2841
- __publicField$G(this, "quantitySelect");
2842
- __publicField$G(this, "productSingleImage");
2843
- __publicField$G(this, "productSinglePrice");
2844
- __publicField$G(this, "productPriceRangesRow");
2845
- __publicField$G(this, "offCanvasCartTitle");
2846
- __publicField$G(this, "offCanvasCart");
2847
- __publicField$G(this, "offCanvasCartGoToCheckoutButton");
2848
- __publicField$G(this, "offCanvasLineItemImages");
2849
- __publicField$G(this, "offCanvasSummaryTotalPrice");
2850
- __publicField$G(this, "offCanvas");
2840
+ __publicField$I(this, "addToCartButton");
2841
+ __publicField$I(this, "quantitySelect");
2842
+ __publicField$I(this, "productSingleImage");
2843
+ __publicField$I(this, "productSinglePrice");
2844
+ __publicField$I(this, "productPriceRangesRow");
2845
+ __publicField$I(this, "offCanvasCartTitle");
2846
+ __publicField$I(this, "offCanvasCart");
2847
+ __publicField$I(this, "offCanvasCartGoToCheckoutButton");
2848
+ __publicField$I(this, "offCanvasLineItemImages");
2849
+ __publicField$I(this, "offCanvasSummaryTotalPrice");
2850
+ __publicField$I(this, "offCanvas");
2851
2851
  this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
2852
2852
  this.quantitySelect = page.getByLabel("Quantity", { exact: true });
2853
2853
  this.productSingleImage = page.locator(".gallery-slider-single-image");
@@ -2869,18 +2869,18 @@ let ProductDetail$1 = class ProductDetail {
2869
2869
  }
2870
2870
  };
2871
2871
 
2872
- var __defProp$F = Object.defineProperty;
2873
- var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2874
- var __publicField$F = (obj, key, value) => {
2875
- __defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
2872
+ var __defProp$H = Object.defineProperty;
2873
+ var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2874
+ var __publicField$H = (obj, key, value) => {
2875
+ __defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
2876
2876
  return value;
2877
2877
  };
2878
2878
  class Category {
2879
2879
  constructor(page) {
2880
2880
  this.page = page;
2881
- __publicField$F(this, "sortingSelect");
2882
- __publicField$F(this, "firstProductBuyButton");
2883
- __publicField$F(this, "noProductsFoundAlert");
2881
+ __publicField$H(this, "sortingSelect");
2882
+ __publicField$H(this, "firstProductBuyButton");
2883
+ __publicField$H(this, "noProductsFoundAlert");
2884
2884
  this.sortingSelect = page.getByLabel("Sorting");
2885
2885
  this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
2886
2886
  this.noProductsFoundAlert = page.getByText("No products found.");
@@ -2890,24 +2890,24 @@ class Category {
2890
2890
  }
2891
2891
  }
2892
2892
 
2893
- var __defProp$E = Object.defineProperty;
2894
- var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2895
- var __publicField$E = (obj, key, value) => {
2896
- __defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
2893
+ var __defProp$G = Object.defineProperty;
2894
+ var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2895
+ var __publicField$G = (obj, key, value) => {
2896
+ __defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
2897
2897
  return value;
2898
2898
  };
2899
2899
  class CheckoutCart {
2900
2900
  constructor(page) {
2901
2901
  this.page = page;
2902
- __publicField$E(this, "headline");
2903
- __publicField$E(this, "goToCheckoutButton");
2904
- __publicField$E(this, "enterPromoInput");
2905
- __publicField$E(this, "grandTotalPrice");
2906
- __publicField$E(this, "emptyCartAlert");
2907
- __publicField$E(this, "stockReachedAlert");
2908
- __publicField$E(this, "cartLineItemImages");
2909
- __publicField$E(this, "unitPriceInfo");
2910
- __publicField$E(this, "cartQuantityNumber");
2902
+ __publicField$G(this, "headline");
2903
+ __publicField$G(this, "goToCheckoutButton");
2904
+ __publicField$G(this, "enterPromoInput");
2905
+ __publicField$G(this, "grandTotalPrice");
2906
+ __publicField$G(this, "emptyCartAlert");
2907
+ __publicField$G(this, "stockReachedAlert");
2908
+ __publicField$G(this, "cartLineItemImages");
2909
+ __publicField$G(this, "unitPriceInfo");
2910
+ __publicField$G(this, "cartQuantityNumber");
2911
2911
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
2912
2912
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
2913
2913
  this.enterPromoInput = page.getByLabel("Promo code");
@@ -2948,25 +2948,25 @@ class CheckoutCart {
2948
2948
  }
2949
2949
  }
2950
2950
 
2951
- var __defProp$D = Object.defineProperty;
2952
- var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2953
- var __publicField$D = (obj, key, value) => {
2954
- __defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
2951
+ var __defProp$F = Object.defineProperty;
2952
+ var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2953
+ var __publicField$F = (obj, key, value) => {
2954
+ __defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
2955
2955
  return value;
2956
2956
  };
2957
2957
  class OffCanvasCart {
2958
2958
  constructor(page) {
2959
2959
  this.page = page;
2960
- __publicField$D(this, "headline");
2961
- __publicField$D(this, "itemCount");
2962
- __publicField$D(this, "goToCheckoutButton");
2963
- __publicField$D(this, "goToCartButton");
2964
- __publicField$D(this, "continueShoppingButton");
2965
- __publicField$D(this, "enterPromoInput");
2966
- __publicField$D(this, "submitDiscountButton");
2967
- __publicField$D(this, "subTotalPrice");
2968
- __publicField$D(this, "shippingCosts");
2969
- __publicField$D(this, "cartQuantityNumber");
2960
+ __publicField$F(this, "headline");
2961
+ __publicField$F(this, "itemCount");
2962
+ __publicField$F(this, "goToCheckoutButton");
2963
+ __publicField$F(this, "goToCartButton");
2964
+ __publicField$F(this, "continueShoppingButton");
2965
+ __publicField$F(this, "enterPromoInput");
2966
+ __publicField$F(this, "submitDiscountButton");
2967
+ __publicField$F(this, "subTotalPrice");
2968
+ __publicField$F(this, "shippingCosts");
2969
+ __publicField$F(this, "cartQuantityNumber");
2970
2970
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
2971
2971
  this.itemCount = page.locator(".offcanvas-cart-header-count");
2972
2972
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
@@ -3008,36 +3008,36 @@ class OffCanvasCart {
3008
3008
  }
3009
3009
  }
3010
3010
 
3011
- var __defProp$C = Object.defineProperty;
3012
- var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3013
- var __publicField$C = (obj, key, value) => {
3014
- __defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
3011
+ var __defProp$E = Object.defineProperty;
3012
+ var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3013
+ var __publicField$E = (obj, key, value) => {
3014
+ __defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
3015
3015
  return value;
3016
3016
  };
3017
3017
  class CheckoutConfirm {
3018
3018
  constructor(page) {
3019
3019
  this.page = page;
3020
- __publicField$C(this, "headline");
3021
- __publicField$C(this, "termsAndConditionsCheckbox");
3022
- __publicField$C(this, "immediateAccessToDigitalProductCheckbox");
3023
- __publicField$C(this, "grandTotalPrice");
3024
- __publicField$C(this, "taxPrice");
3025
- __publicField$C(this, "submitOrderButton");
3020
+ __publicField$E(this, "headline");
3021
+ __publicField$E(this, "termsAndConditionsCheckbox");
3022
+ __publicField$E(this, "immediateAccessToDigitalProductCheckbox");
3023
+ __publicField$E(this, "grandTotalPrice");
3024
+ __publicField$E(this, "taxPrice");
3025
+ __publicField$E(this, "submitOrderButton");
3026
3026
  /**
3027
3027
  * Payment options
3028
3028
  */
3029
- __publicField$C(this, "paymentCashOnDelivery");
3030
- __publicField$C(this, "paymentPaidInAdvance");
3031
- __publicField$C(this, "paymentInvoice");
3029
+ __publicField$E(this, "paymentCashOnDelivery");
3030
+ __publicField$E(this, "paymentPaidInAdvance");
3031
+ __publicField$E(this, "paymentInvoice");
3032
3032
  /**
3033
3033
  * Shipping options
3034
3034
  */
3035
- __publicField$C(this, "shippingStandard");
3036
- __publicField$C(this, "shippingExpress");
3035
+ __publicField$E(this, "shippingStandard");
3036
+ __publicField$E(this, "shippingExpress");
3037
3037
  /**
3038
3038
  * Product details
3039
3039
  */
3040
- __publicField$C(this, "cartLineItemImages");
3040
+ __publicField$E(this, "cartLineItemImages");
3041
3041
  this.headline = page.getByRole("heading", { name: "Complete order" });
3042
3042
  this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
3043
3043
  this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
@@ -3056,21 +3056,21 @@ class CheckoutConfirm {
3056
3056
  }
3057
3057
  }
3058
3058
 
3059
- var __defProp$B = Object.defineProperty;
3060
- var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3061
- var __publicField$B = (obj, key, value) => {
3062
- __defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
3059
+ var __defProp$D = Object.defineProperty;
3060
+ var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3061
+ var __publicField$D = (obj, key, value) => {
3062
+ __defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
3063
3063
  return value;
3064
3064
  };
3065
3065
  class CheckoutFinish {
3066
3066
  constructor(page) {
3067
3067
  this.page = page;
3068
- __publicField$B(this, "headline");
3069
- __publicField$B(this, "orderNumberText");
3070
- __publicField$B(this, "grandTotalPrice");
3071
- __publicField$B(this, "taxPrice");
3072
- __publicField$B(this, "cartLineItemImages");
3073
- __publicField$B(this, "orderNumberRegex", /Your order number: #(\d+)/);
3068
+ __publicField$D(this, "headline");
3069
+ __publicField$D(this, "orderNumberText");
3070
+ __publicField$D(this, "grandTotalPrice");
3071
+ __publicField$D(this, "taxPrice");
3072
+ __publicField$D(this, "cartLineItemImages");
3073
+ __publicField$D(this, "orderNumberRegex", /Your order number: #(\d+)/);
3074
3074
  this.headline = page.getByRole("heading", { name: "Thank you for your order" });
3075
3075
  this.orderNumberText = page.getByText(this.orderNumberRegex);
3076
3076
  this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
@@ -3099,16 +3099,16 @@ class CheckoutFinish {
3099
3099
  }
3100
3100
  }
3101
3101
 
3102
- var __defProp$A = Object.defineProperty;
3103
- var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3104
- var __publicField$A = (obj, key, value) => {
3105
- __defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
3102
+ var __defProp$C = Object.defineProperty;
3103
+ var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3104
+ var __publicField$C = (obj, key, value) => {
3105
+ __defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
3106
3106
  return value;
3107
3107
  };
3108
3108
  class CheckoutRegister {
3109
3109
  constructor(page) {
3110
3110
  this.page = page;
3111
- __publicField$A(this, "cartLineItemImages");
3111
+ __publicField$C(this, "cartLineItemImages");
3112
3112
  this.cartLineItemImages = page.locator(".line-item-img-link");
3113
3113
  }
3114
3114
  url() {
@@ -3116,23 +3116,23 @@ class CheckoutRegister {
3116
3116
  }
3117
3117
  }
3118
3118
 
3119
- var __defProp$z = Object.defineProperty;
3120
- var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3121
- var __publicField$z = (obj, key, value) => {
3122
- __defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
3119
+ var __defProp$B = Object.defineProperty;
3120
+ var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3121
+ var __publicField$B = (obj, key, value) => {
3122
+ __defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
3123
3123
  return value;
3124
3124
  };
3125
3125
  class Account {
3126
3126
  constructor(page) {
3127
3127
  this.page = page;
3128
- __publicField$z(this, "headline");
3129
- __publicField$z(this, "personalDataCardTitle");
3130
- __publicField$z(this, "paymentMethodCardTitle");
3131
- __publicField$z(this, "billingAddressCardTitle");
3132
- __publicField$z(this, "shippingAddressCardTitle");
3133
- __publicField$z(this, "newsletterCheckbox");
3134
- __publicField$z(this, "newsletterRegistrationSuccessMessage");
3135
- __publicField$z(this, "customerGroupRequestMessage");
3128
+ __publicField$B(this, "headline");
3129
+ __publicField$B(this, "personalDataCardTitle");
3130
+ __publicField$B(this, "paymentMethodCardTitle");
3131
+ __publicField$B(this, "billingAddressCardTitle");
3132
+ __publicField$B(this, "shippingAddressCardTitle");
3133
+ __publicField$B(this, "newsletterCheckbox");
3134
+ __publicField$B(this, "newsletterRegistrationSuccessMessage");
3135
+ __publicField$B(this, "customerGroupRequestMessage");
3136
3136
  this.headline = page.getByRole("heading", { name: "Overview" });
3137
3137
  this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
3138
3138
  this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
@@ -3150,37 +3150,37 @@ class Account {
3150
3150
  }
3151
3151
  }
3152
3152
 
3153
- var __defProp$y = Object.defineProperty;
3154
- var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3155
- var __publicField$y = (obj, key, value) => {
3156
- __defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
3153
+ var __defProp$A = Object.defineProperty;
3154
+ var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3155
+ var __publicField$A = (obj, key, value) => {
3156
+ __defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
3157
3157
  return value;
3158
3158
  };
3159
3159
  class AccountLogin {
3160
3160
  constructor(page) {
3161
3161
  this.page = page;
3162
- __publicField$y(this, "emailInput");
3163
- __publicField$y(this, "passwordInput");
3164
- __publicField$y(this, "loginButton");
3165
- __publicField$y(this, "logoutLink");
3166
- __publicField$y(this, "successAlert");
3162
+ __publicField$A(this, "emailInput");
3163
+ __publicField$A(this, "passwordInput");
3164
+ __publicField$A(this, "loginButton");
3165
+ __publicField$A(this, "logoutLink");
3166
+ __publicField$A(this, "successAlert");
3167
3167
  // Inputs for registration
3168
- __publicField$y(this, "personalFormArea");
3169
- __publicField$y(this, "billingAddressFormArea");
3170
- __publicField$y(this, "accountTypeSelect");
3171
- __publicField$y(this, "salutationSelect");
3172
- __publicField$y(this, "firstNameInput");
3173
- __publicField$y(this, "lastNameInput");
3174
- __publicField$y(this, "companyInput");
3175
- __publicField$y(this, "departmentInput");
3176
- __publicField$y(this, "vatRegNoInput");
3177
- __publicField$y(this, "registerEmailInput");
3178
- __publicField$y(this, "registerPasswordInput");
3179
- __publicField$y(this, "streetAddressInput");
3180
- __publicField$y(this, "cityInput");
3181
- __publicField$y(this, "countryInput");
3182
- __publicField$y(this, "postalCodeInput");
3183
- __publicField$y(this, "registerButton");
3168
+ __publicField$A(this, "personalFormArea");
3169
+ __publicField$A(this, "billingAddressFormArea");
3170
+ __publicField$A(this, "accountTypeSelect");
3171
+ __publicField$A(this, "salutationSelect");
3172
+ __publicField$A(this, "firstNameInput");
3173
+ __publicField$A(this, "lastNameInput");
3174
+ __publicField$A(this, "companyInput");
3175
+ __publicField$A(this, "departmentInput");
3176
+ __publicField$A(this, "vatRegNoInput");
3177
+ __publicField$A(this, "registerEmailInput");
3178
+ __publicField$A(this, "registerPasswordInput");
3179
+ __publicField$A(this, "streetAddressInput");
3180
+ __publicField$A(this, "cityInput");
3181
+ __publicField$A(this, "countryInput");
3182
+ __publicField$A(this, "postalCodeInput");
3183
+ __publicField$A(this, "registerButton");
3184
3184
  this.emailInput = page.getByLabel("Your email address");
3185
3185
  this.passwordInput = page.getByLabel("Your password");
3186
3186
  this.loginButton = page.getByRole("button", { name: "Log in" });
@@ -3209,29 +3209,29 @@ class AccountLogin {
3209
3209
  }
3210
3210
  }
3211
3211
 
3212
- var __defProp$x = Object.defineProperty;
3213
- var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3214
- var __publicField$x = (obj, key, value) => {
3215
- __defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
3212
+ var __defProp$z = Object.defineProperty;
3213
+ var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3214
+ var __publicField$z = (obj, key, value) => {
3215
+ __defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
3216
3216
  return value;
3217
3217
  };
3218
3218
  class AccountProfile {
3219
3219
  constructor(page) {
3220
3220
  this.page = page;
3221
- __publicField$x(this, "salutationSelect");
3222
- __publicField$x(this, "firstNameInput");
3223
- __publicField$x(this, "lastNameInput");
3224
- __publicField$x(this, "saveProfileButton");
3225
- __publicField$x(this, "changeEmailButton");
3226
- __publicField$x(this, "emailAddressInput");
3227
- __publicField$x(this, "emailAddressConfirmInput");
3228
- __publicField$x(this, "emailConfirmPasswordInput");
3229
- __publicField$x(this, "saveEmailAddressButton");
3230
- __publicField$x(this, "changePasswordButton");
3231
- __publicField$x(this, "newPasswordInput");
3232
- __publicField$x(this, "newPasswordConfirmInput");
3233
- __publicField$x(this, "currentPasswordInput");
3234
- __publicField$x(this, "saveNewPasswordButton");
3221
+ __publicField$z(this, "salutationSelect");
3222
+ __publicField$z(this, "firstNameInput");
3223
+ __publicField$z(this, "lastNameInput");
3224
+ __publicField$z(this, "saveProfileButton");
3225
+ __publicField$z(this, "changeEmailButton");
3226
+ __publicField$z(this, "emailAddressInput");
3227
+ __publicField$z(this, "emailAddressConfirmInput");
3228
+ __publicField$z(this, "emailConfirmPasswordInput");
3229
+ __publicField$z(this, "saveEmailAddressButton");
3230
+ __publicField$z(this, "changePasswordButton");
3231
+ __publicField$z(this, "newPasswordInput");
3232
+ __publicField$z(this, "newPasswordConfirmInput");
3233
+ __publicField$z(this, "currentPasswordInput");
3234
+ __publicField$z(this, "saveNewPasswordButton");
3235
3235
  this.salutationSelect = page.getByLabel("Salutation");
3236
3236
  this.firstNameInput = page.getByPlaceholder("Enter first name...");
3237
3237
  this.lastNameInput = page.getByPlaceholder("Enter last name...");
@@ -3252,22 +3252,22 @@ class AccountProfile {
3252
3252
  }
3253
3253
  }
3254
3254
 
3255
- var __defProp$w = Object.defineProperty;
3256
- var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3257
- var __publicField$w = (obj, key, value) => {
3258
- __defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
3255
+ var __defProp$y = Object.defineProperty;
3256
+ var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3257
+ var __publicField$y = (obj, key, value) => {
3258
+ __defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
3259
3259
  return value;
3260
3260
  };
3261
3261
  class AccountOrder {
3262
3262
  constructor(page) {
3263
3263
  this.page = page;
3264
- __publicField$w(this, "cartLineItemImages");
3265
- __publicField$w(this, "orderExpandButton");
3266
- __publicField$w(this, "digitalProductDownloadButton");
3267
- __publicField$w(this, "dialogOrderCancel");
3268
- __publicField$w(this, "dialogOrderCancelButton");
3269
- __publicField$w(this, "dialogBackButton");
3270
- __publicField$w(this, "getViewSubscriptionLink", (orderNumber) => {
3264
+ __publicField$y(this, "cartLineItemImages");
3265
+ __publicField$y(this, "orderExpandButton");
3266
+ __publicField$y(this, "digitalProductDownloadButton");
3267
+ __publicField$y(this, "dialogOrderCancel");
3268
+ __publicField$y(this, "dialogOrderCancelButton");
3269
+ __publicField$y(this, "dialogBackButton");
3270
+ __publicField$y(this, "getViewSubscriptionLink", (orderNumber) => {
3271
3271
  const orderContainer = this.page.locator(".order-item-header", { hasText: `Order Number: ${orderNumber}` });
3272
3272
  return orderContainer.getByText("View Subscription");
3273
3273
  });
@@ -3312,20 +3312,20 @@ class AccountOrder {
3312
3312
  }
3313
3313
  }
3314
3314
 
3315
- var __defProp$v = Object.defineProperty;
3316
- var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3317
- var __publicField$v = (obj, key, value) => {
3318
- __defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
3315
+ var __defProp$x = Object.defineProperty;
3316
+ var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3317
+ var __publicField$x = (obj, key, value) => {
3318
+ __defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
3319
3319
  return value;
3320
3320
  };
3321
3321
  class AccountAddresses {
3322
3322
  constructor(page) {
3323
3323
  this.page = page;
3324
- __publicField$v(this, "addNewAddressButton");
3325
- __publicField$v(this, "editBillingAddressButton");
3326
- __publicField$v(this, "editShippingAddressButton");
3327
- __publicField$v(this, "useDefaultBillingAddressButton");
3328
- __publicField$v(this, "useDefaultShippingAddressButton");
3324
+ __publicField$x(this, "addNewAddressButton");
3325
+ __publicField$x(this, "editBillingAddressButton");
3326
+ __publicField$x(this, "editShippingAddressButton");
3327
+ __publicField$x(this, "useDefaultBillingAddressButton");
3328
+ __publicField$x(this, "useDefaultShippingAddressButton");
3329
3329
  this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
3330
3330
  this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
3331
3331
  this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
@@ -3337,19 +3337,19 @@ class AccountAddresses {
3337
3337
  }
3338
3338
  }
3339
3339
 
3340
- var __defProp$u = Object.defineProperty;
3341
- var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3342
- var __publicField$u = (obj, key, value) => {
3343
- __defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
3340
+ var __defProp$w = Object.defineProperty;
3341
+ var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3342
+ var __publicField$w = (obj, key, value) => {
3343
+ __defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
3344
3344
  return value;
3345
3345
  };
3346
3346
  class AccountPayment {
3347
3347
  constructor(page) {
3348
3348
  this.page = page;
3349
- __publicField$u(this, "cashOnDeliveryOption");
3350
- __publicField$u(this, "paidInAdvanceOption");
3351
- __publicField$u(this, "invoiceOption");
3352
- __publicField$u(this, "changeDefaultPaymentButton");
3349
+ __publicField$w(this, "cashOnDeliveryOption");
3350
+ __publicField$w(this, "paidInAdvanceOption");
3351
+ __publicField$w(this, "invoiceOption");
3352
+ __publicField$w(this, "changeDefaultPaymentButton");
3353
3353
  this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
3354
3354
  this.paidInAdvanceOption = page.getByLabel("Paid in advance");
3355
3355
  this.invoiceOption = page.getByLabel("Invoice");
@@ -3360,17 +3360,17 @@ class AccountPayment {
3360
3360
  }
3361
3361
  }
3362
3362
 
3363
- var __defProp$t = Object.defineProperty;
3364
- var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3365
- var __publicField$t = (obj, key, value) => {
3366
- __defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
3363
+ var __defProp$v = Object.defineProperty;
3364
+ var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3365
+ var __publicField$v = (obj, key, value) => {
3366
+ __defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
3367
3367
  return value;
3368
3368
  };
3369
3369
  class Search {
3370
3370
  constructor(page) {
3371
3371
  this.page = page;
3372
- __publicField$t(this, "headline");
3373
- __publicField$t(this, "productImages");
3372
+ __publicField$v(this, "headline");
3373
+ __publicField$v(this, "productImages");
3374
3374
  this.headline = page.locator("h1.search-headline");
3375
3375
  this.productImages = page.locator(".product-image-link");
3376
3376
  }
@@ -3379,16 +3379,16 @@ class Search {
3379
3379
  }
3380
3380
  }
3381
3381
 
3382
- var __defProp$s = Object.defineProperty;
3383
- var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3384
- var __publicField$s = (obj, key, value) => {
3385
- __defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
3382
+ var __defProp$u = Object.defineProperty;
3383
+ var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3384
+ var __publicField$u = (obj, key, value) => {
3385
+ __defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
3386
3386
  return value;
3387
3387
  };
3388
3388
  class SearchSuggest {
3389
3389
  constructor(page) {
3390
3390
  this.page = page;
3391
- __publicField$s(this, "searchSuggestLineItemImages");
3391
+ __publicField$u(this, "searchSuggestLineItemImages");
3392
3392
  this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
3393
3393
  }
3394
3394
  url(searchTerm) {
@@ -3406,31 +3406,31 @@ class CustomRegister extends AccountLogin {
3406
3406
  }
3407
3407
  }
3408
3408
 
3409
- var __defProp$r = Object.defineProperty;
3410
- var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3411
- var __publicField$r = (obj, key, value) => {
3412
- __defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
3409
+ var __defProp$t = Object.defineProperty;
3410
+ var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3411
+ var __publicField$t = (obj, key, value) => {
3412
+ __defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
3413
3413
  return value;
3414
3414
  };
3415
3415
  class CheckoutOrderEdit {
3416
3416
  constructor(page) {
3417
3417
  this.page = page;
3418
- __publicField$r(this, "completePaymentButton");
3419
- __publicField$r(this, "orderCancelButton");
3420
- __publicField$r(this, "dialogOrderCancel");
3421
- __publicField$r(this, "dialogOrderCancelButton");
3422
- __publicField$r(this, "dialogBackButton");
3418
+ __publicField$t(this, "completePaymentButton");
3419
+ __publicField$t(this, "orderCancelButton");
3420
+ __publicField$t(this, "dialogOrderCancel");
3421
+ __publicField$t(this, "dialogOrderCancelButton");
3422
+ __publicField$t(this, "dialogBackButton");
3423
3423
  /**
3424
3424
  * Payment options
3425
3425
  */
3426
- __publicField$r(this, "paymentCashOnDelivery");
3427
- __publicField$r(this, "paymentPaidInAdvance");
3428
- __publicField$r(this, "paymentInvoice");
3426
+ __publicField$t(this, "paymentCashOnDelivery");
3427
+ __publicField$t(this, "paymentPaidInAdvance");
3428
+ __publicField$t(this, "paymentInvoice");
3429
3429
  /**
3430
3430
  * Shipping options
3431
3431
  */
3432
- __publicField$r(this, "shippingStandard");
3433
- __publicField$r(this, "shippingExpress");
3432
+ __publicField$t(this, "shippingStandard");
3433
+ __publicField$t(this, "shippingExpress");
3434
3434
  this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
3435
3435
  this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
3436
3436
  this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
@@ -3524,10 +3524,10 @@ const test$6 = test$e.extend({
3524
3524
  }
3525
3525
  });
3526
3526
 
3527
- var __defProp$q = Object.defineProperty;
3528
- var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3529
- var __publicField$q = (obj, key, value) => {
3530
- __defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
3527
+ var __defProp$s = Object.defineProperty;
3528
+ var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3529
+ var __publicField$s = (obj, key, value) => {
3530
+ __defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
3531
3531
  return value;
3532
3532
  };
3533
3533
  class ProductDetail {
@@ -3536,47 +3536,78 @@ class ProductDetail {
3536
3536
  /**
3537
3537
  * Save interactions
3538
3538
  */
3539
- __publicField$q(this, "savePhysicalProductButton");
3540
- __publicField$q(this, "saveButtonLoadingSpinner");
3541
- __publicField$q(this, "saveButtonCheckMark");
3539
+ __publicField$s(this, "savePhysicalProductButton");
3540
+ __publicField$s(this, "saveButtonLoadingSpinner");
3541
+ __publicField$s(this, "saveButtonCheckMark");
3542
+ /**
3543
+ * General Info
3544
+ */
3545
+ __publicField$s(this, "manufacturerDropdownText");
3546
+ /**
3547
+ * Prices
3548
+ */
3549
+ __publicField$s(this, "priceGrossInput");
3550
+ /**
3551
+ * Deliverability
3552
+ */
3553
+ __publicField$s(this, "stockInput");
3554
+ __publicField$s(this, "restockTimeInput");
3555
+ /**
3556
+ * Visibility
3557
+ */
3558
+ __publicField$s(this, "activeForAllSalesChannelsToggle");
3559
+ __publicField$s(this, "tagsInput");
3560
+ __publicField$s(this, "saleChannelsInput");
3561
+ /**
3562
+ * Labelling
3563
+ */
3564
+ __publicField$s(this, "releaseDateInput");
3542
3565
  /**
3543
3566
  * Media Upload interactions
3544
3567
  */
3545
- __publicField$q(this, "uploadMediaButton");
3546
- __publicField$q(this, "coverImage");
3547
- __publicField$q(this, "productImage");
3568
+ __publicField$s(this, "uploadMediaButton");
3569
+ __publicField$s(this, "coverImage");
3570
+ __publicField$s(this, "productImage");
3548
3571
  /**
3549
3572
  * Tabs
3550
3573
  */
3551
- __publicField$q(this, "variantsTabLink");
3552
- __publicField$q(this, "specificationsTabLink");
3574
+ __publicField$s(this, "variantsTabLink");
3575
+ __publicField$s(this, "specificationsTabLink");
3553
3576
  /**
3554
3577
  * Variants Generation
3555
3578
  */
3556
- __publicField$q(this, "generateVariantsButton");
3557
- __publicField$q(this, "variantsModal");
3558
- __publicField$q(this, "variantsModalHeadline");
3559
- __publicField$q(this, "variantsNextButton");
3560
- __publicField$q(this, "variantsSaveButton");
3579
+ __publicField$s(this, "generateVariantsButton");
3580
+ __publicField$s(this, "variantsModal");
3581
+ __publicField$s(this, "variantsModalHeadline");
3582
+ __publicField$s(this, "variantsNextButton");
3583
+ __publicField$s(this, "variantsSaveButton");
3561
3584
  /**
3562
3585
  * Property Selection
3563
3586
  */
3564
- __publicField$q(this, "propertyGroupColor");
3565
- __publicField$q(this, "propertyGroupSize");
3566
- __publicField$q(this, "propertyOptionGrid");
3567
- __publicField$q(this, "propertyOptionColorBlue");
3568
- __publicField$q(this, "propertyOptionColorRed");
3569
- __publicField$q(this, "propertyOptionColorGreen");
3570
- __publicField$q(this, "propertyOptionSizeSmall");
3571
- __publicField$q(this, "propertyOptionSizeMedium");
3572
- __publicField$q(this, "propertyOptionSizeLarge");
3587
+ __publicField$s(this, "propertyGroupColor");
3588
+ __publicField$s(this, "propertyGroupSize");
3589
+ __publicField$s(this, "propertyOptionGrid");
3590
+ __publicField$s(this, "propertyOptionColorBlue");
3591
+ __publicField$s(this, "propertyOptionColorRed");
3592
+ __publicField$s(this, "propertyOptionColorGreen");
3593
+ __publicField$s(this, "propertyOptionSizeSmall");
3594
+ __publicField$s(this, "propertyOptionSizeMedium");
3595
+ __publicField$s(this, "propertyOptionSizeLarge");
3573
3596
  /**
3574
3597
  * Cards
3575
3598
  */
3576
- __publicField$q(this, "customFieldCard");
3599
+ __publicField$s(this, "customFieldCard");
3577
3600
  this.savePhysicalProductButton = page.getByRole("button", { name: "Save" });
3578
3601
  this.saveButtonCheckMark = page.locator(".icon--regular-checkmark-xs");
3579
3602
  this.saveButtonLoadingSpinner = page.locator("sw-loader");
3603
+ this.manufacturerDropdownText = page.locator(".sw-select-product__select_manufacturer");
3604
+ this.priceGrossInput = page.locator("#sw-price-field-gross").first();
3605
+ this.stockInput = page.getByPlaceholder("Enter quantity in stock...");
3606
+ this.restockTimeInput = page.getByPlaceholder("Enter restock time in days...");
3607
+ this.activeForAllSalesChannelsToggle = page.locator(".sw-field--product-active").getByRole("checkbox");
3608
+ this.tagsInput = page.locator(".sw-product-category-form__tag-field");
3609
+ this.saleChannelsInput = page.locator(".sw-product-detail__select-visibility");
3610
+ this.releaseDateInput = page.locator(".sw-block-field", { hasText: "Release Date" }).getByPlaceholder("Enter release date...").last();
3580
3611
  this.uploadMediaButton = page.getByRole("button", { name: "Upload file" });
3581
3612
  this.coverImage = page.locator(".sw-product-media-form__cover-image");
3582
3613
  this.productImage = page.locator(".sw-media-preview-v2__item");
@@ -3612,18 +3643,18 @@ class ProductDetail {
3612
3643
  }
3613
3644
  }
3614
3645
 
3615
- var __defProp$p = Object.defineProperty;
3616
- var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3617
- var __publicField$p = (obj, key, value) => {
3618
- __defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
3646
+ var __defProp$r = Object.defineProperty;
3647
+ var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3648
+ var __publicField$r = (obj, key, value) => {
3649
+ __defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
3619
3650
  return value;
3620
3651
  };
3621
3652
  class OrderDetail {
3622
3653
  constructor(page) {
3623
3654
  this.page = page;
3624
- __publicField$p(this, "saveButton");
3625
- __publicField$p(this, "dataGridContextButton");
3626
- __publicField$p(this, "orderTag");
3655
+ __publicField$r(this, "saveButton");
3656
+ __publicField$r(this, "dataGridContextButton");
3657
+ __publicField$r(this, "orderTag");
3627
3658
  this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
3628
3659
  this.dataGridContextButton = page.locator(".sw-data-grid__actions-menu").and(page.getByRole("button"));
3629
3660
  this.orderTag = page.locator(".sw-select-selection-list__item");
@@ -3633,17 +3664,17 @@ class OrderDetail {
3633
3664
  }
3634
3665
  }
3635
3666
 
3636
- var __defProp$o = Object.defineProperty;
3637
- var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3638
- var __publicField$o = (obj, key, value) => {
3639
- __defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
3667
+ var __defProp$q = Object.defineProperty;
3668
+ var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3669
+ var __publicField$q = (obj, key, value) => {
3670
+ __defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
3640
3671
  return value;
3641
3672
  };
3642
3673
  class CustomerListing {
3643
3674
  constructor(page) {
3644
3675
  this.page = page;
3645
- __publicField$o(this, "headline");
3646
- __publicField$o(this, "addCustomerButton");
3676
+ __publicField$q(this, "headline");
3677
+ __publicField$q(this, "addCustomerButton");
3647
3678
  this.headline = page.getByRole("heading", { name: "Customers" });
3648
3679
  this.addCustomerButton = page.locator(".sw-customer-list__button-create");
3649
3680
  }
@@ -3671,24 +3702,24 @@ class CustomerListing {
3671
3702
  }
3672
3703
  }
3673
3704
 
3674
- var __defProp$n = Object.defineProperty;
3675
- var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3676
- var __publicField$n = (obj, key, value) => {
3677
- __defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
3705
+ var __defProp$p = Object.defineProperty;
3706
+ var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3707
+ var __publicField$p = (obj, key, value) => {
3708
+ __defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
3678
3709
  return value;
3679
3710
  };
3680
3711
  class CustomerDetail {
3681
3712
  constructor(page) {
3682
3713
  this.page = page;
3683
- __publicField$n(this, "editButton");
3684
- __publicField$n(this, "generalTab");
3685
- __publicField$n(this, "accountCard");
3686
- __publicField$n(this, "customFieldCard");
3687
- __publicField$n(this, "customFieldSetTabs");
3688
- __publicField$n(this, "customFieldSetTabCustomContent");
3689
- __publicField$n(this, "customerGroupRequestMessage");
3690
- __publicField$n(this, "customerGroupAcceptButton");
3691
- __publicField$n(this, "customerGroupDeclineButton");
3714
+ __publicField$p(this, "editButton");
3715
+ __publicField$p(this, "generalTab");
3716
+ __publicField$p(this, "accountCard");
3717
+ __publicField$p(this, "customFieldCard");
3718
+ __publicField$p(this, "customFieldSetTabs");
3719
+ __publicField$p(this, "customFieldSetTabCustomContent");
3720
+ __publicField$p(this, "customerGroupRequestMessage");
3721
+ __publicField$p(this, "customerGroupAcceptButton");
3722
+ __publicField$p(this, "customerGroupDeclineButton");
3692
3723
  this.editButton = page.getByRole("button", { name: "Edit" });
3693
3724
  this.generalTab = page.getByRole("link", { name: "General" });
3694
3725
  this.accountCard = page.locator(".sw-customer-card");
@@ -3716,17 +3747,17 @@ class CustomerDetail {
3716
3747
  }
3717
3748
  }
3718
3749
 
3719
- var __defProp$m = Object.defineProperty;
3720
- var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3721
- var __publicField$m = (obj, key, value) => {
3722
- __defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
3750
+ var __defProp$o = Object.defineProperty;
3751
+ var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3752
+ var __publicField$o = (obj, key, value) => {
3753
+ __defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
3723
3754
  return value;
3724
3755
  };
3725
3756
  class CustomerGroupListing {
3726
3757
  constructor(page) {
3727
3758
  this.page = page;
3728
- __publicField$m(this, "headline");
3729
- __publicField$m(this, "addCustomerGroupButton");
3759
+ __publicField$o(this, "headline");
3760
+ __publicField$o(this, "addCustomerGroupButton");
3730
3761
  this.headline = page.getByRole("heading", { name: "Customer groups" });
3731
3762
  this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
3732
3763
  }
@@ -3748,29 +3779,29 @@ class CustomerGroupListing {
3748
3779
  }
3749
3780
  }
3750
3781
 
3751
- var __defProp$l = Object.defineProperty;
3752
- var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3753
- var __publicField$l = (obj, key, value) => {
3754
- __defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
3782
+ var __defProp$n = Object.defineProperty;
3783
+ var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3784
+ var __publicField$n = (obj, key, value) => {
3785
+ __defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
3755
3786
  return value;
3756
3787
  };
3757
3788
  class CustomerGroupCreate {
3758
3789
  constructor(page) {
3759
3790
  this.page = page;
3760
- __publicField$l(this, "headline");
3761
- __publicField$l(this, "saveButton");
3762
- __publicField$l(this, "cancelButton");
3763
- __publicField$l(this, "cardTitle");
3764
- __publicField$l(this, "customerGroupNameField");
3765
- __publicField$l(this, "customerGroupGrossTaxDisplay");
3766
- __publicField$l(this, "customerGroupNetTaxDisplay");
3767
- __publicField$l(this, "customSignupFormToggle");
3768
- __publicField$l(this, "signupFormTitle");
3769
- __publicField$l(this, "signupFormIntroduction");
3770
- __publicField$l(this, "signupFormSeoDescription");
3771
- __publicField$l(this, "signupFormCompanySignupToggle");
3772
- __publicField$l(this, "customerGroupSaleschannelSelection");
3773
- __publicField$l(this, "customerGroupSaleschannelResultList");
3791
+ __publicField$n(this, "headline");
3792
+ __publicField$n(this, "saveButton");
3793
+ __publicField$n(this, "cancelButton");
3794
+ __publicField$n(this, "cardTitle");
3795
+ __publicField$n(this, "customerGroupNameField");
3796
+ __publicField$n(this, "customerGroupGrossTaxDisplay");
3797
+ __publicField$n(this, "customerGroupNetTaxDisplay");
3798
+ __publicField$n(this, "customSignupFormToggle");
3799
+ __publicField$n(this, "signupFormTitle");
3800
+ __publicField$n(this, "signupFormIntroduction");
3801
+ __publicField$n(this, "signupFormSeoDescription");
3802
+ __publicField$n(this, "signupFormCompanySignupToggle");
3803
+ __publicField$n(this, "customerGroupSaleschannelSelection");
3804
+ __publicField$n(this, "customerGroupSaleschannelResultList");
3774
3805
  this.headline = page.getByRole("heading", { name: "New customer group" });
3775
3806
  this.saveButton = page.getByRole("button", { name: "Save" });
3776
3807
  this.cancelButton = page.getByRole("button", { name: "Cancel" });
@@ -3791,20 +3822,20 @@ class CustomerGroupCreate {
3791
3822
  }
3792
3823
  }
3793
3824
 
3794
- var __defProp$k = Object.defineProperty;
3795
- var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3796
- var __publicField$k = (obj, key, value) => {
3797
- __defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
3825
+ var __defProp$m = Object.defineProperty;
3826
+ var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3827
+ var __publicField$m = (obj, key, value) => {
3828
+ __defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
3798
3829
  return value;
3799
3830
  };
3800
3831
  class CustomerGroupDetail extends CustomerGroupCreate {
3801
3832
  constructor(page) {
3802
3833
  super(page);
3803
3834
  this.page = page;
3804
- __publicField$k(this, "headline");
3805
- __publicField$k(this, "selectedSalesChannel");
3806
- __publicField$k(this, "technicalUrl");
3807
- __publicField$k(this, "saleschannelUrl");
3835
+ __publicField$m(this, "headline");
3836
+ __publicField$m(this, "selectedSalesChannel");
3837
+ __publicField$m(this, "technicalUrl");
3838
+ __publicField$m(this, "saleschannelUrl");
3808
3839
  this.headline = page.locator(".smart-bar__header");
3809
3840
  this.selectedSalesChannel = page.locator(".sw-select-selection-list");
3810
3841
  this.technicalUrl = page.getByLabel("Technical URL");
@@ -3815,53 +3846,53 @@ class CustomerGroupDetail extends CustomerGroupCreate {
3815
3846
  }
3816
3847
  }
3817
3848
 
3818
- var __defProp$j = Object.defineProperty;
3819
- var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3820
- var __publicField$j = (obj, key, value) => {
3821
- __defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
3849
+ var __defProp$l = Object.defineProperty;
3850
+ var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3851
+ var __publicField$l = (obj, key, value) => {
3852
+ __defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
3822
3853
  return value;
3823
3854
  };
3824
3855
  class FirstRunWizard {
3825
3856
  constructor(page) {
3826
3857
  this.page = page;
3827
- __publicField$j(this, "nextButton");
3828
- __publicField$j(this, "configureLaterButton");
3829
- __publicField$j(this, "skipButton");
3830
- __publicField$j(this, "finishButton");
3831
- __publicField$j(this, "backButton");
3832
- __publicField$j(this, "smtpServerButton");
3833
- __publicField$j(this, "dataImportHeader");
3834
- __publicField$j(this, "installLanguagePackButton");
3835
- __publicField$j(this, "installDemoDataButton");
3836
- __publicField$j(this, "installMigrationAssistantButton");
3837
- __publicField$j(this, "defaultValuesHeader");
3838
- __publicField$j(this, "mailerConfigurationHeader");
3839
- __publicField$j(this, "payPalSetupHeader");
3840
- __publicField$j(this, "extensionsHeader");
3841
- __publicField$j(this, "shopwareAccountHeader");
3842
- __publicField$j(this, "shopwareStoreHeader");
3843
- __publicField$j(this, "doneHeader");
3844
- __publicField$j(this, "frwSuccessText");
3845
- __publicField$j(this, "welcomeText");
3846
- __publicField$j(this, "pluginCardInfo");
3847
- __publicField$j(this, "dataImportCard");
3848
- __publicField$j(this, "salesChannelSelectionList");
3849
- __publicField$j(this, "salesChannelSelectionMultiSelect");
3850
- __publicField$j(this, "smtpServerTitle");
3851
- __publicField$j(this, "smtpServerFields");
3852
- __publicField$j(this, "payPalPaymethods");
3853
- __publicField$j(this, "payPalInfoCard");
3854
- __publicField$j(this, "emailAddressInputField");
3855
- __publicField$j(this, "passwordInputField");
3856
- __publicField$j(this, "forgotPasswordLink");
3857
- __publicField$j(this, "extensionStoreHeading");
3858
- __publicField$j(this, "documentationLink");
3859
- __publicField$j(this, "forumLink");
3860
- __publicField$j(this, "roadmapLink");
3861
- __publicField$j(this, "germanRegionSelector");
3862
- __publicField$j(this, "toolsSelector");
3863
- __publicField$j(this, "recommendationHeader");
3864
- __publicField$j(this, "toolsRecommendedPlugin");
3858
+ __publicField$l(this, "nextButton");
3859
+ __publicField$l(this, "configureLaterButton");
3860
+ __publicField$l(this, "skipButton");
3861
+ __publicField$l(this, "finishButton");
3862
+ __publicField$l(this, "backButton");
3863
+ __publicField$l(this, "smtpServerButton");
3864
+ __publicField$l(this, "dataImportHeader");
3865
+ __publicField$l(this, "installLanguagePackButton");
3866
+ __publicField$l(this, "installDemoDataButton");
3867
+ __publicField$l(this, "installMigrationAssistantButton");
3868
+ __publicField$l(this, "defaultValuesHeader");
3869
+ __publicField$l(this, "mailerConfigurationHeader");
3870
+ __publicField$l(this, "payPalSetupHeader");
3871
+ __publicField$l(this, "extensionsHeader");
3872
+ __publicField$l(this, "shopwareAccountHeader");
3873
+ __publicField$l(this, "shopwareStoreHeader");
3874
+ __publicField$l(this, "doneHeader");
3875
+ __publicField$l(this, "frwSuccessText");
3876
+ __publicField$l(this, "welcomeText");
3877
+ __publicField$l(this, "pluginCardInfo");
3878
+ __publicField$l(this, "dataImportCard");
3879
+ __publicField$l(this, "salesChannelSelectionList");
3880
+ __publicField$l(this, "salesChannelSelectionMultiSelect");
3881
+ __publicField$l(this, "smtpServerTitle");
3882
+ __publicField$l(this, "smtpServerFields");
3883
+ __publicField$l(this, "payPalPaymethods");
3884
+ __publicField$l(this, "payPalInfoCard");
3885
+ __publicField$l(this, "emailAddressInputField");
3886
+ __publicField$l(this, "passwordInputField");
3887
+ __publicField$l(this, "forgotPasswordLink");
3888
+ __publicField$l(this, "extensionStoreHeading");
3889
+ __publicField$l(this, "documentationLink");
3890
+ __publicField$l(this, "forumLink");
3891
+ __publicField$l(this, "roadmapLink");
3892
+ __publicField$l(this, "germanRegionSelector");
3893
+ __publicField$l(this, "toolsSelector");
3894
+ __publicField$l(this, "recommendationHeader");
3895
+ __publicField$l(this, "toolsRecommendedPlugin");
3865
3896
  this.nextButton = page.getByText("Next", { exact: true });
3866
3897
  this.configureLaterButton = page.getByText("Configure later", { exact: true });
3867
3898
  this.skipButton = page.getByText("Skip", { exact: true });
@@ -3906,17 +3937,17 @@ class FirstRunWizard {
3906
3937
  }
3907
3938
  }
3908
3939
 
3909
- var __defProp$i = Object.defineProperty;
3910
- var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3911
- var __publicField$i = (obj, key, value) => {
3912
- __defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
3940
+ var __defProp$k = Object.defineProperty;
3941
+ var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3942
+ var __publicField$k = (obj, key, value) => {
3943
+ __defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
3913
3944
  return value;
3914
3945
  };
3915
3946
  class FlowBuilderCreate {
3916
3947
  constructor(page) {
3917
3948
  this.page = page;
3918
- __publicField$i(this, "saveButton");
3919
- __publicField$i(this, "header");
3949
+ __publicField$k(this, "saveButton");
3950
+ __publicField$k(this, "header");
3920
3951
  this.saveButton = page.locator(".sw-flow-detail__save");
3921
3952
  this.header = page.locator("h2");
3922
3953
  }
@@ -3925,28 +3956,28 @@ class FlowBuilderCreate {
3925
3956
  }
3926
3957
  }
3927
3958
 
3928
- var __defProp$h = Object.defineProperty;
3929
- var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3930
- var __publicField$h = (obj, key, value) => {
3931
- __defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
3959
+ var __defProp$j = Object.defineProperty;
3960
+ var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3961
+ var __publicField$j = (obj, key, value) => {
3962
+ __defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
3932
3963
  return value;
3933
3964
  };
3934
3965
  class FlowBuilderListing {
3935
3966
  constructor(page) {
3936
3967
  this.page = page;
3937
- __publicField$h(this, "createFlowButton");
3938
- __publicField$h(this, "firstFlowName");
3939
- __publicField$h(this, "firstFlowContextButton");
3940
- __publicField$h(this, "flowContextMenu");
3941
- __publicField$h(this, "contextMenuDownload");
3942
- __publicField$h(this, "contextMenuDuplicate");
3943
- __publicField$h(this, "contextMenuEdit");
3944
- __publicField$h(this, "contextMenuDelete");
3945
- __publicField$h(this, "flowDownloadModal");
3946
- __publicField$h(this, "downloadFlowButton");
3947
- __publicField$h(this, "flowDeleteButton");
3948
- __publicField$h(this, "successAlert");
3949
- __publicField$h(this, "successAlertMessage");
3968
+ __publicField$j(this, "createFlowButton");
3969
+ __publicField$j(this, "firstFlowName");
3970
+ __publicField$j(this, "firstFlowContextButton");
3971
+ __publicField$j(this, "flowContextMenu");
3972
+ __publicField$j(this, "contextMenuDownload");
3973
+ __publicField$j(this, "contextMenuDuplicate");
3974
+ __publicField$j(this, "contextMenuEdit");
3975
+ __publicField$j(this, "contextMenuDelete");
3976
+ __publicField$j(this, "flowDownloadModal");
3977
+ __publicField$j(this, "downloadFlowButton");
3978
+ __publicField$j(this, "flowDeleteButton");
3979
+ __publicField$j(this, "successAlert");
3980
+ __publicField$j(this, "successAlertMessage");
3950
3981
  this.createFlowButton = page.locator(".sw-flow-list__create");
3951
3982
  this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
3952
3983
  this.firstFlowContextButton = page.locator(".sw-data-grid__actions-menu").first();
@@ -3983,18 +4014,18 @@ class FlowBuilderListing {
3983
4014
  }
3984
4015
  }
3985
4016
 
3986
- var __defProp$g = Object.defineProperty;
3987
- var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3988
- var __publicField$g = (obj, key, value) => {
3989
- __defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
4017
+ var __defProp$i = Object.defineProperty;
4018
+ var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4019
+ var __publicField$i = (obj, key, value) => {
4020
+ __defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
3990
4021
  return value;
3991
4022
  };
3992
4023
  class FlowBuilderDetail {
3993
4024
  constructor(page) {
3994
4025
  this.page = page;
3995
- __publicField$g(this, "saveButton");
3996
- __publicField$g(this, "generalTab");
3997
- __publicField$g(this, "flowTab");
4026
+ __publicField$i(this, "saveButton");
4027
+ __publicField$i(this, "generalTab");
4028
+ __publicField$i(this, "flowTab");
3998
4029
  this.saveButton = page.locator(".sw-flow-detail__save");
3999
4030
  this.generalTab = page.locator(".sw-flow-detail__tab-general");
4000
4031
  this.flowTab = page.locator(".sw-flow-detail__tab-flow");
@@ -4004,20 +4035,20 @@ class FlowBuilderDetail {
4004
4035
  }
4005
4036
  }
4006
4037
 
4007
- var __defProp$f = Object.defineProperty;
4008
- var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4009
- var __publicField$f = (obj, key, value) => {
4010
- __defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
4038
+ var __defProp$h = Object.defineProperty;
4039
+ var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4040
+ var __publicField$h = (obj, key, value) => {
4041
+ __defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
4011
4042
  return value;
4012
4043
  };
4013
4044
  class DataSharing {
4014
4045
  constructor(page) {
4015
4046
  this.page = page;
4016
- __publicField$f(this, "dataConsentHeadline");
4017
- __publicField$f(this, "dataSharingSuccessMessageLabel");
4018
- __publicField$f(this, "dataSharingAgreeButton");
4019
- __publicField$f(this, "dataSharingDisableButton");
4020
- __publicField$f(this, "dataSharingTermsAgreementLabel");
4047
+ __publicField$h(this, "dataConsentHeadline");
4048
+ __publicField$h(this, "dataSharingSuccessMessageLabel");
4049
+ __publicField$h(this, "dataSharingAgreeButton");
4050
+ __publicField$h(this, "dataSharingDisableButton");
4051
+ __publicField$h(this, "dataSharingTermsAgreementLabel");
4021
4052
  this.dataConsentHeadline = page.locator("h3.sw-usage-data-consent-banner__content-headline");
4022
4053
  this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
4023
4054
  this.dataSharingDisableButton = page.getByRole("button", { name: "Disable data sharing" });
@@ -4029,23 +4060,23 @@ class DataSharing {
4029
4060
  }
4030
4061
  }
4031
4062
 
4032
- var __defProp$e = Object.defineProperty;
4033
- var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4034
- var __publicField$e = (obj, key, value) => {
4035
- __defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
4063
+ var __defProp$g = Object.defineProperty;
4064
+ var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4065
+ var __publicField$g = (obj, key, value) => {
4066
+ __defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
4036
4067
  return value;
4037
4068
  };
4038
4069
  class Dashboard {
4039
4070
  constructor(page) {
4040
4071
  this.page = page;
4041
- __publicField$e(this, "welcomeHeadline");
4042
- __publicField$e(this, "dataSharingConsentBanner");
4043
- __publicField$e(this, "dataSharingAgreeButton");
4044
- __publicField$e(this, "dataSharingNotAtTheMomentButton");
4045
- __publicField$e(this, "dataSharingTermsAgreementLabel");
4046
- __publicField$e(this, "dataSharingSettingsLink");
4047
- __publicField$e(this, "dataSharingAcceptMessageText");
4048
- __publicField$e(this, "dataSharingNotAtTheMomentMessageText");
4072
+ __publicField$g(this, "welcomeHeadline");
4073
+ __publicField$g(this, "dataSharingConsentBanner");
4074
+ __publicField$g(this, "dataSharingAgreeButton");
4075
+ __publicField$g(this, "dataSharingNotAtTheMomentButton");
4076
+ __publicField$g(this, "dataSharingTermsAgreementLabel");
4077
+ __publicField$g(this, "dataSharingSettingsLink");
4078
+ __publicField$g(this, "dataSharingAcceptMessageText");
4079
+ __publicField$g(this, "dataSharingNotAtTheMomentMessageText");
4049
4080
  this.welcomeHeadline = page.locator("h1.sw-dashboard-index__welcome-title");
4050
4081
  this.dataSharingConsentBanner = page.locator(".sw-usage-data-consent-banner");
4051
4082
  this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
@@ -4060,25 +4091,25 @@ class Dashboard {
4060
4091
  }
4061
4092
  }
4062
4093
 
4063
- var __defProp$d = Object.defineProperty;
4064
- var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4065
- var __publicField$d = (obj, key, value) => {
4066
- __defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
4094
+ var __defProp$f = Object.defineProperty;
4095
+ var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4096
+ var __publicField$f = (obj, key, value) => {
4097
+ __defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
4067
4098
  return value;
4068
4099
  };
4069
4100
  class ShippingListing {
4070
4101
  constructor(page) {
4071
4102
  this.page = page;
4072
- __publicField$d(this, "header");
4073
- __publicField$d(this, "addShippingMethod");
4074
- __publicField$d(this, "contextMenu");
4075
- __publicField$d(this, "editButton");
4076
- __publicField$d(this, "deleteButton");
4103
+ __publicField$f(this, "header");
4104
+ __publicField$f(this, "addShippingMethod");
4105
+ __publicField$f(this, "contextMenu");
4106
+ __publicField$f(this, "editButton");
4107
+ __publicField$f(this, "deleteButton");
4077
4108
  //warning modal
4078
- __publicField$d(this, "modal");
4079
- __publicField$d(this, "modalHeader");
4080
- __publicField$d(this, "modalCancelButton");
4081
- __publicField$d(this, "modalDeleteButton");
4109
+ __publicField$f(this, "modal");
4110
+ __publicField$f(this, "modalHeader");
4111
+ __publicField$f(this, "modalCancelButton");
4112
+ __publicField$f(this, "modalDeleteButton");
4082
4113
  this.header = page.locator(".smart-bar__header");
4083
4114
  this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
4084
4115
  this.contextMenu = page.locator(".sw-data-grid-settings__trigger");
@@ -4094,10 +4125,10 @@ class ShippingListing {
4094
4125
  }
4095
4126
  }
4096
4127
 
4097
- var __defProp$c = Object.defineProperty;
4098
- var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4099
- var __publicField$c = (obj, key, value) => {
4100
- __defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
4128
+ var __defProp$e = Object.defineProperty;
4129
+ var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4130
+ var __publicField$e = (obj, key, value) => {
4131
+ __defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
4101
4132
  return value;
4102
4133
  };
4103
4134
  class LandingPageCreate {
@@ -4106,24 +4137,24 @@ class LandingPageCreate {
4106
4137
  /**
4107
4138
  * General
4108
4139
  */
4109
- __publicField$c(this, "nameInput");
4110
- __publicField$c(this, "landingPageStatus");
4111
- __publicField$c(this, "salesChannelSelectionList");
4112
- __publicField$c(this, "filtersResultPopoverItemList");
4113
- __publicField$c(this, "saveLandingPageButton");
4114
- __publicField$c(this, "loadingSpinner");
4115
- __publicField$c(this, "seoUrlInput");
4140
+ __publicField$e(this, "nameInput");
4141
+ __publicField$e(this, "landingPageStatus");
4142
+ __publicField$e(this, "salesChannelSelectionList");
4143
+ __publicField$e(this, "filtersResultPopoverItemList");
4144
+ __publicField$e(this, "saveLandingPageButton");
4145
+ __publicField$e(this, "loadingSpinner");
4146
+ __publicField$e(this, "seoUrlInput");
4116
4147
  /**
4117
4148
  * Layout
4118
4149
  */
4119
- __publicField$c(this, "layoutTab");
4120
- __publicField$c(this, "assignLayoutButton");
4121
- __publicField$c(this, "searchLayoutInput");
4122
- __publicField$c(this, "layoutItems");
4123
- __publicField$c(this, "layoutSaveButton");
4124
- __publicField$c(this, "layoutEmptyState");
4125
- __publicField$c(this, "createNewLayoutButton");
4126
- __publicField$c(this, "layoutCheckboxes");
4150
+ __publicField$e(this, "layoutTab");
4151
+ __publicField$e(this, "assignLayoutButton");
4152
+ __publicField$e(this, "searchLayoutInput");
4153
+ __publicField$e(this, "layoutItems");
4154
+ __publicField$e(this, "layoutSaveButton");
4155
+ __publicField$e(this, "layoutEmptyState");
4156
+ __publicField$e(this, "createNewLayoutButton");
4157
+ __publicField$e(this, "layoutCheckboxes");
4127
4158
  this.loadingSpinner = page.locator(".sw-loader");
4128
4159
  this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
4129
4160
  this.nameInput = page.getByLabel("Name");
@@ -4148,10 +4179,10 @@ class LandingPageCreate {
4148
4179
  }
4149
4180
  }
4150
4181
 
4151
- var __defProp$b = Object.defineProperty;
4152
- var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4153
- var __publicField$b = (obj, key, value) => {
4154
- __defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
4182
+ var __defProp$d = Object.defineProperty;
4183
+ var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4184
+ var __publicField$d = (obj, key, value) => {
4185
+ __defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
4155
4186
  return value;
4156
4187
  };
4157
4188
  class LandingPageDetail {
@@ -4160,24 +4191,24 @@ class LandingPageDetail {
4160
4191
  /**
4161
4192
  * General
4162
4193
  */
4163
- __publicField$b(this, "nameInput");
4164
- __publicField$b(this, "landingPageStatus");
4165
- __publicField$b(this, "salesChannelSelectionList");
4166
- __publicField$b(this, "filtersResultPopoverItemList");
4167
- __publicField$b(this, "saveLandingPageButton");
4168
- __publicField$b(this, "loadingSpinner");
4169
- __publicField$b(this, "seoUrlInput");
4194
+ __publicField$d(this, "nameInput");
4195
+ __publicField$d(this, "landingPageStatus");
4196
+ __publicField$d(this, "salesChannelSelectionList");
4197
+ __publicField$d(this, "filtersResultPopoverItemList");
4198
+ __publicField$d(this, "saveLandingPageButton");
4199
+ __publicField$d(this, "loadingSpinner");
4200
+ __publicField$d(this, "seoUrlInput");
4170
4201
  /**
4171
4202
  * Layout
4172
4203
  */
4173
- __publicField$b(this, "layoutTab");
4174
- __publicField$b(this, "layoutAssignmentCardTitle");
4175
- __publicField$b(this, "layoutAssignmentCardHeadline");
4176
- __publicField$b(this, "changeLayoutButton");
4177
- __publicField$b(this, "editInDesignerButton");
4178
- __publicField$b(this, "layoutResetButton");
4179
- __publicField$b(this, "layoutAssignmentStatus");
4180
- __publicField$b(this, "layoutAssignmentContentSection");
4204
+ __publicField$d(this, "layoutTab");
4205
+ __publicField$d(this, "layoutAssignmentCardTitle");
4206
+ __publicField$d(this, "layoutAssignmentCardHeadline");
4207
+ __publicField$d(this, "changeLayoutButton");
4208
+ __publicField$d(this, "editInDesignerButton");
4209
+ __publicField$d(this, "layoutResetButton");
4210
+ __publicField$d(this, "layoutAssignmentStatus");
4211
+ __publicField$d(this, "layoutAssignmentContentSection");
4181
4212
  this.loadingSpinner = page.locator(".sw-loader");
4182
4213
  this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
4183
4214
  this.nameInput = page.getByLabel("Name");
@@ -4201,10 +4232,10 @@ class LandingPageDetail {
4201
4232
  }
4202
4233
  }
4203
4234
 
4204
- var __defProp$a = Object.defineProperty;
4205
- var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4206
- var __publicField$a = (obj, key, value) => {
4207
- __defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
4235
+ var __defProp$c = Object.defineProperty;
4236
+ var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4237
+ var __publicField$c = (obj, key, value) => {
4238
+ __defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
4208
4239
  return value;
4209
4240
  };
4210
4241
  class Categories {
@@ -4213,42 +4244,42 @@ class Categories {
4213
4244
  /**
4214
4245
  * Landing pages
4215
4246
  */
4216
- __publicField$a(this, "landingPageArea");
4217
- __publicField$a(this, "landingPageHeadline");
4218
- __publicField$a(this, "addLandingPageButton");
4219
- __publicField$a(this, "landingPageItems");
4247
+ __publicField$c(this, "landingPageArea");
4248
+ __publicField$c(this, "landingPageHeadline");
4249
+ __publicField$c(this, "addLandingPageButton");
4250
+ __publicField$c(this, "landingPageItems");
4220
4251
  /**
4221
4252
  * Category tree
4222
4253
  */
4223
- __publicField$a(this, "categoryTree");
4224
- __publicField$a(this, "homeCategory");
4225
- __publicField$a(this, "homeCategoryContextButton");
4226
- __publicField$a(this, "categoryMenuItemList");
4227
- __publicField$a(this, "createCategoryInput");
4228
- __publicField$a(this, "confirmCategoryCreationButton");
4229
- __publicField$a(this, "confirmCategoryCancelButton");
4230
- __publicField$a(this, "categoryItems");
4254
+ __publicField$c(this, "categoryTree");
4255
+ __publicField$c(this, "homeCategory");
4256
+ __publicField$c(this, "homeCategoryContextButton");
4257
+ __publicField$c(this, "categoryMenuItemList");
4258
+ __publicField$c(this, "createCategoryInput");
4259
+ __publicField$c(this, "confirmCategoryCreationButton");
4260
+ __publicField$c(this, "confirmCategoryCancelButton");
4261
+ __publicField$c(this, "categoryItems");
4231
4262
  /**
4232
4263
  * General
4233
4264
  */
4234
- __publicField$a(this, "nameInput");
4235
- __publicField$a(this, "activeCheckbox");
4236
- __publicField$a(this, "categoryTypeSelectionList");
4237
- __publicField$a(this, "filtersResultPopoverItemList");
4238
- __publicField$a(this, "saveButton");
4239
- __publicField$a(this, "loadingSpinner");
4240
- __publicField$a(this, "fadingBar");
4265
+ __publicField$c(this, "nameInput");
4266
+ __publicField$c(this, "activeCheckbox");
4267
+ __publicField$c(this, "categoryTypeSelectionList");
4268
+ __publicField$c(this, "filtersResultPopoverItemList");
4269
+ __publicField$c(this, "saveButton");
4270
+ __publicField$c(this, "loadingSpinner");
4271
+ __publicField$c(this, "fadingBar");
4241
4272
  /**
4242
4273
  * Customisable link
4243
4274
  */
4244
- __publicField$a(this, "entitySelectionList");
4245
- __publicField$a(this, "linkTypeSelectionList");
4246
- __publicField$a(this, "categorySelectionList");
4247
- __publicField$a(this, "productSelectionList");
4248
- __publicField$a(this, "landingPageSelectionList");
4249
- __publicField$a(this, "filterResultPopoverTreeCheckboxItemList");
4250
- __publicField$a(this, "openInNewTabCheckbox");
4251
- __publicField$a(this, "popoverCategoryTree");
4275
+ __publicField$c(this, "entitySelectionList");
4276
+ __publicField$c(this, "linkTypeSelectionList");
4277
+ __publicField$c(this, "categorySelectionList");
4278
+ __publicField$c(this, "productSelectionList");
4279
+ __publicField$c(this, "landingPageSelectionList");
4280
+ __publicField$c(this, "filterResultPopoverTreeCheckboxItemList");
4281
+ __publicField$c(this, "openInNewTabCheckbox");
4282
+ __publicField$c(this, "popoverCategoryTree");
4252
4283
  this.landingPageArea = page.locator(".sw-category-detail__landing-page-collapse");
4253
4284
  this.landingPageHeadline = this.landingPageArea.getByRole("heading", { name: "Landing pages" });
4254
4285
  this.addLandingPageButton = this.landingPageArea.getByText("Add landing page");
@@ -4288,20 +4319,20 @@ class Categories {
4288
4319
  }
4289
4320
  }
4290
4321
 
4291
- var __defProp$9 = Object.defineProperty;
4292
- var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4293
- var __publicField$9 = (obj, key, value) => {
4294
- __defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
4322
+ var __defProp$b = Object.defineProperty;
4323
+ var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4324
+ var __publicField$b = (obj, key, value) => {
4325
+ __defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
4295
4326
  return value;
4296
4327
  };
4297
4328
  class RuleDetail {
4298
4329
  constructor(page) {
4299
4330
  this.page = page;
4300
- __publicField$9(this, "nameInput");
4301
- __publicField$9(this, "priorityInput");
4302
- __publicField$9(this, "conditionTypeSelectionInput");
4303
- __publicField$9(this, "conditionValueSelectionInput");
4304
- __publicField$9(this, "filtersResultPopoverSelectionList");
4331
+ __publicField$b(this, "nameInput");
4332
+ __publicField$b(this, "priorityInput");
4333
+ __publicField$b(this, "conditionTypeSelectionInput");
4334
+ __publicField$b(this, "conditionValueSelectionInput");
4335
+ __publicField$b(this, "filtersResultPopoverSelectionList");
4305
4336
  this.nameInput = page.getByLabel("Name");
4306
4337
  this.priorityInput = page.getByLabel("Priority");
4307
4338
  this.conditionTypeSelectionInput = page.locator(".sw-condition-type-select").locator(".sw-single-select__selection");
@@ -4313,17 +4344,17 @@ class RuleDetail {
4313
4344
  }
4314
4345
  }
4315
4346
 
4316
- var __defProp$8 = Object.defineProperty;
4317
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4318
- var __publicField$8 = (obj, key, value) => {
4319
- __defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
4347
+ var __defProp$a = Object.defineProperty;
4348
+ var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4349
+ var __publicField$a = (obj, key, value) => {
4350
+ __defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
4320
4351
  return value;
4321
4352
  };
4322
4353
  class CustomFieldListing {
4323
4354
  constructor(page) {
4324
4355
  this.page = page;
4325
- __publicField$8(this, "addNewSetButton");
4326
- __publicField$8(this, "customFieldRows");
4356
+ __publicField$a(this, "addNewSetButton");
4357
+ __publicField$a(this, "customFieldRows");
4327
4358
  this.addNewSetButton = page.getByText("Add new set");
4328
4359
  this.customFieldRows = page.getByRole("row");
4329
4360
  }
@@ -4351,22 +4382,22 @@ class CustomFieldListing {
4351
4382
  }
4352
4383
  }
4353
4384
 
4354
- var __defProp$7 = Object.defineProperty;
4355
- var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4356
- var __publicField$7 = (obj, key, value) => {
4357
- __defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
4385
+ var __defProp$9 = Object.defineProperty;
4386
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4387
+ var __publicField$9 = (obj, key, value) => {
4388
+ __defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
4358
4389
  return value;
4359
4390
  };
4360
4391
  class CustomFieldCreate {
4361
4392
  constructor(page) {
4362
4393
  this.page = page;
4363
- __publicField$7(this, "saveButton");
4364
- __publicField$7(this, "cancelButton");
4365
- __publicField$7(this, "technicalNameInput");
4366
- __publicField$7(this, "positionInput");
4367
- __publicField$7(this, "labelEnglishGBInput");
4368
- __publicField$7(this, "assignToSelectionList");
4369
- __publicField$7(this, "resultAssignToPopoverItemList");
4394
+ __publicField$9(this, "saveButton");
4395
+ __publicField$9(this, "cancelButton");
4396
+ __publicField$9(this, "technicalNameInput");
4397
+ __publicField$9(this, "positionInput");
4398
+ __publicField$9(this, "labelEnglishGBInput");
4399
+ __publicField$9(this, "assignToSelectionList");
4400
+ __publicField$9(this, "resultAssignToPopoverItemList");
4370
4401
  this.saveButton = page.getByRole("button", { name: "Save" });
4371
4402
  this.cancelButton = page.getByRole("button", { name: "Cancel" });
4372
4403
  this.technicalNameInput = page.getByLabel("Technical name");
@@ -4380,33 +4411,33 @@ class CustomFieldCreate {
4380
4411
  }
4381
4412
  }
4382
4413
 
4383
- var __defProp$6 = Object.defineProperty;
4384
- var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4385
- var __publicField$6 = (obj, key, value) => {
4386
- __defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
4414
+ var __defProp$8 = Object.defineProperty;
4415
+ var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4416
+ var __publicField$8 = (obj, key, value) => {
4417
+ __defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
4387
4418
  return value;
4388
4419
  };
4389
4420
  class CustomFieldDetail extends CustomFieldCreate {
4390
4421
  constructor(page) {
4391
4422
  super(page);
4392
4423
  this.page = page;
4393
- __publicField$6(this, "newCustomFieldButton");
4394
- __publicField$6(this, "customFieldEditDialog");
4395
- __publicField$6(this, "newCustomFieldDialog");
4396
- __publicField$6(this, "customFieldTechnicalNameInput");
4397
- __publicField$6(this, "customFieldPositionInput");
4398
- __publicField$6(this, "customFieldTypeSelectionList");
4399
- __publicField$6(this, "customFieldModifyByStoreApiCheckbox");
4400
- __publicField$6(this, "customFieldCancelButton");
4401
- __publicField$6(this, "customFieldAddButton");
4402
- __publicField$6(this, "customFieldEditApplyButton");
4403
- __publicField$6(this, "customFieldLabelEnglishGBInput");
4404
- __publicField$6(this, "customFieldPlaceholderEnglishGBInput");
4405
- __publicField$6(this, "customFieldHelpTextEnglishGBInput");
4406
- __publicField$6(this, "customFieldDeleteListButton");
4407
- __publicField$6(this, "customFieldDeleteDialog");
4408
- __publicField$6(this, "customFieldDeleteCancelButton");
4409
- __publicField$6(this, "customFieldDeleteButton");
4424
+ __publicField$8(this, "newCustomFieldButton");
4425
+ __publicField$8(this, "customFieldEditDialog");
4426
+ __publicField$8(this, "newCustomFieldDialog");
4427
+ __publicField$8(this, "customFieldTechnicalNameInput");
4428
+ __publicField$8(this, "customFieldPositionInput");
4429
+ __publicField$8(this, "customFieldTypeSelectionList");
4430
+ __publicField$8(this, "customFieldModifyByStoreApiCheckbox");
4431
+ __publicField$8(this, "customFieldCancelButton");
4432
+ __publicField$8(this, "customFieldAddButton");
4433
+ __publicField$8(this, "customFieldEditApplyButton");
4434
+ __publicField$8(this, "customFieldLabelEnglishGBInput");
4435
+ __publicField$8(this, "customFieldPlaceholderEnglishGBInput");
4436
+ __publicField$8(this, "customFieldHelpTextEnglishGBInput");
4437
+ __publicField$8(this, "customFieldDeleteListButton");
4438
+ __publicField$8(this, "customFieldDeleteDialog");
4439
+ __publicField$8(this, "customFieldDeleteCancelButton");
4440
+ __publicField$8(this, "customFieldDeleteButton");
4410
4441
  this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
4411
4442
  this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
4412
4443
  this.newCustomFieldDialog = page.getByRole("dialog", { name: "New custom field" });
@@ -4451,20 +4482,20 @@ class CustomFieldDetail extends CustomFieldCreate {
4451
4482
  }
4452
4483
  }
4453
4484
 
4454
- var __defProp$5 = Object.defineProperty;
4455
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4456
- var __publicField$5 = (obj, key, value) => {
4457
- __defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
4485
+ var __defProp$7 = Object.defineProperty;
4486
+ var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4487
+ var __publicField$7 = (obj, key, value) => {
4488
+ __defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
4458
4489
  return value;
4459
4490
  };
4460
4491
  class CategoryDetail {
4461
4492
  constructor(page) {
4462
4493
  this.page = page;
4463
- __publicField$5(this, "saveButton");
4464
- __publicField$5(this, "cancelButton");
4465
- __publicField$5(this, "customFieldCard");
4466
- __publicField$5(this, "customFieldSetTabs");
4467
- __publicField$5(this, "customFieldSetTabCustomContent");
4494
+ __publicField$7(this, "saveButton");
4495
+ __publicField$7(this, "cancelButton");
4496
+ __publicField$7(this, "customFieldCard");
4497
+ __publicField$7(this, "customFieldSetTabs");
4498
+ __publicField$7(this, "customFieldSetTabCustomContent");
4468
4499
  this.saveButton = page.getByRole("button", { name: "Save" });
4469
4500
  this.cancelButton = page.getByRole("button", { name: "Cancel" });
4470
4501
  this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
@@ -4485,22 +4516,22 @@ class CategoryDetail {
4485
4516
  }
4486
4517
  }
4487
4518
 
4488
- var __defProp$4 = Object.defineProperty;
4489
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4490
- var __publicField$4 = (obj, key, value) => {
4491
- __defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
4519
+ var __defProp$6 = Object.defineProperty;
4520
+ var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4521
+ var __publicField$6 = (obj, key, value) => {
4522
+ __defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
4492
4523
  return value;
4493
4524
  };
4494
4525
  class RuleCreate {
4495
4526
  constructor(page) {
4496
4527
  this.page = page;
4497
- __publicField$4(this, "nameInput");
4498
- __publicField$4(this, "priorityInput");
4499
- __publicField$4(this, "conditionTypeSelectionInput");
4500
- __publicField$4(this, "conditionValueSelectionInput");
4501
- __publicField$4(this, "filtersResultPopoverSelectionList");
4502
- __publicField$4(this, "saveButton");
4503
- __publicField$4(this, "cancelButton");
4528
+ __publicField$6(this, "nameInput");
4529
+ __publicField$6(this, "priorityInput");
4530
+ __publicField$6(this, "conditionTypeSelectionInput");
4531
+ __publicField$6(this, "conditionValueSelectionInput");
4532
+ __publicField$6(this, "filtersResultPopoverSelectionList");
4533
+ __publicField$6(this, "saveButton");
4534
+ __publicField$6(this, "cancelButton");
4504
4535
  this.nameInput = page.getByLabel("Name");
4505
4536
  this.priorityInput = page.getByLabel("Priority");
4506
4537
  this.conditionTypeSelectionInput = page.locator(".sw-condition-type-select").locator(".sw-single-select__selection");
@@ -4514,20 +4545,20 @@ class RuleCreate {
4514
4545
  }
4515
4546
  }
4516
4547
 
4517
- var __defProp$3 = Object.defineProperty;
4518
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4519
- var __publicField$3 = (obj, key, value) => {
4520
- __defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
4548
+ var __defProp$5 = Object.defineProperty;
4549
+ var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4550
+ var __publicField$5 = (obj, key, value) => {
4551
+ __defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
4521
4552
  return value;
4522
4553
  };
4523
4554
  class ManufacturerCreate {
4524
4555
  constructor(page) {
4525
4556
  this.page = page;
4526
- __publicField$3(this, "saveButton");
4527
- __publicField$3(this, "cancelButton");
4528
- __publicField$3(this, "nameInput");
4529
- __publicField$3(this, "websiteInput");
4530
- __publicField$3(this, "descriptionInput");
4557
+ __publicField$5(this, "saveButton");
4558
+ __publicField$5(this, "cancelButton");
4559
+ __publicField$5(this, "nameInput");
4560
+ __publicField$5(this, "websiteInput");
4561
+ __publicField$5(this, "descriptionInput");
4531
4562
  this.saveButton = page.getByRole("button", { name: "Save" });
4532
4563
  this.cancelButton = page.getByRole("button", { name: "Cancel" });
4533
4564
  this.nameInput = page.getByLabel("Name");
@@ -4539,17 +4570,17 @@ class ManufacturerCreate {
4539
4570
  }
4540
4571
  }
4541
4572
 
4542
- var __defProp$2 = Object.defineProperty;
4543
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4544
- var __publicField$2 = (obj, key, value) => {
4545
- __defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
4573
+ var __defProp$4 = Object.defineProperty;
4574
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4575
+ var __publicField$4 = (obj, key, value) => {
4576
+ __defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
4546
4577
  return value;
4547
4578
  };
4548
4579
  class ManufacturerListing {
4549
4580
  constructor(page) {
4550
4581
  this.page = page;
4551
- __publicField$2(this, "addManufacturerButton");
4552
- __publicField$2(this, "manufacturerRows");
4582
+ __publicField$4(this, "addManufacturerButton");
4583
+ __publicField$4(this, "manufacturerRows");
4553
4584
  this.addManufacturerButton = page.getByText("Add manufacturer");
4554
4585
  this.manufacturerRows = page.getByRole("row");
4555
4586
  }
@@ -4581,19 +4612,19 @@ class ManufacturerListing {
4581
4612
  }
4582
4613
  }
4583
4614
 
4584
- var __defProp$1 = Object.defineProperty;
4585
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4586
- var __publicField$1 = (obj, key, value) => {
4587
- __defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
4615
+ var __defProp$3 = Object.defineProperty;
4616
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4617
+ var __publicField$3 = (obj, key, value) => {
4618
+ __defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
4588
4619
  return value;
4589
4620
  };
4590
4621
  class ManufacturerDetail extends ManufacturerCreate {
4591
4622
  constructor(page) {
4592
4623
  super(page);
4593
4624
  this.page = page;
4594
- __publicField$1(this, "customFieldCard");
4595
- __publicField$1(this, "customFieldSetTabs");
4596
- __publicField$1(this, "customFieldSetTabCustomContent");
4625
+ __publicField$3(this, "customFieldCard");
4626
+ __publicField$3(this, "customFieldSetTabs");
4627
+ __publicField$3(this, "customFieldSetTabCustomContent");
4597
4628
  this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
4598
4629
  this.customFieldSetTabs = this.customFieldCard.locator(".sw-tabs-item");
4599
4630
  this.customFieldSetTabCustomContent = this.customFieldCard.locator(".sw-tabs__custom-content");
@@ -4612,6 +4643,178 @@ class ManufacturerDetail extends ManufacturerCreate {
4612
4643
  }
4613
4644
  }
4614
4645
 
4646
+ var __defProp$2 = Object.defineProperty;
4647
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4648
+ var __publicField$2 = (obj, key, value) => {
4649
+ __defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
4650
+ return value;
4651
+ };
4652
+ class ProductListing {
4653
+ constructor(page) {
4654
+ this.page = page;
4655
+ /**
4656
+ * Multi selection
4657
+ */
4658
+ __publicField$2(this, "productsTable");
4659
+ __publicField$2(this, "bulkEditButton");
4660
+ /**
4661
+ * Bulk edit modal
4662
+ */
4663
+ __publicField$2(this, "bulkEditModal");
4664
+ __publicField$2(this, "startBulkEditButton");
4665
+ this.productsTable = page.locator(".sw-data-grid__table");
4666
+ this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
4667
+ this.bulkEditModal = page.locator(".sw-product-bulk-edit-modal");
4668
+ this.startBulkEditButton = this.bulkEditModal.getByRole("button", { name: "Start bulk edit" });
4669
+ }
4670
+ /**
4671
+ * Returns the url to the listing page.
4672
+ *
4673
+ * @param searchTerms - Includes search terms for filtering of the product list.
4674
+ */
4675
+ url(searchTerms = []) {
4676
+ let url = "#/sw/product/index";
4677
+ if (searchTerms.length > 0) {
4678
+ let tempTerm = "";
4679
+ for (const searchTerm of searchTerms) {
4680
+ if (tempTerm != "") {
4681
+ tempTerm += "+";
4682
+ }
4683
+ tempTerm += searchTerm;
4684
+ }
4685
+ url += `?limit=25&page=1&term=${tempTerm}`;
4686
+ }
4687
+ return url;
4688
+ }
4689
+ /**
4690
+ * Returns the table row containing the product with the given product number.
4691
+ *
4692
+ * @param productNumber - Product number you are looking for.
4693
+ */
4694
+ async getProductRow(productNumber) {
4695
+ const productTableRow = this.productsTable.locator(".sw-data-grid__row", { hasText: productNumber });
4696
+ const productNameSelector = ".sw-data-grid__cell--name";
4697
+ const productNumberSelector = ".sw-data-grid__cell--productNumber";
4698
+ const productManufacturerSelector = ".sw-data-grid__cell--manufacturer-name";
4699
+ const productActiveSelector = "sw-icon__regular-checkmark-xs";
4700
+ const productInactiveSelector = "sw-icon__regular-times-s";
4701
+ const productPriceSelector = ".sw-data-grid__cell--price-EUR";
4702
+ return {
4703
+ selectionCheckbox: productTableRow.getByRole("checkbox"),
4704
+ productName: productTableRow.locator(productNameSelector),
4705
+ productNumber: productTableRow.locator(productNumberSelector),
4706
+ productManufacturer: productTableRow.locator(productManufacturerSelector),
4707
+ productActive: productTableRow.getByTestId(productActiveSelector),
4708
+ productInactive: productTableRow.getByTestId(productInactiveSelector),
4709
+ productPrice: productTableRow.locator(productPriceSelector)
4710
+ };
4711
+ }
4712
+ }
4713
+
4714
+ var __defProp$1 = Object.defineProperty;
4715
+ var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4716
+ var __publicField$1 = (obj, key, value) => {
4717
+ __defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
4718
+ return value;
4719
+ };
4720
+ class ProductBulkEdit {
4721
+ constructor(page) {
4722
+ this.page = page;
4723
+ /**
4724
+ * Bulk edit values
4725
+ */
4726
+ __publicField$1(this, "changeManufacturerRow");
4727
+ __publicField$1(this, "changeManufacturerCheckbox");
4728
+ __publicField$1(this, "manufacturerDropdown");
4729
+ __publicField$1(this, "manufacturerDropdownInput");
4730
+ __publicField$1(this, "manufacturerListResult");
4731
+ __publicField$1(this, "changeActiveRow");
4732
+ __publicField$1(this, "changeActiveCheckbox");
4733
+ __publicField$1(this, "activeToggle");
4734
+ __publicField$1(this, "changePriceRow");
4735
+ __publicField$1(this, "changePriceCheckbox");
4736
+ __publicField$1(this, "grossPriceInput");
4737
+ __publicField$1(this, "changeReleaseDateRow");
4738
+ __publicField$1(this, "changeReleaseDateCheckbox");
4739
+ __publicField$1(this, "releaseDateInput");
4740
+ __publicField$1(this, "changeStockRow");
4741
+ __publicField$1(this, "changeStockCheckbox");
4742
+ __publicField$1(this, "stockChangeMethodDropdown");
4743
+ __publicField$1(this, "stockChangeMethodInput");
4744
+ __publicField$1(this, "stockInput");
4745
+ __publicField$1(this, "changeRestockTimeRow");
4746
+ __publicField$1(this, "changeRestockTimeCheckbox");
4747
+ __publicField$1(this, "restockTimeChangeMethodDropdown");
4748
+ __publicField$1(this, "restockTimeChangeMethodInput");
4749
+ __publicField$1(this, "restockTimeInput");
4750
+ __publicField$1(this, "changeTagsRow");
4751
+ __publicField$1(this, "changeTagsCheckbox");
4752
+ __publicField$1(this, "tagsChangeMethodDropdown");
4753
+ __publicField$1(this, "tagsChangeMethodInput");
4754
+ __publicField$1(this, "tagsInput");
4755
+ __publicField$1(this, "changeSalesChannelRow");
4756
+ __publicField$1(this, "changeSalesChannelCheckbox");
4757
+ __publicField$1(this, "salesChannelChangeMethodDropdown");
4758
+ __publicField$1(this, "salesChannelChangeMethodInput");
4759
+ __publicField$1(this, "salesChannelInput");
4760
+ __publicField$1(this, "applyChangesButton");
4761
+ /**
4762
+ * Confirmation modal
4763
+ */
4764
+ __publicField$1(this, "confirmModal");
4765
+ __publicField$1(this, "confirmModalApplyChangesButton");
4766
+ __publicField$1(this, "confirmModalLoadingSpinner");
4767
+ __publicField$1(this, "confirmModalSuccessHeader");
4768
+ __publicField$1(this, "confirmModalSuccessCloseButton");
4769
+ this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
4770
+ this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
4771
+ this.manufacturerDropdown = this.changeManufacturerRow.locator(".sw-select__selection");
4772
+ this.manufacturerDropdownInput = this.changeManufacturerRow.getByPlaceholder("Select manufacturer...");
4773
+ this.manufacturerListResult = this.changeManufacturerRow.getByRole("list");
4774
+ this.changeActiveRow = page.locator(".sw-bulk-edit-change-field-active");
4775
+ this.changeActiveCheckbox = this.changeActiveRow.getByRole("checkbox").first();
4776
+ this.activeToggle = this.changeActiveRow.getByRole("checkbox").last();
4777
+ this.changePriceRow = page.locator(".sw-bulk-edit-change-field-price");
4778
+ this.changePriceCheckbox = this.changePriceRow.getByRole("checkbox");
4779
+ this.grossPriceInput = this.changePriceRow.getByPlaceholder("Enter gross price...");
4780
+ this.changeReleaseDateRow = page.locator(".sw-bulk-edit-change-field-releaseDate");
4781
+ this.changeReleaseDateCheckbox = this.changeReleaseDateRow.getByRole("checkbox");
4782
+ this.releaseDateInput = this.changeReleaseDateRow.getByPlaceholder("Y-m-d H:i").last();
4783
+ this.changeStockRow = page.locator(".sw-bulk-edit-change-field-stock");
4784
+ this.changeStockCheckbox = this.changeStockRow.getByRole("checkbox");
4785
+ this.stockChangeMethodDropdown = this.changeStockRow.locator(".sw-single-select__selection-text");
4786
+ this.stockChangeMethodInput = this.changeStockRow.locator(".sw-single-select__selection-input");
4787
+ this.stockInput = this.changeStockRow.getByPlaceholder("Enter quantity in stock...");
4788
+ this.changeRestockTimeRow = page.locator(".sw-bulk-edit-change-field-restockTime");
4789
+ this.changeRestockTimeCheckbox = this.changeRestockTimeRow.getByRole("checkbox");
4790
+ this.restockTimeChangeMethodDropdown = this.changeRestockTimeRow.locator(".sw-single-select__selection-text");
4791
+ this.restockTimeChangeMethodInput = this.changeRestockTimeRow.locator(".sw-single-select__selection-input");
4792
+ this.restockTimeInput = this.changeRestockTimeRow.getByPlaceholder("Enter restock time in days...");
4793
+ this.changeTagsRow = page.locator(".sw-bulk-edit-change-field-tags");
4794
+ this.changeTagsCheckbox = this.changeTagsRow.getByRole("checkbox");
4795
+ this.tagsChangeMethodDropdown = this.changeTagsRow.locator(".sw-single-select__selection-text");
4796
+ this.tagsChangeMethodInput = this.changeTagsRow.locator(".sw-single-select__selection-input");
4797
+ this.tagsInput = this.changeTagsRow.getByPlaceholder("Enter tags...");
4798
+ this.changeSalesChannelRow = page.locator(".sw-bulk-edit-change-field-visibilities");
4799
+ this.changeSalesChannelCheckbox = this.changeSalesChannelRow.getByRole("checkbox");
4800
+ this.salesChannelChangeMethodDropdown = this.changeSalesChannelRow.locator(".sw-single-select__selection-text");
4801
+ this.salesChannelChangeMethodInput = this.changeSalesChannelRow.locator(".sw-single-select__selection-input");
4802
+ this.salesChannelInput = this.changeSalesChannelRow.getByRole("textbox");
4803
+ this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
4804
+ this.confirmModal = page.locator(".sw-bulk-edit-save-modal");
4805
+ this.confirmModalApplyChangesButton = this.confirmModal.getByRole("button", { name: "Apply changes" });
4806
+ this.confirmModalLoadingSpinner = this.confirmModal.locator(".sw-bulk-edit-save-modal__loading-icon");
4807
+ this.confirmModalSuccessHeader = this.confirmModal.getByRole("heading", { name: "Bulk edit - Success" });
4808
+ this.confirmModalSuccessCloseButton = this.confirmModal.getByRole("button", { name: "Close" }).first();
4809
+ }
4810
+ url() {
4811
+ throw new Error("Bulk edit page does not have a callable URL.");
4812
+ }
4813
+ async getDropdownEntry(entry) {
4814
+ return this.page.locator(`.sw-select-result`, { hasText: entry });
4815
+ }
4816
+ }
4817
+
4615
4818
  const AdminPageObjects = {
4616
4819
  ProductDetail,
4617
4820
  OrderDetail,
@@ -4638,7 +4841,9 @@ const AdminPageObjects = {
4638
4841
  CustomFieldDetail,
4639
4842
  ManufacturerCreate,
4640
4843
  ManufacturerDetail,
4641
- ManufacturerListing
4844
+ ManufacturerListing,
4845
+ ProductListing,
4846
+ ProductBulkEdit
4642
4847
  };
4643
4848
  const test$5 = test$e.extend({
4644
4849
  AdminProductDetail: async ({ AdminPage }, use) => {
@@ -4718,6 +4923,12 @@ const test$5 = test$e.extend({
4718
4923
  },
4719
4924
  AdminManufacturerDetail: async ({ AdminPage }, use) => {
4720
4925
  await use(new ManufacturerDetail(AdminPage));
4926
+ },
4927
+ AdminProductListing: async ({ AdminPage }, use) => {
4928
+ await use(new ProductListing(AdminPage));
4929
+ },
4930
+ AdminProductBulkEdit: async ({ AdminPage }, use) => {
4931
+ await use(new ProductBulkEdit(AdminPage));
4721
4932
  }
4722
4933
  });
4723
4934
 
@@ -5375,11 +5586,110 @@ const SetSystemConfigValues = test$e.extend({
5375
5586
  }
5376
5587
  });
5377
5588
 
5589
+ const BulkEditProducts = test$e.extend({
5590
+ BulkEditProducts: async ({ AdminProductBulkEdit, AdminProductListing }, use) => {
5591
+ const task = (products, changes) => {
5592
+ return async function BulkEditProducts2() {
5593
+ for (const product of products) {
5594
+ const productTableRow = await AdminProductListing.getProductRow(product.productNumber);
5595
+ await productTableRow.selectionCheckbox.click();
5596
+ }
5597
+ await AdminProductListing.bulkEditButton.click();
5598
+ await AdminProductListing.startBulkEditButton.click();
5599
+ if (changes["grossPrice"] != null) {
5600
+ await AdminProductBulkEdit.changePriceCheckbox.click();
5601
+ await AdminProductBulkEdit.grossPriceInput.fill(changes["grossPrice"].value);
5602
+ }
5603
+ if (changes["active"] != null) {
5604
+ if (changes["active"].value == "false") {
5605
+ await AdminProductBulkEdit.changeActiveCheckbox.click();
5606
+ } else {
5607
+ await AdminProductBulkEdit.changeActiveCheckbox.click();
5608
+ await AdminProductBulkEdit.activeToggle.click();
5609
+ }
5610
+ }
5611
+ if (changes["manufacturer"] != null) {
5612
+ await AdminProductBulkEdit.changeManufacturerCheckbox.click();
5613
+ await AdminProductBulkEdit.manufacturerDropdown.click();
5614
+ const responsePromise = AdminProductBulkEdit.page.waitForResponse(
5615
+ (response2) => response2.url().includes(`product-manufacturer`) && response2.status() === 200 && response2.request().method() === "POST"
5616
+ );
5617
+ await AdminProductBulkEdit.manufacturerDropdownInput.fill(changes["manufacturer"].value);
5618
+ const response = await responsePromise;
5619
+ expect(response.ok()).toBeTruthy();
5620
+ const searchResult = await AdminProductBulkEdit.getDropdownEntry(changes["manufacturer"].value);
5621
+ await searchResult.click();
5622
+ }
5623
+ if (changes["releaseDate"] != null) {
5624
+ await AdminProductBulkEdit.changeReleaseDateCheckbox.click();
5625
+ await AdminProductBulkEdit.releaseDateInput.fill(changes["releaseDate"].value);
5626
+ }
5627
+ if (changes["stock"] != null) {
5628
+ await AdminProductBulkEdit.changeStockCheckbox.click();
5629
+ await AdminProductBulkEdit.stockChangeMethodDropdown.click();
5630
+ await (await AdminProductBulkEdit.getDropdownEntry(changes["stock"].method)).click();
5631
+ if (changes["stock"].method != "Clear") {
5632
+ await AdminProductBulkEdit.stockInput.fill(changes["stock"].value);
5633
+ }
5634
+ }
5635
+ if (changes["restockTime"] != null) {
5636
+ await AdminProductBulkEdit.changeRestockTimeCheckbox.click();
5637
+ await AdminProductBulkEdit.restockTimeChangeMethodDropdown.click();
5638
+ await (await AdminProductBulkEdit.getDropdownEntry(changes["restockTime"].method)).click();
5639
+ if (changes["restockTime"].method != "Clear") {
5640
+ await AdminProductBulkEdit.restockTimeInput.fill(changes["restockTime"].value);
5641
+ }
5642
+ }
5643
+ if (changes["tags"] != null) {
5644
+ await AdminProductBulkEdit.changeTagsCheckbox.click();
5645
+ await AdminProductBulkEdit.tagsChangeMethodDropdown.click();
5646
+ await (await AdminProductBulkEdit.getDropdownEntry(changes["tags"].method)).click();
5647
+ if (changes["tags"].method != "Clear") {
5648
+ await AdminProductBulkEdit.tagsInput.click();
5649
+ const responsePromise = AdminProductBulkEdit.page.waitForResponse(
5650
+ (response2) => response2.url().includes(`search/tag`) && response2.status() === 200 && response2.request().method() === "POST"
5651
+ );
5652
+ await AdminProductBulkEdit.tagsInput.fill(changes["tags"].value);
5653
+ const response = await responsePromise;
5654
+ expect(response.ok()).toBeTruthy();
5655
+ const searchResult = await AdminProductBulkEdit.getDropdownEntry(changes["tags"].value);
5656
+ await searchResult.click();
5657
+ }
5658
+ }
5659
+ if (changes["saleschannel"] != null) {
5660
+ await AdminProductBulkEdit.changeSalesChannelCheckbox.click();
5661
+ await AdminProductBulkEdit.salesChannelChangeMethodDropdown.click();
5662
+ await (await AdminProductBulkEdit.getDropdownEntry(changes["saleschannel"].method)).click();
5663
+ if (changes["saleschannel"].method != "Clear") {
5664
+ await AdminProductBulkEdit.salesChannelInput.click();
5665
+ const responsePromise = AdminProductBulkEdit.page.waitForResponse(
5666
+ (response2) => response2.url().includes(`search/sales-channel`) && response2.status() === 200 && response2.request().method() === "POST"
5667
+ );
5668
+ await AdminProductBulkEdit.salesChannelInput.fill(changes["saleschannel"].value);
5669
+ const response = await responsePromise;
5670
+ expect(response.ok()).toBeTruthy();
5671
+ const searchResult = await AdminProductBulkEdit.getDropdownEntry(changes["saleschannel"].value);
5672
+ await searchResult.click();
5673
+ }
5674
+ }
5675
+ await AdminProductBulkEdit.applyChangesButton.click();
5676
+ await AdminProductBulkEdit.confirmModalApplyChangesButton.click();
5677
+ await AdminProductBulkEdit.confirmModalLoadingSpinner.waitFor({ state: "visible" });
5678
+ await AdminProductBulkEdit.confirmModalLoadingSpinner.waitFor({ state: "hidden" });
5679
+ await expect(AdminProductBulkEdit.confirmModalSuccessHeader).toBeVisible();
5680
+ await AdminProductBulkEdit.confirmModalSuccessCloseButton.click();
5681
+ };
5682
+ };
5683
+ await use(task);
5684
+ }
5685
+ });
5686
+
5378
5687
  const test$3 = mergeTests(
5379
5688
  SaveProduct,
5380
5689
  ExpectNotification,
5381
5690
  CreateLinkTypeCategory,
5382
- SetSystemConfigValues
5691
+ SetSystemConfigValues,
5692
+ BulkEditProducts
5383
5693
  );
5384
5694
 
5385
5695
  const Login = test$e.extend({