@shopware-ag/acceptance-test-suite 11.24.1 → 11.26.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 +21 -9
- package/dist/index.d.ts +21 -9
- package/dist/index.mjs +1350 -1219
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -155,16 +155,16 @@ const test$d = test$e.extend({
|
|
|
155
155
|
]
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
var __defProp$
|
|
159
|
-
var __defNormalProp$
|
|
160
|
-
var __publicField$
|
|
161
|
-
__defNormalProp$
|
|
158
|
+
var __defProp$17 = Object.defineProperty;
|
|
159
|
+
var __defNormalProp$17 = (obj, key, value) => key in obj ? __defProp$17(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
160
|
+
var __publicField$17 = (obj, key, value) => {
|
|
161
|
+
__defNormalProp$17(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
162
162
|
return value;
|
|
163
163
|
};
|
|
164
164
|
const _AdminApiContext = class _AdminApiContext {
|
|
165
165
|
constructor(context, options) {
|
|
166
|
-
__publicField$
|
|
167
|
-
__publicField$
|
|
166
|
+
__publicField$17(this, "context");
|
|
167
|
+
__publicField$17(this, "options");
|
|
168
168
|
this.context = context;
|
|
169
169
|
this.options = options;
|
|
170
170
|
}
|
|
@@ -284,7 +284,7 @@ const _AdminApiContext = class _AdminApiContext {
|
|
|
284
284
|
return response;
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
|
-
__publicField$
|
|
287
|
+
__publicField$17(_AdminApiContext, "defaultOptions", {
|
|
288
288
|
app_url: process.env["ADMIN_API_URL"] || process.env["APP_URL"],
|
|
289
289
|
client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
|
|
290
290
|
client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
|
|
@@ -294,16 +294,16 @@ __publicField$16(_AdminApiContext, "defaultOptions", {
|
|
|
294
294
|
});
|
|
295
295
|
let AdminApiContext = _AdminApiContext;
|
|
296
296
|
|
|
297
|
-
var __defProp$
|
|
298
|
-
var __defNormalProp$
|
|
299
|
-
var __publicField$
|
|
300
|
-
__defNormalProp$
|
|
297
|
+
var __defProp$16 = Object.defineProperty;
|
|
298
|
+
var __defNormalProp$16 = (obj, key, value) => key in obj ? __defProp$16(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
299
|
+
var __publicField$16 = (obj, key, value) => {
|
|
300
|
+
__defNormalProp$16(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
301
301
|
return value;
|
|
302
302
|
};
|
|
303
303
|
const _StoreApiContext = class _StoreApiContext {
|
|
304
304
|
constructor(context, options) {
|
|
305
|
-
__publicField$
|
|
306
|
-
__publicField$
|
|
305
|
+
__publicField$16(this, "context");
|
|
306
|
+
__publicField$16(this, "options");
|
|
307
307
|
this.context = context;
|
|
308
308
|
this.options = options;
|
|
309
309
|
}
|
|
@@ -362,21 +362,21 @@ const _StoreApiContext = class _StoreApiContext {
|
|
|
362
362
|
return this.context.head(url, options);
|
|
363
363
|
}
|
|
364
364
|
};
|
|
365
|
-
__publicField$
|
|
365
|
+
__publicField$16(_StoreApiContext, "defaultOptions", {
|
|
366
366
|
app_url: process.env["APP_URL"],
|
|
367
367
|
ignoreHTTPSErrors: true
|
|
368
368
|
});
|
|
369
369
|
let StoreApiContext = _StoreApiContext;
|
|
370
370
|
|
|
371
|
-
var __defProp$
|
|
372
|
-
var __defNormalProp$
|
|
373
|
-
var __publicField$
|
|
374
|
-
__defNormalProp$
|
|
371
|
+
var __defProp$15 = Object.defineProperty;
|
|
372
|
+
var __defNormalProp$15 = (obj, key, value) => key in obj ? __defProp$15(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
373
|
+
var __publicField$15 = (obj, key, value) => {
|
|
374
|
+
__defNormalProp$15(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
375
375
|
return value;
|
|
376
376
|
};
|
|
377
377
|
class MailpitApiContext {
|
|
378
378
|
constructor(context) {
|
|
379
|
-
__publicField$
|
|
379
|
+
__publicField$15(this, "context");
|
|
380
380
|
this.context = context;
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
@@ -680,18 +680,18 @@ const test$b = test$e.extend({
|
|
|
680
680
|
}
|
|
681
681
|
});
|
|
682
682
|
|
|
683
|
-
var __defProp$
|
|
684
|
-
var __defNormalProp$
|
|
685
|
-
var __publicField$
|
|
686
|
-
__defNormalProp$
|
|
683
|
+
var __defProp$14 = Object.defineProperty;
|
|
684
|
+
var __defNormalProp$14 = (obj, key, value) => key in obj ? __defProp$14(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
685
|
+
var __publicField$14 = (obj, key, value) => {
|
|
686
|
+
__defNormalProp$14(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
687
687
|
return value;
|
|
688
688
|
};
|
|
689
689
|
class Actor {
|
|
690
690
|
constructor(name, page, baseURL) {
|
|
691
|
-
__publicField$
|
|
692
|
-
__publicField$
|
|
693
|
-
__publicField$
|
|
694
|
-
__publicField$
|
|
691
|
+
__publicField$14(this, "page");
|
|
692
|
+
__publicField$14(this, "name");
|
|
693
|
+
__publicField$14(this, "baseURL");
|
|
694
|
+
__publicField$14(this, "expects", expect);
|
|
695
695
|
this.name = name;
|
|
696
696
|
this.page = page;
|
|
697
697
|
this.baseURL = baseURL;
|
|
@@ -1033,31 +1033,31 @@ const updateAdminUser = async (adminUserId, adminApiContext, data) => {
|
|
|
1033
1033
|
});
|
|
1034
1034
|
};
|
|
1035
1035
|
|
|
1036
|
-
var __defProp$
|
|
1037
|
-
var __defNormalProp$
|
|
1038
|
-
var __publicField$
|
|
1039
|
-
__defNormalProp$
|
|
1036
|
+
var __defProp$13 = Object.defineProperty;
|
|
1037
|
+
var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$13(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1038
|
+
var __publicField$13 = (obj, key, value) => {
|
|
1039
|
+
__defNormalProp$13(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1040
1040
|
return value;
|
|
1041
1041
|
};
|
|
1042
1042
|
class TestDataService {
|
|
1043
1043
|
constructor(AdminApiClient, IdProvider, options) {
|
|
1044
|
-
__publicField$
|
|
1045
|
-
__publicField$
|
|
1046
|
-
__publicField$
|
|
1047
|
-
__publicField$
|
|
1048
|
-
__publicField$
|
|
1049
|
-
__publicField$
|
|
1050
|
-
__publicField$
|
|
1051
|
-
__publicField$
|
|
1052
|
-
__publicField$
|
|
1053
|
-
__publicField$
|
|
1054
|
-
__publicField$
|
|
1044
|
+
__publicField$13(this, "AdminApiClient");
|
|
1045
|
+
__publicField$13(this, "IdProvider");
|
|
1046
|
+
__publicField$13(this, "namePrefix", "Test-");
|
|
1047
|
+
__publicField$13(this, "nameSuffix", "");
|
|
1048
|
+
__publicField$13(this, "defaultSalesChannel");
|
|
1049
|
+
__publicField$13(this, "defaultTaxId");
|
|
1050
|
+
__publicField$13(this, "defaultCurrencyId");
|
|
1051
|
+
__publicField$13(this, "defaultCategoryId");
|
|
1052
|
+
__publicField$13(this, "defaultLanguageId");
|
|
1053
|
+
__publicField$13(this, "defaultCountryId");
|
|
1054
|
+
__publicField$13(this, "defaultCustomerGroupId");
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Configures if an automated cleanup of the data should be executed.
|
|
1057
1057
|
*
|
|
1058
1058
|
* @private
|
|
1059
1059
|
*/
|
|
1060
|
-
__publicField$
|
|
1060
|
+
__publicField$13(this, "shouldCleanUp", true);
|
|
1061
1061
|
/**
|
|
1062
1062
|
* Configuration of higher priority entities for the cleanup operation.
|
|
1063
1063
|
* These entities will be deleted before others.
|
|
@@ -1065,7 +1065,7 @@ class TestDataService {
|
|
|
1065
1065
|
*
|
|
1066
1066
|
* @private
|
|
1067
1067
|
*/
|
|
1068
|
-
__publicField$
|
|
1068
|
+
__publicField$13(this, "highPriorityEntities", [
|
|
1069
1069
|
"order",
|
|
1070
1070
|
"product",
|
|
1071
1071
|
"product_download",
|
|
@@ -1085,20 +1085,20 @@ class TestDataService {
|
|
|
1085
1085
|
*
|
|
1086
1086
|
* @private
|
|
1087
1087
|
*/
|
|
1088
|
-
__publicField$
|
|
1089
|
-
__publicField$
|
|
1088
|
+
__publicField$13(this, "createdRecords", []);
|
|
1089
|
+
__publicField$13(this, "restoreSystemConfig", {});
|
|
1090
1090
|
/**
|
|
1091
1091
|
* A registry of all created sales channel records.
|
|
1092
1092
|
*
|
|
1093
1093
|
* @private
|
|
1094
1094
|
*/
|
|
1095
|
-
__publicField$
|
|
1095
|
+
__publicField$13(this, "createdSalesChannelRecords", []);
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Function that generates combinations from n number of arrays
|
|
1098
1098
|
* with m number of elements in them.
|
|
1099
1099
|
* @param array
|
|
1100
1100
|
*/
|
|
1101
|
-
__publicField$
|
|
1101
|
+
__publicField$13(this, "combineAll", (array) => {
|
|
1102
1102
|
const result = [];
|
|
1103
1103
|
const max = array.length - 1;
|
|
1104
1104
|
const helper = (tmpArray, i) => {
|
|
@@ -3428,16 +3428,16 @@ const test$9 = test$e.extend({
|
|
|
3428
3428
|
}
|
|
3429
3429
|
});
|
|
3430
3430
|
|
|
3431
|
-
var __defProp$
|
|
3432
|
-
var __defNormalProp$
|
|
3433
|
-
var __publicField$
|
|
3434
|
-
__defNormalProp$
|
|
3431
|
+
var __defProp$12 = Object.defineProperty;
|
|
3432
|
+
var __defNormalProp$12 = (obj, key, value) => key in obj ? __defProp$12(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3433
|
+
var __publicField$12 = (obj, key, value) => {
|
|
3434
|
+
__defNormalProp$12(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3435
3435
|
return value;
|
|
3436
3436
|
};
|
|
3437
3437
|
class IdProvider {
|
|
3438
3438
|
constructor(workerIndex, seed) {
|
|
3439
|
-
__publicField$
|
|
3440
|
-
__publicField$
|
|
3439
|
+
__publicField$12(this, "workerIndex");
|
|
3440
|
+
__publicField$12(this, "seed");
|
|
3441
3441
|
this.workerIndex = workerIndex;
|
|
3442
3442
|
this.seed = seed;
|
|
3443
3443
|
}
|
|
@@ -3521,83 +3521,83 @@ const test$8 = test$e.extend({
|
|
|
3521
3521
|
]
|
|
3522
3522
|
});
|
|
3523
3523
|
|
|
3524
|
-
var __defProp$
|
|
3525
|
-
var __defNormalProp$
|
|
3526
|
-
var __publicField$
|
|
3527
|
-
__defNormalProp$
|
|
3524
|
+
var __defProp$11 = Object.defineProperty;
|
|
3525
|
+
var __defNormalProp$11 = (obj, key, value) => key in obj ? __defProp$11(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3526
|
+
var __publicField$11 = (obj, key, value) => {
|
|
3527
|
+
__defNormalProp$11(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3528
3528
|
return value;
|
|
3529
3529
|
};
|
|
3530
3530
|
class Home {
|
|
3531
3531
|
constructor(page) {
|
|
3532
|
-
__publicField$
|
|
3533
|
-
__publicField$
|
|
3534
|
-
__publicField$
|
|
3535
|
-
__publicField$
|
|
3536
|
-
__publicField$
|
|
3537
|
-
__publicField$
|
|
3538
|
-
__publicField$
|
|
3532
|
+
__publicField$11(this, "categoryTitle");
|
|
3533
|
+
__publicField$11(this, "accountMenuButton");
|
|
3534
|
+
__publicField$11(this, "closeGuestSessionButton");
|
|
3535
|
+
__publicField$11(this, "productImages");
|
|
3536
|
+
__publicField$11(this, "productListItems");
|
|
3537
|
+
__publicField$11(this, "loader");
|
|
3538
|
+
__publicField$11(this, "productVariantCharacteristicsOptions");
|
|
3539
3539
|
/**
|
|
3540
3540
|
* @deprecated Use 'Header/languagesDropdown' instead
|
|
3541
3541
|
*/
|
|
3542
|
-
__publicField$
|
|
3542
|
+
__publicField$11(this, "languagesDropdown");
|
|
3543
3543
|
/**
|
|
3544
3544
|
* @deprecated Use 'Header/languagesMenuOptions' instead
|
|
3545
3545
|
*/
|
|
3546
|
-
__publicField$
|
|
3546
|
+
__publicField$11(this, "languagesMenuOptions");
|
|
3547
3547
|
/**
|
|
3548
3548
|
* @deprecated Use 'Header/currenciesDropdown' instead
|
|
3549
3549
|
*/
|
|
3550
|
-
__publicField$
|
|
3550
|
+
__publicField$11(this, "currenciesDropdown");
|
|
3551
3551
|
/**
|
|
3552
3552
|
* @deprecated Use 'Header/currenciesMenuOptions' instead
|
|
3553
3553
|
*/
|
|
3554
|
-
__publicField$
|
|
3555
|
-
__publicField$
|
|
3556
|
-
__publicField$
|
|
3557
|
-
__publicField$
|
|
3558
|
-
__publicField$
|
|
3559
|
-
__publicField$
|
|
3560
|
-
__publicField$
|
|
3561
|
-
__publicField$
|
|
3562
|
-
__publicField$
|
|
3554
|
+
__publicField$11(this, "currenciesMenuOptions");
|
|
3555
|
+
__publicField$11(this, "consentOnlyTechnicallyRequiredButton");
|
|
3556
|
+
__publicField$11(this, "consentConfigureButton");
|
|
3557
|
+
__publicField$11(this, "consentAcceptAllCookiesButton");
|
|
3558
|
+
__publicField$11(this, "consentCookiePreferences");
|
|
3559
|
+
__publicField$11(this, "consentCookiePermissionContent");
|
|
3560
|
+
__publicField$11(this, "consentDialog");
|
|
3561
|
+
__publicField$11(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3562
|
+
__publicField$11(this, "consentDialogStatisticsCheckbox");
|
|
3563
3563
|
/**
|
|
3564
3564
|
* @deprecated Use 'consentDialogMarketingCheckbox' instead
|
|
3565
3565
|
*/
|
|
3566
|
-
__publicField$
|
|
3567
|
-
__publicField$
|
|
3568
|
-
__publicField$
|
|
3569
|
-
__publicField$
|
|
3570
|
-
__publicField$
|
|
3571
|
-
__publicField$
|
|
3566
|
+
__publicField$11(this, "consentDialogMarketingdCheckbox");
|
|
3567
|
+
__publicField$11(this, "consentDialogMarketingCheckbox");
|
|
3568
|
+
__publicField$11(this, "consentDialogAcceptAllCookiesButton");
|
|
3569
|
+
__publicField$11(this, "consentDialogSaveButton");
|
|
3570
|
+
__publicField$11(this, "consentCookieBannerContainer");
|
|
3571
|
+
__publicField$11(this, "offcanvasBackdrop");
|
|
3572
3572
|
/**
|
|
3573
3573
|
* @deprecated Use 'Header/mainNavigationLink' instead
|
|
3574
3574
|
*/
|
|
3575
|
-
__publicField$
|
|
3575
|
+
__publicField$11(this, "mainNavigationLink");
|
|
3576
3576
|
/**
|
|
3577
3577
|
* @deprecated Use 'Footer/contactFormLink' instead
|
|
3578
3578
|
*/
|
|
3579
|
-
__publicField$
|
|
3579
|
+
__publicField$11(this, "contactFormLink");
|
|
3580
3580
|
//wishlist
|
|
3581
3581
|
/**
|
|
3582
3582
|
* @deprecated Use 'Header/wishlistIcon' instead
|
|
3583
3583
|
*/
|
|
3584
|
-
__publicField$
|
|
3584
|
+
__publicField$11(this, "wishlistIcon");
|
|
3585
3585
|
/**
|
|
3586
3586
|
* @deprecated Use 'Header/wishlistBasket' instead
|
|
3587
3587
|
*/
|
|
3588
|
-
__publicField$
|
|
3588
|
+
__publicField$11(this, "wishlistBasket");
|
|
3589
3589
|
//product filters
|
|
3590
|
-
__publicField$
|
|
3591
|
-
__publicField$
|
|
3592
|
-
__publicField$
|
|
3593
|
-
__publicField$
|
|
3594
|
-
__publicField$
|
|
3595
|
-
__publicField$
|
|
3596
|
-
__publicField$
|
|
3597
|
-
__publicField$
|
|
3598
|
-
__publicField$
|
|
3599
|
-
__publicField$
|
|
3600
|
-
__publicField$
|
|
3590
|
+
__publicField$11(this, "filterMultiSelect");
|
|
3591
|
+
__publicField$11(this, "manufacturerFilter");
|
|
3592
|
+
__publicField$11(this, "propertyFilters");
|
|
3593
|
+
__publicField$11(this, "priceFilterButton");
|
|
3594
|
+
__publicField$11(this, "resetAllButton");
|
|
3595
|
+
__publicField$11(this, "freeShippingFilter");
|
|
3596
|
+
__publicField$11(this, "productList");
|
|
3597
|
+
__publicField$11(this, "productItemNames");
|
|
3598
|
+
__publicField$11(this, "productRatingButton");
|
|
3599
|
+
__publicField$11(this, "productRatingList");
|
|
3600
|
+
__publicField$11(this, "page");
|
|
3601
3601
|
this.page = page;
|
|
3602
3602
|
this.categoryTitle = page.locator(".cms-element-text h1");
|
|
3603
3603
|
this.accountMenuButton = page.getByLabel("Your account");
|
|
@@ -3753,59 +3753,59 @@ class Home {
|
|
|
3753
3753
|
}
|
|
3754
3754
|
}
|
|
3755
3755
|
|
|
3756
|
-
var __defProp
|
|
3757
|
-
var __defNormalProp
|
|
3758
|
-
var __publicField
|
|
3759
|
-
__defNormalProp
|
|
3756
|
+
var __defProp$10 = Object.defineProperty;
|
|
3757
|
+
var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3758
|
+
var __publicField$10 = (obj, key, value) => {
|
|
3759
|
+
__defNormalProp$10(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3760
3760
|
return value;
|
|
3761
3761
|
};
|
|
3762
3762
|
let ProductDetail$1 = class ProductDetail {
|
|
3763
3763
|
constructor(page) {
|
|
3764
|
-
__publicField
|
|
3765
|
-
__publicField
|
|
3766
|
-
__publicField
|
|
3767
|
-
__publicField
|
|
3768
|
-
__publicField
|
|
3769
|
-
__publicField
|
|
3770
|
-
__publicField
|
|
3771
|
-
__publicField
|
|
3772
|
-
__publicField
|
|
3773
|
-
__publicField
|
|
3774
|
-
__publicField
|
|
3775
|
-
__publicField
|
|
3776
|
-
__publicField
|
|
3777
|
-
__publicField
|
|
3778
|
-
__publicField
|
|
3779
|
-
__publicField
|
|
3780
|
-
__publicField
|
|
3781
|
-
__publicField
|
|
3782
|
-
__publicField
|
|
3783
|
-
__publicField
|
|
3764
|
+
__publicField$10(this, "addToCartButton");
|
|
3765
|
+
__publicField$10(this, "quantitySelect");
|
|
3766
|
+
__publicField$10(this, "productSingleImage");
|
|
3767
|
+
__publicField$10(this, "productSinglePrice");
|
|
3768
|
+
__publicField$10(this, "productPriceRangesRow");
|
|
3769
|
+
__publicField$10(this, "productListingPriceBadge");
|
|
3770
|
+
__publicField$10(this, "productListingPrice");
|
|
3771
|
+
__publicField$10(this, "productListingPricePercentage");
|
|
3772
|
+
__publicField$10(this, "offCanvasCartTitle");
|
|
3773
|
+
__publicField$10(this, "offCanvasCart");
|
|
3774
|
+
__publicField$10(this, "offCanvasCartGoToCheckoutButton");
|
|
3775
|
+
__publicField$10(this, "offCanvasLineItemImages");
|
|
3776
|
+
__publicField$10(this, "offCanvasSummaryTotalPrice");
|
|
3777
|
+
__publicField$10(this, "offCanvas");
|
|
3778
|
+
__publicField$10(this, "wishlistAddedButton");
|
|
3779
|
+
__publicField$10(this, "wishlistNotAddedButton");
|
|
3780
|
+
__publicField$10(this, "productDetailConfigurator");
|
|
3781
|
+
__publicField$10(this, "productDetailConfiguratorGroupTitle");
|
|
3782
|
+
__publicField$10(this, "productDetailConfiguratorOptionInputs");
|
|
3783
|
+
__publicField$10(this, "productName");
|
|
3784
3784
|
//Reviews Tab
|
|
3785
|
-
__publicField
|
|
3786
|
-
__publicField
|
|
3787
|
-
__publicField
|
|
3788
|
-
__publicField
|
|
3789
|
-
__publicField
|
|
3790
|
-
__publicField
|
|
3791
|
-
__publicField
|
|
3792
|
-
__publicField
|
|
3793
|
-
__publicField
|
|
3794
|
-
__publicField
|
|
3795
|
-
__publicField
|
|
3796
|
-
__publicField
|
|
3797
|
-
__publicField
|
|
3798
|
-
__publicField
|
|
3799
|
-
__publicField
|
|
3800
|
-
__publicField
|
|
3801
|
-
__publicField
|
|
3802
|
-
__publicField
|
|
3803
|
-
__publicField
|
|
3804
|
-
__publicField
|
|
3805
|
-
__publicField
|
|
3806
|
-
__publicField
|
|
3807
|
-
__publicField
|
|
3808
|
-
__publicField
|
|
3785
|
+
__publicField$10(this, "reviewsTab");
|
|
3786
|
+
__publicField$10(this, "reviewTeaserButton");
|
|
3787
|
+
__publicField$10(this, "reviewTeaserText");
|
|
3788
|
+
__publicField$10(this, "reviewListingItems");
|
|
3789
|
+
__publicField$10(this, "reviewEmptyListingText");
|
|
3790
|
+
__publicField$10(this, "reviewLoginForm");
|
|
3791
|
+
__publicField$10(this, "forgottenPasswordLink");
|
|
3792
|
+
__publicField$10(this, "reviewForm");
|
|
3793
|
+
__publicField$10(this, "reviewRatingPoints");
|
|
3794
|
+
__publicField$10(this, "reviewRatingText");
|
|
3795
|
+
__publicField$10(this, "reviewSubmitMessage");
|
|
3796
|
+
__publicField$10(this, "reviewCounter");
|
|
3797
|
+
__publicField$10(this, "reviewItemRatingPoints");
|
|
3798
|
+
__publicField$10(this, "reviewItemTitle");
|
|
3799
|
+
__publicField$10(this, "reviewReviewTextInput");
|
|
3800
|
+
__publicField$10(this, "reviewItemContent");
|
|
3801
|
+
__publicField$10(this, "reviewLoginButton");
|
|
3802
|
+
__publicField$10(this, "reviewEmailInput");
|
|
3803
|
+
__publicField$10(this, "reviewPasswordInput");
|
|
3804
|
+
__publicField$10(this, "reviewTitleInput");
|
|
3805
|
+
__publicField$10(this, "reviewSubmitButton");
|
|
3806
|
+
__publicField$10(this, "productReviewsLink");
|
|
3807
|
+
__publicField$10(this, "productReviewRating");
|
|
3808
|
+
__publicField$10(this, "page");
|
|
3809
3809
|
this.page = page;
|
|
3810
3810
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
3811
3811
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
@@ -3871,18 +3871,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
3871
3871
|
}
|
|
3872
3872
|
};
|
|
3873
3873
|
|
|
3874
|
-
var __defProp
|
|
3875
|
-
var __defNormalProp
|
|
3876
|
-
var __publicField
|
|
3877
|
-
__defNormalProp
|
|
3874
|
+
var __defProp$$ = Object.defineProperty;
|
|
3875
|
+
var __defNormalProp$$ = (obj, key, value) => key in obj ? __defProp$$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3876
|
+
var __publicField$$ = (obj, key, value) => {
|
|
3877
|
+
__defNormalProp$$(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3878
3878
|
return value;
|
|
3879
3879
|
};
|
|
3880
3880
|
class Category {
|
|
3881
3881
|
constructor(page) {
|
|
3882
|
-
__publicField
|
|
3883
|
-
__publicField
|
|
3884
|
-
__publicField
|
|
3885
|
-
__publicField
|
|
3882
|
+
__publicField$$(this, "sortingSelect");
|
|
3883
|
+
__publicField$$(this, "firstProductBuyButton");
|
|
3884
|
+
__publicField$$(this, "noProductsFoundAlert");
|
|
3885
|
+
__publicField$$(this, "page");
|
|
3886
3886
|
this.page = page;
|
|
3887
3887
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
3888
3888
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
@@ -3893,24 +3893,24 @@ class Category {
|
|
|
3893
3893
|
}
|
|
3894
3894
|
}
|
|
3895
3895
|
|
|
3896
|
-
var __defProp$
|
|
3897
|
-
var __defNormalProp$
|
|
3898
|
-
var __publicField$
|
|
3899
|
-
__defNormalProp$
|
|
3896
|
+
var __defProp$_ = Object.defineProperty;
|
|
3897
|
+
var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3898
|
+
var __publicField$_ = (obj, key, value) => {
|
|
3899
|
+
__defNormalProp$_(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3900
3900
|
return value;
|
|
3901
3901
|
};
|
|
3902
3902
|
class CheckoutCart {
|
|
3903
3903
|
constructor(page) {
|
|
3904
|
-
__publicField$
|
|
3905
|
-
__publicField$
|
|
3906
|
-
__publicField$
|
|
3907
|
-
__publicField$
|
|
3908
|
-
__publicField$
|
|
3909
|
-
__publicField$
|
|
3910
|
-
__publicField$
|
|
3911
|
-
__publicField$
|
|
3912
|
-
__publicField$
|
|
3913
|
-
__publicField$
|
|
3904
|
+
__publicField$_(this, "headline");
|
|
3905
|
+
__publicField$_(this, "goToCheckoutButton");
|
|
3906
|
+
__publicField$_(this, "enterPromoInput");
|
|
3907
|
+
__publicField$_(this, "grandTotalPrice");
|
|
3908
|
+
__publicField$_(this, "emptyCartAlert");
|
|
3909
|
+
__publicField$_(this, "stockReachedAlert");
|
|
3910
|
+
__publicField$_(this, "cartLineItemImages");
|
|
3911
|
+
__publicField$_(this, "unitPriceInfo");
|
|
3912
|
+
__publicField$_(this, "cartQuantityNumber");
|
|
3913
|
+
__publicField$_(this, "page");
|
|
3914
3914
|
this.page = page;
|
|
3915
3915
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3916
3916
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -3952,25 +3952,25 @@ class CheckoutCart {
|
|
|
3952
3952
|
}
|
|
3953
3953
|
}
|
|
3954
3954
|
|
|
3955
|
-
var __defProp$
|
|
3956
|
-
var __defNormalProp$
|
|
3957
|
-
var __publicField$
|
|
3958
|
-
__defNormalProp$
|
|
3955
|
+
var __defProp$Z = Object.defineProperty;
|
|
3956
|
+
var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3957
|
+
var __publicField$Z = (obj, key, value) => {
|
|
3958
|
+
__defNormalProp$Z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3959
3959
|
return value;
|
|
3960
3960
|
};
|
|
3961
3961
|
class OffCanvasCart {
|
|
3962
3962
|
constructor(page) {
|
|
3963
|
-
__publicField$
|
|
3964
|
-
__publicField$
|
|
3965
|
-
__publicField$
|
|
3966
|
-
__publicField$
|
|
3967
|
-
__publicField$
|
|
3968
|
-
__publicField$
|
|
3969
|
-
__publicField$
|
|
3970
|
-
__publicField$
|
|
3971
|
-
__publicField$
|
|
3972
|
-
__publicField$
|
|
3973
|
-
__publicField$
|
|
3963
|
+
__publicField$Z(this, "headline");
|
|
3964
|
+
__publicField$Z(this, "itemCount");
|
|
3965
|
+
__publicField$Z(this, "goToCheckoutButton");
|
|
3966
|
+
__publicField$Z(this, "goToCartButton");
|
|
3967
|
+
__publicField$Z(this, "continueShoppingButton");
|
|
3968
|
+
__publicField$Z(this, "enterPromoInput");
|
|
3969
|
+
__publicField$Z(this, "submitDiscountButton");
|
|
3970
|
+
__publicField$Z(this, "subTotalPrice");
|
|
3971
|
+
__publicField$Z(this, "shippingCosts");
|
|
3972
|
+
__publicField$Z(this, "cartQuantityNumber");
|
|
3973
|
+
__publicField$Z(this, "page");
|
|
3974
3974
|
this.page = page;
|
|
3975
3975
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3976
3976
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
@@ -4017,36 +4017,36 @@ class OffCanvasCart {
|
|
|
4017
4017
|
}
|
|
4018
4018
|
}
|
|
4019
4019
|
|
|
4020
|
-
var __defProp$
|
|
4021
|
-
var __defNormalProp$
|
|
4022
|
-
var __publicField$
|
|
4023
|
-
__defNormalProp$
|
|
4020
|
+
var __defProp$Y = Object.defineProperty;
|
|
4021
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4022
|
+
var __publicField$Y = (obj, key, value) => {
|
|
4023
|
+
__defNormalProp$Y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4024
4024
|
return value;
|
|
4025
4025
|
};
|
|
4026
4026
|
class CheckoutConfirm {
|
|
4027
4027
|
constructor(page) {
|
|
4028
|
-
__publicField$
|
|
4029
|
-
__publicField$
|
|
4030
|
-
__publicField$
|
|
4031
|
-
__publicField$
|
|
4032
|
-
__publicField$
|
|
4033
|
-
__publicField$
|
|
4028
|
+
__publicField$Y(this, "headline");
|
|
4029
|
+
__publicField$Y(this, "termsAndConditionsCheckbox");
|
|
4030
|
+
__publicField$Y(this, "immediateAccessToDigitalProductCheckbox");
|
|
4031
|
+
__publicField$Y(this, "grandTotalPrice");
|
|
4032
|
+
__publicField$Y(this, "taxPrice");
|
|
4033
|
+
__publicField$Y(this, "submitOrderButton");
|
|
4034
4034
|
/**
|
|
4035
4035
|
* Payment options
|
|
4036
4036
|
*/
|
|
4037
|
-
__publicField$
|
|
4038
|
-
__publicField$
|
|
4039
|
-
__publicField$
|
|
4037
|
+
__publicField$Y(this, "paymentCashOnDelivery");
|
|
4038
|
+
__publicField$Y(this, "paymentPaidInAdvance");
|
|
4039
|
+
__publicField$Y(this, "paymentInvoice");
|
|
4040
4040
|
/**
|
|
4041
4041
|
* Shipping options
|
|
4042
4042
|
*/
|
|
4043
|
-
__publicField$
|
|
4044
|
-
__publicField$
|
|
4043
|
+
__publicField$Y(this, "shippingStandard");
|
|
4044
|
+
__publicField$Y(this, "shippingExpress");
|
|
4045
4045
|
/**
|
|
4046
4046
|
* Product details
|
|
4047
4047
|
*/
|
|
4048
|
-
__publicField$
|
|
4049
|
-
__publicField$
|
|
4048
|
+
__publicField$Y(this, "cartLineItemImages");
|
|
4049
|
+
__publicField$Y(this, "page");
|
|
4050
4050
|
this.page = page;
|
|
4051
4051
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
4052
4052
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
@@ -4066,21 +4066,21 @@ class CheckoutConfirm {
|
|
|
4066
4066
|
}
|
|
4067
4067
|
}
|
|
4068
4068
|
|
|
4069
|
-
var __defProp$
|
|
4070
|
-
var __defNormalProp$
|
|
4071
|
-
var __publicField$
|
|
4072
|
-
__defNormalProp$
|
|
4069
|
+
var __defProp$X = Object.defineProperty;
|
|
4070
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4071
|
+
var __publicField$X = (obj, key, value) => {
|
|
4072
|
+
__defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4073
4073
|
return value;
|
|
4074
4074
|
};
|
|
4075
4075
|
class CheckoutFinish {
|
|
4076
4076
|
constructor(page) {
|
|
4077
|
-
__publicField$
|
|
4078
|
-
__publicField$
|
|
4079
|
-
__publicField$
|
|
4080
|
-
__publicField$
|
|
4081
|
-
__publicField$
|
|
4082
|
-
__publicField$
|
|
4083
|
-
__publicField$
|
|
4077
|
+
__publicField$X(this, "headline");
|
|
4078
|
+
__publicField$X(this, "orderNumberText");
|
|
4079
|
+
__publicField$X(this, "grandTotalPrice");
|
|
4080
|
+
__publicField$X(this, "taxPrice");
|
|
4081
|
+
__publicField$X(this, "cartLineItemImages");
|
|
4082
|
+
__publicField$X(this, "page");
|
|
4083
|
+
__publicField$X(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
4084
4084
|
this.page = page;
|
|
4085
4085
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
4086
4086
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
@@ -4110,16 +4110,16 @@ class CheckoutFinish {
|
|
|
4110
4110
|
}
|
|
4111
4111
|
}
|
|
4112
4112
|
|
|
4113
|
-
var __defProp$
|
|
4114
|
-
var __defNormalProp$
|
|
4115
|
-
var __publicField$
|
|
4116
|
-
__defNormalProp$
|
|
4113
|
+
var __defProp$W = Object.defineProperty;
|
|
4114
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4115
|
+
var __publicField$W = (obj, key, value) => {
|
|
4116
|
+
__defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4117
4117
|
return value;
|
|
4118
4118
|
};
|
|
4119
4119
|
class CheckoutRegister {
|
|
4120
4120
|
constructor(page) {
|
|
4121
|
-
__publicField$
|
|
4122
|
-
__publicField$
|
|
4121
|
+
__publicField$W(this, "cartLineItemImages");
|
|
4122
|
+
__publicField$W(this, "page");
|
|
4123
4123
|
this.page = page;
|
|
4124
4124
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
4125
4125
|
}
|
|
@@ -4128,26 +4128,26 @@ class CheckoutRegister {
|
|
|
4128
4128
|
}
|
|
4129
4129
|
}
|
|
4130
4130
|
|
|
4131
|
-
var __defProp$
|
|
4132
|
-
var __defNormalProp$
|
|
4133
|
-
var __publicField$
|
|
4134
|
-
__defNormalProp$
|
|
4131
|
+
var __defProp$V = Object.defineProperty;
|
|
4132
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4133
|
+
var __publicField$V = (obj, key, value) => {
|
|
4134
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4135
4135
|
return value;
|
|
4136
4136
|
};
|
|
4137
4137
|
class Account {
|
|
4138
4138
|
constructor(page, instanceMeta) {
|
|
4139
|
-
__publicField$
|
|
4140
|
-
__publicField$
|
|
4141
|
-
__publicField$
|
|
4142
|
-
__publicField$
|
|
4143
|
-
__publicField$
|
|
4144
|
-
__publicField$
|
|
4145
|
-
__publicField$
|
|
4146
|
-
__publicField$
|
|
4147
|
-
__publicField$
|
|
4148
|
-
__publicField$
|
|
4149
|
-
__publicField$
|
|
4150
|
-
__publicField$
|
|
4139
|
+
__publicField$V(this, "headline");
|
|
4140
|
+
__publicField$V(this, "personalDataCardTitle");
|
|
4141
|
+
__publicField$V(this, "paymentMethodCardTitle");
|
|
4142
|
+
__publicField$V(this, "billingAddressCardTitle");
|
|
4143
|
+
__publicField$V(this, "shippingAddressCardTitle");
|
|
4144
|
+
__publicField$V(this, "newsletterCheckbox");
|
|
4145
|
+
__publicField$V(this, "newsletterRegistrationSuccessMessage");
|
|
4146
|
+
__publicField$V(this, "customerGroupRequestMessage");
|
|
4147
|
+
__publicField$V(this, "cannotDeliverToCountryAlert");
|
|
4148
|
+
__publicField$V(this, "shippingToAddressNotPossibleAlert");
|
|
4149
|
+
__publicField$V(this, "page");
|
|
4150
|
+
__publicField$V(this, "instanceMeta");
|
|
4151
4151
|
this.page = page;
|
|
4152
4152
|
this.instanceMeta = instanceMeta;
|
|
4153
4153
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
@@ -4173,57 +4173,57 @@ class Account {
|
|
|
4173
4173
|
}
|
|
4174
4174
|
}
|
|
4175
4175
|
|
|
4176
|
-
var __defProp$
|
|
4177
|
-
var __defNormalProp$
|
|
4178
|
-
var __publicField$
|
|
4179
|
-
__defNormalProp$
|
|
4176
|
+
var __defProp$U = Object.defineProperty;
|
|
4177
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4178
|
+
var __publicField$U = (obj, key, value) => {
|
|
4179
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4180
4180
|
return value;
|
|
4181
4181
|
};
|
|
4182
4182
|
class AccountLogin {
|
|
4183
4183
|
constructor(page) {
|
|
4184
|
-
__publicField$
|
|
4185
|
-
__publicField$
|
|
4186
|
-
__publicField$
|
|
4187
|
-
__publicField$
|
|
4188
|
-
__publicField$
|
|
4189
|
-
__publicField$
|
|
4190
|
-
__publicField$
|
|
4191
|
-
__publicField$
|
|
4184
|
+
__publicField$U(this, "emailInput");
|
|
4185
|
+
__publicField$U(this, "passwordInput");
|
|
4186
|
+
__publicField$U(this, "forgotPasswordLink");
|
|
4187
|
+
__publicField$U(this, "loginButton");
|
|
4188
|
+
__publicField$U(this, "logoutLink");
|
|
4189
|
+
__publicField$U(this, "successAlert");
|
|
4190
|
+
__publicField$U(this, "invalidCredentialsAlert");
|
|
4191
|
+
__publicField$U(this, "passwordUpdatedAlert");
|
|
4192
4192
|
// Inputs for registration
|
|
4193
|
-
__publicField$
|
|
4194
|
-
__publicField$
|
|
4195
|
-
__publicField$
|
|
4196
|
-
__publicField$
|
|
4197
|
-
__publicField$
|
|
4198
|
-
__publicField$
|
|
4199
|
-
__publicField$
|
|
4200
|
-
__publicField$
|
|
4201
|
-
__publicField$
|
|
4202
|
-
__publicField$
|
|
4203
|
-
__publicField$
|
|
4204
|
-
__publicField$
|
|
4205
|
-
__publicField$
|
|
4206
|
-
__publicField$
|
|
4207
|
-
__publicField$
|
|
4208
|
-
__publicField$
|
|
4193
|
+
__publicField$U(this, "personalFormArea");
|
|
4194
|
+
__publicField$U(this, "billingAddressFormArea");
|
|
4195
|
+
__publicField$U(this, "accountTypeSelect");
|
|
4196
|
+
__publicField$U(this, "salutationSelect");
|
|
4197
|
+
__publicField$U(this, "firstNameInput");
|
|
4198
|
+
__publicField$U(this, "lastNameInput");
|
|
4199
|
+
__publicField$U(this, "companyInput");
|
|
4200
|
+
__publicField$U(this, "departmentInput");
|
|
4201
|
+
__publicField$U(this, "vatRegNoInput");
|
|
4202
|
+
__publicField$U(this, "registerEmailInput");
|
|
4203
|
+
__publicField$U(this, "registerPasswordInput");
|
|
4204
|
+
__publicField$U(this, "streetAddressInput");
|
|
4205
|
+
__publicField$U(this, "cityInput");
|
|
4206
|
+
__publicField$U(this, "countryInput");
|
|
4207
|
+
__publicField$U(this, "postalCodeInput");
|
|
4208
|
+
__publicField$U(this, "registerButton");
|
|
4209
4209
|
// Inputs for reCaptcha
|
|
4210
|
-
__publicField$
|
|
4211
|
-
__publicField$
|
|
4212
|
-
__publicField$
|
|
4213
|
-
__publicField$
|
|
4214
|
-
__publicField$
|
|
4210
|
+
__publicField$U(this, "greCaptchaV2Container");
|
|
4211
|
+
__publicField$U(this, "greCaptchaV2Input");
|
|
4212
|
+
__publicField$U(this, "greCaptchaV3Input");
|
|
4213
|
+
__publicField$U(this, "greCaptchaProtectionInformation");
|
|
4214
|
+
__publicField$U(this, "greCaptchaBadge");
|
|
4215
4215
|
//Input for shipping address
|
|
4216
|
-
__publicField$
|
|
4217
|
-
__publicField$
|
|
4218
|
-
__publicField$
|
|
4219
|
-
__publicField$
|
|
4220
|
-
__publicField$
|
|
4221
|
-
__publicField$
|
|
4222
|
-
__publicField$
|
|
4223
|
-
__publicField$
|
|
4224
|
-
__publicField$
|
|
4225
|
-
__publicField$
|
|
4226
|
-
__publicField$
|
|
4216
|
+
__publicField$U(this, "differentShippingAddressCheckbox");
|
|
4217
|
+
__publicField$U(this, "registerShippingAddressFormArea");
|
|
4218
|
+
__publicField$U(this, "shippingAddressSalutationSelect");
|
|
4219
|
+
__publicField$U(this, "shippingAddressFirstNameInput");
|
|
4220
|
+
__publicField$U(this, "shippingAddressLastNameInput");
|
|
4221
|
+
__publicField$U(this, "shippingAddressStreetAddressInput");
|
|
4222
|
+
__publicField$U(this, "shippingAddressCityInput");
|
|
4223
|
+
__publicField$U(this, "shippingAddressCountryInput");
|
|
4224
|
+
__publicField$U(this, "shippingAddressPostalCodeInput");
|
|
4225
|
+
__publicField$U(this, "shippingAddressStateInput");
|
|
4226
|
+
__publicField$U(this, "page");
|
|
4227
4227
|
this.page = page;
|
|
4228
4228
|
this.emailInput = page.getByLabel("Your email address");
|
|
4229
4229
|
this.passwordInput = page.getByLabel("Your password");
|
|
@@ -4274,26 +4274,26 @@ class AccountLogin {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
}
|
|
4276
4276
|
|
|
4277
|
-
var __defProp$
|
|
4278
|
-
var __defNormalProp$
|
|
4279
|
-
var __publicField$
|
|
4280
|
-
__defNormalProp$
|
|
4277
|
+
var __defProp$T = Object.defineProperty;
|
|
4278
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4279
|
+
var __publicField$T = (obj, key, value) => {
|
|
4280
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4281
4281
|
return value;
|
|
4282
4282
|
};
|
|
4283
4283
|
class AccountRecover {
|
|
4284
4284
|
constructor(page) {
|
|
4285
|
-
__publicField$
|
|
4286
|
-
__publicField$
|
|
4287
|
-
__publicField$
|
|
4288
|
-
__publicField$
|
|
4289
|
-
__publicField$
|
|
4290
|
-
__publicField$
|
|
4291
|
-
__publicField$
|
|
4292
|
-
__publicField$
|
|
4293
|
-
__publicField$
|
|
4294
|
-
__publicField$
|
|
4295
|
-
__publicField$
|
|
4296
|
-
__publicField$
|
|
4285
|
+
__publicField$T(this, "passwordRecoveryForm");
|
|
4286
|
+
__publicField$T(this, "title");
|
|
4287
|
+
__publicField$T(this, "subtitle");
|
|
4288
|
+
__publicField$T(this, "emailInput");
|
|
4289
|
+
__publicField$T(this, "requestEmailButton");
|
|
4290
|
+
__publicField$T(this, "backButton");
|
|
4291
|
+
__publicField$T(this, "passwordResetEmailSentMessage");
|
|
4292
|
+
__publicField$T(this, "newPasswordInput");
|
|
4293
|
+
__publicField$T(this, "newPasswordConfirmInput");
|
|
4294
|
+
__publicField$T(this, "changePasswordButton");
|
|
4295
|
+
__publicField$T(this, "invalidLinkMessage");
|
|
4296
|
+
__publicField$T(this, "page");
|
|
4297
4297
|
this.page = page;
|
|
4298
4298
|
this.passwordRecoveryForm = page.locator(".account-recover-password-form");
|
|
4299
4299
|
const cardTitle = this.passwordRecoveryForm.locator(".card-title");
|
|
@@ -4316,36 +4316,36 @@ class AccountRecover {
|
|
|
4316
4316
|
}
|
|
4317
4317
|
}
|
|
4318
4318
|
|
|
4319
|
-
var __defProp$
|
|
4320
|
-
var __defNormalProp$
|
|
4321
|
-
var __publicField$
|
|
4322
|
-
__defNormalProp$
|
|
4319
|
+
var __defProp$S = Object.defineProperty;
|
|
4320
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4321
|
+
var __publicField$S = (obj, key, value) => {
|
|
4322
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4323
4323
|
return value;
|
|
4324
4324
|
};
|
|
4325
4325
|
class AccountProfile {
|
|
4326
4326
|
constructor(page, instanceMeta) {
|
|
4327
|
-
__publicField$
|
|
4328
|
-
__publicField$
|
|
4329
|
-
__publicField$
|
|
4330
|
-
__publicField$
|
|
4331
|
-
__publicField$
|
|
4332
|
-
__publicField$
|
|
4333
|
-
__publicField$
|
|
4334
|
-
__publicField$
|
|
4335
|
-
__publicField$
|
|
4336
|
-
__publicField$
|
|
4337
|
-
__publicField$
|
|
4338
|
-
__publicField$
|
|
4339
|
-
__publicField$
|
|
4340
|
-
__publicField$
|
|
4341
|
-
__publicField$
|
|
4342
|
-
__publicField$
|
|
4343
|
-
__publicField$
|
|
4344
|
-
__publicField$
|
|
4345
|
-
__publicField$
|
|
4346
|
-
__publicField$
|
|
4347
|
-
__publicField$
|
|
4348
|
-
__publicField$
|
|
4327
|
+
__publicField$S(this, "page");
|
|
4328
|
+
__publicField$S(this, "instanceMeta");
|
|
4329
|
+
__publicField$S(this, "salutationSelect");
|
|
4330
|
+
__publicField$S(this, "firstNameInput");
|
|
4331
|
+
__publicField$S(this, "lastNameInput");
|
|
4332
|
+
__publicField$S(this, "saveProfileButton");
|
|
4333
|
+
__publicField$S(this, "changeEmailButton");
|
|
4334
|
+
__publicField$S(this, "emailAddressInput");
|
|
4335
|
+
__publicField$S(this, "emailAddressConfirmInput");
|
|
4336
|
+
__publicField$S(this, "emailConfirmPasswordInput");
|
|
4337
|
+
__publicField$S(this, "saveEmailAddressButton");
|
|
4338
|
+
__publicField$S(this, "changePasswordButton");
|
|
4339
|
+
__publicField$S(this, "newPasswordInput");
|
|
4340
|
+
__publicField$S(this, "newPasswordConfirmInput");
|
|
4341
|
+
__publicField$S(this, "currentPasswordInput");
|
|
4342
|
+
__publicField$S(this, "saveNewPasswordButton");
|
|
4343
|
+
__publicField$S(this, "loginDataEmailAddress");
|
|
4344
|
+
__publicField$S(this, "emailUpdateMessage");
|
|
4345
|
+
__publicField$S(this, "passwordUpdateMessage");
|
|
4346
|
+
__publicField$S(this, "emailValidationAlert");
|
|
4347
|
+
__publicField$S(this, "emailUpdateFailureAlert");
|
|
4348
|
+
__publicField$S(this, "passwordUpdateFailureAlert");
|
|
4349
4349
|
this.page = page;
|
|
4350
4350
|
this.instanceMeta = instanceMeta;
|
|
4351
4351
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
@@ -4387,24 +4387,24 @@ class AccountProfile {
|
|
|
4387
4387
|
}
|
|
4388
4388
|
}
|
|
4389
4389
|
|
|
4390
|
-
var __defProp$
|
|
4391
|
-
var __defNormalProp$
|
|
4392
|
-
var __publicField$
|
|
4393
|
-
__defNormalProp$
|
|
4390
|
+
var __defProp$R = Object.defineProperty;
|
|
4391
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4392
|
+
var __publicField$R = (obj, key, value) => {
|
|
4393
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4394
4394
|
return value;
|
|
4395
4395
|
};
|
|
4396
4396
|
class AccountOrder {
|
|
4397
4397
|
constructor(page) {
|
|
4398
|
-
__publicField$
|
|
4399
|
-
__publicField$
|
|
4400
|
-
__publicField$
|
|
4401
|
-
__publicField$
|
|
4402
|
-
__publicField$
|
|
4403
|
-
__publicField$
|
|
4404
|
-
__publicField$
|
|
4405
|
-
__publicField$
|
|
4406
|
-
__publicField$
|
|
4407
|
-
__publicField$
|
|
4398
|
+
__publicField$R(this, "cartLineItemImages");
|
|
4399
|
+
__publicField$R(this, "orderExpandButton");
|
|
4400
|
+
__publicField$R(this, "digitalProductDownloadButton");
|
|
4401
|
+
__publicField$R(this, "dialogOrderCancel");
|
|
4402
|
+
__publicField$R(this, "dialogOrderCancelButton");
|
|
4403
|
+
__publicField$R(this, "dialogBackButton");
|
|
4404
|
+
__publicField$R(this, "orderDetails");
|
|
4405
|
+
__publicField$R(this, "invoiceHTML");
|
|
4406
|
+
__publicField$R(this, "creditItem");
|
|
4407
|
+
__publicField$R(this, "page");
|
|
4408
4408
|
this.page = page;
|
|
4409
4409
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
4410
4410
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
@@ -4456,27 +4456,27 @@ class AccountOrder {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
}
|
|
4458
4458
|
|
|
4459
|
-
var __defProp$
|
|
4460
|
-
var __defNormalProp$
|
|
4461
|
-
var __publicField$
|
|
4462
|
-
__defNormalProp$
|
|
4459
|
+
var __defProp$Q = Object.defineProperty;
|
|
4460
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4461
|
+
var __publicField$Q = (obj, key, value) => {
|
|
4462
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4463
4463
|
return value;
|
|
4464
4464
|
};
|
|
4465
4465
|
class AccountAddresses {
|
|
4466
4466
|
constructor(page, instanceMeta) {
|
|
4467
|
-
__publicField$
|
|
4468
|
-
__publicField$
|
|
4469
|
-
__publicField$
|
|
4470
|
-
__publicField$
|
|
4471
|
-
__publicField$
|
|
4472
|
-
__publicField$
|
|
4473
|
-
__publicField$
|
|
4474
|
-
__publicField$
|
|
4475
|
-
__publicField$
|
|
4476
|
-
__publicField$
|
|
4477
|
-
__publicField$
|
|
4478
|
-
__publicField$
|
|
4479
|
-
__publicField$
|
|
4467
|
+
__publicField$Q(this, "addNewAddressButton");
|
|
4468
|
+
__publicField$Q(this, "editBillingAddressButton");
|
|
4469
|
+
__publicField$Q(this, "editShippingAddressButton");
|
|
4470
|
+
__publicField$Q(this, "useDefaultBillingAddressButton");
|
|
4471
|
+
__publicField$Q(this, "useDefaultShippingAddressButton");
|
|
4472
|
+
__publicField$Q(this, "deliveryNotPossibleAlert");
|
|
4473
|
+
__publicField$Q(this, "availableAddresses");
|
|
4474
|
+
__publicField$Q(this, "addressDropdownButton");
|
|
4475
|
+
__publicField$Q(this, "addressDropdownButtons");
|
|
4476
|
+
__publicField$Q(this, "availableAddressesUseAsBillingAddress");
|
|
4477
|
+
__publicField$Q(this, "availableAddressesUseAsShippingAddress");
|
|
4478
|
+
__publicField$Q(this, "page");
|
|
4479
|
+
__publicField$Q(this, "instanceMeta");
|
|
4480
4480
|
this.page = page;
|
|
4481
4481
|
this.instanceMeta = instanceMeta;
|
|
4482
4482
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
@@ -4500,19 +4500,19 @@ class AccountAddresses {
|
|
|
4500
4500
|
}
|
|
4501
4501
|
}
|
|
4502
4502
|
|
|
4503
|
-
var __defProp$
|
|
4504
|
-
var __defNormalProp$
|
|
4505
|
-
var __publicField$
|
|
4506
|
-
__defNormalProp$
|
|
4503
|
+
var __defProp$P = Object.defineProperty;
|
|
4504
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4505
|
+
var __publicField$P = (obj, key, value) => {
|
|
4506
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4507
4507
|
return value;
|
|
4508
4508
|
};
|
|
4509
4509
|
class AccountPayment {
|
|
4510
4510
|
constructor(page) {
|
|
4511
|
-
__publicField$
|
|
4512
|
-
__publicField$
|
|
4513
|
-
__publicField$
|
|
4514
|
-
__publicField$
|
|
4515
|
-
__publicField$
|
|
4511
|
+
__publicField$P(this, "cashOnDeliveryOption");
|
|
4512
|
+
__publicField$P(this, "paidInAdvanceOption");
|
|
4513
|
+
__publicField$P(this, "invoiceOption");
|
|
4514
|
+
__publicField$P(this, "changeDefaultPaymentButton");
|
|
4515
|
+
__publicField$P(this, "page");
|
|
4516
4516
|
this.page = page;
|
|
4517
4517
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
4518
4518
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
@@ -4524,17 +4524,17 @@ class AccountPayment {
|
|
|
4524
4524
|
}
|
|
4525
4525
|
}
|
|
4526
4526
|
|
|
4527
|
-
var __defProp$
|
|
4528
|
-
var __defNormalProp$
|
|
4529
|
-
var __publicField$
|
|
4530
|
-
__defNormalProp$
|
|
4527
|
+
var __defProp$O = Object.defineProperty;
|
|
4528
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4529
|
+
var __publicField$O = (obj, key, value) => {
|
|
4530
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4531
4531
|
return value;
|
|
4532
4532
|
};
|
|
4533
4533
|
class Search {
|
|
4534
4534
|
constructor(page) {
|
|
4535
|
-
__publicField$
|
|
4536
|
-
__publicField$
|
|
4537
|
-
__publicField$
|
|
4535
|
+
__publicField$O(this, "headline");
|
|
4536
|
+
__publicField$O(this, "productImages");
|
|
4537
|
+
__publicField$O(this, "page");
|
|
4538
4538
|
this.page = page;
|
|
4539
4539
|
this.headline = page.locator("h1.search-headline");
|
|
4540
4540
|
this.productImages = page.locator(".product-image-wrapper");
|
|
@@ -4544,25 +4544,25 @@ class Search {
|
|
|
4544
4544
|
}
|
|
4545
4545
|
}
|
|
4546
4546
|
|
|
4547
|
-
var __defProp$
|
|
4548
|
-
var __defNormalProp$
|
|
4549
|
-
var __publicField$
|
|
4550
|
-
__defNormalProp$
|
|
4547
|
+
var __defProp$N = Object.defineProperty;
|
|
4548
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4549
|
+
var __publicField$N = (obj, key, value) => {
|
|
4550
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4551
4551
|
return value;
|
|
4552
4552
|
};
|
|
4553
4553
|
class SearchSuggest extends Home {
|
|
4554
4554
|
constructor(page) {
|
|
4555
4555
|
super(page);
|
|
4556
|
-
__publicField$
|
|
4557
|
-
__publicField$
|
|
4558
|
-
__publicField$
|
|
4559
|
-
__publicField$
|
|
4560
|
-
__publicField$
|
|
4561
|
-
__publicField$
|
|
4562
|
-
__publicField$
|
|
4563
|
-
__publicField$
|
|
4564
|
-
__publicField$
|
|
4565
|
-
__publicField$
|
|
4556
|
+
__publicField$N(this, "searchSuggestLineItemImages");
|
|
4557
|
+
__publicField$N(this, "searchInput");
|
|
4558
|
+
__publicField$N(this, "searchIcon");
|
|
4559
|
+
__publicField$N(this, "searchSuggestNoResult");
|
|
4560
|
+
__publicField$N(this, "searchSuggestLineItemName");
|
|
4561
|
+
__publicField$N(this, "searchSuggestLineItemPrice");
|
|
4562
|
+
__publicField$N(this, "searchSuggestTotalLink");
|
|
4563
|
+
__publicField$N(this, "searchResultTotal");
|
|
4564
|
+
__publicField$N(this, "searchHeadline");
|
|
4565
|
+
__publicField$N(this, "page");
|
|
4566
4566
|
this.page = page;
|
|
4567
4567
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
4568
4568
|
this.searchInput = page.locator(".header-search-input");
|
|
@@ -4583,16 +4583,16 @@ class SearchSuggest extends Home {
|
|
|
4583
4583
|
}
|
|
4584
4584
|
}
|
|
4585
4585
|
|
|
4586
|
-
var __defProp$
|
|
4587
|
-
var __defNormalProp$
|
|
4588
|
-
var __publicField$
|
|
4589
|
-
__defNormalProp$
|
|
4586
|
+
var __defProp$M = Object.defineProperty;
|
|
4587
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4588
|
+
var __publicField$M = (obj, key, value) => {
|
|
4589
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4590
4590
|
return value;
|
|
4591
4591
|
};
|
|
4592
4592
|
class CustomRegister extends AccountLogin {
|
|
4593
4593
|
constructor(page) {
|
|
4594
4594
|
super(page);
|
|
4595
|
-
__publicField$
|
|
4595
|
+
__publicField$M(this, "page");
|
|
4596
4596
|
this.page = page;
|
|
4597
4597
|
}
|
|
4598
4598
|
url(customCustomerGroupName) {
|
|
@@ -4600,31 +4600,31 @@ class CustomRegister extends AccountLogin {
|
|
|
4600
4600
|
}
|
|
4601
4601
|
}
|
|
4602
4602
|
|
|
4603
|
-
var __defProp$
|
|
4604
|
-
var __defNormalProp$
|
|
4605
|
-
var __publicField$
|
|
4606
|
-
__defNormalProp$
|
|
4603
|
+
var __defProp$L = Object.defineProperty;
|
|
4604
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4605
|
+
var __publicField$L = (obj, key, value) => {
|
|
4606
|
+
__defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4607
4607
|
return value;
|
|
4608
4608
|
};
|
|
4609
4609
|
class CheckoutOrderEdit {
|
|
4610
4610
|
constructor(page) {
|
|
4611
|
-
__publicField$
|
|
4612
|
-
__publicField$
|
|
4613
|
-
__publicField$
|
|
4614
|
-
__publicField$
|
|
4615
|
-
__publicField$
|
|
4611
|
+
__publicField$L(this, "completePaymentButton");
|
|
4612
|
+
__publicField$L(this, "orderCancelButton");
|
|
4613
|
+
__publicField$L(this, "dialogOrderCancel");
|
|
4614
|
+
__publicField$L(this, "dialogOrderCancelButton");
|
|
4615
|
+
__publicField$L(this, "dialogBackButton");
|
|
4616
4616
|
/**
|
|
4617
4617
|
* Payment options
|
|
4618
4618
|
*/
|
|
4619
|
-
__publicField$
|
|
4620
|
-
__publicField$
|
|
4621
|
-
__publicField$
|
|
4619
|
+
__publicField$L(this, "paymentCashOnDelivery");
|
|
4620
|
+
__publicField$L(this, "paymentPaidInAdvance");
|
|
4621
|
+
__publicField$L(this, "paymentInvoice");
|
|
4622
4622
|
/**
|
|
4623
4623
|
* Shipping options
|
|
4624
4624
|
*/
|
|
4625
|
-
__publicField$
|
|
4626
|
-
__publicField$
|
|
4627
|
-
__publicField$
|
|
4625
|
+
__publicField$L(this, "shippingStandard");
|
|
4626
|
+
__publicField$L(this, "shippingExpress");
|
|
4627
|
+
__publicField$L(this, "page");
|
|
4628
4628
|
this.page = page;
|
|
4629
4629
|
this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
|
|
4630
4630
|
this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
|
|
@@ -4650,26 +4650,26 @@ class CheckoutOrderEdit {
|
|
|
4650
4650
|
}
|
|
4651
4651
|
}
|
|
4652
4652
|
|
|
4653
|
-
var __defProp$
|
|
4654
|
-
var __defNormalProp$
|
|
4655
|
-
var __publicField$
|
|
4656
|
-
__defNormalProp$
|
|
4653
|
+
var __defProp$K = Object.defineProperty;
|
|
4654
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4655
|
+
var __publicField$K = (obj, key, value) => {
|
|
4656
|
+
__defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4657
4657
|
return value;
|
|
4658
4658
|
};
|
|
4659
4659
|
class AccountAddressCreate {
|
|
4660
4660
|
constructor(page) {
|
|
4661
|
-
__publicField$
|
|
4662
|
-
__publicField$
|
|
4663
|
-
__publicField$
|
|
4664
|
-
__publicField$
|
|
4665
|
-
__publicField$
|
|
4666
|
-
__publicField$
|
|
4667
|
-
__publicField$
|
|
4668
|
-
__publicField$
|
|
4669
|
-
__publicField$
|
|
4670
|
-
__publicField$
|
|
4671
|
-
__publicField$
|
|
4672
|
-
__publicField$
|
|
4661
|
+
__publicField$K(this, "salutationDropdown");
|
|
4662
|
+
__publicField$K(this, "firstNameInput");
|
|
4663
|
+
__publicField$K(this, "lastNameInput");
|
|
4664
|
+
__publicField$K(this, "companyInput");
|
|
4665
|
+
__publicField$K(this, "departmentInput");
|
|
4666
|
+
__publicField$K(this, "streetInput");
|
|
4667
|
+
__publicField$K(this, "zipcodeInput");
|
|
4668
|
+
__publicField$K(this, "cityInput");
|
|
4669
|
+
__publicField$K(this, "countryDropdown");
|
|
4670
|
+
__publicField$K(this, "saveAddressButton");
|
|
4671
|
+
__publicField$K(this, "stateDropdown");
|
|
4672
|
+
__publicField$K(this, "page");
|
|
4673
4673
|
this.page = page;
|
|
4674
4674
|
this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
|
|
4675
4675
|
this.firstNameInput = page.getByRole("textbox", { name: "First name" });
|
|
@@ -4688,19 +4688,19 @@ class AccountAddressCreate {
|
|
|
4688
4688
|
}
|
|
4689
4689
|
}
|
|
4690
4690
|
|
|
4691
|
-
var __defProp$
|
|
4692
|
-
var __defNormalProp$
|
|
4693
|
-
var __publicField$
|
|
4694
|
-
__defNormalProp$
|
|
4691
|
+
var __defProp$J = Object.defineProperty;
|
|
4692
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4693
|
+
var __publicField$J = (obj, key, value) => {
|
|
4694
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4695
4695
|
return value;
|
|
4696
4696
|
};
|
|
4697
4697
|
class PageNotFound {
|
|
4698
4698
|
constructor(page) {
|
|
4699
|
-
__publicField$
|
|
4700
|
-
__publicField$
|
|
4701
|
-
__publicField$
|
|
4702
|
-
__publicField$
|
|
4703
|
-
__publicField$
|
|
4699
|
+
__publicField$J(this, "pageNotFoundImage");
|
|
4700
|
+
__publicField$J(this, "headline");
|
|
4701
|
+
__publicField$J(this, "pageNotFoundMessage");
|
|
4702
|
+
__publicField$J(this, "backToShopButton");
|
|
4703
|
+
__publicField$J(this, "page");
|
|
4704
4704
|
this.page = page;
|
|
4705
4705
|
this.pageNotFoundImage = page.getByAltText("Page not found");
|
|
4706
4706
|
this.headline = page.getByRole("heading", { name: "Page not found" });
|
|
@@ -4712,10 +4712,10 @@ class PageNotFound {
|
|
|
4712
4712
|
}
|
|
4713
4713
|
}
|
|
4714
4714
|
|
|
4715
|
-
var __defProp$
|
|
4716
|
-
var __defNormalProp$
|
|
4717
|
-
var __publicField$
|
|
4718
|
-
__defNormalProp$
|
|
4715
|
+
var __defProp$I = Object.defineProperty;
|
|
4716
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4717
|
+
var __publicField$I = (obj, key, value) => {
|
|
4718
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4719
4719
|
return value;
|
|
4720
4720
|
};
|
|
4721
4721
|
class ContactForm extends Home {
|
|
@@ -4724,36 +4724,36 @@ class ContactForm extends Home {
|
|
|
4724
4724
|
/**
|
|
4725
4725
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
4726
4726
|
*/
|
|
4727
|
-
__publicField$
|
|
4727
|
+
__publicField$I(this, "contactModal");
|
|
4728
4728
|
/**
|
|
4729
4729
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
4730
4730
|
*/
|
|
4731
|
-
__publicField$
|
|
4732
|
-
__publicField$
|
|
4733
|
-
__publicField$
|
|
4734
|
-
__publicField$
|
|
4735
|
-
__publicField$
|
|
4736
|
-
__publicField$
|
|
4737
|
-
__publicField$
|
|
4738
|
-
__publicField$
|
|
4739
|
-
__publicField$
|
|
4740
|
-
__publicField$
|
|
4741
|
-
__publicField$
|
|
4742
|
-
__publicField$
|
|
4743
|
-
__publicField$
|
|
4744
|
-
__publicField$
|
|
4745
|
-
__publicField$
|
|
4731
|
+
__publicField$I(this, "contactSuccessModal");
|
|
4732
|
+
__publicField$I(this, "contactWrapper");
|
|
4733
|
+
__publicField$I(this, "salutationSelect");
|
|
4734
|
+
__publicField$I(this, "firstNameInput");
|
|
4735
|
+
__publicField$I(this, "lastNameInput");
|
|
4736
|
+
__publicField$I(this, "emailInput");
|
|
4737
|
+
__publicField$I(this, "phoneInput");
|
|
4738
|
+
__publicField$I(this, "subjectInput");
|
|
4739
|
+
__publicField$I(this, "commentInput");
|
|
4740
|
+
__publicField$I(this, "privacyPolicyCheckbox");
|
|
4741
|
+
__publicField$I(this, "submitButton");
|
|
4742
|
+
__publicField$I(this, "contactSuccessMessage");
|
|
4743
|
+
__publicField$I(this, "cardTitle");
|
|
4744
|
+
__publicField$I(this, "formFieldFeedback");
|
|
4745
|
+
__publicField$I(this, "formAlert");
|
|
4746
4746
|
/**
|
|
4747
4747
|
* Captcha locators
|
|
4748
4748
|
*/
|
|
4749
|
-
__publicField$
|
|
4750
|
-
__publicField$
|
|
4751
|
-
__publicField$
|
|
4752
|
-
__publicField$
|
|
4753
|
-
__publicField$
|
|
4754
|
-
__publicField$
|
|
4755
|
-
__publicField$
|
|
4756
|
-
__publicField$
|
|
4749
|
+
__publicField$I(this, "basicCaptcha");
|
|
4750
|
+
__publicField$I(this, "basicCaptchaImage");
|
|
4751
|
+
__publicField$I(this, "basicCaptchaRefreshButton");
|
|
4752
|
+
__publicField$I(this, "basicCaptchaInput");
|
|
4753
|
+
__publicField$I(this, "greCaptchaV2Container");
|
|
4754
|
+
__publicField$I(this, "greCaptchaV2Input");
|
|
4755
|
+
__publicField$I(this, "greCaptchaProtectionInformation");
|
|
4756
|
+
__publicField$I(this, "instanceMeta");
|
|
4757
4757
|
this.instanceMeta = instanceMeta;
|
|
4758
4758
|
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4759
4759
|
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
@@ -4789,19 +4789,19 @@ class ContactForm extends Home {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
}
|
|
4791
4791
|
|
|
4792
|
-
var __defProp$
|
|
4793
|
-
var __defNormalProp$
|
|
4794
|
-
var __publicField$
|
|
4795
|
-
__defNormalProp$
|
|
4792
|
+
var __defProp$H = Object.defineProperty;
|
|
4793
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4794
|
+
var __publicField$H = (obj, key, value) => {
|
|
4795
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4796
4796
|
return value;
|
|
4797
4797
|
};
|
|
4798
4798
|
class Wishlist extends Home {
|
|
4799
4799
|
constructor(page) {
|
|
4800
4800
|
super(page);
|
|
4801
|
-
__publicField$
|
|
4802
|
-
__publicField$
|
|
4803
|
-
__publicField$
|
|
4804
|
-
__publicField$
|
|
4801
|
+
__publicField$H(this, "wishListHeader");
|
|
4802
|
+
__publicField$H(this, "removeAlert");
|
|
4803
|
+
__publicField$H(this, "emptyListing");
|
|
4804
|
+
__publicField$H(this, "page");
|
|
4805
4805
|
this.page = page;
|
|
4806
4806
|
this.wishListHeader = page.locator(".wishlist-headline");
|
|
4807
4807
|
this.removeAlert = page.locator(".alert-success");
|
|
@@ -4821,20 +4821,20 @@ class Wishlist extends Home {
|
|
|
4821
4821
|
}
|
|
4822
4822
|
}
|
|
4823
4823
|
|
|
4824
|
-
var __defProp$
|
|
4825
|
-
var __defNormalProp$
|
|
4826
|
-
var __publicField$
|
|
4827
|
-
__defNormalProp$
|
|
4824
|
+
var __defProp$G = Object.defineProperty;
|
|
4825
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4826
|
+
var __publicField$G = (obj, key, value) => {
|
|
4827
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4828
4828
|
return value;
|
|
4829
4829
|
};
|
|
4830
4830
|
class Footer {
|
|
4831
4831
|
constructor(page) {
|
|
4832
|
-
__publicField$
|
|
4833
|
-
__publicField$
|
|
4834
|
-
__publicField$
|
|
4835
|
-
__publicField$
|
|
4836
|
-
__publicField$
|
|
4837
|
-
__publicField$
|
|
4832
|
+
__publicField$G(this, "footerHeadline");
|
|
4833
|
+
__publicField$G(this, "footerContent");
|
|
4834
|
+
__publicField$G(this, "footerHotline");
|
|
4835
|
+
__publicField$G(this, "footerContactForm");
|
|
4836
|
+
__publicField$G(this, "footerContactFormLink");
|
|
4837
|
+
__publicField$G(this, "page");
|
|
4838
4838
|
this.page = page;
|
|
4839
4839
|
this.footerHeadline = page.locator(".footer-column-headline");
|
|
4840
4840
|
this.footerContent = page.locator(".footer-column-content-inner");
|
|
@@ -4847,23 +4847,23 @@ class Footer {
|
|
|
4847
4847
|
}
|
|
4848
4848
|
}
|
|
4849
4849
|
|
|
4850
|
-
var __defProp$
|
|
4851
|
-
var __defNormalProp$
|
|
4852
|
-
var __publicField$
|
|
4853
|
-
__defNormalProp$
|
|
4850
|
+
var __defProp$F = Object.defineProperty;
|
|
4851
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4852
|
+
var __publicField$F = (obj, key, value) => {
|
|
4853
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4854
4854
|
return value;
|
|
4855
4855
|
};
|
|
4856
4856
|
class Header {
|
|
4857
4857
|
constructor(page) {
|
|
4858
|
-
__publicField$
|
|
4859
|
-
__publicField$
|
|
4860
|
-
__publicField$
|
|
4861
|
-
__publicField$
|
|
4862
|
-
__publicField$
|
|
4858
|
+
__publicField$F(this, "mainNavigationLink");
|
|
4859
|
+
__publicField$F(this, "languagesDropdown");
|
|
4860
|
+
__publicField$F(this, "languagesMenuOptions");
|
|
4861
|
+
__publicField$F(this, "currenciesDropdown");
|
|
4862
|
+
__publicField$F(this, "currenciesMenuOptions");
|
|
4863
4863
|
//wishlist
|
|
4864
|
-
__publicField$
|
|
4865
|
-
__publicField$
|
|
4866
|
-
__publicField$
|
|
4864
|
+
__publicField$F(this, "wishlistIcon");
|
|
4865
|
+
__publicField$F(this, "wishlistBasket");
|
|
4866
|
+
__publicField$F(this, "page");
|
|
4867
4867
|
this.page = page;
|
|
4868
4868
|
this.mainNavigationLink = page.locator(".main-navigation-link-text");
|
|
4869
4869
|
this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
|
|
@@ -5001,98 +5001,98 @@ async function getCustomFieldCardLocators(page, customFieldSetName, customFieldN
|
|
|
5001
5001
|
};
|
|
5002
5002
|
}
|
|
5003
5003
|
|
|
5004
|
-
var __defProp$
|
|
5005
|
-
var __defNormalProp$
|
|
5006
|
-
var __publicField$
|
|
5007
|
-
__defNormalProp$
|
|
5004
|
+
var __defProp$E = Object.defineProperty;
|
|
5005
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5006
|
+
var __publicField$E = (obj, key, value) => {
|
|
5007
|
+
__defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5008
5008
|
return value;
|
|
5009
5009
|
};
|
|
5010
5010
|
class ProductDetail {
|
|
5011
5011
|
constructor(page, instanceMeta) {
|
|
5012
|
-
__publicField$
|
|
5013
|
-
__publicField$
|
|
5012
|
+
__publicField$E(this, "contentView");
|
|
5013
|
+
__publicField$E(this, "productHeadline");
|
|
5014
5014
|
/**
|
|
5015
5015
|
* Save interactions
|
|
5016
5016
|
*/
|
|
5017
|
-
__publicField$
|
|
5018
|
-
__publicField$
|
|
5019
|
-
__publicField$
|
|
5017
|
+
__publicField$E(this, "savePhysicalProductButton");
|
|
5018
|
+
__publicField$E(this, "saveButtonLoadingSpinner");
|
|
5019
|
+
__publicField$E(this, "saveButtonCheckMark");
|
|
5020
5020
|
/**
|
|
5021
5021
|
* General Info
|
|
5022
5022
|
*/
|
|
5023
|
-
__publicField$
|
|
5023
|
+
__publicField$E(this, "manufacturerDropdownText");
|
|
5024
5024
|
/**
|
|
5025
5025
|
* Prices
|
|
5026
5026
|
*/
|
|
5027
|
-
__publicField$
|
|
5027
|
+
__publicField$E(this, "priceGrossInput");
|
|
5028
5028
|
/**
|
|
5029
5029
|
* Deliverability
|
|
5030
5030
|
*/
|
|
5031
|
-
__publicField$
|
|
5032
|
-
__publicField$
|
|
5031
|
+
__publicField$E(this, "stockInput");
|
|
5032
|
+
__publicField$E(this, "restockTimeInput");
|
|
5033
5033
|
/**
|
|
5034
5034
|
* Visibility
|
|
5035
5035
|
*/
|
|
5036
|
-
__publicField$
|
|
5037
|
-
__publicField$
|
|
5038
|
-
__publicField$
|
|
5036
|
+
__publicField$E(this, "activeForAllSalesChannelsToggle");
|
|
5037
|
+
__publicField$E(this, "tagsInput");
|
|
5038
|
+
__publicField$E(this, "saleChannelsInput");
|
|
5039
5039
|
/**
|
|
5040
5040
|
* Labelling
|
|
5041
5041
|
*/
|
|
5042
|
-
__publicField$
|
|
5042
|
+
__publicField$E(this, "releaseDateInput");
|
|
5043
5043
|
/**
|
|
5044
5044
|
* Media Upload interactions
|
|
5045
5045
|
*/
|
|
5046
|
-
__publicField$
|
|
5047
|
-
__publicField$
|
|
5048
|
-
__publicField$
|
|
5046
|
+
__publicField$E(this, "uploadMediaButton");
|
|
5047
|
+
__publicField$E(this, "coverImage");
|
|
5048
|
+
__publicField$E(this, "productImage");
|
|
5049
5049
|
/**
|
|
5050
5050
|
* Tabs
|
|
5051
5051
|
*/
|
|
5052
|
-
__publicField$
|
|
5053
|
-
__publicField$
|
|
5054
|
-
__publicField$
|
|
5055
|
-
__publicField$
|
|
5056
|
-
__publicField$
|
|
5057
|
-
__publicField$
|
|
5058
|
-
__publicField$
|
|
5052
|
+
__publicField$E(this, "variantsTabLink");
|
|
5053
|
+
__publicField$E(this, "specificationsTabLink");
|
|
5054
|
+
__publicField$E(this, "advancedPricingTabLink");
|
|
5055
|
+
__publicField$E(this, "layoutTabLink");
|
|
5056
|
+
__publicField$E(this, "crossSellingTabLink");
|
|
5057
|
+
__publicField$E(this, "SEOTabLink");
|
|
5058
|
+
__publicField$E(this, "reviewsTabLink");
|
|
5059
5059
|
/**
|
|
5060
5060
|
* Variants Generation
|
|
5061
5061
|
*/
|
|
5062
|
-
__publicField$
|
|
5063
|
-
__publicField$
|
|
5064
|
-
__publicField$
|
|
5065
|
-
__publicField$
|
|
5066
|
-
__publicField$
|
|
5062
|
+
__publicField$E(this, "generateVariantsButton");
|
|
5063
|
+
__publicField$E(this, "variantsModal");
|
|
5064
|
+
__publicField$E(this, "variantsModalHeadline");
|
|
5065
|
+
__publicField$E(this, "variantsNextButton");
|
|
5066
|
+
__publicField$E(this, "variantsSaveButton");
|
|
5067
5067
|
/**
|
|
5068
5068
|
* Property Selection
|
|
5069
5069
|
*/
|
|
5070
|
-
__publicField$
|
|
5071
|
-
__publicField$
|
|
5070
|
+
__publicField$E(this, "propertyName");
|
|
5071
|
+
__publicField$E(this, "propertyValueCheckbox");
|
|
5072
5072
|
/** @deprecated - Use 'propertyName' instead. */
|
|
5073
|
-
__publicField$
|
|
5073
|
+
__publicField$E(this, "propertyGroupColor");
|
|
5074
5074
|
/** @deprecated - Use 'propertyName' instead. */
|
|
5075
|
-
__publicField$
|
|
5075
|
+
__publicField$E(this, "propertyGroupSize");
|
|
5076
5076
|
/** @deprecated - Use 'propertyValueCheckbox' instead. */
|
|
5077
|
-
__publicField$
|
|
5077
|
+
__publicField$E(this, "propertyOptionGrid");
|
|
5078
5078
|
/** @deprecated - Use 'propertyValueCheckbox' instead. */
|
|
5079
|
-
__publicField$
|
|
5079
|
+
__publicField$E(this, "propertyOptionColorBlue");
|
|
5080
5080
|
/** @deprecated - Use 'propertyValueCheckbox' instead. */
|
|
5081
|
-
__publicField$
|
|
5081
|
+
__publicField$E(this, "propertyOptionColorRed");
|
|
5082
5082
|
/** @deprecated - Use 'propertyValueCheckbox' instead. */
|
|
5083
|
-
__publicField$
|
|
5083
|
+
__publicField$E(this, "propertyOptionColorGreen");
|
|
5084
5084
|
/** @deprecated - Use 'propertyValueCheckbox' instead. */
|
|
5085
|
-
__publicField$
|
|
5085
|
+
__publicField$E(this, "propertyOptionSizeSmall");
|
|
5086
5086
|
/** @deprecated - Use 'propertyValueCheckbox' instead. */
|
|
5087
|
-
__publicField$
|
|
5087
|
+
__publicField$E(this, "propertyOptionSizeMedium");
|
|
5088
5088
|
/** @deprecated - Use 'propertyValueCheckbox' instead. */
|
|
5089
|
-
__publicField$
|
|
5089
|
+
__publicField$E(this, "propertyOptionSizeLarge");
|
|
5090
5090
|
/**
|
|
5091
5091
|
* Cards
|
|
5092
5092
|
*/
|
|
5093
|
-
__publicField$
|
|
5094
|
-
__publicField$
|
|
5095
|
-
__publicField$
|
|
5093
|
+
__publicField$E(this, "customFieldCard");
|
|
5094
|
+
__publicField$E(this, "page");
|
|
5095
|
+
__publicField$E(this, "instanceMeta");
|
|
5096
5096
|
this.page = page;
|
|
5097
5097
|
this.instanceMeta = instanceMeta;
|
|
5098
5098
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -5166,35 +5166,35 @@ class ProductDetail {
|
|
|
5166
5166
|
}
|
|
5167
5167
|
}
|
|
5168
5168
|
|
|
5169
|
-
var __defProp$
|
|
5170
|
-
var __defNormalProp$
|
|
5171
|
-
var __publicField$
|
|
5172
|
-
__defNormalProp$
|
|
5169
|
+
var __defProp$D = Object.defineProperty;
|
|
5170
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5171
|
+
var __publicField$D = (obj, key, value) => {
|
|
5172
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5173
5173
|
return value;
|
|
5174
5174
|
};
|
|
5175
5175
|
class OrderDetail {
|
|
5176
5176
|
constructor(page, instanceMeta) {
|
|
5177
|
-
__publicField$
|
|
5178
|
-
__publicField$
|
|
5179
|
-
__publicField$
|
|
5180
|
-
__publicField$
|
|
5181
|
-
__publicField$
|
|
5182
|
-
__publicField$
|
|
5183
|
-
__publicField$
|
|
5184
|
-
__publicField$
|
|
5185
|
-
__publicField$
|
|
5186
|
-
__publicField$
|
|
5187
|
-
__publicField$
|
|
5188
|
-
__publicField$
|
|
5189
|
-
__publicField$
|
|
5177
|
+
__publicField$D(this, "saveButton");
|
|
5178
|
+
__publicField$D(this, "dataGridContextButton");
|
|
5179
|
+
__publicField$D(this, "orderTag");
|
|
5180
|
+
__publicField$D(this, "lineItem");
|
|
5181
|
+
__publicField$D(this, "lineItemsTable");
|
|
5182
|
+
__publicField$D(this, "documentType");
|
|
5183
|
+
__publicField$D(this, "contextMenuButton");
|
|
5184
|
+
__publicField$D(this, "contextMenu");
|
|
5185
|
+
__publicField$D(this, "contextMenuSendDocument");
|
|
5186
|
+
__publicField$D(this, "sendDocumentModal");
|
|
5187
|
+
__publicField$D(this, "sendDocumentButton");
|
|
5188
|
+
__publicField$D(this, "itemsCardHeader");
|
|
5189
|
+
__publicField$D(this, "sentCheckmark");
|
|
5190
5190
|
/**
|
|
5191
5191
|
* Tabs
|
|
5192
5192
|
*/
|
|
5193
|
-
__publicField$
|
|
5194
|
-
__publicField$
|
|
5195
|
-
__publicField$
|
|
5196
|
-
__publicField$
|
|
5197
|
-
__publicField$
|
|
5193
|
+
__publicField$D(this, "generalTabLink");
|
|
5194
|
+
__publicField$D(this, "detailsTabLink");
|
|
5195
|
+
__publicField$D(this, "documentsTabLink");
|
|
5196
|
+
__publicField$D(this, "page");
|
|
5197
|
+
__publicField$D(this, "instanceMeta");
|
|
5198
5198
|
this.page = page;
|
|
5199
5199
|
this.instanceMeta = instanceMeta;
|
|
5200
5200
|
this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
|
|
@@ -5226,24 +5226,24 @@ class OrderDetail {
|
|
|
5226
5226
|
}
|
|
5227
5227
|
}
|
|
5228
5228
|
|
|
5229
|
-
var __defProp$
|
|
5230
|
-
var __defNormalProp$
|
|
5231
|
-
var __publicField$
|
|
5232
|
-
__defNormalProp$
|
|
5229
|
+
var __defProp$C = Object.defineProperty;
|
|
5230
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5231
|
+
var __publicField$C = (obj, key, value) => {
|
|
5232
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5233
5233
|
return value;
|
|
5234
5234
|
};
|
|
5235
5235
|
class CustomerListing {
|
|
5236
5236
|
constructor(page) {
|
|
5237
|
-
__publicField$
|
|
5238
|
-
__publicField$
|
|
5239
|
-
__publicField$
|
|
5240
|
-
__publicField$
|
|
5237
|
+
__publicField$C(this, "headline");
|
|
5238
|
+
__publicField$C(this, "addCustomerButton");
|
|
5239
|
+
__publicField$C(this, "bulkEditButton");
|
|
5240
|
+
__publicField$C(this, "deleteButton");
|
|
5241
5241
|
//Customer Bulk Edit Modal
|
|
5242
|
-
__publicField$
|
|
5243
|
-
__publicField$
|
|
5244
|
-
__publicField$
|
|
5245
|
-
__publicField$
|
|
5246
|
-
__publicField$
|
|
5242
|
+
__publicField$C(this, "bulkEditModal");
|
|
5243
|
+
__publicField$C(this, "startBulkEditButton");
|
|
5244
|
+
__publicField$C(this, "cancelButton");
|
|
5245
|
+
__publicField$C(this, "modalHeaderCheckbox");
|
|
5246
|
+
__publicField$C(this, "page");
|
|
5247
5247
|
this.page = page;
|
|
5248
5248
|
this.headline = page.getByRole("heading", { name: "Customers" });
|
|
5249
5249
|
this.addCustomerButton = page.locator(".sw-customer-list__button-create");
|
|
@@ -5305,27 +5305,27 @@ class CustomerListing {
|
|
|
5305
5305
|
}
|
|
5306
5306
|
}
|
|
5307
5307
|
|
|
5308
|
-
var __defProp$
|
|
5309
|
-
var __defNormalProp$
|
|
5310
|
-
var __publicField$
|
|
5311
|
-
__defNormalProp$
|
|
5308
|
+
var __defProp$B = Object.defineProperty;
|
|
5309
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5310
|
+
var __publicField$B = (obj, key, value) => {
|
|
5311
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5312
5312
|
return value;
|
|
5313
5313
|
};
|
|
5314
5314
|
class CustomerDetail {
|
|
5315
5315
|
constructor(page, instanceMeta) {
|
|
5316
|
-
__publicField$
|
|
5317
|
-
__publicField$
|
|
5318
|
-
__publicField$
|
|
5319
|
-
__publicField$
|
|
5320
|
-
__publicField$
|
|
5321
|
-
__publicField$
|
|
5322
|
-
__publicField$
|
|
5323
|
-
__publicField$
|
|
5324
|
-
__publicField$
|
|
5325
|
-
__publicField$
|
|
5326
|
-
__publicField$
|
|
5327
|
-
__publicField$
|
|
5328
|
-
__publicField$
|
|
5316
|
+
__publicField$B(this, "editButton");
|
|
5317
|
+
__publicField$B(this, "generalTab");
|
|
5318
|
+
__publicField$B(this, "accountCard");
|
|
5319
|
+
__publicField$B(this, "customFieldCard");
|
|
5320
|
+
__publicField$B(this, "customFieldSetTabs");
|
|
5321
|
+
__publicField$B(this, "customFieldSetTabCustomContent");
|
|
5322
|
+
__publicField$B(this, "customerGroupRequestMessage");
|
|
5323
|
+
__publicField$B(this, "customerGroupAcceptButton");
|
|
5324
|
+
__publicField$B(this, "customerGroupDeclineButton");
|
|
5325
|
+
__publicField$B(this, "tagList");
|
|
5326
|
+
__publicField$B(this, "tagItems");
|
|
5327
|
+
__publicField$B(this, "page");
|
|
5328
|
+
__publicField$B(this, "instanceMeta");
|
|
5329
5329
|
this.page = page;
|
|
5330
5330
|
this.instanceMeta = instanceMeta;
|
|
5331
5331
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
@@ -5388,17 +5388,17 @@ class CustomerDetail {
|
|
|
5388
5388
|
}
|
|
5389
5389
|
}
|
|
5390
5390
|
|
|
5391
|
-
var __defProp$
|
|
5392
|
-
var __defNormalProp$
|
|
5393
|
-
var __publicField$
|
|
5394
|
-
__defNormalProp$
|
|
5391
|
+
var __defProp$A = Object.defineProperty;
|
|
5392
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5393
|
+
var __publicField$A = (obj, key, value) => {
|
|
5394
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5395
5395
|
return value;
|
|
5396
5396
|
};
|
|
5397
5397
|
class CustomerGroupListing {
|
|
5398
5398
|
constructor(page) {
|
|
5399
|
-
__publicField$
|
|
5400
|
-
__publicField$
|
|
5401
|
-
__publicField$
|
|
5399
|
+
__publicField$A(this, "headline");
|
|
5400
|
+
__publicField$A(this, "addCustomerGroupButton");
|
|
5401
|
+
__publicField$A(this, "page");
|
|
5402
5402
|
this.page = page;
|
|
5403
5403
|
this.headline = page.getByRole("heading", { name: "Customer groups" });
|
|
5404
5404
|
this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
|
|
@@ -5421,30 +5421,30 @@ class CustomerGroupListing {
|
|
|
5421
5421
|
}
|
|
5422
5422
|
}
|
|
5423
5423
|
|
|
5424
|
-
var __defProp$
|
|
5425
|
-
var __defNormalProp$
|
|
5426
|
-
var __publicField$
|
|
5427
|
-
__defNormalProp$
|
|
5424
|
+
var __defProp$z = Object.defineProperty;
|
|
5425
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5426
|
+
var __publicField$z = (obj, key, value) => {
|
|
5427
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5428
5428
|
return value;
|
|
5429
5429
|
};
|
|
5430
5430
|
class CustomerGroupCreate {
|
|
5431
5431
|
constructor(page, instanceMeta) {
|
|
5432
|
-
__publicField$
|
|
5433
|
-
__publicField$
|
|
5434
|
-
__publicField$
|
|
5435
|
-
__publicField$
|
|
5436
|
-
__publicField$
|
|
5437
|
-
__publicField$
|
|
5438
|
-
__publicField$
|
|
5439
|
-
__publicField$
|
|
5440
|
-
__publicField$
|
|
5441
|
-
__publicField$
|
|
5442
|
-
__publicField$
|
|
5443
|
-
__publicField$
|
|
5444
|
-
__publicField$
|
|
5445
|
-
__publicField$
|
|
5446
|
-
__publicField$
|
|
5447
|
-
__publicField$
|
|
5432
|
+
__publicField$z(this, "headline");
|
|
5433
|
+
__publicField$z(this, "saveButton");
|
|
5434
|
+
__publicField$z(this, "cancelButton");
|
|
5435
|
+
__publicField$z(this, "cardTitle");
|
|
5436
|
+
__publicField$z(this, "customerGroupNameField");
|
|
5437
|
+
__publicField$z(this, "customerGroupGrossTaxDisplay");
|
|
5438
|
+
__publicField$z(this, "customerGroupNetTaxDisplay");
|
|
5439
|
+
__publicField$z(this, "customSignupFormToggle");
|
|
5440
|
+
__publicField$z(this, "signupFormTitle");
|
|
5441
|
+
__publicField$z(this, "signupFormIntroduction");
|
|
5442
|
+
__publicField$z(this, "signupFormSeoDescription");
|
|
5443
|
+
__publicField$z(this, "signupFormCompanySignupToggle");
|
|
5444
|
+
__publicField$z(this, "customerGroupSaleschannelSelection");
|
|
5445
|
+
__publicField$z(this, "customerGroupSaleschannelResultList");
|
|
5446
|
+
__publicField$z(this, "page");
|
|
5447
|
+
__publicField$z(this, "instanceMeta");
|
|
5448
5448
|
this.page = page;
|
|
5449
5449
|
this.instanceMeta = instanceMeta;
|
|
5450
5450
|
this.headline = page.getByRole("heading", { name: "New customer group" });
|
|
@@ -5475,19 +5475,19 @@ class CustomerGroupCreate {
|
|
|
5475
5475
|
}
|
|
5476
5476
|
}
|
|
5477
5477
|
|
|
5478
|
-
var __defProp$
|
|
5479
|
-
var __defNormalProp$
|
|
5480
|
-
var __publicField$
|
|
5481
|
-
__defNormalProp$
|
|
5478
|
+
var __defProp$y = Object.defineProperty;
|
|
5479
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5480
|
+
var __publicField$y = (obj, key, value) => {
|
|
5481
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5482
5482
|
return value;
|
|
5483
5483
|
};
|
|
5484
5484
|
class CustomerGroupDetail extends CustomerGroupCreate {
|
|
5485
5485
|
constructor(page, instanceMeta) {
|
|
5486
5486
|
super(page, instanceMeta);
|
|
5487
|
-
__publicField$
|
|
5488
|
-
__publicField$
|
|
5489
|
-
__publicField$
|
|
5490
|
-
__publicField$
|
|
5487
|
+
__publicField$y(this, "headline");
|
|
5488
|
+
__publicField$y(this, "selectedSalesChannel");
|
|
5489
|
+
__publicField$y(this, "technicalUrl");
|
|
5490
|
+
__publicField$y(this, "saleschannelUrl");
|
|
5491
5491
|
this.headline = page.locator(".smart-bar__header");
|
|
5492
5492
|
this.selectedSalesChannel = page.locator(".sw-select-selection-list");
|
|
5493
5493
|
this.technicalUrl = page.getByLabel("Technical URL");
|
|
@@ -5498,66 +5498,66 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5498
5498
|
}
|
|
5499
5499
|
}
|
|
5500
5500
|
|
|
5501
|
-
var __defProp$
|
|
5502
|
-
var __defNormalProp$
|
|
5503
|
-
var __publicField$
|
|
5504
|
-
__defNormalProp$
|
|
5501
|
+
var __defProp$x = Object.defineProperty;
|
|
5502
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5503
|
+
var __publicField$x = (obj, key, value) => {
|
|
5504
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5505
5505
|
return value;
|
|
5506
5506
|
};
|
|
5507
5507
|
class FirstRunWizard {
|
|
5508
5508
|
constructor(page, instanceMeta) {
|
|
5509
|
-
__publicField$
|
|
5510
|
-
__publicField$
|
|
5511
|
-
__publicField$
|
|
5512
|
-
__publicField$
|
|
5513
|
-
__publicField$
|
|
5514
|
-
__publicField$
|
|
5515
|
-
__publicField$
|
|
5516
|
-
__publicField$
|
|
5517
|
-
__publicField$
|
|
5518
|
-
__publicField$
|
|
5519
|
-
__publicField$
|
|
5520
|
-
__publicField$
|
|
5521
|
-
__publicField$
|
|
5522
|
-
__publicField$
|
|
5523
|
-
__publicField$
|
|
5524
|
-
__publicField$
|
|
5525
|
-
__publicField$
|
|
5526
|
-
__publicField$
|
|
5527
|
-
__publicField$
|
|
5528
|
-
__publicField$
|
|
5529
|
-
__publicField$
|
|
5530
|
-
__publicField$
|
|
5531
|
-
__publicField$
|
|
5532
|
-
__publicField$
|
|
5509
|
+
__publicField$x(this, "nextButton");
|
|
5510
|
+
__publicField$x(this, "configureLaterButton");
|
|
5511
|
+
__publicField$x(this, "skipButton");
|
|
5512
|
+
__publicField$x(this, "finishButton");
|
|
5513
|
+
__publicField$x(this, "backButton");
|
|
5514
|
+
__publicField$x(this, "smtpServerButton");
|
|
5515
|
+
__publicField$x(this, "dataImportHeader");
|
|
5516
|
+
__publicField$x(this, "installLanguagePackButton");
|
|
5517
|
+
__publicField$x(this, "installDemoDataButton");
|
|
5518
|
+
__publicField$x(this, "installMigrationAssistantButton");
|
|
5519
|
+
__publicField$x(this, "defaultValuesHeader");
|
|
5520
|
+
__publicField$x(this, "mailerConfigurationHeader");
|
|
5521
|
+
__publicField$x(this, "payPalSetupHeader");
|
|
5522
|
+
__publicField$x(this, "extensionsHeader");
|
|
5523
|
+
__publicField$x(this, "shopwareAccountHeader");
|
|
5524
|
+
__publicField$x(this, "shopwareStoreHeader");
|
|
5525
|
+
__publicField$x(this, "doneHeader");
|
|
5526
|
+
__publicField$x(this, "frwSuccessText");
|
|
5527
|
+
__publicField$x(this, "welcomeText");
|
|
5528
|
+
__publicField$x(this, "pluginCardInfo");
|
|
5529
|
+
__publicField$x(this, "dataImportCard");
|
|
5530
|
+
__publicField$x(this, "salesChannelSelectionList");
|
|
5531
|
+
__publicField$x(this, "salesChannelSelectionMultiSelect");
|
|
5532
|
+
__publicField$x(this, "smtpServerTitle");
|
|
5533
5533
|
/**
|
|
5534
5534
|
* @deprecated - Use `smtpServerFieldInputs` instead.
|
|
5535
5535
|
*/
|
|
5536
|
-
__publicField$
|
|
5537
|
-
__publicField$
|
|
5538
|
-
__publicField$
|
|
5539
|
-
__publicField$
|
|
5540
|
-
__publicField$
|
|
5541
|
-
__publicField$
|
|
5542
|
-
__publicField$
|
|
5543
|
-
__publicField$
|
|
5544
|
-
__publicField$
|
|
5545
|
-
__publicField$
|
|
5546
|
-
__publicField$
|
|
5547
|
-
__publicField$
|
|
5548
|
-
__publicField$
|
|
5549
|
-
__publicField$
|
|
5550
|
-
__publicField$
|
|
5551
|
-
__publicField$
|
|
5552
|
-
__publicField$
|
|
5553
|
-
__publicField$
|
|
5554
|
-
__publicField$
|
|
5555
|
-
__publicField$
|
|
5556
|
-
__publicField$
|
|
5557
|
-
__publicField$
|
|
5558
|
-
__publicField$
|
|
5559
|
-
__publicField$
|
|
5560
|
-
__publicField$
|
|
5536
|
+
__publicField$x(this, "smtpServerFields");
|
|
5537
|
+
__publicField$x(this, "smtpServerFieldInputs");
|
|
5538
|
+
__publicField$x(this, "smtpServerHostInput");
|
|
5539
|
+
__publicField$x(this, "smtpServerPortInput");
|
|
5540
|
+
__publicField$x(this, "smtpServerUsernameInput");
|
|
5541
|
+
__publicField$x(this, "smtpServerPasswordInput");
|
|
5542
|
+
__publicField$x(this, "smtpServerEncryptionInput");
|
|
5543
|
+
__publicField$x(this, "smtpServerSenderAddressInput");
|
|
5544
|
+
__publicField$x(this, "smtpServerDeliveryAddressInput");
|
|
5545
|
+
__publicField$x(this, "smtpServerDisableEmailDeliveryCheckbox");
|
|
5546
|
+
__publicField$x(this, "payPalPaymethods");
|
|
5547
|
+
__publicField$x(this, "payPalInfoCard");
|
|
5548
|
+
__publicField$x(this, "emailAddressInputField");
|
|
5549
|
+
__publicField$x(this, "passwordInputField");
|
|
5550
|
+
__publicField$x(this, "forgotPasswordLink");
|
|
5551
|
+
__publicField$x(this, "extensionStoreHeading");
|
|
5552
|
+
__publicField$x(this, "documentationLink");
|
|
5553
|
+
__publicField$x(this, "forumLink");
|
|
5554
|
+
__publicField$x(this, "roadmapLink");
|
|
5555
|
+
__publicField$x(this, "germanRegionSelector");
|
|
5556
|
+
__publicField$x(this, "toolsSelector");
|
|
5557
|
+
__publicField$x(this, "recommendationHeader");
|
|
5558
|
+
__publicField$x(this, "toolsRecommendedPlugin");
|
|
5559
|
+
__publicField$x(this, "page");
|
|
5560
|
+
__publicField$x(this, "instanceMeta");
|
|
5561
5561
|
this.page = page;
|
|
5562
5562
|
this.instanceMeta = instanceMeta;
|
|
5563
5563
|
this.nextButton = page.getByText("Next", { exact: true });
|
|
@@ -5628,58 +5628,58 @@ async function getSelectFieldListitem(page, selectField, listItem, instanceMeta)
|
|
|
5628
5628
|
}
|
|
5629
5629
|
}
|
|
5630
5630
|
|
|
5631
|
-
var __defProp$
|
|
5632
|
-
var __defNormalProp$
|
|
5633
|
-
var __publicField$
|
|
5634
|
-
__defNormalProp$
|
|
5631
|
+
var __defProp$w = Object.defineProperty;
|
|
5632
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5633
|
+
var __publicField$w = (obj, key, value) => {
|
|
5634
|
+
__defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5635
5635
|
return value;
|
|
5636
5636
|
};
|
|
5637
5637
|
class FlowBuilderCreate {
|
|
5638
5638
|
constructor(page, instanceMeta) {
|
|
5639
|
-
__publicField$
|
|
5639
|
+
__publicField$w(this, "contentView");
|
|
5640
5640
|
//header
|
|
5641
|
-
__publicField$
|
|
5642
|
-
__publicField$
|
|
5643
|
-
__publicField$
|
|
5641
|
+
__publicField$w(this, "saveButton");
|
|
5642
|
+
__publicField$w(this, "header");
|
|
5643
|
+
__publicField$w(this, "smartBarHeader");
|
|
5644
5644
|
//tabs
|
|
5645
|
-
__publicField$
|
|
5646
|
-
__publicField$
|
|
5645
|
+
__publicField$w(this, "generalTab");
|
|
5646
|
+
__publicField$w(this, "flowTab");
|
|
5647
5647
|
//../general
|
|
5648
|
-
__publicField$
|
|
5649
|
-
__publicField$
|
|
5650
|
-
__publicField$
|
|
5651
|
-
__publicField$
|
|
5648
|
+
__publicField$w(this, "nameField");
|
|
5649
|
+
__publicField$w(this, "descriptionField");
|
|
5650
|
+
__publicField$w(this, "priorityField");
|
|
5651
|
+
__publicField$w(this, "activeSwitch");
|
|
5652
5652
|
//../flow
|
|
5653
|
-
__publicField$
|
|
5654
|
-
__publicField$
|
|
5655
|
-
__publicField$
|
|
5656
|
-
__publicField$
|
|
5657
|
-
__publicField$
|
|
5658
|
-
__publicField$
|
|
5659
|
-
__publicField$
|
|
5660
|
-
__publicField$
|
|
5661
|
-
__publicField$
|
|
5662
|
-
__publicField$
|
|
5663
|
-
__publicField$
|
|
5664
|
-
__publicField$
|
|
5665
|
-
__publicField$
|
|
5666
|
-
__publicField$
|
|
5667
|
-
__publicField$
|
|
5668
|
-
__publicField$
|
|
5669
|
-
__publicField$
|
|
5670
|
-
__publicField$
|
|
5671
|
-
__publicField$
|
|
5672
|
-
__publicField$
|
|
5673
|
-
__publicField$
|
|
5674
|
-
__publicField$
|
|
5675
|
-
__publicField$
|
|
5676
|
-
__publicField$
|
|
5677
|
-
__publicField$
|
|
5678
|
-
__publicField$
|
|
5679
|
-
__publicField$
|
|
5680
|
-
__publicField$
|
|
5681
|
-
__publicField$
|
|
5682
|
-
__publicField$
|
|
5653
|
+
__publicField$w(this, "triggerSelectField");
|
|
5654
|
+
__publicField$w(this, "modalAddButton");
|
|
5655
|
+
__publicField$w(this, "sequenceSelectorConditionButton");
|
|
5656
|
+
__publicField$w(this, "conditionSelectField");
|
|
5657
|
+
__publicField$w(this, "sequenceSelectorActionButton");
|
|
5658
|
+
__publicField$w(this, "actionSelectField");
|
|
5659
|
+
__publicField$w(this, "selectFieldResultList");
|
|
5660
|
+
__publicField$w(this, "trueBlock");
|
|
5661
|
+
__publicField$w(this, "trueBlockAddConditionButton");
|
|
5662
|
+
__publicField$w(this, "trueBlockAddActionButton");
|
|
5663
|
+
__publicField$w(this, "trueBlockActionSelectField");
|
|
5664
|
+
__publicField$w(this, "trueBlockActionDescription");
|
|
5665
|
+
__publicField$w(this, "mailSendModal");
|
|
5666
|
+
__publicField$w(this, "mailSendModalTemplateSelectField");
|
|
5667
|
+
__publicField$w(this, "falseBlock");
|
|
5668
|
+
__publicField$w(this, "falseBlockAddConditionButton");
|
|
5669
|
+
__publicField$w(this, "falseBlockAddActionButton");
|
|
5670
|
+
__publicField$w(this, "falseBlockActionSelectField");
|
|
5671
|
+
__publicField$w(this, "falseBlockActionDescription");
|
|
5672
|
+
__publicField$w(this, "tagModal");
|
|
5673
|
+
__publicField$w(this, "tagModalTagsSelectField");
|
|
5674
|
+
__publicField$w(this, "delayCard");
|
|
5675
|
+
__publicField$w(this, "conditionRule");
|
|
5676
|
+
__publicField$w(this, "sequenceSeparator");
|
|
5677
|
+
__publicField$w(this, "addActionField");
|
|
5678
|
+
__publicField$w(this, "newFlowHeader");
|
|
5679
|
+
__publicField$w(this, "resultListItem");
|
|
5680
|
+
__publicField$w(this, "resultList");
|
|
5681
|
+
__publicField$w(this, "page");
|
|
5682
|
+
__publicField$w(this, "instanceMeta");
|
|
5683
5683
|
this.page = page;
|
|
5684
5684
|
this.instanceMeta = instanceMeta;
|
|
5685
5685
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -5736,33 +5736,33 @@ class FlowBuilderCreate {
|
|
|
5736
5736
|
}
|
|
5737
5737
|
}
|
|
5738
5738
|
|
|
5739
|
-
var __defProp$
|
|
5740
|
-
var __defNormalProp$
|
|
5741
|
-
var __publicField$
|
|
5742
|
-
__defNormalProp$
|
|
5739
|
+
var __defProp$v = Object.defineProperty;
|
|
5740
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5741
|
+
var __publicField$v = (obj, key, value) => {
|
|
5742
|
+
__defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5743
5743
|
return value;
|
|
5744
5744
|
};
|
|
5745
5745
|
class FlowBuilderListing {
|
|
5746
5746
|
constructor(page) {
|
|
5747
|
-
__publicField$
|
|
5748
|
-
__publicField$
|
|
5749
|
-
__publicField$
|
|
5750
|
-
__publicField$
|
|
5751
|
-
__publicField$
|
|
5752
|
-
__publicField$
|
|
5753
|
-
__publicField$
|
|
5754
|
-
__publicField$
|
|
5755
|
-
__publicField$
|
|
5756
|
-
__publicField$
|
|
5757
|
-
__publicField$
|
|
5758
|
-
__publicField$
|
|
5759
|
-
__publicField$
|
|
5760
|
-
__publicField$
|
|
5761
|
-
__publicField$
|
|
5762
|
-
__publicField$
|
|
5763
|
-
__publicField$
|
|
5764
|
-
__publicField$
|
|
5765
|
-
__publicField$
|
|
5747
|
+
__publicField$v(this, "page");
|
|
5748
|
+
__publicField$v(this, "contentView");
|
|
5749
|
+
__publicField$v(this, "createFlowButton");
|
|
5750
|
+
__publicField$v(this, "firstFlowName");
|
|
5751
|
+
__publicField$v(this, "firstFlowContextButton");
|
|
5752
|
+
__publicField$v(this, "flowContextMenu");
|
|
5753
|
+
__publicField$v(this, "contextMenuDownload");
|
|
5754
|
+
__publicField$v(this, "contextMenuDuplicate");
|
|
5755
|
+
__publicField$v(this, "contextMenuEdit");
|
|
5756
|
+
__publicField$v(this, "contextMenuDelete");
|
|
5757
|
+
__publicField$v(this, "flowDownloadModal");
|
|
5758
|
+
__publicField$v(this, "downloadFlowButton");
|
|
5759
|
+
__publicField$v(this, "flowDeleteButton");
|
|
5760
|
+
__publicField$v(this, "successAlert");
|
|
5761
|
+
__publicField$v(this, "successAlertMessage");
|
|
5762
|
+
__publicField$v(this, "searchBar");
|
|
5763
|
+
__publicField$v(this, "pagination");
|
|
5764
|
+
__publicField$v(this, "testFlowNameCells");
|
|
5765
|
+
__publicField$v(this, "flowTemplatesTab");
|
|
5766
5766
|
this.page = page;
|
|
5767
5767
|
this.contentView = page.locator(".sw-desktop__content");
|
|
5768
5768
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
@@ -5830,26 +5830,26 @@ async function getTooltipText(page, tooltipArea) {
|
|
|
5830
5830
|
return await tooltipContent.innerText();
|
|
5831
5831
|
}
|
|
5832
5832
|
|
|
5833
|
-
var __defProp$
|
|
5834
|
-
var __defNormalProp$
|
|
5835
|
-
var __publicField$
|
|
5836
|
-
__defNormalProp$
|
|
5833
|
+
var __defProp$u = Object.defineProperty;
|
|
5834
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5835
|
+
var __publicField$u = (obj, key, value) => {
|
|
5836
|
+
__defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5837
5837
|
return value;
|
|
5838
5838
|
};
|
|
5839
5839
|
class FlowBuilderDetail extends FlowBuilderCreate {
|
|
5840
5840
|
constructor(page, instanceMeta) {
|
|
5841
5841
|
super(page, instanceMeta);
|
|
5842
|
-
__publicField$
|
|
5843
|
-
__publicField$
|
|
5844
|
-
__publicField$
|
|
5845
|
-
__publicField$
|
|
5846
|
-
__publicField$
|
|
5847
|
-
__publicField$
|
|
5848
|
-
__publicField$
|
|
5849
|
-
__publicField$
|
|
5850
|
-
__publicField$
|
|
5851
|
-
__publicField$
|
|
5852
|
-
__publicField$
|
|
5842
|
+
__publicField$u(this, "saveButtonLoader");
|
|
5843
|
+
__publicField$u(this, "saveButton");
|
|
5844
|
+
__publicField$u(this, "generalTab");
|
|
5845
|
+
__publicField$u(this, "flowTab");
|
|
5846
|
+
__publicField$u(this, "alertWarning");
|
|
5847
|
+
__publicField$u(this, "templateName");
|
|
5848
|
+
__publicField$u(this, "alertMessage");
|
|
5849
|
+
__publicField$u(this, "successMessage");
|
|
5850
|
+
__publicField$u(this, "actionContentTag");
|
|
5851
|
+
__publicField$u(this, "skeletonLoader");
|
|
5852
|
+
__publicField$u(this, "messageClose");
|
|
5853
5853
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
5854
5854
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
5855
5855
|
this.successMessage = page.locator(".sw-alert__title");
|
|
@@ -5880,21 +5880,21 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5880
5880
|
}
|
|
5881
5881
|
}
|
|
5882
5882
|
|
|
5883
|
-
var __defProp$
|
|
5884
|
-
var __defNormalProp$
|
|
5885
|
-
var __publicField$
|
|
5886
|
-
__defNormalProp$
|
|
5883
|
+
var __defProp$t = Object.defineProperty;
|
|
5884
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5885
|
+
var __publicField$t = (obj, key, value) => {
|
|
5886
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5887
5887
|
return value;
|
|
5888
5888
|
};
|
|
5889
5889
|
class DataSharing {
|
|
5890
5890
|
constructor(page, instanceMeta) {
|
|
5891
|
-
__publicField$
|
|
5892
|
-
__publicField$
|
|
5893
|
-
__publicField$
|
|
5894
|
-
__publicField$
|
|
5895
|
-
__publicField$
|
|
5896
|
-
__publicField$
|
|
5897
|
-
__publicField$
|
|
5891
|
+
__publicField$t(this, "dataConsentHeadline");
|
|
5892
|
+
__publicField$t(this, "dataSharingSuccessMessageLabel");
|
|
5893
|
+
__publicField$t(this, "dataSharingAgreeButton");
|
|
5894
|
+
__publicField$t(this, "dataSharingDisableButton");
|
|
5895
|
+
__publicField$t(this, "dataSharingTermsAgreementLabel");
|
|
5896
|
+
__publicField$t(this, "page");
|
|
5897
|
+
__publicField$t(this, "instanceMeta");
|
|
5898
5898
|
this.page = page;
|
|
5899
5899
|
this.instanceMeta = instanceMeta;
|
|
5900
5900
|
if (satisfies(instanceMeta.version, "<6.6.1")) {
|
|
@@ -5915,42 +5915,42 @@ class DataSharing {
|
|
|
5915
5915
|
}
|
|
5916
5916
|
}
|
|
5917
5917
|
|
|
5918
|
-
var __defProp$
|
|
5919
|
-
var __defNormalProp$
|
|
5920
|
-
var __publicField$
|
|
5921
|
-
__defNormalProp$
|
|
5918
|
+
var __defProp$s = Object.defineProperty;
|
|
5919
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5920
|
+
var __publicField$s = (obj, key, value) => {
|
|
5921
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5922
5922
|
return value;
|
|
5923
5923
|
};
|
|
5924
5924
|
class Dashboard {
|
|
5925
5925
|
constructor(page) {
|
|
5926
|
-
__publicField$
|
|
5927
|
-
__publicField$
|
|
5928
|
-
__publicField$
|
|
5929
|
-
__publicField$
|
|
5930
|
-
__publicField$
|
|
5931
|
-
__publicField$
|
|
5932
|
-
__publicField$
|
|
5933
|
-
__publicField$
|
|
5934
|
-
__publicField$
|
|
5935
|
-
__publicField$
|
|
5936
|
-
__publicField$
|
|
5937
|
-
__publicField$
|
|
5938
|
-
__publicField$
|
|
5939
|
-
__publicField$
|
|
5940
|
-
__publicField$
|
|
5941
|
-
__publicField$
|
|
5942
|
-
__publicField$
|
|
5943
|
-
__publicField$
|
|
5944
|
-
__publicField$
|
|
5945
|
-
__publicField$
|
|
5946
|
-
__publicField$
|
|
5947
|
-
__publicField$
|
|
5948
|
-
__publicField$
|
|
5949
|
-
__publicField$
|
|
5950
|
-
__publicField$
|
|
5951
|
-
__publicField$
|
|
5952
|
-
__publicField$
|
|
5953
|
-
__publicField$
|
|
5926
|
+
__publicField$s(this, "contentView");
|
|
5927
|
+
__publicField$s(this, "adminMenuView");
|
|
5928
|
+
__publicField$s(this, "adminMenuCatalog");
|
|
5929
|
+
__publicField$s(this, "adminMenuOrder");
|
|
5930
|
+
__publicField$s(this, "adminMenuCustomer");
|
|
5931
|
+
__publicField$s(this, "adminMenuContent");
|
|
5932
|
+
__publicField$s(this, "adminMenuMarketing");
|
|
5933
|
+
__publicField$s(this, "adminMenuExtension");
|
|
5934
|
+
__publicField$s(this, "adminMenuUserChevron");
|
|
5935
|
+
__publicField$s(this, "adminMenuUserIcon");
|
|
5936
|
+
__publicField$s(this, "adminMenuUserName");
|
|
5937
|
+
__publicField$s(this, "welcomeHeadline");
|
|
5938
|
+
__publicField$s(this, "welcomeMessage");
|
|
5939
|
+
__publicField$s(this, "dataSharingConsentBanner");
|
|
5940
|
+
__publicField$s(this, "dataSharingAgreeButton");
|
|
5941
|
+
__publicField$s(this, "dataSharingNotAtTheMomentButton");
|
|
5942
|
+
__publicField$s(this, "dataSharingTermsAgreementLabel");
|
|
5943
|
+
__publicField$s(this, "dataSharingSettingsLink");
|
|
5944
|
+
__publicField$s(this, "dataSharingAcceptMessageText");
|
|
5945
|
+
__publicField$s(this, "dataSharingNotAtTheMomentMessageText");
|
|
5946
|
+
__publicField$s(this, "statisticsDateRange");
|
|
5947
|
+
__publicField$s(this, "statisticsChart");
|
|
5948
|
+
__publicField$s(this, "page");
|
|
5949
|
+
__publicField$s(this, "shopwareServicesAdvertisementBanner");
|
|
5950
|
+
__publicField$s(this, "shopwareServicesAdvertisementBannerCloseButton");
|
|
5951
|
+
__publicField$s(this, "shopwareServicesExploreNowButton");
|
|
5952
|
+
__publicField$s(this, "adminMenuUserActions");
|
|
5953
|
+
__publicField$s(this, "adminMenuLogoutButton");
|
|
5954
5954
|
this.page = page;
|
|
5955
5955
|
this.adminMenuView = page.locator(".sw-admin-menu");
|
|
5956
5956
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -5985,25 +5985,25 @@ class Dashboard {
|
|
|
5985
5985
|
}
|
|
5986
5986
|
}
|
|
5987
5987
|
|
|
5988
|
-
var __defProp$
|
|
5989
|
-
var __defNormalProp$
|
|
5990
|
-
var __publicField$
|
|
5991
|
-
__defNormalProp$
|
|
5988
|
+
var __defProp$r = Object.defineProperty;
|
|
5989
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5990
|
+
var __publicField$r = (obj, key, value) => {
|
|
5991
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5992
5992
|
return value;
|
|
5993
5993
|
};
|
|
5994
5994
|
class ShippingListing {
|
|
5995
5995
|
constructor(page) {
|
|
5996
|
-
__publicField$
|
|
5997
|
-
__publicField$
|
|
5998
|
-
__publicField$
|
|
5999
|
-
__publicField$
|
|
6000
|
-
__publicField$
|
|
5996
|
+
__publicField$r(this, "header");
|
|
5997
|
+
__publicField$r(this, "addShippingMethod");
|
|
5998
|
+
__publicField$r(this, "contextMenu");
|
|
5999
|
+
__publicField$r(this, "editButton");
|
|
6000
|
+
__publicField$r(this, "deleteButton");
|
|
6001
6001
|
//warning modal
|
|
6002
|
-
__publicField$
|
|
6003
|
-
__publicField$
|
|
6004
|
-
__publicField$
|
|
6005
|
-
__publicField$
|
|
6006
|
-
__publicField$
|
|
6002
|
+
__publicField$r(this, "modal");
|
|
6003
|
+
__publicField$r(this, "modalHeader");
|
|
6004
|
+
__publicField$r(this, "modalCancelButton");
|
|
6005
|
+
__publicField$r(this, "modalDeleteButton");
|
|
6006
|
+
__publicField$r(this, "page");
|
|
6007
6007
|
this.page = page;
|
|
6008
6008
|
this.header = page.locator(".smart-bar__header");
|
|
6009
6009
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
@@ -6020,19 +6020,19 @@ class ShippingListing {
|
|
|
6020
6020
|
}
|
|
6021
6021
|
}
|
|
6022
6022
|
|
|
6023
|
-
var __defProp$
|
|
6024
|
-
var __defNormalProp$
|
|
6025
|
-
var __publicField$
|
|
6026
|
-
__defNormalProp$
|
|
6023
|
+
var __defProp$q = Object.defineProperty;
|
|
6024
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6025
|
+
var __publicField$q = (obj, key, value) => {
|
|
6026
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6027
6027
|
return value;
|
|
6028
6028
|
};
|
|
6029
6029
|
class ShippingDetail {
|
|
6030
6030
|
constructor(page) {
|
|
6031
|
-
__publicField$
|
|
6032
|
-
__publicField$
|
|
6033
|
-
__publicField$
|
|
6034
|
-
__publicField$
|
|
6035
|
-
__publicField$
|
|
6031
|
+
__publicField$q(this, "header");
|
|
6032
|
+
__publicField$q(this, "nameField");
|
|
6033
|
+
__publicField$q(this, "availabilityRuleField");
|
|
6034
|
+
__publicField$q(this, "availabilityRuleListItem");
|
|
6035
|
+
__publicField$q(this, "page");
|
|
6036
6036
|
this.page = page;
|
|
6037
6037
|
this.header = page.locator(".smart-bar__header");
|
|
6038
6038
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
@@ -6047,19 +6047,19 @@ class ShippingDetail {
|
|
|
6047
6047
|
}
|
|
6048
6048
|
}
|
|
6049
6049
|
|
|
6050
|
-
var __defProp$
|
|
6051
|
-
var __defNormalProp$
|
|
6052
|
-
var __publicField$
|
|
6053
|
-
__defNormalProp$
|
|
6050
|
+
var __defProp$p = Object.defineProperty;
|
|
6051
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6052
|
+
var __publicField$p = (obj, key, value) => {
|
|
6053
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6054
6054
|
return value;
|
|
6055
6055
|
};
|
|
6056
6056
|
class PaymentDetail {
|
|
6057
6057
|
constructor(page) {
|
|
6058
|
-
__publicField$
|
|
6059
|
-
__publicField$
|
|
6060
|
-
__publicField$
|
|
6061
|
-
__publicField$
|
|
6062
|
-
__publicField$
|
|
6058
|
+
__publicField$p(this, "header");
|
|
6059
|
+
__publicField$p(this, "nameField");
|
|
6060
|
+
__publicField$p(this, "availabilityRuleField");
|
|
6061
|
+
__publicField$p(this, "availabilityRuleListItem");
|
|
6062
|
+
__publicField$p(this, "page");
|
|
6063
6063
|
this.page = page;
|
|
6064
6064
|
this.header = page.locator(".smart-bar__header");
|
|
6065
6065
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
@@ -6074,10 +6074,10 @@ class PaymentDetail {
|
|
|
6074
6074
|
}
|
|
6075
6075
|
}
|
|
6076
6076
|
|
|
6077
|
-
var __defProp$
|
|
6078
|
-
var __defNormalProp$
|
|
6079
|
-
var __publicField$
|
|
6080
|
-
__defNormalProp$
|
|
6077
|
+
var __defProp$o = Object.defineProperty;
|
|
6078
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6079
|
+
var __publicField$o = (obj, key, value) => {
|
|
6080
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6081
6081
|
return value;
|
|
6082
6082
|
};
|
|
6083
6083
|
class LandingPageCreate {
|
|
@@ -6085,25 +6085,25 @@ class LandingPageCreate {
|
|
|
6085
6085
|
/**
|
|
6086
6086
|
* General
|
|
6087
6087
|
*/
|
|
6088
|
-
__publicField$
|
|
6089
|
-
__publicField$
|
|
6090
|
-
__publicField$
|
|
6091
|
-
__publicField$
|
|
6092
|
-
__publicField$
|
|
6093
|
-
__publicField$
|
|
6094
|
-
__publicField$
|
|
6088
|
+
__publicField$o(this, "nameInput");
|
|
6089
|
+
__publicField$o(this, "landingPageStatus");
|
|
6090
|
+
__publicField$o(this, "salesChannelSelectionList");
|
|
6091
|
+
__publicField$o(this, "filtersResultPopoverItemList");
|
|
6092
|
+
__publicField$o(this, "saveLandingPageButton");
|
|
6093
|
+
__publicField$o(this, "loadingSpinner");
|
|
6094
|
+
__publicField$o(this, "seoUrlInput");
|
|
6095
6095
|
/**
|
|
6096
6096
|
* Layout
|
|
6097
6097
|
*/
|
|
6098
|
-
__publicField$
|
|
6099
|
-
__publicField$
|
|
6100
|
-
__publicField$
|
|
6101
|
-
__publicField$
|
|
6102
|
-
__publicField$
|
|
6103
|
-
__publicField$
|
|
6104
|
-
__publicField$
|
|
6105
|
-
__publicField$
|
|
6106
|
-
__publicField$
|
|
6098
|
+
__publicField$o(this, "layoutTab");
|
|
6099
|
+
__publicField$o(this, "assignLayoutButton");
|
|
6100
|
+
__publicField$o(this, "searchLayoutInput");
|
|
6101
|
+
__publicField$o(this, "layoutItems");
|
|
6102
|
+
__publicField$o(this, "layoutSaveButton");
|
|
6103
|
+
__publicField$o(this, "layoutEmptyState");
|
|
6104
|
+
__publicField$o(this, "createNewLayoutButton");
|
|
6105
|
+
__publicField$o(this, "layoutCheckboxes");
|
|
6106
|
+
__publicField$o(this, "page");
|
|
6107
6107
|
this.page = page;
|
|
6108
6108
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
6109
6109
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6129,10 +6129,10 @@ class LandingPageCreate {
|
|
|
6129
6129
|
}
|
|
6130
6130
|
}
|
|
6131
6131
|
|
|
6132
|
-
var __defProp$
|
|
6133
|
-
var __defNormalProp$
|
|
6134
|
-
var __publicField$
|
|
6135
|
-
__defNormalProp$
|
|
6132
|
+
var __defProp$n = Object.defineProperty;
|
|
6133
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6134
|
+
var __publicField$n = (obj, key, value) => {
|
|
6135
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6136
6136
|
return value;
|
|
6137
6137
|
};
|
|
6138
6138
|
class LandingPageDetail {
|
|
@@ -6140,25 +6140,25 @@ class LandingPageDetail {
|
|
|
6140
6140
|
/**
|
|
6141
6141
|
* General
|
|
6142
6142
|
*/
|
|
6143
|
-
__publicField$
|
|
6144
|
-
__publicField$
|
|
6145
|
-
__publicField$
|
|
6146
|
-
__publicField$
|
|
6147
|
-
__publicField$
|
|
6148
|
-
__publicField$
|
|
6149
|
-
__publicField$
|
|
6143
|
+
__publicField$n(this, "nameInput");
|
|
6144
|
+
__publicField$n(this, "landingPageStatus");
|
|
6145
|
+
__publicField$n(this, "salesChannelSelectionList");
|
|
6146
|
+
__publicField$n(this, "filtersResultPopoverItemList");
|
|
6147
|
+
__publicField$n(this, "saveLandingPageButton");
|
|
6148
|
+
__publicField$n(this, "loadingSpinner");
|
|
6149
|
+
__publicField$n(this, "seoUrlInput");
|
|
6150
6150
|
/**
|
|
6151
6151
|
* Layout
|
|
6152
6152
|
*/
|
|
6153
|
-
__publicField$
|
|
6154
|
-
__publicField$
|
|
6155
|
-
__publicField$
|
|
6156
|
-
__publicField$
|
|
6157
|
-
__publicField$
|
|
6158
|
-
__publicField$
|
|
6159
|
-
__publicField$
|
|
6160
|
-
__publicField$
|
|
6161
|
-
__publicField$
|
|
6153
|
+
__publicField$n(this, "layoutTab");
|
|
6154
|
+
__publicField$n(this, "layoutAssignmentCardTitle");
|
|
6155
|
+
__publicField$n(this, "layoutAssignmentCardHeadline");
|
|
6156
|
+
__publicField$n(this, "changeLayoutButton");
|
|
6157
|
+
__publicField$n(this, "editInDesignerButton");
|
|
6158
|
+
__publicField$n(this, "layoutResetButton");
|
|
6159
|
+
__publicField$n(this, "layoutAssignmentStatus");
|
|
6160
|
+
__publicField$n(this, "layoutAssignmentContentSection");
|
|
6161
|
+
__publicField$n(this, "page");
|
|
6162
6162
|
this.page = page;
|
|
6163
6163
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
6164
6164
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6183,10 +6183,10 @@ class LandingPageDetail {
|
|
|
6183
6183
|
}
|
|
6184
6184
|
}
|
|
6185
6185
|
|
|
6186
|
-
var __defProp$
|
|
6187
|
-
var __defNormalProp$
|
|
6188
|
-
var __publicField$
|
|
6189
|
-
__defNormalProp$
|
|
6186
|
+
var __defProp$m = Object.defineProperty;
|
|
6187
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6188
|
+
var __publicField$m = (obj, key, value) => {
|
|
6189
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6190
6190
|
return value;
|
|
6191
6191
|
};
|
|
6192
6192
|
class Categories {
|
|
@@ -6194,57 +6194,57 @@ class Categories {
|
|
|
6194
6194
|
/**
|
|
6195
6195
|
* Visual tests
|
|
6196
6196
|
*/
|
|
6197
|
-
__publicField$
|
|
6197
|
+
__publicField$m(this, "contentView");
|
|
6198
6198
|
/**
|
|
6199
6199
|
* Landing pages
|
|
6200
6200
|
*/
|
|
6201
|
-
__publicField$
|
|
6202
|
-
__publicField$
|
|
6203
|
-
__publicField$
|
|
6204
|
-
__publicField$
|
|
6201
|
+
__publicField$m(this, "landingPageArea");
|
|
6202
|
+
__publicField$m(this, "landingPageHeadline");
|
|
6203
|
+
__publicField$m(this, "addLandingPageButton");
|
|
6204
|
+
__publicField$m(this, "landingPageItems");
|
|
6205
6205
|
/**
|
|
6206
6206
|
* Category tree
|
|
6207
6207
|
*/
|
|
6208
|
-
__publicField$
|
|
6209
|
-
__publicField$
|
|
6210
|
-
__publicField$
|
|
6211
|
-
__publicField$
|
|
6212
|
-
__publicField$
|
|
6213
|
-
__publicField$
|
|
6208
|
+
__publicField$m(this, "categoryTree");
|
|
6209
|
+
__publicField$m(this, "categoryMenuItemList");
|
|
6210
|
+
__publicField$m(this, "createCategoryInput");
|
|
6211
|
+
__publicField$m(this, "confirmCategoryCreationButton");
|
|
6212
|
+
__publicField$m(this, "confirmCategoryCancelButton");
|
|
6213
|
+
__publicField$m(this, "categoryItems");
|
|
6214
6214
|
/**
|
|
6215
6215
|
* Tabs
|
|
6216
6216
|
*/
|
|
6217
|
-
__publicField$
|
|
6218
|
-
__publicField$
|
|
6219
|
-
__publicField$
|
|
6220
|
-
__publicField$
|
|
6217
|
+
__publicField$m(this, "generalTab");
|
|
6218
|
+
__publicField$m(this, "productsTab");
|
|
6219
|
+
__publicField$m(this, "layoutTab");
|
|
6220
|
+
__publicField$m(this, "seoTab");
|
|
6221
6221
|
/**
|
|
6222
6222
|
* General
|
|
6223
6223
|
*/
|
|
6224
|
-
__publicField$
|
|
6225
|
-
__publicField$
|
|
6226
|
-
__publicField$
|
|
6227
|
-
__publicField$
|
|
6228
|
-
__publicField$
|
|
6229
|
-
__publicField$
|
|
6230
|
-
__publicField$
|
|
6231
|
-
__publicField$
|
|
6232
|
-
__publicField$
|
|
6224
|
+
__publicField$m(this, "nameInput");
|
|
6225
|
+
__publicField$m(this, "activeCheckbox");
|
|
6226
|
+
__publicField$m(this, "categoryTypeSelectionList");
|
|
6227
|
+
__publicField$m(this, "filtersResultPopoverItemList");
|
|
6228
|
+
__publicField$m(this, "saveButton");
|
|
6229
|
+
__publicField$m(this, "loadingSpinner");
|
|
6230
|
+
__publicField$m(this, "fadingBar");
|
|
6231
|
+
__publicField$m(this, "configureHomePageButton");
|
|
6232
|
+
__publicField$m(this, "configureModalCancelButton");
|
|
6233
6233
|
/**
|
|
6234
6234
|
* Customisable link
|
|
6235
6235
|
*/
|
|
6236
|
-
__publicField$
|
|
6237
|
-
__publicField$
|
|
6238
|
-
__publicField$
|
|
6239
|
-
__publicField$
|
|
6240
|
-
__publicField$
|
|
6241
|
-
__publicField$
|
|
6242
|
-
__publicField$
|
|
6243
|
-
__publicField$
|
|
6244
|
-
__publicField$
|
|
6245
|
-
__publicField$
|
|
6246
|
-
__publicField$
|
|
6247
|
-
__publicField$
|
|
6236
|
+
__publicField$m(this, "entitySelectionList");
|
|
6237
|
+
__publicField$m(this, "linkTypeSelectionList");
|
|
6238
|
+
__publicField$m(this, "categorySelectionList");
|
|
6239
|
+
__publicField$m(this, "productSelectionList");
|
|
6240
|
+
__publicField$m(this, "landingPageSelectionList");
|
|
6241
|
+
__publicField$m(this, "filterResultPopoverTreeCheckboxItemList");
|
|
6242
|
+
__publicField$m(this, "openInNewTabCheckbox");
|
|
6243
|
+
__publicField$m(this, "popoverCategoryTree");
|
|
6244
|
+
__publicField$m(this, "categorySelectionListWrapper");
|
|
6245
|
+
__publicField$m(this, "productSelectionInput");
|
|
6246
|
+
__publicField$m(this, "page");
|
|
6247
|
+
__publicField$m(this, "instanceMeta");
|
|
6248
6248
|
this.page = page;
|
|
6249
6249
|
this.instanceMeta = instanceMeta;
|
|
6250
6250
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -6297,17 +6297,17 @@ class Categories {
|
|
|
6297
6297
|
}
|
|
6298
6298
|
}
|
|
6299
6299
|
|
|
6300
|
-
var __defProp$
|
|
6301
|
-
var __defNormalProp$
|
|
6302
|
-
var __publicField$
|
|
6303
|
-
__defNormalProp$
|
|
6300
|
+
var __defProp$l = Object.defineProperty;
|
|
6301
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6302
|
+
var __publicField$l = (obj, key, value) => {
|
|
6303
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6304
6304
|
return value;
|
|
6305
6305
|
};
|
|
6306
6306
|
class CustomFieldListing {
|
|
6307
6307
|
constructor(page) {
|
|
6308
|
-
__publicField$
|
|
6309
|
-
__publicField$
|
|
6310
|
-
__publicField$
|
|
6308
|
+
__publicField$l(this, "addNewSetButton");
|
|
6309
|
+
__publicField$l(this, "customFieldRows");
|
|
6310
|
+
__publicField$l(this, "page");
|
|
6311
6311
|
this.page = page;
|
|
6312
6312
|
this.addNewSetButton = page.getByText("Add new set");
|
|
6313
6313
|
this.customFieldRows = page.getByRole("row");
|
|
@@ -6336,22 +6336,22 @@ class CustomFieldListing {
|
|
|
6336
6336
|
}
|
|
6337
6337
|
}
|
|
6338
6338
|
|
|
6339
|
-
var __defProp$
|
|
6340
|
-
var __defNormalProp$
|
|
6341
|
-
var __publicField$
|
|
6342
|
-
__defNormalProp$
|
|
6339
|
+
var __defProp$k = Object.defineProperty;
|
|
6340
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6341
|
+
var __publicField$k = (obj, key, value) => {
|
|
6342
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6343
6343
|
return value;
|
|
6344
6344
|
};
|
|
6345
6345
|
class CustomFieldCreate {
|
|
6346
6346
|
constructor(page) {
|
|
6347
|
-
__publicField$
|
|
6348
|
-
__publicField$
|
|
6349
|
-
__publicField$
|
|
6350
|
-
__publicField$
|
|
6351
|
-
__publicField$
|
|
6352
|
-
__publicField$
|
|
6353
|
-
__publicField$
|
|
6354
|
-
__publicField$
|
|
6347
|
+
__publicField$k(this, "saveButton");
|
|
6348
|
+
__publicField$k(this, "cancelButton");
|
|
6349
|
+
__publicField$k(this, "technicalNameInput");
|
|
6350
|
+
__publicField$k(this, "positionInput");
|
|
6351
|
+
__publicField$k(this, "labelEnglishGBInput");
|
|
6352
|
+
__publicField$k(this, "assignToSelectionList");
|
|
6353
|
+
__publicField$k(this, "resultAssignToPopoverItemList");
|
|
6354
|
+
__publicField$k(this, "page");
|
|
6355
6355
|
this.page = page;
|
|
6356
6356
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6357
6357
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
@@ -6366,34 +6366,34 @@ class CustomFieldCreate {
|
|
|
6366
6366
|
}
|
|
6367
6367
|
}
|
|
6368
6368
|
|
|
6369
|
-
var __defProp$
|
|
6370
|
-
var __defNormalProp$
|
|
6371
|
-
var __publicField$
|
|
6372
|
-
__defNormalProp$
|
|
6369
|
+
var __defProp$j = Object.defineProperty;
|
|
6370
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6371
|
+
var __publicField$j = (obj, key, value) => {
|
|
6372
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6373
6373
|
return value;
|
|
6374
6374
|
};
|
|
6375
6375
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
6376
6376
|
constructor(page, instanceMeta) {
|
|
6377
6377
|
super(page);
|
|
6378
|
-
__publicField$
|
|
6379
|
-
__publicField$
|
|
6380
|
-
__publicField$
|
|
6381
|
-
__publicField$
|
|
6382
|
-
__publicField$
|
|
6383
|
-
__publicField$
|
|
6384
|
-
__publicField$
|
|
6385
|
-
__publicField$
|
|
6386
|
-
__publicField$
|
|
6387
|
-
__publicField$
|
|
6388
|
-
__publicField$
|
|
6389
|
-
__publicField$
|
|
6390
|
-
__publicField$
|
|
6391
|
-
__publicField$
|
|
6392
|
-
__publicField$
|
|
6393
|
-
__publicField$
|
|
6394
|
-
__publicField$
|
|
6395
|
-
__publicField$
|
|
6396
|
-
__publicField$
|
|
6378
|
+
__publicField$j(this, "newCustomFieldButton");
|
|
6379
|
+
__publicField$j(this, "customFieldEditDialog");
|
|
6380
|
+
__publicField$j(this, "newCustomFieldDialog");
|
|
6381
|
+
__publicField$j(this, "customFieldTechnicalNameInput");
|
|
6382
|
+
__publicField$j(this, "customFieldPositionInput");
|
|
6383
|
+
__publicField$j(this, "customFieldTypeSelectionList");
|
|
6384
|
+
__publicField$j(this, "customFieldModifyByStoreApiCheckbox");
|
|
6385
|
+
__publicField$j(this, "customFieldCancelButton");
|
|
6386
|
+
__publicField$j(this, "customFieldAddButton");
|
|
6387
|
+
__publicField$j(this, "customFieldEditApplyButton");
|
|
6388
|
+
__publicField$j(this, "customFieldLabelEnglishGBInput");
|
|
6389
|
+
__publicField$j(this, "customFieldPlaceholderEnglishGBInput");
|
|
6390
|
+
__publicField$j(this, "customFieldHelpTextEnglishGBInput");
|
|
6391
|
+
__publicField$j(this, "customFieldDeleteListButton");
|
|
6392
|
+
__publicField$j(this, "customFieldDeleteDialog");
|
|
6393
|
+
__publicField$j(this, "customFieldDeleteCancelButton");
|
|
6394
|
+
__publicField$j(this, "customFieldDeleteButton");
|
|
6395
|
+
__publicField$j(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
6396
|
+
__publicField$j(this, "instanceMeta");
|
|
6397
6397
|
this.instanceMeta = instanceMeta;
|
|
6398
6398
|
this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
|
|
6399
6399
|
this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
|
|
@@ -6447,21 +6447,21 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6447
6447
|
}
|
|
6448
6448
|
}
|
|
6449
6449
|
|
|
6450
|
-
var __defProp$
|
|
6451
|
-
var __defNormalProp$
|
|
6452
|
-
var __publicField$
|
|
6453
|
-
__defNormalProp$
|
|
6450
|
+
var __defProp$i = Object.defineProperty;
|
|
6451
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6452
|
+
var __publicField$i = (obj, key, value) => {
|
|
6453
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6454
6454
|
return value;
|
|
6455
6455
|
};
|
|
6456
6456
|
class CategoryDetail {
|
|
6457
6457
|
constructor(page, instanceMeta) {
|
|
6458
|
-
__publicField$
|
|
6459
|
-
__publicField$
|
|
6460
|
-
__publicField$
|
|
6461
|
-
__publicField$
|
|
6462
|
-
__publicField$
|
|
6463
|
-
__publicField$
|
|
6464
|
-
__publicField$
|
|
6458
|
+
__publicField$i(this, "saveButton");
|
|
6459
|
+
__publicField$i(this, "cancelButton");
|
|
6460
|
+
__publicField$i(this, "customFieldCard");
|
|
6461
|
+
__publicField$i(this, "customFieldSetTabs");
|
|
6462
|
+
__publicField$i(this, "customFieldSetTabCustomContent");
|
|
6463
|
+
__publicField$i(this, "page");
|
|
6464
|
+
__publicField$i(this, "instanceMeta");
|
|
6465
6465
|
this.page = page;
|
|
6466
6466
|
this.instanceMeta = instanceMeta;
|
|
6467
6467
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6496,25 +6496,25 @@ class CategoryDetail {
|
|
|
6496
6496
|
}
|
|
6497
6497
|
}
|
|
6498
6498
|
|
|
6499
|
-
var __defProp$
|
|
6500
|
-
var __defNormalProp$
|
|
6501
|
-
var __publicField$
|
|
6502
|
-
__defNormalProp$
|
|
6499
|
+
var __defProp$h = Object.defineProperty;
|
|
6500
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6501
|
+
var __publicField$h = (obj, key, value) => {
|
|
6502
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6503
6503
|
return value;
|
|
6504
6504
|
};
|
|
6505
6505
|
class RuleCreate {
|
|
6506
6506
|
constructor(page, instanceMeta) {
|
|
6507
|
-
__publicField$
|
|
6508
|
-
__publicField$
|
|
6509
|
-
__publicField$
|
|
6510
|
-
__publicField$
|
|
6511
|
-
__publicField$
|
|
6512
|
-
__publicField$
|
|
6513
|
-
__publicField$
|
|
6514
|
-
__publicField$
|
|
6515
|
-
__publicField$
|
|
6516
|
-
__publicField$
|
|
6517
|
-
__publicField$
|
|
6507
|
+
__publicField$h(this, "header");
|
|
6508
|
+
__publicField$h(this, "nameInput");
|
|
6509
|
+
__publicField$h(this, "priorityInput");
|
|
6510
|
+
__publicField$h(this, "conditionTypeSelectionInput");
|
|
6511
|
+
__publicField$h(this, "conditionValueSelectionInput");
|
|
6512
|
+
__publicField$h(this, "filtersResultPopoverSelectionList");
|
|
6513
|
+
__publicField$h(this, "saveButton");
|
|
6514
|
+
__publicField$h(this, "cancelButton");
|
|
6515
|
+
__publicField$h(this, "valueNotAvailableTooltip");
|
|
6516
|
+
__publicField$h(this, "page");
|
|
6517
|
+
__publicField$h(this, "instanceMeta");
|
|
6518
6518
|
this.page = page;
|
|
6519
6519
|
this.instanceMeta = instanceMeta;
|
|
6520
6520
|
this.header = page.locator(".smart-bar__header");
|
|
@@ -6535,36 +6535,37 @@ class RuleCreate {
|
|
|
6535
6535
|
}
|
|
6536
6536
|
}
|
|
6537
6537
|
|
|
6538
|
-
var __defProp$
|
|
6539
|
-
var __defNormalProp$
|
|
6540
|
-
var __publicField$
|
|
6541
|
-
__defNormalProp$
|
|
6538
|
+
var __defProp$g = Object.defineProperty;
|
|
6539
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6540
|
+
var __publicField$g = (obj, key, value) => {
|
|
6541
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6542
6542
|
return value;
|
|
6543
6543
|
};
|
|
6544
6544
|
class RuleDetail extends RuleCreate {
|
|
6545
6545
|
constructor(page, instanceMeta) {
|
|
6546
6546
|
super(page, instanceMeta);
|
|
6547
|
-
__publicField$
|
|
6548
|
-
__publicField$
|
|
6549
|
-
__publicField$
|
|
6550
|
-
__publicField$
|
|
6551
|
-
__publicField$
|
|
6552
|
-
__publicField$
|
|
6553
|
-
__publicField$
|
|
6554
|
-
__publicField$
|
|
6555
|
-
__publicField$
|
|
6556
|
-
__publicField$
|
|
6557
|
-
__publicField$
|
|
6558
|
-
__publicField$
|
|
6559
|
-
__publicField$
|
|
6560
|
-
__publicField$
|
|
6561
|
-
__publicField$
|
|
6562
|
-
__publicField$
|
|
6563
|
-
__publicField$
|
|
6564
|
-
__publicField$
|
|
6565
|
-
__publicField$
|
|
6566
|
-
__publicField$
|
|
6567
|
-
__publicField$
|
|
6547
|
+
__publicField$g(this, "contentView");
|
|
6548
|
+
__publicField$g(this, "shippingMethodAvailabilityRulesCard");
|
|
6549
|
+
__publicField$g(this, "shippingMethodAvailabilityRulesCardLink");
|
|
6550
|
+
__publicField$g(this, "shippingMethodAvailabilityRulesCardTable");
|
|
6551
|
+
__publicField$g(this, "shippingMethodAvailabilityRulesCardEmptyState");
|
|
6552
|
+
__publicField$g(this, "shippingMethodAvailabilityRulesCardSearchField");
|
|
6553
|
+
__publicField$g(this, "taxProviderRulesCard");
|
|
6554
|
+
__publicField$g(this, "taxProviderRulesCardEmptyState");
|
|
6555
|
+
__publicField$g(this, "paymentMethodsAvailabilityRulesCard");
|
|
6556
|
+
__publicField$g(this, "paymentMethodsAvailabilityRulesCardEmptyState");
|
|
6557
|
+
__publicField$g(this, "paymentMethodsAvailabilityRulesCardLink");
|
|
6558
|
+
__publicField$g(this, "promotionOrderRulesCard");
|
|
6559
|
+
__publicField$g(this, "promotionOrderRulesCardEmptyState");
|
|
6560
|
+
__publicField$g(this, "promotionCustomerRulesCard");
|
|
6561
|
+
__publicField$g(this, "promotionCustomerRulesCardEmptyState");
|
|
6562
|
+
__publicField$g(this, "promotionCartRulesCard");
|
|
6563
|
+
__publicField$g(this, "promotionCartRulesCardEmptyState");
|
|
6564
|
+
__publicField$g(this, "assignmentModal");
|
|
6565
|
+
__publicField$g(this, "assignmentModalAddButton");
|
|
6566
|
+
__publicField$g(this, "assignmentModalSearchField");
|
|
6567
|
+
__publicField$g(this, "conditionORContainer");
|
|
6568
|
+
__publicField$g(this, "adminMenuAvatar");
|
|
6568
6569
|
this.contentView = page.locator(".sw-desktop__content");
|
|
6569
6570
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6570
6571
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
@@ -6584,6 +6585,7 @@ class RuleDetail extends RuleCreate {
|
|
|
6584
6585
|
this.promotionCartRulesCardEmptyState = this.promotionCartRulesCard.getByRole("alert");
|
|
6585
6586
|
this.assignmentModal = page.locator(".sw-settings-rule-add-assignment-modal");
|
|
6586
6587
|
this.assignmentModalSearchField = this.assignmentModal.getByRole("textbox");
|
|
6588
|
+
this.adminMenuAvatar = page.locator(".sw-admin-menu__avatar");
|
|
6587
6589
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6588
6590
|
this.assignmentModalAddButton = this.assignmentModal.locator(".sw-button--primary").getByText("Add");
|
|
6589
6591
|
} else {
|
|
@@ -6601,18 +6603,18 @@ class RuleDetail extends RuleCreate {
|
|
|
6601
6603
|
}
|
|
6602
6604
|
}
|
|
6603
6605
|
|
|
6604
|
-
var __defProp$
|
|
6605
|
-
var __defNormalProp$
|
|
6606
|
-
var __publicField$
|
|
6607
|
-
__defNormalProp$
|
|
6606
|
+
var __defProp$f = Object.defineProperty;
|
|
6607
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6608
|
+
var __publicField$f = (obj, key, value) => {
|
|
6609
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6608
6610
|
return value;
|
|
6609
6611
|
};
|
|
6610
6612
|
class RuleListing {
|
|
6611
6613
|
constructor(page) {
|
|
6612
|
-
__publicField$
|
|
6613
|
-
__publicField$
|
|
6614
|
-
__publicField$
|
|
6615
|
-
__publicField$
|
|
6614
|
+
__publicField$f(this, "createRuleButton");
|
|
6615
|
+
__publicField$f(this, "header");
|
|
6616
|
+
__publicField$f(this, "grid");
|
|
6617
|
+
__publicField$f(this, "page");
|
|
6616
6618
|
this.page = page;
|
|
6617
6619
|
this.createRuleButton = page.getByText("Create rule");
|
|
6618
6620
|
this.header = page.locator(".smart-bar__header");
|
|
@@ -6623,21 +6625,21 @@ class RuleListing {
|
|
|
6623
6625
|
}
|
|
6624
6626
|
}
|
|
6625
6627
|
|
|
6626
|
-
var __defProp$
|
|
6627
|
-
var __defNormalProp$
|
|
6628
|
-
var __publicField$
|
|
6629
|
-
__defNormalProp$
|
|
6628
|
+
var __defProp$e = Object.defineProperty;
|
|
6629
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6630
|
+
var __publicField$e = (obj, key, value) => {
|
|
6631
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6630
6632
|
return value;
|
|
6631
6633
|
};
|
|
6632
6634
|
class ManufacturerCreate {
|
|
6633
6635
|
constructor(page, instanceMeta) {
|
|
6634
|
-
__publicField$
|
|
6635
|
-
__publicField$
|
|
6636
|
-
__publicField$
|
|
6637
|
-
__publicField$
|
|
6638
|
-
__publicField$
|
|
6639
|
-
__publicField$
|
|
6640
|
-
__publicField$
|
|
6636
|
+
__publicField$e(this, "saveButton");
|
|
6637
|
+
__publicField$e(this, "cancelButton");
|
|
6638
|
+
__publicField$e(this, "nameInput");
|
|
6639
|
+
__publicField$e(this, "websiteInput");
|
|
6640
|
+
__publicField$e(this, "descriptionInput");
|
|
6641
|
+
__publicField$e(this, "page");
|
|
6642
|
+
__publicField$e(this, "instanceMeta");
|
|
6641
6643
|
this.page = page;
|
|
6642
6644
|
this.instanceMeta = instanceMeta;
|
|
6643
6645
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6655,17 +6657,17 @@ class ManufacturerCreate {
|
|
|
6655
6657
|
}
|
|
6656
6658
|
}
|
|
6657
6659
|
|
|
6658
|
-
var __defProp$
|
|
6659
|
-
var __defNormalProp$
|
|
6660
|
-
var __publicField$
|
|
6661
|
-
__defNormalProp$
|
|
6660
|
+
var __defProp$d = Object.defineProperty;
|
|
6661
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6662
|
+
var __publicField$d = (obj, key, value) => {
|
|
6663
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6662
6664
|
return value;
|
|
6663
6665
|
};
|
|
6664
6666
|
class ManufacturerListing {
|
|
6665
6667
|
constructor(page) {
|
|
6666
|
-
__publicField$
|
|
6667
|
-
__publicField$
|
|
6668
|
-
__publicField$
|
|
6668
|
+
__publicField$d(this, "addManufacturerButton");
|
|
6669
|
+
__publicField$d(this, "manufacturerRows");
|
|
6670
|
+
__publicField$d(this, "page");
|
|
6669
6671
|
this.page = page;
|
|
6670
6672
|
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
6671
6673
|
this.manufacturerRows = page.getByRole("row");
|
|
@@ -6698,18 +6700,18 @@ class ManufacturerListing {
|
|
|
6698
6700
|
}
|
|
6699
6701
|
}
|
|
6700
6702
|
|
|
6701
|
-
var __defProp$
|
|
6702
|
-
var __defNormalProp$
|
|
6703
|
-
var __publicField$
|
|
6704
|
-
__defNormalProp$
|
|
6703
|
+
var __defProp$c = Object.defineProperty;
|
|
6704
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6705
|
+
var __publicField$c = (obj, key, value) => {
|
|
6706
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6705
6707
|
return value;
|
|
6706
6708
|
};
|
|
6707
6709
|
class ManufacturerDetail extends ManufacturerCreate {
|
|
6708
6710
|
constructor(page, instanceMeta) {
|
|
6709
6711
|
super(page, instanceMeta);
|
|
6710
|
-
__publicField$
|
|
6711
|
-
__publicField$
|
|
6712
|
-
__publicField$
|
|
6712
|
+
__publicField$c(this, "customFieldCard");
|
|
6713
|
+
__publicField$c(this, "customFieldSetTabs");
|
|
6714
|
+
__publicField$c(this, "customFieldSetTabCustomContent");
|
|
6713
6715
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6714
6716
|
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
6715
6717
|
} else {
|
|
@@ -6737,10 +6739,10 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6737
6739
|
}
|
|
6738
6740
|
}
|
|
6739
6741
|
|
|
6740
|
-
var __defProp$
|
|
6741
|
-
var __defNormalProp$
|
|
6742
|
-
var __publicField$
|
|
6743
|
-
__defNormalProp$
|
|
6742
|
+
var __defProp$b = Object.defineProperty;
|
|
6743
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6744
|
+
var __publicField$b = (obj, key, value) => {
|
|
6745
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6744
6746
|
return value;
|
|
6745
6747
|
};
|
|
6746
6748
|
class ProductListing {
|
|
@@ -6748,14 +6750,14 @@ class ProductListing {
|
|
|
6748
6750
|
/**
|
|
6749
6751
|
* Multi selection
|
|
6750
6752
|
*/
|
|
6751
|
-
__publicField$
|
|
6752
|
-
__publicField$
|
|
6753
|
-
__publicField$
|
|
6753
|
+
__publicField$b(this, "productsTable");
|
|
6754
|
+
__publicField$b(this, "bulkEditButton");
|
|
6755
|
+
__publicField$b(this, "page");
|
|
6754
6756
|
/**
|
|
6755
6757
|
* Bulk edit modal
|
|
6756
6758
|
*/
|
|
6757
|
-
__publicField$
|
|
6758
|
-
__publicField$
|
|
6759
|
+
__publicField$b(this, "bulkEditModal");
|
|
6760
|
+
__publicField$b(this, "startBulkEditButton");
|
|
6759
6761
|
this.page = page;
|
|
6760
6762
|
this.productsTable = page.locator(".sw-data-grid__table");
|
|
6761
6763
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
@@ -6806,10 +6808,10 @@ class ProductListing {
|
|
|
6806
6808
|
}
|
|
6807
6809
|
}
|
|
6808
6810
|
|
|
6809
|
-
var __defProp$
|
|
6810
|
-
var __defNormalProp$
|
|
6811
|
-
var __publicField$
|
|
6812
|
-
__defNormalProp$
|
|
6811
|
+
var __defProp$a = Object.defineProperty;
|
|
6812
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6813
|
+
var __publicField$a = (obj, key, value) => {
|
|
6814
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6813
6815
|
return value;
|
|
6814
6816
|
};
|
|
6815
6817
|
class ProductBulkEdit {
|
|
@@ -6817,50 +6819,50 @@ class ProductBulkEdit {
|
|
|
6817
6819
|
/**
|
|
6818
6820
|
* Bulk edit values
|
|
6819
6821
|
*/
|
|
6820
|
-
__publicField$
|
|
6821
|
-
__publicField$
|
|
6822
|
-
__publicField$
|
|
6823
|
-
__publicField$
|
|
6824
|
-
__publicField$
|
|
6825
|
-
__publicField$
|
|
6826
|
-
__publicField$
|
|
6827
|
-
__publicField$
|
|
6828
|
-
__publicField$
|
|
6829
|
-
__publicField$
|
|
6830
|
-
__publicField$
|
|
6831
|
-
__publicField$
|
|
6832
|
-
__publicField$
|
|
6833
|
-
__publicField$
|
|
6834
|
-
__publicField$
|
|
6835
|
-
__publicField$
|
|
6836
|
-
__publicField$
|
|
6837
|
-
__publicField$
|
|
6838
|
-
__publicField$
|
|
6839
|
-
__publicField$
|
|
6840
|
-
__publicField$
|
|
6841
|
-
__publicField$
|
|
6842
|
-
__publicField$
|
|
6843
|
-
__publicField$
|
|
6844
|
-
__publicField$
|
|
6845
|
-
__publicField$
|
|
6846
|
-
__publicField$
|
|
6847
|
-
__publicField$
|
|
6848
|
-
__publicField$
|
|
6849
|
-
__publicField$
|
|
6850
|
-
__publicField$
|
|
6851
|
-
__publicField$
|
|
6852
|
-
__publicField$
|
|
6853
|
-
__publicField$
|
|
6854
|
-
__publicField$
|
|
6822
|
+
__publicField$a(this, "changeManufacturerRow");
|
|
6823
|
+
__publicField$a(this, "changeManufacturerCheckbox");
|
|
6824
|
+
__publicField$a(this, "manufacturerDropdown");
|
|
6825
|
+
__publicField$a(this, "manufacturerDropdownInput");
|
|
6826
|
+
__publicField$a(this, "manufacturerListResult");
|
|
6827
|
+
__publicField$a(this, "changeActiveRow");
|
|
6828
|
+
__publicField$a(this, "changeActiveCheckbox");
|
|
6829
|
+
__publicField$a(this, "activeToggle");
|
|
6830
|
+
__publicField$a(this, "changePriceRow");
|
|
6831
|
+
__publicField$a(this, "changePriceCheckbox");
|
|
6832
|
+
__publicField$a(this, "grossPriceInput");
|
|
6833
|
+
__publicField$a(this, "changeReleaseDateRow");
|
|
6834
|
+
__publicField$a(this, "changeReleaseDateCheckbox");
|
|
6835
|
+
__publicField$a(this, "releaseDateInput");
|
|
6836
|
+
__publicField$a(this, "changeStockRow");
|
|
6837
|
+
__publicField$a(this, "changeStockCheckbox");
|
|
6838
|
+
__publicField$a(this, "stockChangeMethodDropdown");
|
|
6839
|
+
__publicField$a(this, "stockChangeMethodInput");
|
|
6840
|
+
__publicField$a(this, "stockInput");
|
|
6841
|
+
__publicField$a(this, "changeRestockTimeRow");
|
|
6842
|
+
__publicField$a(this, "changeRestockTimeCheckbox");
|
|
6843
|
+
__publicField$a(this, "restockTimeChangeMethodDropdown");
|
|
6844
|
+
__publicField$a(this, "restockTimeChangeMethodInput");
|
|
6845
|
+
__publicField$a(this, "restockTimeInput");
|
|
6846
|
+
__publicField$a(this, "changeTagsRow");
|
|
6847
|
+
__publicField$a(this, "changeTagsCheckbox");
|
|
6848
|
+
__publicField$a(this, "tagsChangeMethodDropdown");
|
|
6849
|
+
__publicField$a(this, "tagsChangeMethodInput");
|
|
6850
|
+
__publicField$a(this, "tagsInput");
|
|
6851
|
+
__publicField$a(this, "changeSalesChannelRow");
|
|
6852
|
+
__publicField$a(this, "changeSalesChannelCheckbox");
|
|
6853
|
+
__publicField$a(this, "salesChannelChangeMethodDropdown");
|
|
6854
|
+
__publicField$a(this, "salesChannelChangeMethodInput");
|
|
6855
|
+
__publicField$a(this, "salesChannelInput");
|
|
6856
|
+
__publicField$a(this, "applyChangesButton");
|
|
6855
6857
|
/**
|
|
6856
6858
|
* Confirmation modal
|
|
6857
6859
|
*/
|
|
6858
|
-
__publicField$
|
|
6859
|
-
__publicField$
|
|
6860
|
-
__publicField$
|
|
6861
|
-
__publicField$
|
|
6862
|
-
__publicField$
|
|
6863
|
-
__publicField$
|
|
6860
|
+
__publicField$a(this, "confirmModal");
|
|
6861
|
+
__publicField$a(this, "confirmModalApplyChangesButton");
|
|
6862
|
+
__publicField$a(this, "confirmModalLoadingSpinner");
|
|
6863
|
+
__publicField$a(this, "confirmModalSuccessHeader");
|
|
6864
|
+
__publicField$a(this, "confirmModalSuccessCloseButton");
|
|
6865
|
+
__publicField$a(this, "page");
|
|
6864
6866
|
this.page = page;
|
|
6865
6867
|
this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
|
|
6866
6868
|
this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
|
|
@@ -6911,42 +6913,42 @@ class ProductBulkEdit {
|
|
|
6911
6913
|
}
|
|
6912
6914
|
}
|
|
6913
6915
|
|
|
6914
|
-
var __defProp$
|
|
6915
|
-
var __defNormalProp$
|
|
6916
|
-
var __publicField$
|
|
6917
|
-
__defNormalProp$
|
|
6916
|
+
var __defProp$9 = Object.defineProperty;
|
|
6917
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6918
|
+
var __publicField$9 = (obj, key, value) => {
|
|
6919
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6918
6920
|
return value;
|
|
6919
6921
|
};
|
|
6920
6922
|
class CustomerBulkEdit {
|
|
6921
6923
|
constructor(page) {
|
|
6922
6924
|
//General
|
|
6923
|
-
__publicField$
|
|
6924
|
-
__publicField$
|
|
6925
|
+
__publicField$9(this, "applyChangesButton");
|
|
6926
|
+
__publicField$9(this, "filtersResultPopoverItemList");
|
|
6925
6927
|
//Account
|
|
6926
|
-
__publicField$
|
|
6927
|
-
__publicField$
|
|
6928
|
-
__publicField$
|
|
6929
|
-
__publicField$
|
|
6930
|
-
__publicField$
|
|
6931
|
-
__publicField$
|
|
6932
|
-
__publicField$
|
|
6933
|
-
__publicField$
|
|
6928
|
+
__publicField$9(this, "changeCustomerGroupCheckbox");
|
|
6929
|
+
__publicField$9(this, "customerGroupInput");
|
|
6930
|
+
__publicField$9(this, "changeAccountStatusCheckbox");
|
|
6931
|
+
__publicField$9(this, "accountStatusInput");
|
|
6932
|
+
__publicField$9(this, "changeLanguageCheckbox");
|
|
6933
|
+
__publicField$9(this, "changeLanguageInput");
|
|
6934
|
+
__publicField$9(this, "replyToCustomerGroupRequest");
|
|
6935
|
+
__publicField$9(this, "replyToCustomerGroupRequestInput");
|
|
6934
6936
|
//Tags
|
|
6935
|
-
__publicField$
|
|
6936
|
-
__publicField$
|
|
6937
|
-
__publicField$
|
|
6937
|
+
__publicField$9(this, "changeTagsCheckbox");
|
|
6938
|
+
__publicField$9(this, "changeTypeSelect");
|
|
6939
|
+
__publicField$9(this, "enterTagsSelect");
|
|
6938
6940
|
//Custom fields
|
|
6939
|
-
__publicField$
|
|
6940
|
-
__publicField$
|
|
6941
|
-
__publicField$
|
|
6941
|
+
__publicField$9(this, "customFieldCheckbox");
|
|
6942
|
+
__publicField$9(this, "customFieldInput");
|
|
6943
|
+
__publicField$9(this, "customFieldArrowRightButton");
|
|
6942
6944
|
/**
|
|
6943
6945
|
* Confirmation modal
|
|
6944
6946
|
*/
|
|
6945
|
-
__publicField$
|
|
6946
|
-
__publicField$
|
|
6947
|
-
__publicField$
|
|
6948
|
-
__publicField$
|
|
6949
|
-
__publicField$
|
|
6947
|
+
__publicField$9(this, "confirmModal");
|
|
6948
|
+
__publicField$9(this, "confirmModalApplyChangesButton");
|
|
6949
|
+
__publicField$9(this, "confirmModalSuccessHeader");
|
|
6950
|
+
__publicField$9(this, "confirmModalSuccessCloseButton");
|
|
6951
|
+
__publicField$9(this, "page");
|
|
6950
6952
|
this.page = page;
|
|
6951
6953
|
this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
|
|
6952
6954
|
this.filtersResultPopoverItemList = page.locator(".sw-select-result-list__content").getByRole("listitem");
|
|
@@ -6989,18 +6991,18 @@ class CustomerBulkEdit {
|
|
|
6989
6991
|
}
|
|
6990
6992
|
}
|
|
6991
6993
|
|
|
6992
|
-
var __defProp$
|
|
6993
|
-
var __defNormalProp$
|
|
6994
|
-
var __publicField$
|
|
6995
|
-
__defNormalProp$
|
|
6994
|
+
var __defProp$8 = Object.defineProperty;
|
|
6995
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6996
|
+
var __publicField$8 = (obj, key, value) => {
|
|
6997
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6996
6998
|
return value;
|
|
6997
6999
|
};
|
|
6998
7000
|
class SettingsListing {
|
|
6999
7001
|
constructor(page) {
|
|
7000
|
-
__publicField$
|
|
7001
|
-
__publicField$
|
|
7002
|
-
__publicField$
|
|
7003
|
-
__publicField$
|
|
7002
|
+
__publicField$8(this, "contentView");
|
|
7003
|
+
__publicField$8(this, "header");
|
|
7004
|
+
__publicField$8(this, "shopwareServicesLink");
|
|
7005
|
+
__publicField$8(this, "page");
|
|
7004
7006
|
this.page = page;
|
|
7005
7007
|
this.header = page.locator(".sw-settings__content-header");
|
|
7006
7008
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -7011,17 +7013,17 @@ class SettingsListing {
|
|
|
7011
7013
|
}
|
|
7012
7014
|
}
|
|
7013
7015
|
|
|
7014
|
-
var __defProp$
|
|
7015
|
-
var __defNormalProp$
|
|
7016
|
-
var __publicField$
|
|
7017
|
-
__defNormalProp$
|
|
7016
|
+
var __defProp$7 = Object.defineProperty;
|
|
7017
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7018
|
+
var __publicField$7 = (obj, key, value) => {
|
|
7019
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7018
7020
|
return value;
|
|
7019
7021
|
};
|
|
7020
7022
|
class DocumentListing {
|
|
7021
7023
|
constructor(page) {
|
|
7022
|
-
__publicField$
|
|
7023
|
-
__publicField$
|
|
7024
|
-
__publicField$
|
|
7024
|
+
__publicField$7(this, "addDocumentButton");
|
|
7025
|
+
__publicField$7(this, "invoiceLink");
|
|
7026
|
+
__publicField$7(this, "page");
|
|
7025
7027
|
this.page = page;
|
|
7026
7028
|
this.addDocumentButton = page.getByRole("button", { name: "Add document" });
|
|
7027
7029
|
this.invoiceLink = page.getByRole("link", { name: "invoice", exact: true });
|
|
@@ -7031,18 +7033,18 @@ class DocumentListing {
|
|
|
7031
7033
|
}
|
|
7032
7034
|
}
|
|
7033
7035
|
|
|
7034
|
-
var __defProp$
|
|
7035
|
-
var __defNormalProp$
|
|
7036
|
-
var __publicField$
|
|
7037
|
-
__defNormalProp$
|
|
7036
|
+
var __defProp$6 = Object.defineProperty;
|
|
7037
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7038
|
+
var __publicField$6 = (obj, key, value) => {
|
|
7039
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7038
7040
|
return value;
|
|
7039
7041
|
};
|
|
7040
7042
|
class DocumentDetail {
|
|
7041
7043
|
constructor(page) {
|
|
7042
|
-
__publicField$
|
|
7043
|
-
__publicField$
|
|
7044
|
-
__publicField$
|
|
7045
|
-
__publicField$
|
|
7044
|
+
__publicField$6(this, "showInAccountSwitch");
|
|
7045
|
+
__publicField$6(this, "saveButton");
|
|
7046
|
+
__publicField$6(this, "documentTypeSelect");
|
|
7047
|
+
__publicField$6(this, "page");
|
|
7046
7048
|
this.page = page;
|
|
7047
7049
|
this.showInAccountSwitch = page.getByRole("checkbox", { name: 'Display document in "My' });
|
|
7048
7050
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -7053,24 +7055,24 @@ class DocumentDetail {
|
|
|
7053
7055
|
}
|
|
7054
7056
|
}
|
|
7055
7057
|
|
|
7056
|
-
var __defProp$
|
|
7057
|
-
var __defNormalProp$
|
|
7058
|
-
var __publicField$
|
|
7059
|
-
__defNormalProp$
|
|
7058
|
+
var __defProp$5 = Object.defineProperty;
|
|
7059
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7060
|
+
var __publicField$5 = (obj, key, value) => {
|
|
7061
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7060
7062
|
return value;
|
|
7061
7063
|
};
|
|
7062
7064
|
class ShopwareServices {
|
|
7063
7065
|
constructor(page) {
|
|
7064
|
-
__publicField$
|
|
7065
|
-
__publicField$
|
|
7066
|
-
__publicField$
|
|
7067
|
-
__publicField$
|
|
7068
|
-
__publicField$
|
|
7069
|
-
__publicField$
|
|
7070
|
-
__publicField$
|
|
7071
|
-
__publicField$
|
|
7072
|
-
__publicField$
|
|
7073
|
-
__publicField$
|
|
7066
|
+
__publicField$5(this, "header");
|
|
7067
|
+
__publicField$5(this, "deactivatedBanner");
|
|
7068
|
+
__publicField$5(this, "activateServicesButton");
|
|
7069
|
+
__publicField$5(this, "permissionBanner");
|
|
7070
|
+
__publicField$5(this, "permissionGrantButton");
|
|
7071
|
+
__publicField$5(this, "serviceCards");
|
|
7072
|
+
__publicField$5(this, "deactivateServicesConfirmButton");
|
|
7073
|
+
__publicField$5(this, "deactivateServicesButton");
|
|
7074
|
+
__publicField$5(this, "deactivateServicesModal");
|
|
7075
|
+
__publicField$5(this, "page");
|
|
7074
7076
|
this.page = page;
|
|
7075
7077
|
this.header = page.getByRole("heading", { name: "Future proof your store with Shopware Services" });
|
|
7076
7078
|
this.deactivatedBanner = page.locator(".sw-settings-services-index__services-deactivated-banner");
|
|
@@ -7087,28 +7089,28 @@ class ShopwareServices {
|
|
|
7087
7089
|
}
|
|
7088
7090
|
}
|
|
7089
7091
|
|
|
7090
|
-
var __defProp$
|
|
7091
|
-
var __defNormalProp$
|
|
7092
|
-
var __publicField$
|
|
7093
|
-
__defNormalProp$
|
|
7092
|
+
var __defProp$4 = Object.defineProperty;
|
|
7093
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7094
|
+
var __publicField$4 = (obj, key, value) => {
|
|
7095
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7094
7096
|
return value;
|
|
7095
7097
|
};
|
|
7096
7098
|
class PromotionsListing {
|
|
7097
7099
|
constructor(page, instanceMeta) {
|
|
7098
|
-
__publicField$
|
|
7099
|
-
__publicField$
|
|
7100
|
+
__publicField$4(this, "instanceMeta");
|
|
7101
|
+
__publicField$4(this, "page");
|
|
7100
7102
|
// SmartBar
|
|
7101
|
-
__publicField$
|
|
7102
|
-
__publicField$
|
|
7103
|
-
__publicField$
|
|
7104
|
-
__publicField$
|
|
7103
|
+
__publicField$4(this, "smartBar");
|
|
7104
|
+
__publicField$4(this, "smartBarHeader");
|
|
7105
|
+
__publicField$4(this, "languageSelect");
|
|
7106
|
+
__publicField$4(this, "smartBarAddPromotionButton");
|
|
7105
7107
|
// Empty state locators
|
|
7106
|
-
__publicField$
|
|
7107
|
-
__publicField$
|
|
7108
|
+
__publicField$4(this, "emptyState");
|
|
7109
|
+
__publicField$4(this, "emptyStateAddPromotionButton");
|
|
7108
7110
|
// Promotions table locators
|
|
7109
|
-
__publicField$
|
|
7111
|
+
__publicField$4(this, "promotionsTable");
|
|
7110
7112
|
// Sidebar
|
|
7111
|
-
__publicField$
|
|
7113
|
+
__publicField$4(this, "sidebarRefreshButton");
|
|
7112
7114
|
this.page = page;
|
|
7113
7115
|
this.instanceMeta = instanceMeta;
|
|
7114
7116
|
this.smartBar = page.locator(".smart-bar__content");
|
|
@@ -7180,26 +7182,26 @@ class PromotionsListing {
|
|
|
7180
7182
|
}
|
|
7181
7183
|
}
|
|
7182
7184
|
|
|
7183
|
-
var __defProp$
|
|
7184
|
-
var __defNormalProp$
|
|
7185
|
-
var __publicField$
|
|
7186
|
-
__defNormalProp$
|
|
7185
|
+
var __defProp$3 = Object.defineProperty;
|
|
7186
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7187
|
+
var __publicField$3 = (obj, key, value) => {
|
|
7188
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7187
7189
|
return value;
|
|
7188
7190
|
};
|
|
7189
7191
|
class PromotionCreate {
|
|
7190
7192
|
constructor(page, instanceMeta) {
|
|
7191
|
-
__publicField$
|
|
7192
|
-
__publicField$
|
|
7193
|
+
__publicField$3(this, "page");
|
|
7194
|
+
__publicField$3(this, "instanceMeta");
|
|
7193
7195
|
// SmartBar
|
|
7194
|
-
__publicField$
|
|
7195
|
-
__publicField$
|
|
7196
|
-
__publicField$
|
|
7197
|
-
__publicField$
|
|
7198
|
-
__publicField$
|
|
7196
|
+
__publicField$3(this, "smartBar");
|
|
7197
|
+
__publicField$3(this, "smartBarHeader");
|
|
7198
|
+
__publicField$3(this, "languageSelect");
|
|
7199
|
+
__publicField$3(this, "saveButton");
|
|
7200
|
+
__publicField$3(this, "cancelButton");
|
|
7199
7201
|
// General
|
|
7200
|
-
__publicField$
|
|
7201
|
-
__publicField$
|
|
7202
|
-
__publicField$
|
|
7202
|
+
__publicField$3(this, "generalCard");
|
|
7203
|
+
__publicField$3(this, "nameInput");
|
|
7204
|
+
__publicField$3(this, "priorityInput");
|
|
7203
7205
|
this.page = page;
|
|
7204
7206
|
this.instanceMeta = instanceMeta;
|
|
7205
7207
|
this.smartBar = page.locator(".smart-bar__content");
|
|
@@ -7219,30 +7221,30 @@ class PromotionCreate {
|
|
|
7219
7221
|
}
|
|
7220
7222
|
}
|
|
7221
7223
|
|
|
7222
|
-
var __defProp$
|
|
7223
|
-
var __defNormalProp$
|
|
7224
|
-
var __publicField$
|
|
7225
|
-
__defNormalProp$
|
|
7224
|
+
var __defProp$2 = Object.defineProperty;
|
|
7225
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7226
|
+
var __publicField$2 = (obj, key, value) => {
|
|
7227
|
+
__defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7226
7228
|
return value;
|
|
7227
7229
|
};
|
|
7228
7230
|
class PromotionDetail extends PromotionCreate {
|
|
7229
7231
|
constructor(page, instanceMeta) {
|
|
7230
7232
|
super(page, instanceMeta);
|
|
7231
|
-
__publicField$
|
|
7232
|
-
__publicField$
|
|
7233
|
+
__publicField$2(this, "page");
|
|
7234
|
+
__publicField$2(this, "instanceMeta");
|
|
7233
7235
|
// Tabs
|
|
7234
|
-
__publicField$
|
|
7235
|
-
__publicField$
|
|
7236
|
-
__publicField$
|
|
7236
|
+
__publicField$2(this, "tabGeneralLink");
|
|
7237
|
+
__publicField$2(this, "tabConditionsLink");
|
|
7238
|
+
__publicField$2(this, "tabDiscountsLink");
|
|
7237
7239
|
// General Tab
|
|
7238
|
-
__publicField$
|
|
7239
|
-
__publicField$
|
|
7240
|
-
__publicField$
|
|
7240
|
+
__publicField$2(this, "promotionCodesCard");
|
|
7241
|
+
__publicField$2(this, "promotionCodesHeading");
|
|
7242
|
+
__publicField$2(this, "promotionCodesSelection");
|
|
7241
7243
|
// Conditions Tab
|
|
7242
|
-
__publicField$
|
|
7244
|
+
__publicField$2(this, "preConditionsCard");
|
|
7243
7245
|
// Discounts Tab
|
|
7244
|
-
__publicField$
|
|
7245
|
-
__publicField$
|
|
7246
|
+
__publicField$2(this, "addDiscountButton");
|
|
7247
|
+
__publicField$2(this, "discountCards");
|
|
7246
7248
|
this.page = page;
|
|
7247
7249
|
this.instanceMeta = instanceMeta;
|
|
7248
7250
|
this.tabGeneralLink = page.getByRole("tab", { name: "General" });
|
|
@@ -7275,6 +7277,36 @@ class PromotionDetail extends PromotionCreate {
|
|
|
7275
7277
|
}
|
|
7276
7278
|
}
|
|
7277
7279
|
|
|
7280
|
+
var __defProp$1 = Object.defineProperty;
|
|
7281
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7282
|
+
var __publicField$1 = (obj, key, value) => {
|
|
7283
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7284
|
+
return value;
|
|
7285
|
+
};
|
|
7286
|
+
class YourProfile {
|
|
7287
|
+
constructor(page) {
|
|
7288
|
+
__publicField$1(this, "contentView");
|
|
7289
|
+
__publicField$1(this, "page");
|
|
7290
|
+
__publicField$1(this, "searchPreferencesTab");
|
|
7291
|
+
__publicField$1(this, "firstNameField");
|
|
7292
|
+
__publicField$1(this, "lastNameField");
|
|
7293
|
+
__publicField$1(this, "userNameField");
|
|
7294
|
+
__publicField$1(this, "emailField");
|
|
7295
|
+
__publicField$1(this, "deselectAllButton");
|
|
7296
|
+
this.page = page;
|
|
7297
|
+
this.contentView = page.locator(".sw-desktop__content");
|
|
7298
|
+
this.searchPreferencesTab = page.locator(".sw-tabs-item").filter({ hasText: "Search preferences" });
|
|
7299
|
+
this.firstNameField = page.getByRole("textbox", { name: "First name" });
|
|
7300
|
+
this.lastNameField = page.getByRole("textbox", { name: "Last name" });
|
|
7301
|
+
this.userNameField = page.getByRole("textbox", { name: "Username" });
|
|
7302
|
+
this.emailField = page.getByRole("textbox", { name: "Email" });
|
|
7303
|
+
this.deselectAllButton = page.getByRole("button", { name: "Deselect all" });
|
|
7304
|
+
}
|
|
7305
|
+
url() {
|
|
7306
|
+
return "#/sw/profile/index/general";
|
|
7307
|
+
}
|
|
7308
|
+
}
|
|
7309
|
+
|
|
7278
7310
|
const AdminPageObjects = {
|
|
7279
7311
|
ProductDetail,
|
|
7280
7312
|
OrderDetail,
|
|
@@ -7315,7 +7347,8 @@ const AdminPageObjects = {
|
|
|
7315
7347
|
ShopwareServices,
|
|
7316
7348
|
PromotionsListing,
|
|
7317
7349
|
PromotionCreate,
|
|
7318
|
-
PromotionDetail
|
|
7350
|
+
PromotionDetail,
|
|
7351
|
+
YourProfile
|
|
7319
7352
|
};
|
|
7320
7353
|
const test$6 = test$e.extend({
|
|
7321
7354
|
AdminProductDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
@@ -7426,9 +7459,6 @@ const test$6 = test$e.extend({
|
|
|
7426
7459
|
AdminDocumentDetail: async ({ AdminPage }, use) => {
|
|
7427
7460
|
await use(new DocumentDetail(AdminPage));
|
|
7428
7461
|
},
|
|
7429
|
-
AdminShopwareServices: async ({ AdminPage }, use) => {
|
|
7430
|
-
await use(new ShopwareServices(AdminPage));
|
|
7431
|
-
},
|
|
7432
7462
|
AdminPromotionsListing: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7433
7463
|
await use(new PromotionsListing(AdminPage, InstanceMeta));
|
|
7434
7464
|
},
|
|
@@ -7437,6 +7467,12 @@ const test$6 = test$e.extend({
|
|
|
7437
7467
|
},
|
|
7438
7468
|
AdminPromotionDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7439
7469
|
await use(new PromotionDetail(AdminPage, InstanceMeta));
|
|
7470
|
+
},
|
|
7471
|
+
AdminShopwareServices: async ({ AdminPage }, use) => {
|
|
7472
|
+
await use(new ShopwareServices(AdminPage));
|
|
7473
|
+
},
|
|
7474
|
+
AdminYourProfile: async ({ AdminPage }, use) => {
|
|
7475
|
+
await use(new YourProfile(AdminPage));
|
|
7440
7476
|
}
|
|
7441
7477
|
});
|
|
7442
7478
|
|
|
@@ -8377,8 +8413,11 @@ const DeactivateShopwareServices = test$e.extend({
|
|
|
8377
8413
|
}
|
|
8378
8414
|
await AdminShopwareServices.deactivateServicesButton.click();
|
|
8379
8415
|
await ShopAdmin.expects(AdminShopwareServices.deactivateServicesModal).toBeVisible();
|
|
8416
|
+
const disableResponsePromise = AdminShopwareServices.page.waitForResponse(`${process.env["APP_URL"]}api/services/disable`);
|
|
8380
8417
|
await AdminShopwareServices.deactivateServicesConfirmButton.click();
|
|
8381
|
-
await
|
|
8418
|
+
const disableResponse = await disableResponsePromise;
|
|
8419
|
+
expect(disableResponse.ok()).toBeTruthy();
|
|
8420
|
+
await ShopAdmin.expects(AdminShopwareServices.deactivatedBanner).toBeVisible({ timeout: 15e3 });
|
|
8382
8421
|
};
|
|
8383
8422
|
};
|
|
8384
8423
|
await use(task);
|
|
@@ -9074,51 +9113,143 @@ const test$1 = test$e.extend({
|
|
|
9074
9113
|
]
|
|
9075
9114
|
});
|
|
9076
9115
|
|
|
9077
|
-
async function
|
|
9116
|
+
async function applyToElements(page, selectors, stringHandler, locatorHandler) {
|
|
9078
9117
|
if (!selectors.length)
|
|
9079
9118
|
return;
|
|
9080
9119
|
const stringSelectors = selectors.filter((s) => typeof s === "string");
|
|
9081
9120
|
if (stringSelectors.length) {
|
|
9082
|
-
|
|
9083
|
-
await page.addStyleTag({ content: css });
|
|
9121
|
+
await stringHandler(page, stringSelectors);
|
|
9084
9122
|
}
|
|
9085
9123
|
const locatorSelectors = selectors.filter((s) => typeof s !== "string");
|
|
9086
9124
|
for (const locator of locatorSelectors) {
|
|
9087
9125
|
const count = await locator.count();
|
|
9088
9126
|
for (let i = 0; i < count; i++) {
|
|
9089
9127
|
const el = locator.nth(i);
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
|
|
9128
|
+
try {
|
|
9129
|
+
await el.waitFor({ state: "attached", timeout: 5e3 });
|
|
9130
|
+
await locatorHandler(el);
|
|
9131
|
+
} catch (e) {
|
|
9132
|
+
console.warn(`[Warning] Could not apply locator handler: ${e}`);
|
|
9133
|
+
}
|
|
9093
9134
|
}
|
|
9094
9135
|
}
|
|
9095
9136
|
}
|
|
9137
|
+
async function hideElements(page, selectors) {
|
|
9138
|
+
return applyToElements(
|
|
9139
|
+
page,
|
|
9140
|
+
selectors,
|
|
9141
|
+
// String handler → inject CSS
|
|
9142
|
+
async (page2, selectors2) => {
|
|
9143
|
+
const css = selectors2.map((selector) => `${selector} { visibility: hidden !important; }`).join("\n");
|
|
9144
|
+
await page2.addStyleTag({ content: css });
|
|
9145
|
+
},
|
|
9146
|
+
// Locator handler → set style directly
|
|
9147
|
+
async (el) => {
|
|
9148
|
+
const handle = await el.elementHandle();
|
|
9149
|
+
if (!handle)
|
|
9150
|
+
return;
|
|
9151
|
+
await handle.evaluate((node) => {
|
|
9152
|
+
node.style.visibility = "hidden";
|
|
9153
|
+
});
|
|
9154
|
+
}
|
|
9155
|
+
);
|
|
9156
|
+
}
|
|
9096
9157
|
async function replaceElements(page, selectors) {
|
|
9097
|
-
if (!selectors.length)
|
|
9158
|
+
if (!selectors.length) {
|
|
9159
|
+
console.warn(`[Error] No replaceable elements stated.`);
|
|
9098
9160
|
return;
|
|
9099
|
-
|
|
9100
|
-
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9161
|
+
}
|
|
9162
|
+
return applyToElements(
|
|
9163
|
+
page,
|
|
9164
|
+
selectors,
|
|
9165
|
+
// String handler → replace text/value via querySelectorAll
|
|
9166
|
+
async (page2, selectors2) => {
|
|
9167
|
+
await page2.evaluate((selectors3) => {
|
|
9168
|
+
const maskInputLike = (el) => {
|
|
9169
|
+
el.value = "***";
|
|
9170
|
+
el.defaultValue = "***";
|
|
9171
|
+
el.setAttribute("value", "***");
|
|
9172
|
+
if ("placeholder" in el) {
|
|
9173
|
+
el.setAttribute("placeholder", "***");
|
|
9174
|
+
}
|
|
9175
|
+
el.dispatchEvent(new Event("input", { bubbles: true }));
|
|
9176
|
+
el.dispatchEvent(new Event("change", { bubbles: true }));
|
|
9177
|
+
};
|
|
9178
|
+
const maskGeneric = (el) => {
|
|
9179
|
+
if (el.isContentEditable) {
|
|
9180
|
+
el.textContent = "***";
|
|
9181
|
+
el.dispatchEvent(new Event("input", { bubbles: true }));
|
|
9182
|
+
el.dispatchEvent(new Event("change", { bubbles: true }));
|
|
9183
|
+
} else {
|
|
9184
|
+
el.textContent = "***";
|
|
9185
|
+
}
|
|
9186
|
+
};
|
|
9187
|
+
selectors3.forEach((sel) => {
|
|
9188
|
+
const elements = document.querySelectorAll(sel);
|
|
9189
|
+
elements.forEach((el) => {
|
|
9190
|
+
if (el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement) {
|
|
9191
|
+
maskInputLike(el);
|
|
9192
|
+
} else {
|
|
9193
|
+
maskGeneric(el);
|
|
9194
|
+
}
|
|
9195
|
+
});
|
|
9113
9196
|
});
|
|
9197
|
+
}, selectors2);
|
|
9198
|
+
},
|
|
9199
|
+
// Locator handler → replace text/value directly
|
|
9200
|
+
async (el) => {
|
|
9201
|
+
try {
|
|
9202
|
+
if (await el.isEditable()) {
|
|
9203
|
+
await el.fill("***", { force: true });
|
|
9204
|
+
const handle2 = await el.elementHandle();
|
|
9205
|
+
if (handle2) {
|
|
9206
|
+
await handle2.evaluate((node) => {
|
|
9207
|
+
if (node instanceof HTMLInputElement || node instanceof HTMLTextAreaElement) {
|
|
9208
|
+
if ("placeholder" in node)
|
|
9209
|
+
node.setAttribute("placeholder", "***");
|
|
9210
|
+
}
|
|
9211
|
+
});
|
|
9212
|
+
}
|
|
9213
|
+
return;
|
|
9214
|
+
}
|
|
9215
|
+
} catch {
|
|
9114
9216
|
}
|
|
9217
|
+
const handle = await el.elementHandle();
|
|
9218
|
+
if (!handle)
|
|
9219
|
+
return;
|
|
9220
|
+
await handle.evaluate((node) => {
|
|
9221
|
+
const maskInputLike = (inp) => {
|
|
9222
|
+
inp.value = "***";
|
|
9223
|
+
inp.defaultValue = "***";
|
|
9224
|
+
inp.setAttribute("value", "***");
|
|
9225
|
+
if ("placeholder" in inp) {
|
|
9226
|
+
inp.setAttribute("placeholder", "***");
|
|
9227
|
+
}
|
|
9228
|
+
inp.dispatchEvent(new Event("input", { bubbles: true }));
|
|
9229
|
+
inp.dispatchEvent(new Event("change", { bubbles: true }));
|
|
9230
|
+
};
|
|
9231
|
+
const maskGeneric = (el2) => {
|
|
9232
|
+
if (el2.isContentEditable) {
|
|
9233
|
+
el2.textContent = "***";
|
|
9234
|
+
el2.dispatchEvent(new Event("input", { bubbles: true }));
|
|
9235
|
+
el2.dispatchEvent(new Event("change", { bubbles: true }));
|
|
9236
|
+
} else {
|
|
9237
|
+
el2.textContent = "***";
|
|
9238
|
+
}
|
|
9239
|
+
};
|
|
9240
|
+
if (node instanceof HTMLInputElement || node instanceof HTMLTextAreaElement) {
|
|
9241
|
+
maskInputLike(node);
|
|
9242
|
+
} else {
|
|
9243
|
+
maskGeneric(node);
|
|
9244
|
+
}
|
|
9245
|
+
});
|
|
9115
9246
|
}
|
|
9116
|
-
|
|
9247
|
+
);
|
|
9117
9248
|
}
|
|
9118
9249
|
const defaultOptions = {
|
|
9119
9250
|
requestURL: "api/notification/message?limit=5",
|
|
9120
9251
|
width: 1440,
|
|
9121
|
-
scrollableElementVertical: ".sw-
|
|
9252
|
+
scrollableElementVertical: ".sw-card-view__content",
|
|
9122
9253
|
scrollableElementHorizontal: ".sw-data-grid__wrapper",
|
|
9123
9254
|
additionalHeight: 0,
|
|
9124
9255
|
waitForSelector: "",
|