@shopware-ag/acceptance-test-suite 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +36 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.mjs +618 -508
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -385,16 +385,16 @@ const test$c = test$e.extend({
|
|
|
385
385
|
]
|
|
386
386
|
});
|
|
387
387
|
|
|
388
|
-
var __defProp$
|
|
389
|
-
var __defNormalProp$
|
|
390
|
-
var __publicField$
|
|
391
|
-
__defNormalProp$
|
|
388
|
+
var __defProp$I = Object.defineProperty;
|
|
389
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
390
|
+
var __publicField$I = (obj, key, value) => {
|
|
391
|
+
__defNormalProp$I(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$
|
|
397
|
-
__publicField$
|
|
396
|
+
__publicField$I(this, "context");
|
|
397
|
+
__publicField$I(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$
|
|
489
|
+
__publicField$I(_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$F(_AdminApiContext, "defaultOptions", {
|
|
|
496
496
|
});
|
|
497
497
|
let AdminApiContext = _AdminApiContext;
|
|
498
498
|
|
|
499
|
-
var __defProp$
|
|
500
|
-
var __defNormalProp$
|
|
501
|
-
var __publicField$
|
|
502
|
-
__defNormalProp$
|
|
499
|
+
var __defProp$H = Object.defineProperty;
|
|
500
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
501
|
+
var __publicField$H = (obj, key, value) => {
|
|
502
|
+
__defNormalProp$H(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$
|
|
508
|
-
__publicField$
|
|
507
|
+
__publicField$H(this, "context");
|
|
508
|
+
__publicField$H(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$
|
|
567
|
+
__publicField$H(_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$
|
|
574
|
-
var __defNormalProp$
|
|
575
|
-
var __publicField$
|
|
576
|
-
__defNormalProp$
|
|
573
|
+
var __defProp$G = Object.defineProperty;
|
|
574
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
575
|
+
var __publicField$G = (obj, key, value) => {
|
|
576
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
577
577
|
return value;
|
|
578
578
|
};
|
|
579
579
|
class MailpitApiContext {
|
|
580
580
|
constructor(context) {
|
|
581
|
-
__publicField$
|
|
581
|
+
__publicField$G(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$
|
|
879
|
-
var __defNormalProp$
|
|
880
|
-
var __publicField$
|
|
881
|
-
__defNormalProp$
|
|
878
|
+
var __defProp$F = Object.defineProperty;
|
|
879
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
880
|
+
var __publicField$F = (obj, key, value) => {
|
|
881
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
882
882
|
return value;
|
|
883
883
|
};
|
|
884
884
|
class Actor {
|
|
885
885
|
constructor(name, page) {
|
|
886
|
-
__publicField$
|
|
887
|
-
__publicField$
|
|
888
|
-
__publicField$
|
|
886
|
+
__publicField$F(this, "page");
|
|
887
|
+
__publicField$F(this, "name");
|
|
888
|
+
__publicField$F(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$
|
|
938
|
-
var __defNormalProp$
|
|
939
|
-
var __publicField$
|
|
940
|
-
__defNormalProp$
|
|
937
|
+
var __defProp$E = Object.defineProperty;
|
|
938
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
939
|
+
var __publicField$E = (obj, key, value) => {
|
|
940
|
+
__defNormalProp$E(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$
|
|
946
|
-
__publicField$
|
|
947
|
-
__publicField$
|
|
948
|
-
__publicField$
|
|
949
|
-
__publicField$
|
|
950
|
-
__publicField$
|
|
951
|
-
__publicField$
|
|
952
|
-
__publicField$
|
|
953
|
-
__publicField$
|
|
954
|
-
__publicField$
|
|
955
|
-
__publicField$
|
|
945
|
+
__publicField$E(this, "AdminApiClient");
|
|
946
|
+
__publicField$E(this, "IdProvider");
|
|
947
|
+
__publicField$E(this, "namePrefix", "Test-");
|
|
948
|
+
__publicField$E(this, "nameSuffix", "");
|
|
949
|
+
__publicField$E(this, "defaultSalesChannel");
|
|
950
|
+
__publicField$E(this, "defaultTaxId");
|
|
951
|
+
__publicField$E(this, "defaultCurrencyId");
|
|
952
|
+
__publicField$E(this, "defaultCategoryId");
|
|
953
|
+
__publicField$E(this, "defaultLanguageId");
|
|
954
|
+
__publicField$E(this, "defaultCountryId");
|
|
955
|
+
__publicField$E(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$
|
|
961
|
+
__publicField$E(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$
|
|
969
|
+
__publicField$E(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$
|
|
975
|
+
__publicField$E(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$
|
|
981
|
+
__publicField$E(this, "combineAll", (array) => {
|
|
982
982
|
const result = [];
|
|
983
983
|
const max = array.length - 1;
|
|
984
984
|
const helper = (tmpArray, i) => {
|
|
@@ -2613,16 +2613,16 @@ const test$8 = test$e.extend({
|
|
|
2613
2613
|
}
|
|
2614
2614
|
});
|
|
2615
2615
|
|
|
2616
|
-
var __defProp$
|
|
2617
|
-
var __defNormalProp$
|
|
2618
|
-
var __publicField$
|
|
2619
|
-
__defNormalProp$
|
|
2616
|
+
var __defProp$D = Object.defineProperty;
|
|
2617
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2618
|
+
var __publicField$D = (obj, key, value) => {
|
|
2619
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2620
2620
|
return value;
|
|
2621
2621
|
};
|
|
2622
2622
|
class IdProvider {
|
|
2623
2623
|
constructor(workerIndex, seed) {
|
|
2624
|
-
__publicField$
|
|
2625
|
-
__publicField$
|
|
2624
|
+
__publicField$D(this, "workerIndex");
|
|
2625
|
+
__publicField$D(this, "seed");
|
|
2626
2626
|
this.workerIndex = workerIndex;
|
|
2627
2627
|
this.seed = seed;
|
|
2628
2628
|
}
|
|
@@ -2696,19 +2696,19 @@ const test$7 = test$e.extend({
|
|
|
2696
2696
|
]
|
|
2697
2697
|
});
|
|
2698
2698
|
|
|
2699
|
-
var __defProp$
|
|
2700
|
-
var __defNormalProp$
|
|
2701
|
-
var __publicField$
|
|
2702
|
-
__defNormalProp$
|
|
2699
|
+
var __defProp$C = Object.defineProperty;
|
|
2700
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2701
|
+
var __publicField$C = (obj, key, value) => {
|
|
2702
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2703
2703
|
return value;
|
|
2704
2704
|
};
|
|
2705
2705
|
class Home {
|
|
2706
2706
|
constructor(page) {
|
|
2707
2707
|
this.page = page;
|
|
2708
|
-
__publicField$
|
|
2709
|
-
__publicField$
|
|
2710
|
-
__publicField$
|
|
2711
|
-
__publicField$
|
|
2708
|
+
__publicField$C(this, "productImages");
|
|
2709
|
+
__publicField$C(this, "productListItems");
|
|
2710
|
+
__publicField$C(this, "languagesDropdown");
|
|
2711
|
+
__publicField$C(this, "currenciesDropdown");
|
|
2712
2712
|
this.productImages = page.locator(".product-image-link");
|
|
2713
2713
|
this.productListItems = page.getByRole("listitem");
|
|
2714
2714
|
this.languagesDropdown = page.getByLabel("Shop settings").locator(".languages-menu");
|
|
@@ -2742,26 +2742,26 @@ class Home {
|
|
|
2742
2742
|
}
|
|
2743
2743
|
}
|
|
2744
2744
|
|
|
2745
|
-
var __defProp$
|
|
2746
|
-
var __defNormalProp$
|
|
2747
|
-
var __publicField$
|
|
2748
|
-
__defNormalProp$
|
|
2745
|
+
var __defProp$B = Object.defineProperty;
|
|
2746
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2747
|
+
var __publicField$B = (obj, key, value) => {
|
|
2748
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2749
2749
|
return value;
|
|
2750
2750
|
};
|
|
2751
2751
|
let ProductDetail$1 = class ProductDetail {
|
|
2752
2752
|
constructor(page) {
|
|
2753
2753
|
this.page = page;
|
|
2754
|
-
__publicField$
|
|
2755
|
-
__publicField$
|
|
2756
|
-
__publicField$
|
|
2757
|
-
__publicField$
|
|
2758
|
-
__publicField$
|
|
2759
|
-
__publicField$
|
|
2760
|
-
__publicField$
|
|
2761
|
-
__publicField$
|
|
2762
|
-
__publicField$
|
|
2763
|
-
__publicField$
|
|
2764
|
-
__publicField$
|
|
2754
|
+
__publicField$B(this, "addToCartButton");
|
|
2755
|
+
__publicField$B(this, "quantitySelect");
|
|
2756
|
+
__publicField$B(this, "productSingleImage");
|
|
2757
|
+
__publicField$B(this, "productSinglePrice");
|
|
2758
|
+
__publicField$B(this, "productPriceRangesRow");
|
|
2759
|
+
__publicField$B(this, "offCanvasCartTitle");
|
|
2760
|
+
__publicField$B(this, "offCanvasCart");
|
|
2761
|
+
__publicField$B(this, "offCanvasCartGoToCheckoutButton");
|
|
2762
|
+
__publicField$B(this, "offCanvasLineItemImages");
|
|
2763
|
+
__publicField$B(this, "offCanvasSummaryTotalPrice");
|
|
2764
|
+
__publicField$B(this, "offCanvas");
|
|
2765
2765
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
2766
2766
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
2767
2767
|
this.productSingleImage = page.locator(".gallery-slider-single-image");
|
|
@@ -2783,18 +2783,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
2783
2783
|
}
|
|
2784
2784
|
};
|
|
2785
2785
|
|
|
2786
|
-
var __defProp$
|
|
2787
|
-
var __defNormalProp$
|
|
2788
|
-
var __publicField$
|
|
2789
|
-
__defNormalProp$
|
|
2786
|
+
var __defProp$A = Object.defineProperty;
|
|
2787
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2788
|
+
var __publicField$A = (obj, key, value) => {
|
|
2789
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2790
2790
|
return value;
|
|
2791
2791
|
};
|
|
2792
2792
|
class Category {
|
|
2793
2793
|
constructor(page) {
|
|
2794
2794
|
this.page = page;
|
|
2795
|
-
__publicField$
|
|
2796
|
-
__publicField$
|
|
2797
|
-
__publicField$
|
|
2795
|
+
__publicField$A(this, "sortingSelect");
|
|
2796
|
+
__publicField$A(this, "firstProductBuyButton");
|
|
2797
|
+
__publicField$A(this, "noProductsFoundAlert");
|
|
2798
2798
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
2799
2799
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
2800
2800
|
this.noProductsFoundAlert = page.getByText("No products found.");
|
|
@@ -2804,24 +2804,24 @@ class Category {
|
|
|
2804
2804
|
}
|
|
2805
2805
|
}
|
|
2806
2806
|
|
|
2807
|
-
var __defProp$
|
|
2808
|
-
var __defNormalProp$
|
|
2809
|
-
var __publicField$
|
|
2810
|
-
__defNormalProp$
|
|
2807
|
+
var __defProp$z = Object.defineProperty;
|
|
2808
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2809
|
+
var __publicField$z = (obj, key, value) => {
|
|
2810
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2811
2811
|
return value;
|
|
2812
2812
|
};
|
|
2813
2813
|
class CheckoutCart {
|
|
2814
2814
|
constructor(page) {
|
|
2815
2815
|
this.page = page;
|
|
2816
|
-
__publicField$
|
|
2817
|
-
__publicField$
|
|
2818
|
-
__publicField$
|
|
2819
|
-
__publicField$
|
|
2820
|
-
__publicField$
|
|
2821
|
-
__publicField$
|
|
2822
|
-
__publicField$
|
|
2823
|
-
__publicField$
|
|
2824
|
-
__publicField$
|
|
2816
|
+
__publicField$z(this, "headline");
|
|
2817
|
+
__publicField$z(this, "goToCheckoutButton");
|
|
2818
|
+
__publicField$z(this, "enterPromoInput");
|
|
2819
|
+
__publicField$z(this, "grandTotalPrice");
|
|
2820
|
+
__publicField$z(this, "emptyCartAlert");
|
|
2821
|
+
__publicField$z(this, "stockReachedAlert");
|
|
2822
|
+
__publicField$z(this, "cartLineItemImages");
|
|
2823
|
+
__publicField$z(this, "unitPriceInfo");
|
|
2824
|
+
__publicField$z(this, "cartQuantityNumber");
|
|
2825
2825
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
2826
2826
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
2827
2827
|
this.enterPromoInput = page.getByLabel("Promo code");
|
|
@@ -2862,25 +2862,25 @@ class CheckoutCart {
|
|
|
2862
2862
|
}
|
|
2863
2863
|
}
|
|
2864
2864
|
|
|
2865
|
-
var __defProp$
|
|
2866
|
-
var __defNormalProp$
|
|
2867
|
-
var __publicField$
|
|
2868
|
-
__defNormalProp$
|
|
2865
|
+
var __defProp$y = Object.defineProperty;
|
|
2866
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2867
|
+
var __publicField$y = (obj, key, value) => {
|
|
2868
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2869
2869
|
return value;
|
|
2870
2870
|
};
|
|
2871
2871
|
class OffCanvasCart {
|
|
2872
2872
|
constructor(page) {
|
|
2873
2873
|
this.page = page;
|
|
2874
|
-
__publicField$
|
|
2875
|
-
__publicField$
|
|
2876
|
-
__publicField$
|
|
2877
|
-
__publicField$
|
|
2878
|
-
__publicField$
|
|
2879
|
-
__publicField$
|
|
2880
|
-
__publicField$
|
|
2881
|
-
__publicField$
|
|
2882
|
-
__publicField$
|
|
2883
|
-
__publicField$
|
|
2874
|
+
__publicField$y(this, "headline");
|
|
2875
|
+
__publicField$y(this, "itemCount");
|
|
2876
|
+
__publicField$y(this, "goToCheckoutButton");
|
|
2877
|
+
__publicField$y(this, "goToCartButton");
|
|
2878
|
+
__publicField$y(this, "continueShoppingButton");
|
|
2879
|
+
__publicField$y(this, "enterPromoInput");
|
|
2880
|
+
__publicField$y(this, "submitDiscountButton");
|
|
2881
|
+
__publicField$y(this, "subTotalPrice");
|
|
2882
|
+
__publicField$y(this, "shippingCosts");
|
|
2883
|
+
__publicField$y(this, "cartQuantityNumber");
|
|
2884
2884
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
2885
2885
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
2886
2886
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -2922,36 +2922,36 @@ class OffCanvasCart {
|
|
|
2922
2922
|
}
|
|
2923
2923
|
}
|
|
2924
2924
|
|
|
2925
|
-
var __defProp$
|
|
2926
|
-
var __defNormalProp$
|
|
2927
|
-
var __publicField$
|
|
2928
|
-
__defNormalProp$
|
|
2925
|
+
var __defProp$x = Object.defineProperty;
|
|
2926
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2927
|
+
var __publicField$x = (obj, key, value) => {
|
|
2928
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2929
2929
|
return value;
|
|
2930
2930
|
};
|
|
2931
2931
|
class CheckoutConfirm {
|
|
2932
2932
|
constructor(page) {
|
|
2933
2933
|
this.page = page;
|
|
2934
|
-
__publicField$
|
|
2935
|
-
__publicField$
|
|
2936
|
-
__publicField$
|
|
2937
|
-
__publicField$
|
|
2938
|
-
__publicField$
|
|
2939
|
-
__publicField$
|
|
2934
|
+
__publicField$x(this, "headline");
|
|
2935
|
+
__publicField$x(this, "termsAndConditionsCheckbox");
|
|
2936
|
+
__publicField$x(this, "immediateAccessToDigitalProductCheckbox");
|
|
2937
|
+
__publicField$x(this, "grandTotalPrice");
|
|
2938
|
+
__publicField$x(this, "taxPrice");
|
|
2939
|
+
__publicField$x(this, "submitOrderButton");
|
|
2940
2940
|
/**
|
|
2941
2941
|
* Payment options
|
|
2942
2942
|
*/
|
|
2943
|
-
__publicField$
|
|
2944
|
-
__publicField$
|
|
2945
|
-
__publicField$
|
|
2943
|
+
__publicField$x(this, "paymentCashOnDelivery");
|
|
2944
|
+
__publicField$x(this, "paymentPaidInAdvance");
|
|
2945
|
+
__publicField$x(this, "paymentInvoice");
|
|
2946
2946
|
/**
|
|
2947
2947
|
* Shipping options
|
|
2948
2948
|
*/
|
|
2949
|
-
__publicField$
|
|
2950
|
-
__publicField$
|
|
2949
|
+
__publicField$x(this, "shippingStandard");
|
|
2950
|
+
__publicField$x(this, "shippingExpress");
|
|
2951
2951
|
/**
|
|
2952
2952
|
* Product details
|
|
2953
2953
|
*/
|
|
2954
|
-
__publicField$
|
|
2954
|
+
__publicField$x(this, "cartLineItemImages");
|
|
2955
2955
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
2956
2956
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
2957
2957
|
this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
|
|
@@ -2970,21 +2970,21 @@ class CheckoutConfirm {
|
|
|
2970
2970
|
}
|
|
2971
2971
|
}
|
|
2972
2972
|
|
|
2973
|
-
var __defProp$
|
|
2974
|
-
var __defNormalProp$
|
|
2975
|
-
var __publicField$
|
|
2976
|
-
__defNormalProp$
|
|
2973
|
+
var __defProp$w = Object.defineProperty;
|
|
2974
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2975
|
+
var __publicField$w = (obj, key, value) => {
|
|
2976
|
+
__defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2977
2977
|
return value;
|
|
2978
2978
|
};
|
|
2979
2979
|
class CheckoutFinish {
|
|
2980
2980
|
constructor(page) {
|
|
2981
2981
|
this.page = page;
|
|
2982
|
-
__publicField$
|
|
2983
|
-
__publicField$
|
|
2984
|
-
__publicField$
|
|
2985
|
-
__publicField$
|
|
2986
|
-
__publicField$
|
|
2987
|
-
__publicField$
|
|
2982
|
+
__publicField$w(this, "headline");
|
|
2983
|
+
__publicField$w(this, "orderNumberText");
|
|
2984
|
+
__publicField$w(this, "grandTotalPrice");
|
|
2985
|
+
__publicField$w(this, "taxPrice");
|
|
2986
|
+
__publicField$w(this, "cartLineItemImages");
|
|
2987
|
+
__publicField$w(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
2988
2988
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
2989
2989
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
2990
2990
|
this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
|
|
@@ -3013,16 +3013,16 @@ class CheckoutFinish {
|
|
|
3013
3013
|
}
|
|
3014
3014
|
}
|
|
3015
3015
|
|
|
3016
|
-
var __defProp$
|
|
3017
|
-
var __defNormalProp$
|
|
3018
|
-
var __publicField$
|
|
3019
|
-
__defNormalProp$
|
|
3016
|
+
var __defProp$v = Object.defineProperty;
|
|
3017
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3018
|
+
var __publicField$v = (obj, key, value) => {
|
|
3019
|
+
__defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3020
3020
|
return value;
|
|
3021
3021
|
};
|
|
3022
3022
|
class CheckoutRegister {
|
|
3023
3023
|
constructor(page) {
|
|
3024
3024
|
this.page = page;
|
|
3025
|
-
__publicField$
|
|
3025
|
+
__publicField$v(this, "cartLineItemImages");
|
|
3026
3026
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3027
3027
|
}
|
|
3028
3028
|
url() {
|
|
@@ -3030,22 +3030,22 @@ class CheckoutRegister {
|
|
|
3030
3030
|
}
|
|
3031
3031
|
}
|
|
3032
3032
|
|
|
3033
|
-
var __defProp$
|
|
3034
|
-
var __defNormalProp$
|
|
3035
|
-
var __publicField$
|
|
3036
|
-
__defNormalProp$
|
|
3033
|
+
var __defProp$u = Object.defineProperty;
|
|
3034
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3035
|
+
var __publicField$u = (obj, key, value) => {
|
|
3036
|
+
__defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3037
3037
|
return value;
|
|
3038
3038
|
};
|
|
3039
3039
|
class Account {
|
|
3040
3040
|
constructor(page) {
|
|
3041
3041
|
this.page = page;
|
|
3042
|
-
__publicField$
|
|
3043
|
-
__publicField$
|
|
3044
|
-
__publicField$
|
|
3045
|
-
__publicField$
|
|
3046
|
-
__publicField$
|
|
3047
|
-
__publicField$
|
|
3048
|
-
__publicField$
|
|
3042
|
+
__publicField$u(this, "headline");
|
|
3043
|
+
__publicField$u(this, "personalDataCardTitle");
|
|
3044
|
+
__publicField$u(this, "paymentMethodCardTitle");
|
|
3045
|
+
__publicField$u(this, "billingAddressCardTitle");
|
|
3046
|
+
__publicField$u(this, "shippingAddressCardTitle");
|
|
3047
|
+
__publicField$u(this, "newsletterCheckbox");
|
|
3048
|
+
__publicField$u(this, "newsletterRegistrationSuccessMessage");
|
|
3049
3049
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
3050
3050
|
this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
|
|
3051
3051
|
this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
|
|
@@ -3059,32 +3059,32 @@ class Account {
|
|
|
3059
3059
|
}
|
|
3060
3060
|
}
|
|
3061
3061
|
|
|
3062
|
-
var __defProp$
|
|
3063
|
-
var __defNormalProp$
|
|
3064
|
-
var __publicField$
|
|
3065
|
-
__defNormalProp$
|
|
3062
|
+
var __defProp$t = Object.defineProperty;
|
|
3063
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3064
|
+
var __publicField$t = (obj, key, value) => {
|
|
3065
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3066
3066
|
return value;
|
|
3067
3067
|
};
|
|
3068
3068
|
class AccountLogin {
|
|
3069
3069
|
constructor(page) {
|
|
3070
3070
|
this.page = page;
|
|
3071
|
-
__publicField$
|
|
3072
|
-
__publicField$
|
|
3073
|
-
__publicField$
|
|
3074
|
-
__publicField$
|
|
3075
|
-
__publicField$
|
|
3071
|
+
__publicField$t(this, "emailInput");
|
|
3072
|
+
__publicField$t(this, "passwordInput");
|
|
3073
|
+
__publicField$t(this, "loginButton");
|
|
3074
|
+
__publicField$t(this, "logoutLink");
|
|
3075
|
+
__publicField$t(this, "successAlert");
|
|
3076
3076
|
// Inputs for registration
|
|
3077
|
-
__publicField$
|
|
3078
|
-
__publicField$
|
|
3079
|
-
__publicField$
|
|
3080
|
-
__publicField$
|
|
3081
|
-
__publicField$
|
|
3082
|
-
__publicField$
|
|
3083
|
-
__publicField$
|
|
3084
|
-
__publicField$
|
|
3085
|
-
__publicField$
|
|
3086
|
-
__publicField$
|
|
3087
|
-
__publicField$
|
|
3077
|
+
__publicField$t(this, "personalFormArea");
|
|
3078
|
+
__publicField$t(this, "billingAddressFormArea");
|
|
3079
|
+
__publicField$t(this, "firstNameInput");
|
|
3080
|
+
__publicField$t(this, "lastNameInput");
|
|
3081
|
+
__publicField$t(this, "registerEmailInput");
|
|
3082
|
+
__publicField$t(this, "registerPasswordInput");
|
|
3083
|
+
__publicField$t(this, "streetAddressInput");
|
|
3084
|
+
__publicField$t(this, "cityInput");
|
|
3085
|
+
__publicField$t(this, "countryInput");
|
|
3086
|
+
__publicField$t(this, "postalCodeInput");
|
|
3087
|
+
__publicField$t(this, "registerButton");
|
|
3088
3088
|
this.emailInput = page.getByLabel("Your email address");
|
|
3089
3089
|
this.passwordInput = page.getByLabel("Your password");
|
|
3090
3090
|
this.loginButton = page.getByRole("button", { name: "Log in" });
|
|
@@ -3108,29 +3108,29 @@ class AccountLogin {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
}
|
|
3110
3110
|
|
|
3111
|
-
var __defProp$
|
|
3112
|
-
var __defNormalProp$
|
|
3113
|
-
var __publicField$
|
|
3114
|
-
__defNormalProp$
|
|
3111
|
+
var __defProp$s = Object.defineProperty;
|
|
3112
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3113
|
+
var __publicField$s = (obj, key, value) => {
|
|
3114
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3115
3115
|
return value;
|
|
3116
3116
|
};
|
|
3117
3117
|
class AccountProfile {
|
|
3118
3118
|
constructor(page) {
|
|
3119
3119
|
this.page = page;
|
|
3120
|
-
__publicField$
|
|
3121
|
-
__publicField$
|
|
3122
|
-
__publicField$
|
|
3123
|
-
__publicField$
|
|
3124
|
-
__publicField$
|
|
3125
|
-
__publicField$
|
|
3126
|
-
__publicField$
|
|
3127
|
-
__publicField$
|
|
3128
|
-
__publicField$
|
|
3129
|
-
__publicField$
|
|
3130
|
-
__publicField$
|
|
3131
|
-
__publicField$
|
|
3132
|
-
__publicField$
|
|
3133
|
-
__publicField$
|
|
3120
|
+
__publicField$s(this, "salutationSelect");
|
|
3121
|
+
__publicField$s(this, "firstNameInput");
|
|
3122
|
+
__publicField$s(this, "lastNameInput");
|
|
3123
|
+
__publicField$s(this, "saveProfileButton");
|
|
3124
|
+
__publicField$s(this, "changeEmailButton");
|
|
3125
|
+
__publicField$s(this, "emailAddressInput");
|
|
3126
|
+
__publicField$s(this, "emailAddressConfirmInput");
|
|
3127
|
+
__publicField$s(this, "emailConfirmPasswordInput");
|
|
3128
|
+
__publicField$s(this, "saveEmailAddressButton");
|
|
3129
|
+
__publicField$s(this, "changePasswordButton");
|
|
3130
|
+
__publicField$s(this, "newPasswordInput");
|
|
3131
|
+
__publicField$s(this, "newPasswordConfirmInput");
|
|
3132
|
+
__publicField$s(this, "currentPasswordInput");
|
|
3133
|
+
__publicField$s(this, "saveNewPasswordButton");
|
|
3134
3134
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
3135
3135
|
this.firstNameInput = page.getByPlaceholder("Enter first name...");
|
|
3136
3136
|
this.lastNameInput = page.getByPlaceholder("Enter last name...");
|
|
@@ -3151,18 +3151,18 @@ class AccountProfile {
|
|
|
3151
3151
|
}
|
|
3152
3152
|
}
|
|
3153
3153
|
|
|
3154
|
-
var __defProp$
|
|
3155
|
-
var __defNormalProp$
|
|
3156
|
-
var __publicField$
|
|
3157
|
-
__defNormalProp$
|
|
3154
|
+
var __defProp$r = Object.defineProperty;
|
|
3155
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3156
|
+
var __publicField$r = (obj, key, value) => {
|
|
3157
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3158
3158
|
return value;
|
|
3159
3159
|
};
|
|
3160
3160
|
class AccountOrder {
|
|
3161
3161
|
constructor(page) {
|
|
3162
3162
|
this.page = page;
|
|
3163
|
-
__publicField$
|
|
3164
|
-
__publicField$
|
|
3165
|
-
__publicField$
|
|
3163
|
+
__publicField$r(this, "cartLineItemImages");
|
|
3164
|
+
__publicField$r(this, "orderExpandButton");
|
|
3165
|
+
__publicField$r(this, "digitalProductDownloadButton");
|
|
3166
3166
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
3167
3167
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3168
3168
|
this.digitalProductDownloadButton = page.getByRole("link", { name: "Download" }).first();
|
|
@@ -3172,20 +3172,20 @@ class AccountOrder {
|
|
|
3172
3172
|
}
|
|
3173
3173
|
}
|
|
3174
3174
|
|
|
3175
|
-
var __defProp$
|
|
3176
|
-
var __defNormalProp$
|
|
3177
|
-
var __publicField$
|
|
3178
|
-
__defNormalProp$
|
|
3175
|
+
var __defProp$q = Object.defineProperty;
|
|
3176
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3177
|
+
var __publicField$q = (obj, key, value) => {
|
|
3178
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3179
3179
|
return value;
|
|
3180
3180
|
};
|
|
3181
3181
|
class AccountAddresses {
|
|
3182
3182
|
constructor(page) {
|
|
3183
3183
|
this.page = page;
|
|
3184
|
-
__publicField$
|
|
3185
|
-
__publicField$
|
|
3186
|
-
__publicField$
|
|
3187
|
-
__publicField$
|
|
3188
|
-
__publicField$
|
|
3184
|
+
__publicField$q(this, "addNewAddressButton");
|
|
3185
|
+
__publicField$q(this, "editBillingAddressButton");
|
|
3186
|
+
__publicField$q(this, "editShippingAddressButton");
|
|
3187
|
+
__publicField$q(this, "useDefaultBillingAddressButton");
|
|
3188
|
+
__publicField$q(this, "useDefaultShippingAddressButton");
|
|
3189
3189
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
3190
3190
|
this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
|
|
3191
3191
|
this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
|
|
@@ -3197,19 +3197,19 @@ class AccountAddresses {
|
|
|
3197
3197
|
}
|
|
3198
3198
|
}
|
|
3199
3199
|
|
|
3200
|
-
var __defProp$
|
|
3201
|
-
var __defNormalProp$
|
|
3202
|
-
var __publicField$
|
|
3203
|
-
__defNormalProp$
|
|
3200
|
+
var __defProp$p = Object.defineProperty;
|
|
3201
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3202
|
+
var __publicField$p = (obj, key, value) => {
|
|
3203
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3204
3204
|
return value;
|
|
3205
3205
|
};
|
|
3206
3206
|
class AccountPayment {
|
|
3207
3207
|
constructor(page) {
|
|
3208
3208
|
this.page = page;
|
|
3209
|
-
__publicField$
|
|
3210
|
-
__publicField$
|
|
3211
|
-
__publicField$
|
|
3212
|
-
__publicField$
|
|
3209
|
+
__publicField$p(this, "cashOnDeliveryOption");
|
|
3210
|
+
__publicField$p(this, "paidInAdvanceOption");
|
|
3211
|
+
__publicField$p(this, "invoiceOption");
|
|
3212
|
+
__publicField$p(this, "changeDefaultPaymentButton");
|
|
3213
3213
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
3214
3214
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
3215
3215
|
this.invoiceOption = page.getByLabel("Invoice");
|
|
@@ -3220,17 +3220,17 @@ class AccountPayment {
|
|
|
3220
3220
|
}
|
|
3221
3221
|
}
|
|
3222
3222
|
|
|
3223
|
-
var __defProp$
|
|
3224
|
-
var __defNormalProp$
|
|
3225
|
-
var __publicField$
|
|
3226
|
-
__defNormalProp$
|
|
3223
|
+
var __defProp$o = Object.defineProperty;
|
|
3224
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3225
|
+
var __publicField$o = (obj, key, value) => {
|
|
3226
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3227
3227
|
return value;
|
|
3228
3228
|
};
|
|
3229
3229
|
class Search {
|
|
3230
3230
|
constructor(page) {
|
|
3231
3231
|
this.page = page;
|
|
3232
|
-
__publicField$
|
|
3233
|
-
__publicField$
|
|
3232
|
+
__publicField$o(this, "headline");
|
|
3233
|
+
__publicField$o(this, "productImages");
|
|
3234
3234
|
this.headline = page.locator("h1.search-headline");
|
|
3235
3235
|
this.productImages = page.locator(".product-image-link");
|
|
3236
3236
|
}
|
|
@@ -3239,16 +3239,16 @@ class Search {
|
|
|
3239
3239
|
}
|
|
3240
3240
|
}
|
|
3241
3241
|
|
|
3242
|
-
var __defProp$
|
|
3243
|
-
var __defNormalProp$
|
|
3244
|
-
var __publicField$
|
|
3245
|
-
__defNormalProp$
|
|
3242
|
+
var __defProp$n = Object.defineProperty;
|
|
3243
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3244
|
+
var __publicField$n = (obj, key, value) => {
|
|
3245
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3246
3246
|
return value;
|
|
3247
3247
|
};
|
|
3248
3248
|
class SearchSuggest {
|
|
3249
3249
|
constructor(page) {
|
|
3250
3250
|
this.page = page;
|
|
3251
|
-
__publicField$
|
|
3251
|
+
__publicField$n(this, "searchSuggestLineItemImages");
|
|
3252
3252
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
3253
3253
|
}
|
|
3254
3254
|
url(searchTerm) {
|
|
@@ -3325,10 +3325,10 @@ const test$6 = test$e.extend({
|
|
|
3325
3325
|
}
|
|
3326
3326
|
});
|
|
3327
3327
|
|
|
3328
|
-
var __defProp$
|
|
3329
|
-
var __defNormalProp$
|
|
3330
|
-
var __publicField$
|
|
3331
|
-
__defNormalProp$
|
|
3328
|
+
var __defProp$m = Object.defineProperty;
|
|
3329
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3330
|
+
var __publicField$m = (obj, key, value) => {
|
|
3331
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3332
3332
|
return value;
|
|
3333
3333
|
};
|
|
3334
3334
|
class ProductDetail {
|
|
@@ -3337,44 +3337,44 @@ class ProductDetail {
|
|
|
3337
3337
|
/**
|
|
3338
3338
|
* Save interactions
|
|
3339
3339
|
*/
|
|
3340
|
-
__publicField$
|
|
3341
|
-
__publicField$
|
|
3342
|
-
__publicField$
|
|
3340
|
+
__publicField$m(this, "savePhysicalProductButton");
|
|
3341
|
+
__publicField$m(this, "saveButtonLoadingSpinner");
|
|
3342
|
+
__publicField$m(this, "saveButtonCheckMark");
|
|
3343
3343
|
/**
|
|
3344
3344
|
* Media Upload interactions
|
|
3345
3345
|
*/
|
|
3346
|
-
__publicField$
|
|
3347
|
-
__publicField$
|
|
3348
|
-
__publicField$
|
|
3346
|
+
__publicField$m(this, "uploadMediaButton");
|
|
3347
|
+
__publicField$m(this, "coverImage");
|
|
3348
|
+
__publicField$m(this, "productImage");
|
|
3349
3349
|
/**
|
|
3350
3350
|
* Tabs
|
|
3351
3351
|
*/
|
|
3352
|
-
__publicField$
|
|
3353
|
-
__publicField$
|
|
3352
|
+
__publicField$m(this, "variantsTabLink");
|
|
3353
|
+
__publicField$m(this, "specificationsTabLink");
|
|
3354
3354
|
/**
|
|
3355
3355
|
* Variants Generation
|
|
3356
3356
|
*/
|
|
3357
|
-
__publicField$
|
|
3358
|
-
__publicField$
|
|
3359
|
-
__publicField$
|
|
3360
|
-
__publicField$
|
|
3361
|
-
__publicField$
|
|
3357
|
+
__publicField$m(this, "generateVariantsButton");
|
|
3358
|
+
__publicField$m(this, "variantsModal");
|
|
3359
|
+
__publicField$m(this, "variantsModalHeadline");
|
|
3360
|
+
__publicField$m(this, "variantsNextButton");
|
|
3361
|
+
__publicField$m(this, "variantsSaveButton");
|
|
3362
3362
|
/**
|
|
3363
3363
|
* Property Selection
|
|
3364
3364
|
*/
|
|
3365
|
-
__publicField$
|
|
3366
|
-
__publicField$
|
|
3367
|
-
__publicField$
|
|
3368
|
-
__publicField$
|
|
3369
|
-
__publicField$
|
|
3370
|
-
__publicField$
|
|
3371
|
-
__publicField$
|
|
3372
|
-
__publicField$
|
|
3373
|
-
__publicField$
|
|
3365
|
+
__publicField$m(this, "propertyGroupColor");
|
|
3366
|
+
__publicField$m(this, "propertyGroupSize");
|
|
3367
|
+
__publicField$m(this, "propertyOptionGrid");
|
|
3368
|
+
__publicField$m(this, "propertyOptionColorBlue");
|
|
3369
|
+
__publicField$m(this, "propertyOptionColorRed");
|
|
3370
|
+
__publicField$m(this, "propertyOptionColorGreen");
|
|
3371
|
+
__publicField$m(this, "propertyOptionSizeSmall");
|
|
3372
|
+
__publicField$m(this, "propertyOptionSizeMedium");
|
|
3373
|
+
__publicField$m(this, "propertyOptionSizeLarge");
|
|
3374
3374
|
/**
|
|
3375
3375
|
* Cards
|
|
3376
3376
|
*/
|
|
3377
|
-
__publicField$
|
|
3377
|
+
__publicField$m(this, "customFieldCard");
|
|
3378
3378
|
this.savePhysicalProductButton = page.getByRole("button", { name: "Save" });
|
|
3379
3379
|
this.saveButtonCheckMark = page.locator(".icon--regular-checkmark-xs");
|
|
3380
3380
|
this.saveButtonLoadingSpinner = page.locator("sw-loader");
|
|
@@ -3413,18 +3413,18 @@ class ProductDetail {
|
|
|
3413
3413
|
}
|
|
3414
3414
|
}
|
|
3415
3415
|
|
|
3416
|
-
var __defProp$
|
|
3417
|
-
var __defNormalProp$
|
|
3418
|
-
var __publicField$
|
|
3419
|
-
__defNormalProp$
|
|
3416
|
+
var __defProp$l = Object.defineProperty;
|
|
3417
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3418
|
+
var __publicField$l = (obj, key, value) => {
|
|
3419
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3420
3420
|
return value;
|
|
3421
3421
|
};
|
|
3422
3422
|
class OrderDetail {
|
|
3423
3423
|
constructor(page) {
|
|
3424
3424
|
this.page = page;
|
|
3425
|
-
__publicField$
|
|
3426
|
-
__publicField$
|
|
3427
|
-
__publicField$
|
|
3425
|
+
__publicField$l(this, "saveButton");
|
|
3426
|
+
__publicField$l(this, "dataGridContextButton");
|
|
3427
|
+
__publicField$l(this, "orderTag");
|
|
3428
3428
|
this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
|
|
3429
3429
|
this.dataGridContextButton = page.locator(".sw-data-grid__actions-menu").and(page.getByRole("button"));
|
|
3430
3430
|
this.orderTag = page.locator(".sw-select-selection-list__item");
|
|
@@ -3434,21 +3434,21 @@ class OrderDetail {
|
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
3436
|
|
|
3437
|
-
var __defProp$
|
|
3438
|
-
var __defNormalProp$
|
|
3439
|
-
var __publicField$
|
|
3440
|
-
__defNormalProp$
|
|
3437
|
+
var __defProp$k = Object.defineProperty;
|
|
3438
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3439
|
+
var __publicField$k = (obj, key, value) => {
|
|
3440
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3441
3441
|
return value;
|
|
3442
3442
|
};
|
|
3443
3443
|
class CustomerDetail {
|
|
3444
3444
|
constructor(page) {
|
|
3445
3445
|
this.page = page;
|
|
3446
|
-
__publicField$
|
|
3447
|
-
__publicField$
|
|
3448
|
-
__publicField$
|
|
3449
|
-
__publicField$
|
|
3450
|
-
__publicField$
|
|
3451
|
-
__publicField$
|
|
3446
|
+
__publicField$k(this, "editButton");
|
|
3447
|
+
__publicField$k(this, "generalTab");
|
|
3448
|
+
__publicField$k(this, "accountCard");
|
|
3449
|
+
__publicField$k(this, "customFieldCard");
|
|
3450
|
+
__publicField$k(this, "customFieldSetTabs");
|
|
3451
|
+
__publicField$k(this, "customFieldSetTabCustomContent");
|
|
3452
3452
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
3453
3453
|
this.generalTab = page.getByRole("link", { name: "General" });
|
|
3454
3454
|
this.accountCard = page.locator(".sw-customer-card");
|
|
@@ -3470,53 +3470,53 @@ class CustomerDetail {
|
|
|
3470
3470
|
}
|
|
3471
3471
|
}
|
|
3472
3472
|
|
|
3473
|
-
var __defProp$
|
|
3474
|
-
var __defNormalProp$
|
|
3475
|
-
var __publicField$
|
|
3476
|
-
__defNormalProp$
|
|
3473
|
+
var __defProp$j = Object.defineProperty;
|
|
3474
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3475
|
+
var __publicField$j = (obj, key, value) => {
|
|
3476
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3477
3477
|
return value;
|
|
3478
3478
|
};
|
|
3479
3479
|
class FirstRunWizard {
|
|
3480
3480
|
constructor(page) {
|
|
3481
3481
|
this.page = page;
|
|
3482
|
-
__publicField$
|
|
3483
|
-
__publicField$
|
|
3484
|
-
__publicField$
|
|
3485
|
-
__publicField$
|
|
3486
|
-
__publicField$
|
|
3487
|
-
__publicField$
|
|
3488
|
-
__publicField$
|
|
3489
|
-
__publicField$
|
|
3490
|
-
__publicField$
|
|
3491
|
-
__publicField$
|
|
3492
|
-
__publicField$
|
|
3493
|
-
__publicField$
|
|
3494
|
-
__publicField$
|
|
3495
|
-
__publicField$
|
|
3496
|
-
__publicField$
|
|
3497
|
-
__publicField$
|
|
3498
|
-
__publicField$
|
|
3499
|
-
__publicField$
|
|
3500
|
-
__publicField$
|
|
3501
|
-
__publicField$
|
|
3502
|
-
__publicField$
|
|
3503
|
-
__publicField$
|
|
3504
|
-
__publicField$
|
|
3505
|
-
__publicField$
|
|
3506
|
-
__publicField$
|
|
3507
|
-
__publicField$
|
|
3508
|
-
__publicField$
|
|
3509
|
-
__publicField$
|
|
3510
|
-
__publicField$
|
|
3511
|
-
__publicField$
|
|
3512
|
-
__publicField$
|
|
3513
|
-
__publicField$
|
|
3514
|
-
__publicField$
|
|
3515
|
-
__publicField$
|
|
3516
|
-
__publicField$
|
|
3517
|
-
__publicField$
|
|
3518
|
-
__publicField$
|
|
3519
|
-
__publicField$
|
|
3482
|
+
__publicField$j(this, "nextButton");
|
|
3483
|
+
__publicField$j(this, "configureLaterButton");
|
|
3484
|
+
__publicField$j(this, "skipButton");
|
|
3485
|
+
__publicField$j(this, "finishButton");
|
|
3486
|
+
__publicField$j(this, "backButton");
|
|
3487
|
+
__publicField$j(this, "smtpServerButton");
|
|
3488
|
+
__publicField$j(this, "dataImportHeader");
|
|
3489
|
+
__publicField$j(this, "installLanguagePackButton");
|
|
3490
|
+
__publicField$j(this, "installDemoDataButton");
|
|
3491
|
+
__publicField$j(this, "installMigrationAssistantButton");
|
|
3492
|
+
__publicField$j(this, "defaultValuesHeader");
|
|
3493
|
+
__publicField$j(this, "mailerConfigurationHeader");
|
|
3494
|
+
__publicField$j(this, "payPalSetupHeader");
|
|
3495
|
+
__publicField$j(this, "extensionsHeader");
|
|
3496
|
+
__publicField$j(this, "shopwareAccountHeader");
|
|
3497
|
+
__publicField$j(this, "shopwareStoreHeader");
|
|
3498
|
+
__publicField$j(this, "doneHeader");
|
|
3499
|
+
__publicField$j(this, "frwSuccessText");
|
|
3500
|
+
__publicField$j(this, "welcomeText");
|
|
3501
|
+
__publicField$j(this, "pluginCardInfo");
|
|
3502
|
+
__publicField$j(this, "dataImportCard");
|
|
3503
|
+
__publicField$j(this, "salesChannelSelectionList");
|
|
3504
|
+
__publicField$j(this, "salesChannelSelectionMultiSelect");
|
|
3505
|
+
__publicField$j(this, "smtpServerTitle");
|
|
3506
|
+
__publicField$j(this, "smtpServerFields");
|
|
3507
|
+
__publicField$j(this, "payPalPaymethods");
|
|
3508
|
+
__publicField$j(this, "payPalInfoCard");
|
|
3509
|
+
__publicField$j(this, "emailAddressInputField");
|
|
3510
|
+
__publicField$j(this, "passwordInputField");
|
|
3511
|
+
__publicField$j(this, "forgotPasswordLink");
|
|
3512
|
+
__publicField$j(this, "extensionStoreHeading");
|
|
3513
|
+
__publicField$j(this, "documentationLink");
|
|
3514
|
+
__publicField$j(this, "forumLink");
|
|
3515
|
+
__publicField$j(this, "roadmapLink");
|
|
3516
|
+
__publicField$j(this, "germanRegionSelector");
|
|
3517
|
+
__publicField$j(this, "toolsSelector");
|
|
3518
|
+
__publicField$j(this, "recommendationHeader");
|
|
3519
|
+
__publicField$j(this, "toolsRecommendedPlugin");
|
|
3520
3520
|
this.nextButton = page.getByText("Next", { exact: true });
|
|
3521
3521
|
this.configureLaterButton = page.getByText("Configure later", { exact: true });
|
|
3522
3522
|
this.skipButton = page.getByText("Skip", { exact: true });
|
|
@@ -3561,17 +3561,17 @@ class FirstRunWizard {
|
|
|
3561
3561
|
}
|
|
3562
3562
|
}
|
|
3563
3563
|
|
|
3564
|
-
var __defProp$
|
|
3565
|
-
var __defNormalProp$
|
|
3566
|
-
var __publicField$
|
|
3567
|
-
__defNormalProp$
|
|
3564
|
+
var __defProp$i = Object.defineProperty;
|
|
3565
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3566
|
+
var __publicField$i = (obj, key, value) => {
|
|
3567
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3568
3568
|
return value;
|
|
3569
3569
|
};
|
|
3570
3570
|
class FlowBuilderCreate {
|
|
3571
3571
|
constructor(page) {
|
|
3572
3572
|
this.page = page;
|
|
3573
|
-
__publicField$
|
|
3574
|
-
__publicField$
|
|
3573
|
+
__publicField$i(this, "saveButton");
|
|
3574
|
+
__publicField$i(this, "header");
|
|
3575
3575
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
3576
3576
|
this.header = page.locator("h2");
|
|
3577
3577
|
}
|
|
@@ -3580,28 +3580,28 @@ class FlowBuilderCreate {
|
|
|
3580
3580
|
}
|
|
3581
3581
|
}
|
|
3582
3582
|
|
|
3583
|
-
var __defProp$
|
|
3584
|
-
var __defNormalProp$
|
|
3585
|
-
var __publicField$
|
|
3586
|
-
__defNormalProp$
|
|
3583
|
+
var __defProp$h = Object.defineProperty;
|
|
3584
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3585
|
+
var __publicField$h = (obj, key, value) => {
|
|
3586
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3587
3587
|
return value;
|
|
3588
3588
|
};
|
|
3589
3589
|
class FlowBuilderListing {
|
|
3590
3590
|
constructor(page) {
|
|
3591
3591
|
this.page = page;
|
|
3592
|
-
__publicField$
|
|
3593
|
-
__publicField$
|
|
3594
|
-
__publicField$
|
|
3595
|
-
__publicField$
|
|
3596
|
-
__publicField$
|
|
3597
|
-
__publicField$
|
|
3598
|
-
__publicField$
|
|
3599
|
-
__publicField$
|
|
3600
|
-
__publicField$
|
|
3601
|
-
__publicField$
|
|
3602
|
-
__publicField$
|
|
3603
|
-
__publicField$
|
|
3604
|
-
__publicField$
|
|
3592
|
+
__publicField$h(this, "createFlowButton");
|
|
3593
|
+
__publicField$h(this, "firstFlowName");
|
|
3594
|
+
__publicField$h(this, "firstFlowContextButton");
|
|
3595
|
+
__publicField$h(this, "flowContextMenu");
|
|
3596
|
+
__publicField$h(this, "contextMenuDownload");
|
|
3597
|
+
__publicField$h(this, "contextMenuDuplicate");
|
|
3598
|
+
__publicField$h(this, "contextMenuEdit");
|
|
3599
|
+
__publicField$h(this, "contextMenuDelete");
|
|
3600
|
+
__publicField$h(this, "flowDownloadModal");
|
|
3601
|
+
__publicField$h(this, "downloadFlowButton");
|
|
3602
|
+
__publicField$h(this, "flowDeleteButton");
|
|
3603
|
+
__publicField$h(this, "successAlert");
|
|
3604
|
+
__publicField$h(this, "successAlertMessage");
|
|
3605
3605
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
3606
3606
|
this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
|
|
3607
3607
|
this.firstFlowContextButton = page.locator(".sw-data-grid__actions-menu").first();
|
|
@@ -3638,18 +3638,18 @@ class FlowBuilderListing {
|
|
|
3638
3638
|
}
|
|
3639
3639
|
}
|
|
3640
3640
|
|
|
3641
|
-
var __defProp$
|
|
3642
|
-
var __defNormalProp$
|
|
3643
|
-
var __publicField$
|
|
3644
|
-
__defNormalProp$
|
|
3641
|
+
var __defProp$g = Object.defineProperty;
|
|
3642
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3643
|
+
var __publicField$g = (obj, key, value) => {
|
|
3644
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3645
3645
|
return value;
|
|
3646
3646
|
};
|
|
3647
3647
|
class FlowBuilderDetail {
|
|
3648
3648
|
constructor(page) {
|
|
3649
3649
|
this.page = page;
|
|
3650
|
-
__publicField$
|
|
3651
|
-
__publicField$
|
|
3652
|
-
__publicField$
|
|
3650
|
+
__publicField$g(this, "saveButton");
|
|
3651
|
+
__publicField$g(this, "generalTab");
|
|
3652
|
+
__publicField$g(this, "flowTab");
|
|
3653
3653
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
3654
3654
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
3655
3655
|
this.flowTab = page.locator(".sw-flow-detail__tab-flow");
|
|
@@ -3659,20 +3659,20 @@ class FlowBuilderDetail {
|
|
|
3659
3659
|
}
|
|
3660
3660
|
}
|
|
3661
3661
|
|
|
3662
|
-
var __defProp$
|
|
3663
|
-
var __defNormalProp$
|
|
3664
|
-
var __publicField$
|
|
3665
|
-
__defNormalProp$
|
|
3662
|
+
var __defProp$f = Object.defineProperty;
|
|
3663
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3664
|
+
var __publicField$f = (obj, key, value) => {
|
|
3665
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3666
3666
|
return value;
|
|
3667
3667
|
};
|
|
3668
3668
|
class DataSharing {
|
|
3669
3669
|
constructor(page) {
|
|
3670
3670
|
this.page = page;
|
|
3671
|
-
__publicField$
|
|
3672
|
-
__publicField$
|
|
3673
|
-
__publicField$
|
|
3674
|
-
__publicField$
|
|
3675
|
-
__publicField$
|
|
3671
|
+
__publicField$f(this, "dataConsentHeadline");
|
|
3672
|
+
__publicField$f(this, "dataSharingSuccessMessageLabel");
|
|
3673
|
+
__publicField$f(this, "dataSharingAgreeButton");
|
|
3674
|
+
__publicField$f(this, "dataSharingDisableButton");
|
|
3675
|
+
__publicField$f(this, "dataSharingTermsAgreementLabel");
|
|
3676
3676
|
this.dataConsentHeadline = page.locator("h3.sw-usage-data-consent-banner__content-headline");
|
|
3677
3677
|
this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
|
|
3678
3678
|
this.dataSharingDisableButton = page.getByRole("button", { name: "Disable data sharing" });
|
|
@@ -3684,23 +3684,23 @@ class DataSharing {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
}
|
|
3686
3686
|
|
|
3687
|
-
var __defProp$
|
|
3688
|
-
var __defNormalProp$
|
|
3689
|
-
var __publicField$
|
|
3690
|
-
__defNormalProp$
|
|
3687
|
+
var __defProp$e = Object.defineProperty;
|
|
3688
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3689
|
+
var __publicField$e = (obj, key, value) => {
|
|
3690
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3691
3691
|
return value;
|
|
3692
3692
|
};
|
|
3693
3693
|
class Dashboard {
|
|
3694
3694
|
constructor(page) {
|
|
3695
3695
|
this.page = page;
|
|
3696
|
-
__publicField$
|
|
3697
|
-
__publicField$
|
|
3698
|
-
__publicField$
|
|
3699
|
-
__publicField$
|
|
3700
|
-
__publicField$
|
|
3701
|
-
__publicField$
|
|
3702
|
-
__publicField$
|
|
3703
|
-
__publicField$
|
|
3696
|
+
__publicField$e(this, "welcomeHeadline");
|
|
3697
|
+
__publicField$e(this, "dataSharingConsentBanner");
|
|
3698
|
+
__publicField$e(this, "dataSharingAgreeButton");
|
|
3699
|
+
__publicField$e(this, "dataSharingNotAtTheMomentButton");
|
|
3700
|
+
__publicField$e(this, "dataSharingTermsAgreementLabel");
|
|
3701
|
+
__publicField$e(this, "dataSharingSettingsLink");
|
|
3702
|
+
__publicField$e(this, "dataSharingAcceptMessageText");
|
|
3703
|
+
__publicField$e(this, "dataSharingNotAtTheMomentMessageText");
|
|
3704
3704
|
this.welcomeHeadline = page.locator("h1.sw-dashboard-index__welcome-title");
|
|
3705
3705
|
this.dataSharingConsentBanner = page.locator(".sw-usage-data-consent-banner");
|
|
3706
3706
|
this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
|
|
@@ -3715,25 +3715,25 @@ class Dashboard {
|
|
|
3715
3715
|
}
|
|
3716
3716
|
}
|
|
3717
3717
|
|
|
3718
|
-
var __defProp$
|
|
3719
|
-
var __defNormalProp$
|
|
3720
|
-
var __publicField$
|
|
3721
|
-
__defNormalProp$
|
|
3718
|
+
var __defProp$d = Object.defineProperty;
|
|
3719
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3720
|
+
var __publicField$d = (obj, key, value) => {
|
|
3721
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3722
3722
|
return value;
|
|
3723
3723
|
};
|
|
3724
3724
|
class ShippingListing {
|
|
3725
3725
|
constructor(page) {
|
|
3726
3726
|
this.page = page;
|
|
3727
|
-
__publicField$
|
|
3728
|
-
__publicField$
|
|
3729
|
-
__publicField$
|
|
3730
|
-
__publicField$
|
|
3731
|
-
__publicField$
|
|
3727
|
+
__publicField$d(this, "header");
|
|
3728
|
+
__publicField$d(this, "addShippingMethod");
|
|
3729
|
+
__publicField$d(this, "contextMenu");
|
|
3730
|
+
__publicField$d(this, "editButton");
|
|
3731
|
+
__publicField$d(this, "deleteButton");
|
|
3732
3732
|
//warning modal
|
|
3733
|
-
__publicField$
|
|
3734
|
-
__publicField$
|
|
3735
|
-
__publicField$
|
|
3736
|
-
__publicField$
|
|
3733
|
+
__publicField$d(this, "modal");
|
|
3734
|
+
__publicField$d(this, "modalHeader");
|
|
3735
|
+
__publicField$d(this, "modalCancelButton");
|
|
3736
|
+
__publicField$d(this, "modalDeleteButton");
|
|
3737
3737
|
this.header = page.locator(".smart-bar__header");
|
|
3738
3738
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
3739
3739
|
this.contextMenu = page.locator(".sw-data-grid-settings__trigger");
|
|
@@ -3749,10 +3749,10 @@ class ShippingListing {
|
|
|
3749
3749
|
}
|
|
3750
3750
|
}
|
|
3751
3751
|
|
|
3752
|
-
var __defProp$
|
|
3753
|
-
var __defNormalProp$
|
|
3754
|
-
var __publicField$
|
|
3755
|
-
__defNormalProp$
|
|
3752
|
+
var __defProp$c = Object.defineProperty;
|
|
3753
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3754
|
+
var __publicField$c = (obj, key, value) => {
|
|
3755
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3756
3756
|
return value;
|
|
3757
3757
|
};
|
|
3758
3758
|
class LandingPageCreate {
|
|
@@ -3761,24 +3761,24 @@ class LandingPageCreate {
|
|
|
3761
3761
|
/**
|
|
3762
3762
|
* General
|
|
3763
3763
|
*/
|
|
3764
|
-
__publicField$
|
|
3765
|
-
__publicField$
|
|
3766
|
-
__publicField$
|
|
3767
|
-
__publicField$
|
|
3768
|
-
__publicField$
|
|
3769
|
-
__publicField$
|
|
3770
|
-
__publicField$
|
|
3764
|
+
__publicField$c(this, "nameInput");
|
|
3765
|
+
__publicField$c(this, "landingPageStatus");
|
|
3766
|
+
__publicField$c(this, "salesChannelSelectionList");
|
|
3767
|
+
__publicField$c(this, "filtersResultPopoverItemList");
|
|
3768
|
+
__publicField$c(this, "saveLandingPageButton");
|
|
3769
|
+
__publicField$c(this, "loadingSpinner");
|
|
3770
|
+
__publicField$c(this, "seoUrlInput");
|
|
3771
3771
|
/**
|
|
3772
3772
|
* Layout
|
|
3773
3773
|
*/
|
|
3774
|
-
__publicField$
|
|
3775
|
-
__publicField$
|
|
3776
|
-
__publicField$
|
|
3777
|
-
__publicField$
|
|
3778
|
-
__publicField$
|
|
3779
|
-
__publicField$
|
|
3780
|
-
__publicField$
|
|
3781
|
-
__publicField$
|
|
3774
|
+
__publicField$c(this, "layoutTab");
|
|
3775
|
+
__publicField$c(this, "assignLayoutButton");
|
|
3776
|
+
__publicField$c(this, "searchLayoutInput");
|
|
3777
|
+
__publicField$c(this, "layoutItems");
|
|
3778
|
+
__publicField$c(this, "layoutSaveButton");
|
|
3779
|
+
__publicField$c(this, "layoutEmptyState");
|
|
3780
|
+
__publicField$c(this, "createNewLayoutButton");
|
|
3781
|
+
__publicField$c(this, "layoutCheckboxes");
|
|
3782
3782
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
3783
3783
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
3784
3784
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -3803,10 +3803,10 @@ class LandingPageCreate {
|
|
|
3803
3803
|
}
|
|
3804
3804
|
}
|
|
3805
3805
|
|
|
3806
|
-
var __defProp$
|
|
3807
|
-
var __defNormalProp$
|
|
3808
|
-
var __publicField$
|
|
3809
|
-
__defNormalProp$
|
|
3806
|
+
var __defProp$b = Object.defineProperty;
|
|
3807
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3808
|
+
var __publicField$b = (obj, key, value) => {
|
|
3809
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3810
3810
|
return value;
|
|
3811
3811
|
};
|
|
3812
3812
|
class LandingPageDetail {
|
|
@@ -3815,24 +3815,24 @@ class LandingPageDetail {
|
|
|
3815
3815
|
/**
|
|
3816
3816
|
* General
|
|
3817
3817
|
*/
|
|
3818
|
-
__publicField$
|
|
3819
|
-
__publicField$
|
|
3820
|
-
__publicField$
|
|
3821
|
-
__publicField$
|
|
3822
|
-
__publicField$
|
|
3823
|
-
__publicField$
|
|
3824
|
-
__publicField$
|
|
3818
|
+
__publicField$b(this, "nameInput");
|
|
3819
|
+
__publicField$b(this, "landingPageStatus");
|
|
3820
|
+
__publicField$b(this, "salesChannelSelectionList");
|
|
3821
|
+
__publicField$b(this, "filtersResultPopoverItemList");
|
|
3822
|
+
__publicField$b(this, "saveLandingPageButton");
|
|
3823
|
+
__publicField$b(this, "loadingSpinner");
|
|
3824
|
+
__publicField$b(this, "seoUrlInput");
|
|
3825
3825
|
/**
|
|
3826
3826
|
* Layout
|
|
3827
3827
|
*/
|
|
3828
|
-
__publicField$
|
|
3829
|
-
__publicField$
|
|
3830
|
-
__publicField$
|
|
3831
|
-
__publicField$
|
|
3832
|
-
__publicField$
|
|
3833
|
-
__publicField$
|
|
3834
|
-
__publicField$
|
|
3835
|
-
__publicField$
|
|
3828
|
+
__publicField$b(this, "layoutTab");
|
|
3829
|
+
__publicField$b(this, "layoutAssignmentCardTitle");
|
|
3830
|
+
__publicField$b(this, "layoutAssignmentCardHeadline");
|
|
3831
|
+
__publicField$b(this, "changeLayoutButton");
|
|
3832
|
+
__publicField$b(this, "editInDesignerButton");
|
|
3833
|
+
__publicField$b(this, "layoutResetButton");
|
|
3834
|
+
__publicField$b(this, "layoutAssignmentStatus");
|
|
3835
|
+
__publicField$b(this, "layoutAssignmentContentSection");
|
|
3836
3836
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
3837
3837
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
3838
3838
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -3856,10 +3856,10 @@ class LandingPageDetail {
|
|
|
3856
3856
|
}
|
|
3857
3857
|
}
|
|
3858
3858
|
|
|
3859
|
-
var __defProp$
|
|
3860
|
-
var __defNormalProp$
|
|
3861
|
-
var __publicField$
|
|
3862
|
-
__defNormalProp$
|
|
3859
|
+
var __defProp$a = Object.defineProperty;
|
|
3860
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3861
|
+
var __publicField$a = (obj, key, value) => {
|
|
3862
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3863
3863
|
return value;
|
|
3864
3864
|
};
|
|
3865
3865
|
class Categories {
|
|
@@ -3868,40 +3868,40 @@ class Categories {
|
|
|
3868
3868
|
/**
|
|
3869
3869
|
* Landing pages
|
|
3870
3870
|
*/
|
|
3871
|
-
__publicField$
|
|
3872
|
-
__publicField$
|
|
3873
|
-
__publicField$
|
|
3874
|
-
__publicField$
|
|
3871
|
+
__publicField$a(this, "landingPageArea");
|
|
3872
|
+
__publicField$a(this, "landingPageHeadline");
|
|
3873
|
+
__publicField$a(this, "addLandingPageButton");
|
|
3874
|
+
__publicField$a(this, "landingPageItems");
|
|
3875
3875
|
/**
|
|
3876
3876
|
* Category tree
|
|
3877
3877
|
*/
|
|
3878
|
-
__publicField$
|
|
3879
|
-
__publicField$
|
|
3880
|
-
__publicField$
|
|
3881
|
-
__publicField$
|
|
3882
|
-
__publicField$
|
|
3883
|
-
__publicField$
|
|
3884
|
-
__publicField$
|
|
3878
|
+
__publicField$a(this, "categoryTree");
|
|
3879
|
+
__publicField$a(this, "homeCategory");
|
|
3880
|
+
__publicField$a(this, "homeCategoryContextButton");
|
|
3881
|
+
__publicField$a(this, "categoryMenuItemList");
|
|
3882
|
+
__publicField$a(this, "createCategoryInput");
|
|
3883
|
+
__publicField$a(this, "confirmCategoryCreationButton");
|
|
3884
|
+
__publicField$a(this, "categoryItems");
|
|
3885
3885
|
/**
|
|
3886
3886
|
* General
|
|
3887
3887
|
*/
|
|
3888
|
-
__publicField$
|
|
3889
|
-
__publicField$
|
|
3890
|
-
__publicField$
|
|
3891
|
-
__publicField$
|
|
3892
|
-
__publicField$
|
|
3893
|
-
__publicField$
|
|
3888
|
+
__publicField$a(this, "nameInput");
|
|
3889
|
+
__publicField$a(this, "activeCheckbox");
|
|
3890
|
+
__publicField$a(this, "categoryTypeSelectionList");
|
|
3891
|
+
__publicField$a(this, "filtersResultPopoverItemList");
|
|
3892
|
+
__publicField$a(this, "saveButton");
|
|
3893
|
+
__publicField$a(this, "loadingSpinner");
|
|
3894
3894
|
/**
|
|
3895
3895
|
* Customisable link
|
|
3896
3896
|
*/
|
|
3897
|
-
__publicField$
|
|
3898
|
-
__publicField$
|
|
3899
|
-
__publicField$
|
|
3900
|
-
__publicField$
|
|
3901
|
-
__publicField$
|
|
3902
|
-
__publicField$
|
|
3903
|
-
__publicField$
|
|
3904
|
-
__publicField$
|
|
3897
|
+
__publicField$a(this, "entitySelectionList");
|
|
3898
|
+
__publicField$a(this, "linkTypeSelectionList");
|
|
3899
|
+
__publicField$a(this, "categorySelectionList");
|
|
3900
|
+
__publicField$a(this, "productSelectionList");
|
|
3901
|
+
__publicField$a(this, "landingPageSelectionList");
|
|
3902
|
+
__publicField$a(this, "filterResultPopoverTreeCheckboxItemList");
|
|
3903
|
+
__publicField$a(this, "openInNewTabCheckbox");
|
|
3904
|
+
__publicField$a(this, "popoverCategoryTree");
|
|
3905
3905
|
this.landingPageArea = page.locator(".sw-category-detail__landing-page-collapse");
|
|
3906
3906
|
this.landingPageHeadline = this.landingPageArea.getByRole("heading", { name: "Landing pages" });
|
|
3907
3907
|
this.addLandingPageButton = this.landingPageArea.getByText("Add landing page");
|
|
@@ -3939,20 +3939,20 @@ class Categories {
|
|
|
3939
3939
|
}
|
|
3940
3940
|
}
|
|
3941
3941
|
|
|
3942
|
-
var __defProp$
|
|
3943
|
-
var __defNormalProp$
|
|
3944
|
-
var __publicField$
|
|
3945
|
-
__defNormalProp$
|
|
3942
|
+
var __defProp$9 = Object.defineProperty;
|
|
3943
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3944
|
+
var __publicField$9 = (obj, key, value) => {
|
|
3945
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3946
3946
|
return value;
|
|
3947
3947
|
};
|
|
3948
3948
|
class RuleDetail {
|
|
3949
3949
|
constructor(page) {
|
|
3950
3950
|
this.page = page;
|
|
3951
|
-
__publicField$
|
|
3952
|
-
__publicField$
|
|
3953
|
-
__publicField$
|
|
3954
|
-
__publicField$
|
|
3955
|
-
__publicField$
|
|
3951
|
+
__publicField$9(this, "nameInput");
|
|
3952
|
+
__publicField$9(this, "priorityInput");
|
|
3953
|
+
__publicField$9(this, "conditionTypeSelectionInput");
|
|
3954
|
+
__publicField$9(this, "conditionValueSelectionInput");
|
|
3955
|
+
__publicField$9(this, "filtersResultPopoverSelectionList");
|
|
3956
3956
|
this.nameInput = page.getByLabel("Name");
|
|
3957
3957
|
this.priorityInput = page.getByLabel("Priority");
|
|
3958
3958
|
this.conditionTypeSelectionInput = page.locator(".sw-condition-type-select").locator(".sw-single-select__selection");
|
|
@@ -3964,17 +3964,17 @@ class RuleDetail {
|
|
|
3964
3964
|
}
|
|
3965
3965
|
}
|
|
3966
3966
|
|
|
3967
|
-
var __defProp$
|
|
3968
|
-
var __defNormalProp$
|
|
3969
|
-
var __publicField$
|
|
3970
|
-
__defNormalProp$
|
|
3967
|
+
var __defProp$8 = Object.defineProperty;
|
|
3968
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3969
|
+
var __publicField$8 = (obj, key, value) => {
|
|
3970
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3971
3971
|
return value;
|
|
3972
3972
|
};
|
|
3973
3973
|
class CustomFieldListing {
|
|
3974
3974
|
constructor(page) {
|
|
3975
3975
|
this.page = page;
|
|
3976
|
-
__publicField$
|
|
3977
|
-
__publicField$
|
|
3976
|
+
__publicField$8(this, "addNewSetButton");
|
|
3977
|
+
__publicField$8(this, "customFieldRows");
|
|
3978
3978
|
this.addNewSetButton = page.getByText("Add new set");
|
|
3979
3979
|
this.customFieldRows = page.getByRole("row");
|
|
3980
3980
|
}
|
|
@@ -4002,22 +4002,22 @@ class CustomFieldListing {
|
|
|
4002
4002
|
}
|
|
4003
4003
|
}
|
|
4004
4004
|
|
|
4005
|
-
var __defProp$
|
|
4006
|
-
var __defNormalProp$
|
|
4007
|
-
var __publicField$
|
|
4008
|
-
__defNormalProp$
|
|
4005
|
+
var __defProp$7 = Object.defineProperty;
|
|
4006
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4007
|
+
var __publicField$7 = (obj, key, value) => {
|
|
4008
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4009
4009
|
return value;
|
|
4010
4010
|
};
|
|
4011
4011
|
class CustomFieldCreate {
|
|
4012
4012
|
constructor(page) {
|
|
4013
4013
|
this.page = page;
|
|
4014
|
-
__publicField$
|
|
4015
|
-
__publicField$
|
|
4016
|
-
__publicField$
|
|
4017
|
-
__publicField$
|
|
4018
|
-
__publicField$
|
|
4019
|
-
__publicField$
|
|
4020
|
-
__publicField$
|
|
4014
|
+
__publicField$7(this, "saveButton");
|
|
4015
|
+
__publicField$7(this, "cancelButton");
|
|
4016
|
+
__publicField$7(this, "technicalNameInput");
|
|
4017
|
+
__publicField$7(this, "positionInput");
|
|
4018
|
+
__publicField$7(this, "labelEnglishGBInput");
|
|
4019
|
+
__publicField$7(this, "assignToSelectionList");
|
|
4020
|
+
__publicField$7(this, "resultAssignToPopoverItemList");
|
|
4021
4021
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
4022
4022
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
4023
4023
|
this.technicalNameInput = page.getByLabel("Technical name");
|
|
@@ -4031,33 +4031,33 @@ class CustomFieldCreate {
|
|
|
4031
4031
|
}
|
|
4032
4032
|
}
|
|
4033
4033
|
|
|
4034
|
-
var __defProp$
|
|
4035
|
-
var __defNormalProp$
|
|
4036
|
-
var __publicField$
|
|
4037
|
-
__defNormalProp$
|
|
4034
|
+
var __defProp$6 = Object.defineProperty;
|
|
4035
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4036
|
+
var __publicField$6 = (obj, key, value) => {
|
|
4037
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4038
4038
|
return value;
|
|
4039
4039
|
};
|
|
4040
4040
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
4041
4041
|
constructor(page) {
|
|
4042
4042
|
super(page);
|
|
4043
4043
|
this.page = page;
|
|
4044
|
-
__publicField$
|
|
4045
|
-
__publicField$
|
|
4046
|
-
__publicField$
|
|
4047
|
-
__publicField$
|
|
4048
|
-
__publicField$
|
|
4049
|
-
__publicField$
|
|
4050
|
-
__publicField$
|
|
4051
|
-
__publicField$
|
|
4052
|
-
__publicField$
|
|
4053
|
-
__publicField$
|
|
4054
|
-
__publicField$
|
|
4055
|
-
__publicField$
|
|
4056
|
-
__publicField$
|
|
4057
|
-
__publicField$
|
|
4058
|
-
__publicField$
|
|
4059
|
-
__publicField$
|
|
4060
|
-
__publicField$
|
|
4044
|
+
__publicField$6(this, "newCustomFieldButton");
|
|
4045
|
+
__publicField$6(this, "customFieldEditDialog");
|
|
4046
|
+
__publicField$6(this, "newCustomFieldDialog");
|
|
4047
|
+
__publicField$6(this, "customFieldTechnicalNameInput");
|
|
4048
|
+
__publicField$6(this, "customFieldPositionInput");
|
|
4049
|
+
__publicField$6(this, "customFieldTypeSelectionList");
|
|
4050
|
+
__publicField$6(this, "customFieldModifyByStoreApiCheckbox");
|
|
4051
|
+
__publicField$6(this, "customFieldCancelButton");
|
|
4052
|
+
__publicField$6(this, "customFieldAddButton");
|
|
4053
|
+
__publicField$6(this, "customFieldEditApplyButton");
|
|
4054
|
+
__publicField$6(this, "customFieldLabelEnglishGBInput");
|
|
4055
|
+
__publicField$6(this, "customFieldPlaceholderEnglishGBInput");
|
|
4056
|
+
__publicField$6(this, "customFieldHelpTextEnglishGBInput");
|
|
4057
|
+
__publicField$6(this, "customFieldDeleteListButton");
|
|
4058
|
+
__publicField$6(this, "customFieldDeleteDialog");
|
|
4059
|
+
__publicField$6(this, "customFieldDeleteCancelButton");
|
|
4060
|
+
__publicField$6(this, "customFieldDeleteButton");
|
|
4061
4061
|
this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
|
|
4062
4062
|
this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
|
|
4063
4063
|
this.newCustomFieldDialog = page.getByRole("dialog", { name: "New custom field" });
|
|
@@ -4102,20 +4102,20 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
4102
4102
|
}
|
|
4103
4103
|
}
|
|
4104
4104
|
|
|
4105
|
-
var __defProp$
|
|
4106
|
-
var __defNormalProp$
|
|
4107
|
-
var __publicField$
|
|
4108
|
-
__defNormalProp$
|
|
4105
|
+
var __defProp$5 = Object.defineProperty;
|
|
4106
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4107
|
+
var __publicField$5 = (obj, key, value) => {
|
|
4108
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4109
4109
|
return value;
|
|
4110
4110
|
};
|
|
4111
4111
|
class CategoryDetail {
|
|
4112
4112
|
constructor(page) {
|
|
4113
4113
|
this.page = page;
|
|
4114
|
-
__publicField$
|
|
4115
|
-
__publicField$
|
|
4116
|
-
__publicField$
|
|
4117
|
-
__publicField$
|
|
4118
|
-
__publicField$
|
|
4114
|
+
__publicField$5(this, "saveButton");
|
|
4115
|
+
__publicField$5(this, "cancelButton");
|
|
4116
|
+
__publicField$5(this, "customFieldCard");
|
|
4117
|
+
__publicField$5(this, "customFieldSetTabs");
|
|
4118
|
+
__publicField$5(this, "customFieldSetTabCustomContent");
|
|
4119
4119
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
4120
4120
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
4121
4121
|
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
@@ -4136,22 +4136,22 @@ class CategoryDetail {
|
|
|
4136
4136
|
}
|
|
4137
4137
|
}
|
|
4138
4138
|
|
|
4139
|
-
var __defProp$
|
|
4140
|
-
var __defNormalProp$
|
|
4141
|
-
var __publicField$
|
|
4142
|
-
__defNormalProp$
|
|
4139
|
+
var __defProp$4 = Object.defineProperty;
|
|
4140
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4141
|
+
var __publicField$4 = (obj, key, value) => {
|
|
4142
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4143
4143
|
return value;
|
|
4144
4144
|
};
|
|
4145
4145
|
class RuleCreate {
|
|
4146
4146
|
constructor(page) {
|
|
4147
4147
|
this.page = page;
|
|
4148
|
-
__publicField$
|
|
4149
|
-
__publicField$
|
|
4150
|
-
__publicField$
|
|
4151
|
-
__publicField$
|
|
4152
|
-
__publicField$
|
|
4153
|
-
__publicField$
|
|
4154
|
-
__publicField$
|
|
4148
|
+
__publicField$4(this, "nameInput");
|
|
4149
|
+
__publicField$4(this, "priorityInput");
|
|
4150
|
+
__publicField$4(this, "conditionTypeSelectionInput");
|
|
4151
|
+
__publicField$4(this, "conditionValueSelectionInput");
|
|
4152
|
+
__publicField$4(this, "filtersResultPopoverSelectionList");
|
|
4153
|
+
__publicField$4(this, "saveButton");
|
|
4154
|
+
__publicField$4(this, "cancelButton");
|
|
4155
4155
|
this.nameInput = page.getByLabel("Name");
|
|
4156
4156
|
this.priorityInput = page.getByLabel("Priority");
|
|
4157
4157
|
this.conditionTypeSelectionInput = page.locator(".sw-condition-type-select").locator(".sw-single-select__selection");
|
|
@@ -4165,6 +4165,104 @@ class RuleCreate {
|
|
|
4165
4165
|
}
|
|
4166
4166
|
}
|
|
4167
4167
|
|
|
4168
|
+
var __defProp$3 = Object.defineProperty;
|
|
4169
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4170
|
+
var __publicField$3 = (obj, key, value) => {
|
|
4171
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4172
|
+
return value;
|
|
4173
|
+
};
|
|
4174
|
+
class ManufacturerCreate {
|
|
4175
|
+
constructor(page) {
|
|
4176
|
+
this.page = page;
|
|
4177
|
+
__publicField$3(this, "saveButton");
|
|
4178
|
+
__publicField$3(this, "cancelButton");
|
|
4179
|
+
__publicField$3(this, "nameInput");
|
|
4180
|
+
__publicField$3(this, "websiteInput");
|
|
4181
|
+
__publicField$3(this, "descriptionInput");
|
|
4182
|
+
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
4183
|
+
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
4184
|
+
this.nameInput = page.getByLabel("Name");
|
|
4185
|
+
this.websiteInput = page.getByLabel("Website");
|
|
4186
|
+
this.descriptionInput = page.locator(".sw-text-editor__content-editor");
|
|
4187
|
+
}
|
|
4188
|
+
url() {
|
|
4189
|
+
return `#/sw/manufacturer/create`;
|
|
4190
|
+
}
|
|
4191
|
+
}
|
|
4192
|
+
|
|
4193
|
+
var __defProp$2 = Object.defineProperty;
|
|
4194
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4195
|
+
var __publicField$2 = (obj, key, value) => {
|
|
4196
|
+
__defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4197
|
+
return value;
|
|
4198
|
+
};
|
|
4199
|
+
class ManufacturerListing {
|
|
4200
|
+
constructor(page) {
|
|
4201
|
+
this.page = page;
|
|
4202
|
+
__publicField$2(this, "addManufacturerButton");
|
|
4203
|
+
__publicField$2(this, "manufacturerRows");
|
|
4204
|
+
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
4205
|
+
this.manufacturerRows = page.getByRole("row");
|
|
4206
|
+
}
|
|
4207
|
+
async getLineItemByManufacturerName(manufacturerName) {
|
|
4208
|
+
const lineItem = this.page.getByRole("row").filter({ hasText: manufacturerName });
|
|
4209
|
+
const manufacturerNameText = lineItem.getByText(manufacturerName);
|
|
4210
|
+
const manufacturerWebsiteText = lineItem.locator(".sw-data-grid__cell--link");
|
|
4211
|
+
const manufacturerCheckbox = lineItem.locator(".sw-data-grid__cell--selection");
|
|
4212
|
+
const manufacturerContextButton = lineItem.locator(".sw-context-button__button");
|
|
4213
|
+
const manufacturerEditButton = this.page.locator(".sw-context-menu__content").getByRole("link", { name: "Edit" });
|
|
4214
|
+
const manufacturerDeleteButton = this.page.locator(".sw-context-menu__content").getByRole("link", { name: "Delete" });
|
|
4215
|
+
const warningDialog = this.page.getByRole("dialog", { name: "Warning" });
|
|
4216
|
+
const warningDialogCancelButton = warningDialog.getByRole("button", { name: "Cancel" });
|
|
4217
|
+
const warningDialogDeleteButton = warningDialog.getByRole("button", { name: "Delete" });
|
|
4218
|
+
return {
|
|
4219
|
+
manufacturerNameText,
|
|
4220
|
+
manufacturerWebsiteText,
|
|
4221
|
+
manufacturerCheckbox,
|
|
4222
|
+
manufacturerContextButton,
|
|
4223
|
+
manufacturerEditButton,
|
|
4224
|
+
manufacturerDeleteButton,
|
|
4225
|
+
warningDialog,
|
|
4226
|
+
warningDialogCancelButton,
|
|
4227
|
+
warningDialogDeleteButton
|
|
4228
|
+
};
|
|
4229
|
+
}
|
|
4230
|
+
url() {
|
|
4231
|
+
return `#/sw/manufacturer/index`;
|
|
4232
|
+
}
|
|
4233
|
+
}
|
|
4234
|
+
|
|
4235
|
+
var __defProp$1 = Object.defineProperty;
|
|
4236
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4237
|
+
var __publicField$1 = (obj, key, value) => {
|
|
4238
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4239
|
+
return value;
|
|
4240
|
+
};
|
|
4241
|
+
class ManufacturerDetail extends ManufacturerCreate {
|
|
4242
|
+
constructor(page) {
|
|
4243
|
+
super(page);
|
|
4244
|
+
this.page = page;
|
|
4245
|
+
__publicField$1(this, "customFieldCard");
|
|
4246
|
+
__publicField$1(this, "customFieldSetTabs");
|
|
4247
|
+
__publicField$1(this, "customFieldSetTabCustomContent");
|
|
4248
|
+
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
4249
|
+
this.customFieldSetTabs = this.customFieldCard.locator(".sw-tabs-item");
|
|
4250
|
+
this.customFieldSetTabCustomContent = this.customFieldCard.locator(".sw-tabs__custom-content");
|
|
4251
|
+
}
|
|
4252
|
+
async getCustomFieldSetCardContentByName(customFieldSetName) {
|
|
4253
|
+
const customFieldCard = this.page.locator(".sw-card").filter({ hasText: "Custom fields" });
|
|
4254
|
+
const customFieldSetTab = customFieldCard.getByText(customFieldSetName);
|
|
4255
|
+
const customFieldSetTabCustomContent = customFieldCard.locator(`.sw-custom-field-set-renderer-tab-content__${customFieldSetName}`);
|
|
4256
|
+
return {
|
|
4257
|
+
customFieldSetTab,
|
|
4258
|
+
customFieldSetTabCustomContent
|
|
4259
|
+
};
|
|
4260
|
+
}
|
|
4261
|
+
url(manufacturerUuid) {
|
|
4262
|
+
return `#/sw/manufacturer/detail/${manufacturerUuid}`;
|
|
4263
|
+
}
|
|
4264
|
+
}
|
|
4265
|
+
|
|
4168
4266
|
const AdminPageObjects = {
|
|
4169
4267
|
ProductDetail,
|
|
4170
4268
|
OrderDetail,
|
|
@@ -4184,7 +4282,10 @@ const AdminPageObjects = {
|
|
|
4184
4282
|
RuleCreate,
|
|
4185
4283
|
CustomFieldListing,
|
|
4186
4284
|
CustomFieldCreate,
|
|
4187
|
-
CustomFieldDetail
|
|
4285
|
+
CustomFieldDetail,
|
|
4286
|
+
ManufacturerCreate,
|
|
4287
|
+
ManufacturerDetail,
|
|
4288
|
+
ManufacturerListing
|
|
4188
4289
|
};
|
|
4189
4290
|
const test$5 = test$e.extend({
|
|
4190
4291
|
AdminProductDetail: async ({ AdminPage }, use) => {
|
|
@@ -4243,6 +4344,15 @@ const test$5 = test$e.extend({
|
|
|
4243
4344
|
},
|
|
4244
4345
|
AdminCustomFieldDetail: async ({ AdminPage }, use) => {
|
|
4245
4346
|
await use(new CustomFieldDetail(AdminPage));
|
|
4347
|
+
},
|
|
4348
|
+
AdminManufacturerListing: async ({ AdminPage }, use) => {
|
|
4349
|
+
await use(new ManufacturerListing(AdminPage));
|
|
4350
|
+
},
|
|
4351
|
+
AdminManufacturerCreate: async ({ AdminPage }, use) => {
|
|
4352
|
+
await use(new ManufacturerCreate(AdminPage));
|
|
4353
|
+
},
|
|
4354
|
+
AdminManufacturerDetail: async ({ AdminPage }, use) => {
|
|
4355
|
+
await use(new ManufacturerDetail(AdminPage));
|
|
4246
4356
|
}
|
|
4247
4357
|
});
|
|
4248
4358
|
|