@shopware-ag/acceptance-test-suite 4.0.0 → 4.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.d.mts +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.mjs +436 -413
- 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$A = Object.defineProperty;
|
|
389
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
390
|
+
var __publicField$A = (obj, key, value) => {
|
|
391
|
+
__defNormalProp$A(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$A(this, "context");
|
|
397
|
+
__publicField$A(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$A(_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$z(_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$z = Object.defineProperty;
|
|
500
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
501
|
+
var __publicField$z = (obj, key, value) => {
|
|
502
|
+
__defNormalProp$z(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$z(this, "context");
|
|
508
|
+
__publicField$z(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$z(_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$y = Object.defineProperty;
|
|
574
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
575
|
+
var __publicField$y = (obj, key, value) => {
|
|
576
|
+
__defNormalProp$y(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$y(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$x = Object.defineProperty;
|
|
879
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
880
|
+
var __publicField$x = (obj, key, value) => {
|
|
881
|
+
__defNormalProp$x(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$x(this, "page");
|
|
887
|
+
__publicField$x(this, "name");
|
|
888
|
+
__publicField$x(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$w = Object.defineProperty;
|
|
938
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
939
|
+
var __publicField$w = (obj, key, value) => {
|
|
940
|
+
__defNormalProp$w(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$w(this, "AdminApiClient");
|
|
946
|
+
__publicField$w(this, "IdProvider");
|
|
947
|
+
__publicField$w(this, "namePrefix", "Test-");
|
|
948
|
+
__publicField$w(this, "nameSuffix", "");
|
|
949
|
+
__publicField$w(this, "defaultSalesChannel");
|
|
950
|
+
__publicField$w(this, "defaultTaxId");
|
|
951
|
+
__publicField$w(this, "defaultCurrencyId");
|
|
952
|
+
__publicField$w(this, "defaultCategoryId");
|
|
953
|
+
__publicField$w(this, "defaultLanguageId");
|
|
954
|
+
__publicField$w(this, "defaultCountryId");
|
|
955
|
+
__publicField$w(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$w(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$w(this, "highPriorityEntities", ["order", "product"]);
|
|
970
970
|
/**
|
|
971
971
|
* A registry of all created records.
|
|
972
972
|
*
|
|
973
973
|
* @private
|
|
974
974
|
*/
|
|
975
|
-
__publicField$
|
|
975
|
+
__publicField$w(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$w(this, "combineAll", (array) => {
|
|
982
982
|
const result = [];
|
|
983
983
|
const max = array.length - 1;
|
|
984
984
|
const helper = (tmpArray, i) => {
|
|
@@ -1360,8 +1360,8 @@ class TestDataService {
|
|
|
1360
1360
|
*
|
|
1361
1361
|
* @param overrides - Specific data overrides that will be applied to the payment method data struct.
|
|
1362
1362
|
*/
|
|
1363
|
-
async createBasicRule(overrides = {}) {
|
|
1364
|
-
const basicRule = this.getBasicRuleStruct(overrides);
|
|
1363
|
+
async createBasicRule(overrides = {}, conditionType = "cartCartAmount", operator = ">=", amount = 1) {
|
|
1364
|
+
const basicRule = this.getBasicRuleStruct(overrides, conditionType, operator, amount);
|
|
1365
1365
|
const ruleResponse = await this.AdminApiClient.post("rule?_response=detail", {
|
|
1366
1366
|
data: basicRule
|
|
1367
1367
|
});
|
|
@@ -1932,7 +1932,7 @@ class TestDataService {
|
|
|
1932
1932
|
}
|
|
1933
1933
|
return Object.assign({}, basicProduct, overrides);
|
|
1934
1934
|
}
|
|
1935
|
-
getBasicRuleStruct(overrides = {}, conditionType
|
|
1935
|
+
getBasicRuleStruct(overrides = {}, conditionType, operator, amount) {
|
|
1936
1936
|
const { id: ruleId, uuid: ruleUuid } = this.IdProvider.getIdPair();
|
|
1937
1937
|
const ruleName = `${this.namePrefix}Rule-${ruleId}${this.nameSuffix}`;
|
|
1938
1938
|
const description = `
|
|
@@ -2430,16 +2430,16 @@ const test$8 = test$e.extend({
|
|
|
2430
2430
|
}
|
|
2431
2431
|
});
|
|
2432
2432
|
|
|
2433
|
-
var __defProp$
|
|
2434
|
-
var __defNormalProp$
|
|
2435
|
-
var __publicField$
|
|
2436
|
-
__defNormalProp$
|
|
2433
|
+
var __defProp$v = Object.defineProperty;
|
|
2434
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2435
|
+
var __publicField$v = (obj, key, value) => {
|
|
2436
|
+
__defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2437
2437
|
return value;
|
|
2438
2438
|
};
|
|
2439
2439
|
class IdProvider {
|
|
2440
2440
|
constructor(workerIndex, seed) {
|
|
2441
|
-
__publicField$
|
|
2442
|
-
__publicField$
|
|
2441
|
+
__publicField$v(this, "workerIndex");
|
|
2442
|
+
__publicField$v(this, "seed");
|
|
2443
2443
|
this.workerIndex = workerIndex;
|
|
2444
2444
|
this.seed = seed;
|
|
2445
2445
|
}
|
|
@@ -2513,17 +2513,17 @@ const test$7 = test$e.extend({
|
|
|
2513
2513
|
]
|
|
2514
2514
|
});
|
|
2515
2515
|
|
|
2516
|
-
var __defProp$
|
|
2517
|
-
var __defNormalProp$
|
|
2518
|
-
var __publicField$
|
|
2519
|
-
__defNormalProp$
|
|
2516
|
+
var __defProp$u = Object.defineProperty;
|
|
2517
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2518
|
+
var __publicField$u = (obj, key, value) => {
|
|
2519
|
+
__defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2520
2520
|
return value;
|
|
2521
2521
|
};
|
|
2522
2522
|
class Home {
|
|
2523
2523
|
constructor(page) {
|
|
2524
2524
|
this.page = page;
|
|
2525
|
-
__publicField$
|
|
2526
|
-
__publicField$
|
|
2525
|
+
__publicField$u(this, "productImages");
|
|
2526
|
+
__publicField$u(this, "productListItems");
|
|
2527
2527
|
this.productImages = page.locator(".product-image-link");
|
|
2528
2528
|
this.productListItems = page.getByRole("listitem");
|
|
2529
2529
|
}
|
|
@@ -2532,26 +2532,26 @@ class Home {
|
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
2534
|
|
|
2535
|
-
var __defProp$
|
|
2536
|
-
var __defNormalProp$
|
|
2537
|
-
var __publicField$
|
|
2538
|
-
__defNormalProp$
|
|
2535
|
+
var __defProp$t = Object.defineProperty;
|
|
2536
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2537
|
+
var __publicField$t = (obj, key, value) => {
|
|
2538
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2539
2539
|
return value;
|
|
2540
2540
|
};
|
|
2541
2541
|
let ProductDetail$1 = class ProductDetail {
|
|
2542
2542
|
constructor(page) {
|
|
2543
2543
|
this.page = page;
|
|
2544
|
-
__publicField$
|
|
2545
|
-
__publicField$
|
|
2546
|
-
__publicField$
|
|
2547
|
-
__publicField$
|
|
2548
|
-
__publicField$
|
|
2549
|
-
__publicField$
|
|
2550
|
-
__publicField$
|
|
2551
|
-
__publicField$
|
|
2552
|
-
__publicField$
|
|
2553
|
-
__publicField$
|
|
2554
|
-
__publicField$
|
|
2544
|
+
__publicField$t(this, "addToCartButton");
|
|
2545
|
+
__publicField$t(this, "quantitySelect");
|
|
2546
|
+
__publicField$t(this, "productSingleImage");
|
|
2547
|
+
__publicField$t(this, "productSinglePrice");
|
|
2548
|
+
__publicField$t(this, "productPriceRangesRow");
|
|
2549
|
+
__publicField$t(this, "offCanvasCartTitle");
|
|
2550
|
+
__publicField$t(this, "offCanvasCart");
|
|
2551
|
+
__publicField$t(this, "offCanvasCartGoToCheckoutButton");
|
|
2552
|
+
__publicField$t(this, "offCanvasLineItemImages");
|
|
2553
|
+
__publicField$t(this, "offCanvasSummaryTotalPrice");
|
|
2554
|
+
__publicField$t(this, "offCanvas");
|
|
2555
2555
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
2556
2556
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
2557
2557
|
this.productSingleImage = page.locator(".gallery-slider-single-image");
|
|
@@ -2573,18 +2573,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
2573
2573
|
}
|
|
2574
2574
|
};
|
|
2575
2575
|
|
|
2576
|
-
var __defProp$
|
|
2577
|
-
var __defNormalProp$
|
|
2578
|
-
var __publicField$
|
|
2579
|
-
__defNormalProp$
|
|
2576
|
+
var __defProp$s = Object.defineProperty;
|
|
2577
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2578
|
+
var __publicField$s = (obj, key, value) => {
|
|
2579
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2580
2580
|
return value;
|
|
2581
2581
|
};
|
|
2582
2582
|
class Category {
|
|
2583
2583
|
constructor(page) {
|
|
2584
2584
|
this.page = page;
|
|
2585
|
-
__publicField$
|
|
2586
|
-
__publicField$
|
|
2587
|
-
__publicField$
|
|
2585
|
+
__publicField$s(this, "sortingSelect");
|
|
2586
|
+
__publicField$s(this, "firstProductBuyButton");
|
|
2587
|
+
__publicField$s(this, "noProductsFoundAlert");
|
|
2588
2588
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
2589
2589
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
2590
2590
|
this.noProductsFoundAlert = page.getByText("No products found.");
|
|
@@ -2594,24 +2594,24 @@ class Category {
|
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
2596
2596
|
|
|
2597
|
-
var __defProp$
|
|
2598
|
-
var __defNormalProp$
|
|
2599
|
-
var __publicField$
|
|
2600
|
-
__defNormalProp$
|
|
2597
|
+
var __defProp$r = Object.defineProperty;
|
|
2598
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2599
|
+
var __publicField$r = (obj, key, value) => {
|
|
2600
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2601
2601
|
return value;
|
|
2602
2602
|
};
|
|
2603
2603
|
class CheckoutCart {
|
|
2604
2604
|
constructor(page) {
|
|
2605
2605
|
this.page = page;
|
|
2606
|
-
__publicField$
|
|
2607
|
-
__publicField$
|
|
2608
|
-
__publicField$
|
|
2609
|
-
__publicField$
|
|
2610
|
-
__publicField$
|
|
2611
|
-
__publicField$
|
|
2612
|
-
__publicField$
|
|
2613
|
-
__publicField$
|
|
2614
|
-
__publicField$
|
|
2606
|
+
__publicField$r(this, "headline");
|
|
2607
|
+
__publicField$r(this, "goToCheckoutButton");
|
|
2608
|
+
__publicField$r(this, "enterPromoInput");
|
|
2609
|
+
__publicField$r(this, "grandTotalPrice");
|
|
2610
|
+
__publicField$r(this, "emptyCartAlert");
|
|
2611
|
+
__publicField$r(this, "stockReachedAlert");
|
|
2612
|
+
__publicField$r(this, "cartLineItemImages");
|
|
2613
|
+
__publicField$r(this, "unitPriceInfo");
|
|
2614
|
+
__publicField$r(this, "cartQuantityNumber");
|
|
2615
2615
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
2616
2616
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
2617
2617
|
this.enterPromoInput = page.getByLabel("Promo code");
|
|
@@ -2652,25 +2652,25 @@ class CheckoutCart {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
}
|
|
2654
2654
|
|
|
2655
|
-
var __defProp$
|
|
2656
|
-
var __defNormalProp$
|
|
2657
|
-
var __publicField$
|
|
2658
|
-
__defNormalProp$
|
|
2655
|
+
var __defProp$q = Object.defineProperty;
|
|
2656
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2657
|
+
var __publicField$q = (obj, key, value) => {
|
|
2658
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2659
2659
|
return value;
|
|
2660
2660
|
};
|
|
2661
2661
|
class OffCanvasCart {
|
|
2662
2662
|
constructor(page) {
|
|
2663
2663
|
this.page = page;
|
|
2664
|
-
__publicField$
|
|
2665
|
-
__publicField$
|
|
2666
|
-
__publicField$
|
|
2667
|
-
__publicField$
|
|
2668
|
-
__publicField$
|
|
2669
|
-
__publicField$
|
|
2670
|
-
__publicField$
|
|
2671
|
-
__publicField$
|
|
2672
|
-
__publicField$
|
|
2673
|
-
__publicField$
|
|
2664
|
+
__publicField$q(this, "headline");
|
|
2665
|
+
__publicField$q(this, "itemCount");
|
|
2666
|
+
__publicField$q(this, "goToCheckoutButton");
|
|
2667
|
+
__publicField$q(this, "goToCartButton");
|
|
2668
|
+
__publicField$q(this, "continueShoppingButton");
|
|
2669
|
+
__publicField$q(this, "enterPromoInput");
|
|
2670
|
+
__publicField$q(this, "submitDiscountButton");
|
|
2671
|
+
__publicField$q(this, "subTotalPrice");
|
|
2672
|
+
__publicField$q(this, "shippingCosts");
|
|
2673
|
+
__publicField$q(this, "cartQuantityNumber");
|
|
2674
2674
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
2675
2675
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
2676
2676
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -2712,35 +2712,35 @@ class OffCanvasCart {
|
|
|
2712
2712
|
}
|
|
2713
2713
|
}
|
|
2714
2714
|
|
|
2715
|
-
var __defProp$
|
|
2716
|
-
var __defNormalProp$
|
|
2717
|
-
var __publicField$
|
|
2718
|
-
__defNormalProp$
|
|
2715
|
+
var __defProp$p = Object.defineProperty;
|
|
2716
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2717
|
+
var __publicField$p = (obj, key, value) => {
|
|
2718
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2719
2719
|
return value;
|
|
2720
2720
|
};
|
|
2721
2721
|
class CheckoutConfirm {
|
|
2722
2722
|
constructor(page) {
|
|
2723
2723
|
this.page = page;
|
|
2724
|
-
__publicField$
|
|
2725
|
-
__publicField$
|
|
2726
|
-
__publicField$
|
|
2727
|
-
__publicField$
|
|
2728
|
-
__publicField$
|
|
2724
|
+
__publicField$p(this, "headline");
|
|
2725
|
+
__publicField$p(this, "termsAndConditionsCheckbox");
|
|
2726
|
+
__publicField$p(this, "immediateAccessToDigitalProductCheckbox");
|
|
2727
|
+
__publicField$p(this, "grandTotalPrice");
|
|
2728
|
+
__publicField$p(this, "submitOrderButton");
|
|
2729
2729
|
/**
|
|
2730
2730
|
* Payment options
|
|
2731
2731
|
*/
|
|
2732
|
-
__publicField$
|
|
2733
|
-
__publicField$
|
|
2734
|
-
__publicField$
|
|
2732
|
+
__publicField$p(this, "paymentCashOnDelivery");
|
|
2733
|
+
__publicField$p(this, "paymentPaidInAdvance");
|
|
2734
|
+
__publicField$p(this, "paymentInvoice");
|
|
2735
2735
|
/**
|
|
2736
2736
|
* Shipping options
|
|
2737
2737
|
*/
|
|
2738
|
-
__publicField$
|
|
2739
|
-
__publicField$
|
|
2738
|
+
__publicField$p(this, "shippingStandard");
|
|
2739
|
+
__publicField$p(this, "shippingExpress");
|
|
2740
2740
|
/**
|
|
2741
2741
|
* Product details
|
|
2742
2742
|
*/
|
|
2743
|
-
__publicField$
|
|
2743
|
+
__publicField$p(this, "cartLineItemImages");
|
|
2744
2744
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
2745
2745
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
2746
2746
|
this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
|
|
@@ -2758,20 +2758,20 @@ class CheckoutConfirm {
|
|
|
2758
2758
|
}
|
|
2759
2759
|
}
|
|
2760
2760
|
|
|
2761
|
-
var __defProp$
|
|
2762
|
-
var __defNormalProp$
|
|
2763
|
-
var __publicField$
|
|
2764
|
-
__defNormalProp$
|
|
2761
|
+
var __defProp$o = Object.defineProperty;
|
|
2762
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2763
|
+
var __publicField$o = (obj, key, value) => {
|
|
2764
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2765
2765
|
return value;
|
|
2766
2766
|
};
|
|
2767
2767
|
class CheckoutFinish {
|
|
2768
2768
|
constructor(page) {
|
|
2769
2769
|
this.page = page;
|
|
2770
|
-
__publicField$
|
|
2771
|
-
__publicField$
|
|
2772
|
-
__publicField$
|
|
2773
|
-
__publicField$
|
|
2774
|
-
__publicField$
|
|
2770
|
+
__publicField$o(this, "headline");
|
|
2771
|
+
__publicField$o(this, "orderNumberText");
|
|
2772
|
+
__publicField$o(this, "grandTotalPrice");
|
|
2773
|
+
__publicField$o(this, "cartLineItemImages");
|
|
2774
|
+
__publicField$o(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
2775
2775
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
2776
2776
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
2777
2777
|
this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
|
|
@@ -2799,16 +2799,16 @@ class CheckoutFinish {
|
|
|
2799
2799
|
}
|
|
2800
2800
|
}
|
|
2801
2801
|
|
|
2802
|
-
var __defProp$
|
|
2803
|
-
var __defNormalProp$
|
|
2804
|
-
var __publicField$
|
|
2805
|
-
__defNormalProp$
|
|
2802
|
+
var __defProp$n = Object.defineProperty;
|
|
2803
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2804
|
+
var __publicField$n = (obj, key, value) => {
|
|
2805
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2806
2806
|
return value;
|
|
2807
2807
|
};
|
|
2808
2808
|
class CheckoutRegister {
|
|
2809
2809
|
constructor(page) {
|
|
2810
2810
|
this.page = page;
|
|
2811
|
-
__publicField$
|
|
2811
|
+
__publicField$n(this, "cartLineItemImages");
|
|
2812
2812
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
2813
2813
|
}
|
|
2814
2814
|
url() {
|
|
@@ -2816,22 +2816,22 @@ class CheckoutRegister {
|
|
|
2816
2816
|
}
|
|
2817
2817
|
}
|
|
2818
2818
|
|
|
2819
|
-
var __defProp$
|
|
2820
|
-
var __defNormalProp$
|
|
2821
|
-
var __publicField$
|
|
2822
|
-
__defNormalProp$
|
|
2819
|
+
var __defProp$m = Object.defineProperty;
|
|
2820
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2821
|
+
var __publicField$m = (obj, key, value) => {
|
|
2822
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2823
2823
|
return value;
|
|
2824
2824
|
};
|
|
2825
2825
|
class Account {
|
|
2826
2826
|
constructor(page) {
|
|
2827
2827
|
this.page = page;
|
|
2828
|
-
__publicField$
|
|
2829
|
-
__publicField$
|
|
2830
|
-
__publicField$
|
|
2831
|
-
__publicField$
|
|
2832
|
-
__publicField$
|
|
2833
|
-
__publicField$
|
|
2834
|
-
__publicField$
|
|
2828
|
+
__publicField$m(this, "headline");
|
|
2829
|
+
__publicField$m(this, "personalDataCardTitle");
|
|
2830
|
+
__publicField$m(this, "paymentMethodCardTitle");
|
|
2831
|
+
__publicField$m(this, "billingAddressCardTitle");
|
|
2832
|
+
__publicField$m(this, "shippingAddressCardTitle");
|
|
2833
|
+
__publicField$m(this, "newsletterCheckbox");
|
|
2834
|
+
__publicField$m(this, "newsletterRegistrationSuccessMessage");
|
|
2835
2835
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
2836
2836
|
this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
|
|
2837
2837
|
this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
|
|
@@ -2845,32 +2845,32 @@ class Account {
|
|
|
2845
2845
|
}
|
|
2846
2846
|
}
|
|
2847
2847
|
|
|
2848
|
-
var __defProp$
|
|
2849
|
-
var __defNormalProp$
|
|
2850
|
-
var __publicField$
|
|
2851
|
-
__defNormalProp$
|
|
2848
|
+
var __defProp$l = Object.defineProperty;
|
|
2849
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2850
|
+
var __publicField$l = (obj, key, value) => {
|
|
2851
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2852
2852
|
return value;
|
|
2853
2853
|
};
|
|
2854
2854
|
class AccountLogin {
|
|
2855
2855
|
constructor(page) {
|
|
2856
2856
|
this.page = page;
|
|
2857
|
-
__publicField$
|
|
2858
|
-
__publicField$
|
|
2859
|
-
__publicField$
|
|
2860
|
-
__publicField$
|
|
2861
|
-
__publicField$
|
|
2857
|
+
__publicField$l(this, "emailInput");
|
|
2858
|
+
__publicField$l(this, "passwordInput");
|
|
2859
|
+
__publicField$l(this, "loginButton");
|
|
2860
|
+
__publicField$l(this, "logoutLink");
|
|
2861
|
+
__publicField$l(this, "successAlert");
|
|
2862
2862
|
// Inputs for registration
|
|
2863
|
-
__publicField$
|
|
2864
|
-
__publicField$
|
|
2865
|
-
__publicField$
|
|
2866
|
-
__publicField$
|
|
2867
|
-
__publicField$
|
|
2868
|
-
__publicField$
|
|
2869
|
-
__publicField$
|
|
2870
|
-
__publicField$
|
|
2871
|
-
__publicField$
|
|
2872
|
-
__publicField$
|
|
2873
|
-
__publicField$
|
|
2863
|
+
__publicField$l(this, "personalFormArea");
|
|
2864
|
+
__publicField$l(this, "billingAddressFormArea");
|
|
2865
|
+
__publicField$l(this, "firstNameInput");
|
|
2866
|
+
__publicField$l(this, "lastNameInput");
|
|
2867
|
+
__publicField$l(this, "registerEmailInput");
|
|
2868
|
+
__publicField$l(this, "registerPasswordInput");
|
|
2869
|
+
__publicField$l(this, "streetAddressInput");
|
|
2870
|
+
__publicField$l(this, "cityInput");
|
|
2871
|
+
__publicField$l(this, "countryInput");
|
|
2872
|
+
__publicField$l(this, "postalCodeInput");
|
|
2873
|
+
__publicField$l(this, "registerButton");
|
|
2874
2874
|
this.emailInput = page.getByLabel("Your email address");
|
|
2875
2875
|
this.passwordInput = page.getByLabel("Your password");
|
|
2876
2876
|
this.loginButton = page.getByRole("button", { name: "Log in" });
|
|
@@ -2894,29 +2894,29 @@ class AccountLogin {
|
|
|
2894
2894
|
}
|
|
2895
2895
|
}
|
|
2896
2896
|
|
|
2897
|
-
var __defProp$
|
|
2898
|
-
var __defNormalProp$
|
|
2899
|
-
var __publicField$
|
|
2900
|
-
__defNormalProp$
|
|
2897
|
+
var __defProp$k = Object.defineProperty;
|
|
2898
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2899
|
+
var __publicField$k = (obj, key, value) => {
|
|
2900
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2901
2901
|
return value;
|
|
2902
2902
|
};
|
|
2903
2903
|
class AccountProfile {
|
|
2904
2904
|
constructor(page) {
|
|
2905
2905
|
this.page = page;
|
|
2906
|
-
__publicField$
|
|
2907
|
-
__publicField$
|
|
2908
|
-
__publicField$
|
|
2909
|
-
__publicField$
|
|
2910
|
-
__publicField$
|
|
2911
|
-
__publicField$
|
|
2912
|
-
__publicField$
|
|
2913
|
-
__publicField$
|
|
2914
|
-
__publicField$
|
|
2915
|
-
__publicField$
|
|
2916
|
-
__publicField$
|
|
2917
|
-
__publicField$
|
|
2918
|
-
__publicField$
|
|
2919
|
-
__publicField$
|
|
2906
|
+
__publicField$k(this, "salutationSelect");
|
|
2907
|
+
__publicField$k(this, "firstNameInput");
|
|
2908
|
+
__publicField$k(this, "lastNameInput");
|
|
2909
|
+
__publicField$k(this, "saveProfileButton");
|
|
2910
|
+
__publicField$k(this, "changeEmailButton");
|
|
2911
|
+
__publicField$k(this, "emailAddressInput");
|
|
2912
|
+
__publicField$k(this, "emailAddressConfirmInput");
|
|
2913
|
+
__publicField$k(this, "emailConfirmPasswordInput");
|
|
2914
|
+
__publicField$k(this, "saveEmailAddressButton");
|
|
2915
|
+
__publicField$k(this, "changePasswordButton");
|
|
2916
|
+
__publicField$k(this, "newPasswordInput");
|
|
2917
|
+
__publicField$k(this, "newPasswordConfirmInput");
|
|
2918
|
+
__publicField$k(this, "currentPasswordInput");
|
|
2919
|
+
__publicField$k(this, "saveNewPasswordButton");
|
|
2920
2920
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
2921
2921
|
this.firstNameInput = page.getByPlaceholder("Enter first name...");
|
|
2922
2922
|
this.lastNameInput = page.getByPlaceholder("Enter last name...");
|
|
@@ -2937,18 +2937,18 @@ class AccountProfile {
|
|
|
2937
2937
|
}
|
|
2938
2938
|
}
|
|
2939
2939
|
|
|
2940
|
-
var __defProp$
|
|
2941
|
-
var __defNormalProp$
|
|
2942
|
-
var __publicField$
|
|
2943
|
-
__defNormalProp$
|
|
2940
|
+
var __defProp$j = Object.defineProperty;
|
|
2941
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2942
|
+
var __publicField$j = (obj, key, value) => {
|
|
2943
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2944
2944
|
return value;
|
|
2945
2945
|
};
|
|
2946
2946
|
class AccountOrder {
|
|
2947
2947
|
constructor(page) {
|
|
2948
2948
|
this.page = page;
|
|
2949
|
-
__publicField$
|
|
2950
|
-
__publicField$
|
|
2951
|
-
__publicField$
|
|
2949
|
+
__publicField$j(this, "cartLineItemImages");
|
|
2950
|
+
__publicField$j(this, "orderExpandButton");
|
|
2951
|
+
__publicField$j(this, "digitalProductDownloadButton");
|
|
2952
2952
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
2953
2953
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
2954
2954
|
this.digitalProductDownloadButton = page.getByRole("link", { name: "Download" }).first();
|
|
@@ -2958,20 +2958,20 @@ class AccountOrder {
|
|
|
2958
2958
|
}
|
|
2959
2959
|
}
|
|
2960
2960
|
|
|
2961
|
-
var __defProp$
|
|
2962
|
-
var __defNormalProp$
|
|
2963
|
-
var __publicField$
|
|
2964
|
-
__defNormalProp$
|
|
2961
|
+
var __defProp$i = Object.defineProperty;
|
|
2962
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2963
|
+
var __publicField$i = (obj, key, value) => {
|
|
2964
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2965
2965
|
return value;
|
|
2966
2966
|
};
|
|
2967
2967
|
class AccountAddresses {
|
|
2968
2968
|
constructor(page) {
|
|
2969
2969
|
this.page = page;
|
|
2970
|
-
__publicField$
|
|
2971
|
-
__publicField$
|
|
2972
|
-
__publicField$
|
|
2973
|
-
__publicField$
|
|
2974
|
-
__publicField$
|
|
2970
|
+
__publicField$i(this, "addNewAddressButton");
|
|
2971
|
+
__publicField$i(this, "editBillingAddressButton");
|
|
2972
|
+
__publicField$i(this, "editShippingAddressButton");
|
|
2973
|
+
__publicField$i(this, "useDefaultBillingAddressButton");
|
|
2974
|
+
__publicField$i(this, "useDefaultShippingAddressButton");
|
|
2975
2975
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
2976
2976
|
this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
|
|
2977
2977
|
this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
|
|
@@ -2983,19 +2983,19 @@ class AccountAddresses {
|
|
|
2983
2983
|
}
|
|
2984
2984
|
}
|
|
2985
2985
|
|
|
2986
|
-
var __defProp$
|
|
2987
|
-
var __defNormalProp$
|
|
2988
|
-
var __publicField$
|
|
2989
|
-
__defNormalProp$
|
|
2986
|
+
var __defProp$h = Object.defineProperty;
|
|
2987
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2988
|
+
var __publicField$h = (obj, key, value) => {
|
|
2989
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2990
2990
|
return value;
|
|
2991
2991
|
};
|
|
2992
2992
|
class AccountPayment {
|
|
2993
2993
|
constructor(page) {
|
|
2994
2994
|
this.page = page;
|
|
2995
|
-
__publicField$
|
|
2996
|
-
__publicField$
|
|
2997
|
-
__publicField$
|
|
2998
|
-
__publicField$
|
|
2995
|
+
__publicField$h(this, "cashOnDeliveryOption");
|
|
2996
|
+
__publicField$h(this, "paidInAdvanceOption");
|
|
2997
|
+
__publicField$h(this, "invoiceOption");
|
|
2998
|
+
__publicField$h(this, "changeDefaultPaymentButton");
|
|
2999
2999
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
3000
3000
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
3001
3001
|
this.invoiceOption = page.getByLabel("Invoice");
|
|
@@ -3006,17 +3006,17 @@ class AccountPayment {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
}
|
|
3008
3008
|
|
|
3009
|
-
var __defProp$
|
|
3010
|
-
var __defNormalProp$
|
|
3011
|
-
var __publicField$
|
|
3012
|
-
__defNormalProp$
|
|
3009
|
+
var __defProp$g = Object.defineProperty;
|
|
3010
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3011
|
+
var __publicField$g = (obj, key, value) => {
|
|
3012
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3013
3013
|
return value;
|
|
3014
3014
|
};
|
|
3015
3015
|
class Search {
|
|
3016
3016
|
constructor(page) {
|
|
3017
3017
|
this.page = page;
|
|
3018
|
-
__publicField$
|
|
3019
|
-
__publicField$
|
|
3018
|
+
__publicField$g(this, "headline");
|
|
3019
|
+
__publicField$g(this, "productImages");
|
|
3020
3020
|
this.headline = page.locator("h1.search-headline");
|
|
3021
3021
|
this.productImages = page.locator(".product-image-link");
|
|
3022
3022
|
}
|
|
@@ -3025,16 +3025,16 @@ class Search {
|
|
|
3025
3025
|
}
|
|
3026
3026
|
}
|
|
3027
3027
|
|
|
3028
|
-
var __defProp$
|
|
3029
|
-
var __defNormalProp$
|
|
3030
|
-
var __publicField$
|
|
3031
|
-
__defNormalProp$
|
|
3028
|
+
var __defProp$f = Object.defineProperty;
|
|
3029
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3030
|
+
var __publicField$f = (obj, key, value) => {
|
|
3031
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3032
3032
|
return value;
|
|
3033
3033
|
};
|
|
3034
3034
|
class SearchSuggest {
|
|
3035
3035
|
constructor(page) {
|
|
3036
3036
|
this.page = page;
|
|
3037
|
-
__publicField$
|
|
3037
|
+
__publicField$f(this, "searchSuggestLineItemImages");
|
|
3038
3038
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
3039
3039
|
}
|
|
3040
3040
|
url(searchTerm) {
|
|
@@ -3111,10 +3111,10 @@ const test$6 = test$e.extend({
|
|
|
3111
3111
|
}
|
|
3112
3112
|
});
|
|
3113
3113
|
|
|
3114
|
-
var __defProp$
|
|
3115
|
-
var __defNormalProp$
|
|
3116
|
-
var __publicField$
|
|
3117
|
-
__defNormalProp$
|
|
3114
|
+
var __defProp$e = Object.defineProperty;
|
|
3115
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3116
|
+
var __publicField$e = (obj, key, value) => {
|
|
3117
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3118
3118
|
return value;
|
|
3119
3119
|
};
|
|
3120
3120
|
class ProductDetail {
|
|
@@ -3123,39 +3123,39 @@ class ProductDetail {
|
|
|
3123
3123
|
/**
|
|
3124
3124
|
* Save interactions
|
|
3125
3125
|
*/
|
|
3126
|
-
__publicField$
|
|
3127
|
-
__publicField$
|
|
3128
|
-
__publicField$
|
|
3126
|
+
__publicField$e(this, "savePhysicalProductButton");
|
|
3127
|
+
__publicField$e(this, "saveButtonLoadingSpinner");
|
|
3128
|
+
__publicField$e(this, "saveButtonCheckMark");
|
|
3129
3129
|
/**
|
|
3130
3130
|
* Media Upload interactions
|
|
3131
3131
|
*/
|
|
3132
|
-
__publicField$
|
|
3133
|
-
__publicField$
|
|
3134
|
-
__publicField$
|
|
3132
|
+
__publicField$e(this, "uploadMediaButton");
|
|
3133
|
+
__publicField$e(this, "coverImage");
|
|
3134
|
+
__publicField$e(this, "productImage");
|
|
3135
3135
|
/**
|
|
3136
3136
|
* Tabs
|
|
3137
3137
|
*/
|
|
3138
|
-
__publicField$
|
|
3138
|
+
__publicField$e(this, "variantsTabLink");
|
|
3139
3139
|
/**
|
|
3140
3140
|
* Variants Generation
|
|
3141
3141
|
*/
|
|
3142
|
-
__publicField$
|
|
3143
|
-
__publicField$
|
|
3144
|
-
__publicField$
|
|
3145
|
-
__publicField$
|
|
3146
|
-
__publicField$
|
|
3142
|
+
__publicField$e(this, "generateVariantsButton");
|
|
3143
|
+
__publicField$e(this, "variantsModal");
|
|
3144
|
+
__publicField$e(this, "variantsModalHeadline");
|
|
3145
|
+
__publicField$e(this, "variantsNextButton");
|
|
3146
|
+
__publicField$e(this, "variantsSaveButton");
|
|
3147
3147
|
/**
|
|
3148
3148
|
* Property Selection
|
|
3149
3149
|
*/
|
|
3150
|
-
__publicField$
|
|
3151
|
-
__publicField$
|
|
3152
|
-
__publicField$
|
|
3153
|
-
__publicField$
|
|
3154
|
-
__publicField$
|
|
3155
|
-
__publicField$
|
|
3156
|
-
__publicField$
|
|
3157
|
-
__publicField$
|
|
3158
|
-
__publicField$
|
|
3150
|
+
__publicField$e(this, "propertyGroupColor");
|
|
3151
|
+
__publicField$e(this, "propertyGroupSize");
|
|
3152
|
+
__publicField$e(this, "propertyOptionGrid");
|
|
3153
|
+
__publicField$e(this, "propertyOptionColorBlue");
|
|
3154
|
+
__publicField$e(this, "propertyOptionColorRed");
|
|
3155
|
+
__publicField$e(this, "propertyOptionColorGreen");
|
|
3156
|
+
__publicField$e(this, "propertyOptionSizeSmall");
|
|
3157
|
+
__publicField$e(this, "propertyOptionSizeMedium");
|
|
3158
|
+
__publicField$e(this, "propertyOptionSizeLarge");
|
|
3159
3159
|
this.savePhysicalProductButton = page.getByRole("button", { name: "Save" });
|
|
3160
3160
|
this.saveButtonCheckMark = page.locator(".icon--regular-checkmark-xs");
|
|
3161
3161
|
this.saveButtonLoadingSpinner = page.locator("sw-loader");
|
|
@@ -3183,18 +3183,18 @@ class ProductDetail {
|
|
|
3183
3183
|
}
|
|
3184
3184
|
}
|
|
3185
3185
|
|
|
3186
|
-
var __defProp$
|
|
3187
|
-
var __defNormalProp$
|
|
3188
|
-
var __publicField$
|
|
3189
|
-
__defNormalProp$
|
|
3186
|
+
var __defProp$d = Object.defineProperty;
|
|
3187
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3188
|
+
var __publicField$d = (obj, key, value) => {
|
|
3189
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3190
3190
|
return value;
|
|
3191
3191
|
};
|
|
3192
3192
|
class OrderDetail {
|
|
3193
3193
|
constructor(page) {
|
|
3194
3194
|
this.page = page;
|
|
3195
|
-
__publicField$
|
|
3196
|
-
__publicField$
|
|
3197
|
-
__publicField$
|
|
3195
|
+
__publicField$d(this, "saveButton");
|
|
3196
|
+
__publicField$d(this, "dataGridContextButton");
|
|
3197
|
+
__publicField$d(this, "orderTag");
|
|
3198
3198
|
this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
|
|
3199
3199
|
this.dataGridContextButton = page.locator(".sw-data-grid__actions-menu").and(page.getByRole("button"));
|
|
3200
3200
|
this.orderTag = page.locator(".sw-select-selection-list__item");
|
|
@@ -3204,18 +3204,18 @@ class OrderDetail {
|
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
3206
|
|
|
3207
|
-
var __defProp$
|
|
3208
|
-
var __defNormalProp$
|
|
3209
|
-
var __publicField$
|
|
3210
|
-
__defNormalProp$
|
|
3207
|
+
var __defProp$c = Object.defineProperty;
|
|
3208
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3209
|
+
var __publicField$c = (obj, key, value) => {
|
|
3210
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3211
3211
|
return value;
|
|
3212
3212
|
};
|
|
3213
3213
|
class CustomerDetail {
|
|
3214
3214
|
constructor(page) {
|
|
3215
3215
|
this.page = page;
|
|
3216
|
-
__publicField$
|
|
3217
|
-
__publicField$
|
|
3218
|
-
__publicField$
|
|
3216
|
+
__publicField$c(this, "editButton");
|
|
3217
|
+
__publicField$c(this, "generalTab");
|
|
3218
|
+
__publicField$c(this, "accountCard");
|
|
3219
3219
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
3220
3220
|
this.generalTab = page.getByRole("link", { name: "General" });
|
|
3221
3221
|
this.accountCard = page.locator(".sw-customer-card");
|
|
@@ -3225,53 +3225,53 @@ class CustomerDetail {
|
|
|
3225
3225
|
}
|
|
3226
3226
|
}
|
|
3227
3227
|
|
|
3228
|
-
var __defProp$
|
|
3229
|
-
var __defNormalProp$
|
|
3230
|
-
var __publicField$
|
|
3231
|
-
__defNormalProp$
|
|
3228
|
+
var __defProp$b = Object.defineProperty;
|
|
3229
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3230
|
+
var __publicField$b = (obj, key, value) => {
|
|
3231
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3232
3232
|
return value;
|
|
3233
3233
|
};
|
|
3234
3234
|
class FirstRunWizard {
|
|
3235
3235
|
constructor(page) {
|
|
3236
3236
|
this.page = page;
|
|
3237
|
-
__publicField$
|
|
3238
|
-
__publicField$
|
|
3239
|
-
__publicField$
|
|
3240
|
-
__publicField$
|
|
3241
|
-
__publicField$
|
|
3242
|
-
__publicField$
|
|
3243
|
-
__publicField$
|
|
3244
|
-
__publicField$
|
|
3245
|
-
__publicField$
|
|
3246
|
-
__publicField$
|
|
3247
|
-
__publicField$
|
|
3248
|
-
__publicField$
|
|
3249
|
-
__publicField$
|
|
3250
|
-
__publicField$
|
|
3251
|
-
__publicField$
|
|
3252
|
-
__publicField$
|
|
3253
|
-
__publicField$
|
|
3254
|
-
__publicField$
|
|
3255
|
-
__publicField$
|
|
3256
|
-
__publicField$
|
|
3257
|
-
__publicField$
|
|
3258
|
-
__publicField$
|
|
3259
|
-
__publicField$
|
|
3260
|
-
__publicField$
|
|
3261
|
-
__publicField$
|
|
3262
|
-
__publicField$
|
|
3263
|
-
__publicField$
|
|
3264
|
-
__publicField$
|
|
3265
|
-
__publicField$
|
|
3266
|
-
__publicField$
|
|
3267
|
-
__publicField$
|
|
3268
|
-
__publicField$
|
|
3269
|
-
__publicField$
|
|
3270
|
-
__publicField$
|
|
3271
|
-
__publicField$
|
|
3272
|
-
__publicField$
|
|
3273
|
-
__publicField$
|
|
3274
|
-
__publicField$
|
|
3237
|
+
__publicField$b(this, "nextButton");
|
|
3238
|
+
__publicField$b(this, "configureLaterButton");
|
|
3239
|
+
__publicField$b(this, "skipButton");
|
|
3240
|
+
__publicField$b(this, "finishButton");
|
|
3241
|
+
__publicField$b(this, "backButton");
|
|
3242
|
+
__publicField$b(this, "smtpServerButton");
|
|
3243
|
+
__publicField$b(this, "dataImportHeader");
|
|
3244
|
+
__publicField$b(this, "installLanguagePackButton");
|
|
3245
|
+
__publicField$b(this, "installDemoDataButton");
|
|
3246
|
+
__publicField$b(this, "installMigrationAssistantButton");
|
|
3247
|
+
__publicField$b(this, "defaultValuesHeader");
|
|
3248
|
+
__publicField$b(this, "mailerConfigurationHeader");
|
|
3249
|
+
__publicField$b(this, "payPalSetupHeader");
|
|
3250
|
+
__publicField$b(this, "extensionsHeader");
|
|
3251
|
+
__publicField$b(this, "shopwareAccountHeader");
|
|
3252
|
+
__publicField$b(this, "shopwareStoreHeader");
|
|
3253
|
+
__publicField$b(this, "doneHeader");
|
|
3254
|
+
__publicField$b(this, "frwSuccessText");
|
|
3255
|
+
__publicField$b(this, "welcomeText");
|
|
3256
|
+
__publicField$b(this, "pluginCardInfo");
|
|
3257
|
+
__publicField$b(this, "dataImportCard");
|
|
3258
|
+
__publicField$b(this, "salesChannelSelectionList");
|
|
3259
|
+
__publicField$b(this, "salesChannelSelectionMultiSelect");
|
|
3260
|
+
__publicField$b(this, "smtpServerTitle");
|
|
3261
|
+
__publicField$b(this, "smtpServerFields");
|
|
3262
|
+
__publicField$b(this, "payPalPaymethods");
|
|
3263
|
+
__publicField$b(this, "payPalInfoCard");
|
|
3264
|
+
__publicField$b(this, "emailAddressInputField");
|
|
3265
|
+
__publicField$b(this, "passwordInputField");
|
|
3266
|
+
__publicField$b(this, "forgotPasswordLink");
|
|
3267
|
+
__publicField$b(this, "extensionStoreHeading");
|
|
3268
|
+
__publicField$b(this, "documentationLink");
|
|
3269
|
+
__publicField$b(this, "forumLink");
|
|
3270
|
+
__publicField$b(this, "roadmapLink");
|
|
3271
|
+
__publicField$b(this, "germanRegionSelector");
|
|
3272
|
+
__publicField$b(this, "toolsSelector");
|
|
3273
|
+
__publicField$b(this, "recommendationHeader");
|
|
3274
|
+
__publicField$b(this, "toolsRecommendedPlugin");
|
|
3275
3275
|
this.nextButton = page.getByText("Next", { exact: true });
|
|
3276
3276
|
this.configureLaterButton = page.getByText("Configure later", { exact: true });
|
|
3277
3277
|
this.skipButton = page.getByText("Skip", { exact: true });
|
|
@@ -3316,17 +3316,17 @@ class FirstRunWizard {
|
|
|
3316
3316
|
}
|
|
3317
3317
|
}
|
|
3318
3318
|
|
|
3319
|
-
var __defProp$
|
|
3320
|
-
var __defNormalProp$
|
|
3321
|
-
var __publicField$
|
|
3322
|
-
__defNormalProp$
|
|
3319
|
+
var __defProp$a = Object.defineProperty;
|
|
3320
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3321
|
+
var __publicField$a = (obj, key, value) => {
|
|
3322
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3323
3323
|
return value;
|
|
3324
3324
|
};
|
|
3325
3325
|
class FlowBuilderCreate {
|
|
3326
3326
|
constructor(page) {
|
|
3327
3327
|
this.page = page;
|
|
3328
|
-
__publicField$
|
|
3329
|
-
__publicField$
|
|
3328
|
+
__publicField$a(this, "saveButton");
|
|
3329
|
+
__publicField$a(this, "header");
|
|
3330
3330
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
3331
3331
|
this.header = page.locator("h2");
|
|
3332
3332
|
}
|
|
@@ -3335,28 +3335,28 @@ class FlowBuilderCreate {
|
|
|
3335
3335
|
}
|
|
3336
3336
|
}
|
|
3337
3337
|
|
|
3338
|
-
var __defProp$
|
|
3339
|
-
var __defNormalProp$
|
|
3340
|
-
var __publicField$
|
|
3341
|
-
__defNormalProp$
|
|
3338
|
+
var __defProp$9 = Object.defineProperty;
|
|
3339
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3340
|
+
var __publicField$9 = (obj, key, value) => {
|
|
3341
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3342
3342
|
return value;
|
|
3343
3343
|
};
|
|
3344
3344
|
class FlowBuilderListing {
|
|
3345
3345
|
constructor(page) {
|
|
3346
3346
|
this.page = page;
|
|
3347
|
-
__publicField$
|
|
3348
|
-
__publicField$
|
|
3349
|
-
__publicField$
|
|
3350
|
-
__publicField$
|
|
3351
|
-
__publicField$
|
|
3352
|
-
__publicField$
|
|
3353
|
-
__publicField$
|
|
3354
|
-
__publicField$
|
|
3355
|
-
__publicField$
|
|
3356
|
-
__publicField$
|
|
3357
|
-
__publicField$
|
|
3358
|
-
__publicField$
|
|
3359
|
-
__publicField$
|
|
3347
|
+
__publicField$9(this, "createFlowButton");
|
|
3348
|
+
__publicField$9(this, "firstFlowName");
|
|
3349
|
+
__publicField$9(this, "firstFlowContextButton");
|
|
3350
|
+
__publicField$9(this, "flowContextMenu");
|
|
3351
|
+
__publicField$9(this, "contextMenuDownload");
|
|
3352
|
+
__publicField$9(this, "contextMenuDuplicate");
|
|
3353
|
+
__publicField$9(this, "contextMenuEdit");
|
|
3354
|
+
__publicField$9(this, "contextMenuDelete");
|
|
3355
|
+
__publicField$9(this, "flowDownloadModal");
|
|
3356
|
+
__publicField$9(this, "downloadFlowButton");
|
|
3357
|
+
__publicField$9(this, "flowDeleteButton");
|
|
3358
|
+
__publicField$9(this, "successAlert");
|
|
3359
|
+
__publicField$9(this, "successAlertMessage");
|
|
3360
3360
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
3361
3361
|
this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
|
|
3362
3362
|
this.firstFlowContextButton = page.locator(".sw-data-grid__actions-menu").first();
|
|
@@ -3393,18 +3393,18 @@ class FlowBuilderListing {
|
|
|
3393
3393
|
}
|
|
3394
3394
|
}
|
|
3395
3395
|
|
|
3396
|
-
var __defProp$
|
|
3397
|
-
var __defNormalProp$
|
|
3398
|
-
var __publicField$
|
|
3399
|
-
__defNormalProp$
|
|
3396
|
+
var __defProp$8 = Object.defineProperty;
|
|
3397
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3398
|
+
var __publicField$8 = (obj, key, value) => {
|
|
3399
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3400
3400
|
return value;
|
|
3401
3401
|
};
|
|
3402
3402
|
class FlowBuilderDetail {
|
|
3403
3403
|
constructor(page) {
|
|
3404
3404
|
this.page = page;
|
|
3405
|
-
__publicField$
|
|
3406
|
-
__publicField$
|
|
3407
|
-
__publicField$
|
|
3405
|
+
__publicField$8(this, "saveButton");
|
|
3406
|
+
__publicField$8(this, "generalTab");
|
|
3407
|
+
__publicField$8(this, "flowTab");
|
|
3408
3408
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
3409
3409
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
3410
3410
|
this.flowTab = page.locator(".sw-flow-detail__tab-flow");
|
|
@@ -3414,20 +3414,20 @@ class FlowBuilderDetail {
|
|
|
3414
3414
|
}
|
|
3415
3415
|
}
|
|
3416
3416
|
|
|
3417
|
-
var __defProp$
|
|
3418
|
-
var __defNormalProp$
|
|
3419
|
-
var __publicField$
|
|
3420
|
-
__defNormalProp$
|
|
3417
|
+
var __defProp$7 = Object.defineProperty;
|
|
3418
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3419
|
+
var __publicField$7 = (obj, key, value) => {
|
|
3420
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3421
3421
|
return value;
|
|
3422
3422
|
};
|
|
3423
3423
|
class DataSharing {
|
|
3424
3424
|
constructor(page) {
|
|
3425
3425
|
this.page = page;
|
|
3426
|
-
__publicField$
|
|
3427
|
-
__publicField$
|
|
3428
|
-
__publicField$
|
|
3429
|
-
__publicField$
|
|
3430
|
-
__publicField$
|
|
3426
|
+
__publicField$7(this, "dataConsentHeadline");
|
|
3427
|
+
__publicField$7(this, "dataSharingSuccessMessageLabel");
|
|
3428
|
+
__publicField$7(this, "dataSharingAgreeButton");
|
|
3429
|
+
__publicField$7(this, "dataSharingDisableButton");
|
|
3430
|
+
__publicField$7(this, "dataSharingTermsAgreementLabel");
|
|
3431
3431
|
this.dataConsentHeadline = page.locator("h3.sw-usage-data-consent-banner__content-headline");
|
|
3432
3432
|
this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
|
|
3433
3433
|
this.dataSharingDisableButton = page.getByRole("button", { name: "Disable data sharing" });
|
|
@@ -3439,23 +3439,23 @@ class DataSharing {
|
|
|
3439
3439
|
}
|
|
3440
3440
|
}
|
|
3441
3441
|
|
|
3442
|
-
var __defProp$
|
|
3443
|
-
var __defNormalProp$
|
|
3444
|
-
var __publicField$
|
|
3445
|
-
__defNormalProp$
|
|
3442
|
+
var __defProp$6 = Object.defineProperty;
|
|
3443
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3444
|
+
var __publicField$6 = (obj, key, value) => {
|
|
3445
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3446
3446
|
return value;
|
|
3447
3447
|
};
|
|
3448
3448
|
class Dashboard {
|
|
3449
3449
|
constructor(page) {
|
|
3450
3450
|
this.page = page;
|
|
3451
|
-
__publicField$
|
|
3452
|
-
__publicField$
|
|
3453
|
-
__publicField$
|
|
3454
|
-
__publicField$
|
|
3455
|
-
__publicField$
|
|
3456
|
-
__publicField$
|
|
3457
|
-
__publicField$
|
|
3458
|
-
__publicField$
|
|
3451
|
+
__publicField$6(this, "welcomeHeadline");
|
|
3452
|
+
__publicField$6(this, "dataSharingConsentBanner");
|
|
3453
|
+
__publicField$6(this, "dataSharingAgreeButton");
|
|
3454
|
+
__publicField$6(this, "dataSharingNotAtTheMomentButton");
|
|
3455
|
+
__publicField$6(this, "dataSharingTermsAgreementLabel");
|
|
3456
|
+
__publicField$6(this, "dataSharingSettingsLink");
|
|
3457
|
+
__publicField$6(this, "dataSharingAcceptMessageText");
|
|
3458
|
+
__publicField$6(this, "dataSharingNotAtTheMomentMessageText");
|
|
3459
3459
|
this.welcomeHeadline = page.locator("h1.sw-dashboard-index__welcome-title");
|
|
3460
3460
|
this.dataSharingConsentBanner = page.locator(".sw-usage-data-consent-banner");
|
|
3461
3461
|
this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
|
|
@@ -3470,25 +3470,25 @@ class Dashboard {
|
|
|
3470
3470
|
}
|
|
3471
3471
|
}
|
|
3472
3472
|
|
|
3473
|
-
var __defProp$
|
|
3474
|
-
var __defNormalProp$
|
|
3475
|
-
var __publicField$
|
|
3476
|
-
__defNormalProp$
|
|
3473
|
+
var __defProp$5 = Object.defineProperty;
|
|
3474
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3475
|
+
var __publicField$5 = (obj, key, value) => {
|
|
3476
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3477
3477
|
return value;
|
|
3478
3478
|
};
|
|
3479
3479
|
class ShippingListing {
|
|
3480
3480
|
constructor(page) {
|
|
3481
3481
|
this.page = page;
|
|
3482
|
-
__publicField$
|
|
3483
|
-
__publicField$
|
|
3484
|
-
__publicField$
|
|
3485
|
-
__publicField$
|
|
3486
|
-
__publicField$
|
|
3482
|
+
__publicField$5(this, "header");
|
|
3483
|
+
__publicField$5(this, "addShippingMethod");
|
|
3484
|
+
__publicField$5(this, "contextMenu");
|
|
3485
|
+
__publicField$5(this, "editButton");
|
|
3486
|
+
__publicField$5(this, "deleteButton");
|
|
3487
3487
|
//warning modal
|
|
3488
|
-
__publicField$
|
|
3489
|
-
__publicField$
|
|
3490
|
-
__publicField$
|
|
3491
|
-
__publicField$
|
|
3488
|
+
__publicField$5(this, "modal");
|
|
3489
|
+
__publicField$5(this, "modalHeader");
|
|
3490
|
+
__publicField$5(this, "modalCancelButton");
|
|
3491
|
+
__publicField$5(this, "modalDeleteButton");
|
|
3492
3492
|
this.header = page.locator(".smart-bar__header");
|
|
3493
3493
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
3494
3494
|
this.contextMenu = page.locator(".sw-data-grid-settings__trigger");
|
|
@@ -3504,10 +3504,10 @@ class ShippingListing {
|
|
|
3504
3504
|
}
|
|
3505
3505
|
}
|
|
3506
3506
|
|
|
3507
|
-
var __defProp$
|
|
3508
|
-
var __defNormalProp$
|
|
3509
|
-
var __publicField$
|
|
3510
|
-
__defNormalProp$
|
|
3507
|
+
var __defProp$4 = Object.defineProperty;
|
|
3508
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3509
|
+
var __publicField$4 = (obj, key, value) => {
|
|
3510
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3511
3511
|
return value;
|
|
3512
3512
|
};
|
|
3513
3513
|
class LandingPageCreate {
|
|
@@ -3516,23 +3516,23 @@ class LandingPageCreate {
|
|
|
3516
3516
|
/**
|
|
3517
3517
|
* General
|
|
3518
3518
|
*/
|
|
3519
|
-
__publicField$
|
|
3520
|
-
__publicField$
|
|
3521
|
-
__publicField$
|
|
3522
|
-
__publicField$
|
|
3523
|
-
__publicField$
|
|
3524
|
-
__publicField$
|
|
3525
|
-
__publicField$
|
|
3519
|
+
__publicField$4(this, "nameInput");
|
|
3520
|
+
__publicField$4(this, "landingPageStatus");
|
|
3521
|
+
__publicField$4(this, "salesChannelSelectionList");
|
|
3522
|
+
__publicField$4(this, "filtersResultPopoverItemList");
|
|
3523
|
+
__publicField$4(this, "saveLandingPageButton");
|
|
3524
|
+
__publicField$4(this, "loadingSpinner");
|
|
3525
|
+
__publicField$4(this, "seoUrlInput");
|
|
3526
3526
|
/**
|
|
3527
3527
|
* Layout
|
|
3528
3528
|
*/
|
|
3529
|
-
__publicField$
|
|
3530
|
-
__publicField$
|
|
3531
|
-
__publicField$
|
|
3532
|
-
__publicField$
|
|
3533
|
-
__publicField$
|
|
3534
|
-
__publicField$
|
|
3535
|
-
__publicField$
|
|
3529
|
+
__publicField$4(this, "layoutTab");
|
|
3530
|
+
__publicField$4(this, "assignLayoutButton");
|
|
3531
|
+
__publicField$4(this, "searchLayoutInput");
|
|
3532
|
+
__publicField$4(this, "layoutItems");
|
|
3533
|
+
__publicField$4(this, "layoutSaveButton");
|
|
3534
|
+
__publicField$4(this, "layoutEmptyState");
|
|
3535
|
+
__publicField$4(this, "createNewLayoutButton");
|
|
3536
3536
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
3537
3537
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
3538
3538
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -3555,10 +3555,10 @@ class LandingPageCreate {
|
|
|
3555
3555
|
}
|
|
3556
3556
|
}
|
|
3557
3557
|
|
|
3558
|
-
var __defProp$
|
|
3559
|
-
var __defNormalProp$
|
|
3560
|
-
var __publicField$
|
|
3561
|
-
__defNormalProp$
|
|
3558
|
+
var __defProp$3 = Object.defineProperty;
|
|
3559
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3560
|
+
var __publicField$3 = (obj, key, value) => {
|
|
3561
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3562
3562
|
return value;
|
|
3563
3563
|
};
|
|
3564
3564
|
class LandingPageDetail {
|
|
@@ -3567,24 +3567,24 @@ class LandingPageDetail {
|
|
|
3567
3567
|
/**
|
|
3568
3568
|
* General
|
|
3569
3569
|
*/
|
|
3570
|
-
__publicField$
|
|
3571
|
-
__publicField$
|
|
3572
|
-
__publicField$
|
|
3573
|
-
__publicField$
|
|
3574
|
-
__publicField$
|
|
3575
|
-
__publicField$
|
|
3576
|
-
__publicField$
|
|
3570
|
+
__publicField$3(this, "nameInput");
|
|
3571
|
+
__publicField$3(this, "landingPageStatus");
|
|
3572
|
+
__publicField$3(this, "salesChannelSelectionList");
|
|
3573
|
+
__publicField$3(this, "filtersResultPopoverItemList");
|
|
3574
|
+
__publicField$3(this, "saveLandingPageButton");
|
|
3575
|
+
__publicField$3(this, "loadingSpinner");
|
|
3576
|
+
__publicField$3(this, "seoUrlInput");
|
|
3577
3577
|
/**
|
|
3578
3578
|
* Layout
|
|
3579
3579
|
*/
|
|
3580
|
-
__publicField$
|
|
3581
|
-
__publicField$
|
|
3582
|
-
__publicField$
|
|
3583
|
-
__publicField$
|
|
3584
|
-
__publicField$
|
|
3585
|
-
__publicField$
|
|
3586
|
-
__publicField$
|
|
3587
|
-
__publicField$
|
|
3580
|
+
__publicField$3(this, "layoutTab");
|
|
3581
|
+
__publicField$3(this, "layoutAssignmentCardTitle");
|
|
3582
|
+
__publicField$3(this, "layoutAssignmentCardHeadline");
|
|
3583
|
+
__publicField$3(this, "changeLayoutButton");
|
|
3584
|
+
__publicField$3(this, "editInDesignerButton");
|
|
3585
|
+
__publicField$3(this, "layoutResetButton");
|
|
3586
|
+
__publicField$3(this, "layoutAssignmentStatus");
|
|
3587
|
+
__publicField$3(this, "layoutAssignmentContentSection");
|
|
3588
3588
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
3589
3589
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
3590
3590
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -3608,10 +3608,10 @@ class LandingPageDetail {
|
|
|
3608
3608
|
}
|
|
3609
3609
|
}
|
|
3610
3610
|
|
|
3611
|
-
var __defProp$
|
|
3612
|
-
var __defNormalProp$
|
|
3613
|
-
var __publicField$
|
|
3614
|
-
__defNormalProp$
|
|
3611
|
+
var __defProp$2 = Object.defineProperty;
|
|
3612
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3613
|
+
var __publicField$2 = (obj, key, value) => {
|
|
3614
|
+
__defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3615
3615
|
return value;
|
|
3616
3616
|
};
|
|
3617
3617
|
class Categories {
|
|
@@ -3620,10 +3620,10 @@ class Categories {
|
|
|
3620
3620
|
/**
|
|
3621
3621
|
* Landing pages
|
|
3622
3622
|
*/
|
|
3623
|
-
__publicField$
|
|
3624
|
-
__publicField$
|
|
3625
|
-
__publicField$
|
|
3626
|
-
__publicField$
|
|
3623
|
+
__publicField$2(this, "landingPageArea");
|
|
3624
|
+
__publicField$2(this, "landingPageHeadline");
|
|
3625
|
+
__publicField$2(this, "addLandingPageButton");
|
|
3626
|
+
__publicField$2(this, "landingPageItems");
|
|
3627
3627
|
this.landingPageArea = page.locator(".sw-category-detail__landing-page-collapse");
|
|
3628
3628
|
this.landingPageHeadline = this.landingPageArea.getByRole("heading", { name: "Landing pages" });
|
|
3629
3629
|
this.addLandingPageButton = this.landingPageArea.getByText("Add landing page");
|
|
@@ -3634,6 +3634,25 @@ class Categories {
|
|
|
3634
3634
|
}
|
|
3635
3635
|
}
|
|
3636
3636
|
|
|
3637
|
+
var __defProp$1 = Object.defineProperty;
|
|
3638
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3639
|
+
var __publicField$1 = (obj, key, value) => {
|
|
3640
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3641
|
+
return value;
|
|
3642
|
+
};
|
|
3643
|
+
class RuleDetail {
|
|
3644
|
+
constructor(page) {
|
|
3645
|
+
this.page = page;
|
|
3646
|
+
__publicField$1(this, "nameInput");
|
|
3647
|
+
__publicField$1(this, "priorityInput");
|
|
3648
|
+
this.nameInput = page.getByLabel("Name");
|
|
3649
|
+
this.priorityInput = page.getByLabel("Priority");
|
|
3650
|
+
}
|
|
3651
|
+
url(ruleId, tabName = "base") {
|
|
3652
|
+
return `#/sw/settings/rule/detail/${ruleId}/${tabName}`;
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3637
3656
|
const AdminPageObjects = {
|
|
3638
3657
|
ProductDetail,
|
|
3639
3658
|
OrderDetail,
|
|
@@ -3647,7 +3666,8 @@ const AdminPageObjects = {
|
|
|
3647
3666
|
ShippingListing,
|
|
3648
3667
|
Categories,
|
|
3649
3668
|
LandingPageCreate,
|
|
3650
|
-
LandingPageDetail
|
|
3669
|
+
LandingPageDetail,
|
|
3670
|
+
RuleDetail
|
|
3651
3671
|
};
|
|
3652
3672
|
const test$5 = test$e.extend({
|
|
3653
3673
|
AdminProductDetail: async ({ AdminPage }, use) => {
|
|
@@ -3688,6 +3708,9 @@ const test$5 = test$e.extend({
|
|
|
3688
3708
|
},
|
|
3689
3709
|
AdminLandingPageCreate: async ({ AdminPage }, use) => {
|
|
3690
3710
|
await use(new LandingPageCreate(AdminPage));
|
|
3711
|
+
},
|
|
3712
|
+
AdminRuleDetail: async ({ AdminPage }, use) => {
|
|
3713
|
+
await use(new RuleDetail(AdminPage));
|
|
3691
3714
|
}
|
|
3692
3715
|
});
|
|
3693
3716
|
|