@shopware-ag/acceptance-test-suite 11.20.1 → 11.21.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 +77 -2
- package/dist/index.d.ts +77 -2
- package/dist/index.mjs +1314 -1114
- 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$15 = Object.defineProperty;
|
|
159
|
+
var __defNormalProp$15 = (obj, key, value) => key in obj ? __defProp$15(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
160
|
+
var __publicField$15 = (obj, key, value) => {
|
|
161
|
+
__defNormalProp$15(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$15(this, "context");
|
|
167
|
+
__publicField$15(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$15(_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$12(_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$14 = Object.defineProperty;
|
|
298
|
+
var __defNormalProp$14 = (obj, key, value) => key in obj ? __defProp$14(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
299
|
+
var __publicField$14 = (obj, key, value) => {
|
|
300
|
+
__defNormalProp$14(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$14(this, "context");
|
|
306
|
+
__publicField$14(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$14(_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$13 = Object.defineProperty;
|
|
372
|
+
var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$13(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
373
|
+
var __publicField$13 = (obj, key, value) => {
|
|
374
|
+
__defNormalProp$13(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$13(this, "context");
|
|
380
380
|
this.context = context;
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
@@ -688,18 +688,18 @@ const test$b = test$e.extend({
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
691
|
-
var __defProp
|
|
692
|
-
var __defNormalProp
|
|
693
|
-
var __publicField
|
|
694
|
-
__defNormalProp
|
|
691
|
+
var __defProp$12 = Object.defineProperty;
|
|
692
|
+
var __defNormalProp$12 = (obj, key, value) => key in obj ? __defProp$12(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
693
|
+
var __publicField$12 = (obj, key, value) => {
|
|
694
|
+
__defNormalProp$12(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
695
695
|
return value;
|
|
696
696
|
};
|
|
697
697
|
class Actor {
|
|
698
698
|
constructor(name, page, baseURL) {
|
|
699
|
-
__publicField
|
|
700
|
-
__publicField
|
|
701
|
-
__publicField
|
|
702
|
-
__publicField
|
|
699
|
+
__publicField$12(this, "page");
|
|
700
|
+
__publicField$12(this, "name");
|
|
701
|
+
__publicField$12(this, "baseURL");
|
|
702
|
+
__publicField$12(this, "expects", expect);
|
|
703
703
|
this.name = name;
|
|
704
704
|
this.page = page;
|
|
705
705
|
this.baseURL = baseURL;
|
|
@@ -1036,31 +1036,31 @@ const getPromotionWithDiscount = async (promotionId, adminApiContext) => {
|
|
|
1036
1036
|
return promotion[0];
|
|
1037
1037
|
};
|
|
1038
1038
|
|
|
1039
|
-
var __defProp$
|
|
1040
|
-
var __defNormalProp$
|
|
1041
|
-
var __publicField$
|
|
1042
|
-
__defNormalProp$
|
|
1039
|
+
var __defProp$11 = Object.defineProperty;
|
|
1040
|
+
var __defNormalProp$11 = (obj, key, value) => key in obj ? __defProp$11(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1041
|
+
var __publicField$11 = (obj, key, value) => {
|
|
1042
|
+
__defNormalProp$11(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1043
1043
|
return value;
|
|
1044
1044
|
};
|
|
1045
1045
|
class TestDataService {
|
|
1046
1046
|
constructor(AdminApiClient, IdProvider, options) {
|
|
1047
|
-
__publicField$
|
|
1048
|
-
__publicField$
|
|
1049
|
-
__publicField$
|
|
1050
|
-
__publicField$
|
|
1051
|
-
__publicField$
|
|
1052
|
-
__publicField$
|
|
1053
|
-
__publicField$
|
|
1054
|
-
__publicField$
|
|
1055
|
-
__publicField$
|
|
1056
|
-
__publicField$
|
|
1057
|
-
__publicField$
|
|
1047
|
+
__publicField$11(this, "AdminApiClient");
|
|
1048
|
+
__publicField$11(this, "IdProvider");
|
|
1049
|
+
__publicField$11(this, "namePrefix", "Test-");
|
|
1050
|
+
__publicField$11(this, "nameSuffix", "");
|
|
1051
|
+
__publicField$11(this, "defaultSalesChannel");
|
|
1052
|
+
__publicField$11(this, "defaultTaxId");
|
|
1053
|
+
__publicField$11(this, "defaultCurrencyId");
|
|
1054
|
+
__publicField$11(this, "defaultCategoryId");
|
|
1055
|
+
__publicField$11(this, "defaultLanguageId");
|
|
1056
|
+
__publicField$11(this, "defaultCountryId");
|
|
1057
|
+
__publicField$11(this, "defaultCustomerGroupId");
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Configures if an automated cleanup of the data should be executed.
|
|
1060
1060
|
*
|
|
1061
1061
|
* @private
|
|
1062
1062
|
*/
|
|
1063
|
-
__publicField$
|
|
1063
|
+
__publicField$11(this, "shouldCleanUp", true);
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Configuration of higher priority entities for the cleanup operation.
|
|
1066
1066
|
* These entities will be deleted before others.
|
|
@@ -1068,26 +1068,26 @@ class TestDataService {
|
|
|
1068
1068
|
*
|
|
1069
1069
|
* @private
|
|
1070
1070
|
*/
|
|
1071
|
-
__publicField$
|
|
1071
|
+
__publicField$11(this, "highPriorityEntities", ["order", "product", "product_cross_selling", "landing_page", "shipping_method", "sales_channel_domain", "sales_channel_currency", "sales_channel_country", "sales_channel_payment_method", "customer"]);
|
|
1072
1072
|
/**
|
|
1073
1073
|
* A registry of all created records.
|
|
1074
1074
|
*
|
|
1075
1075
|
* @private
|
|
1076
1076
|
*/
|
|
1077
|
-
__publicField$
|
|
1078
|
-
__publicField$
|
|
1077
|
+
__publicField$11(this, "createdRecords", []);
|
|
1078
|
+
__publicField$11(this, "restoreSystemConfig", {});
|
|
1079
1079
|
/**
|
|
1080
1080
|
* A registry of all created sales channel records.
|
|
1081
1081
|
*
|
|
1082
1082
|
* @private
|
|
1083
1083
|
*/
|
|
1084
|
-
__publicField$
|
|
1084
|
+
__publicField$11(this, "createdSalesChannelRecords", []);
|
|
1085
1085
|
/**
|
|
1086
1086
|
* Function that generates combinations from n number of arrays
|
|
1087
1087
|
* with m number of elements in them.
|
|
1088
1088
|
* @param array
|
|
1089
1089
|
*/
|
|
1090
|
-
__publicField$
|
|
1090
|
+
__publicField$11(this, "combineAll", (array) => {
|
|
1091
1091
|
const result = [];
|
|
1092
1092
|
const max = array.length - 1;
|
|
1093
1093
|
const helper = (tmpArray, i) => {
|
|
@@ -3253,16 +3253,16 @@ const test$9 = test$e.extend({
|
|
|
3253
3253
|
}
|
|
3254
3254
|
});
|
|
3255
3255
|
|
|
3256
|
-
var __defProp$
|
|
3257
|
-
var __defNormalProp$
|
|
3258
|
-
var __publicField$
|
|
3259
|
-
__defNormalProp$
|
|
3256
|
+
var __defProp$10 = Object.defineProperty;
|
|
3257
|
+
var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3258
|
+
var __publicField$10 = (obj, key, value) => {
|
|
3259
|
+
__defNormalProp$10(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3260
3260
|
return value;
|
|
3261
3261
|
};
|
|
3262
3262
|
class IdProvider {
|
|
3263
3263
|
constructor(workerIndex, seed) {
|
|
3264
|
-
__publicField$
|
|
3265
|
-
__publicField$
|
|
3264
|
+
__publicField$10(this, "workerIndex");
|
|
3265
|
+
__publicField$10(this, "seed");
|
|
3266
3266
|
this.workerIndex = workerIndex;
|
|
3267
3267
|
this.seed = seed;
|
|
3268
3268
|
}
|
|
@@ -3346,83 +3346,83 @@ const test$8 = test$e.extend({
|
|
|
3346
3346
|
]
|
|
3347
3347
|
});
|
|
3348
3348
|
|
|
3349
|
-
var __defProp
|
|
3350
|
-
var __defNormalProp
|
|
3351
|
-
var __publicField
|
|
3352
|
-
__defNormalProp
|
|
3349
|
+
var __defProp$$ = Object.defineProperty;
|
|
3350
|
+
var __defNormalProp$$ = (obj, key, value) => key in obj ? __defProp$$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3351
|
+
var __publicField$$ = (obj, key, value) => {
|
|
3352
|
+
__defNormalProp$$(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3353
3353
|
return value;
|
|
3354
3354
|
};
|
|
3355
3355
|
class Home {
|
|
3356
3356
|
constructor(page) {
|
|
3357
|
-
__publicField
|
|
3358
|
-
__publicField
|
|
3359
|
-
__publicField
|
|
3360
|
-
__publicField
|
|
3361
|
-
__publicField
|
|
3362
|
-
__publicField
|
|
3363
|
-
__publicField
|
|
3357
|
+
__publicField$$(this, "categoryTitle");
|
|
3358
|
+
__publicField$$(this, "accountMenuButton");
|
|
3359
|
+
__publicField$$(this, "closeGuestSessionButton");
|
|
3360
|
+
__publicField$$(this, "productImages");
|
|
3361
|
+
__publicField$$(this, "productListItems");
|
|
3362
|
+
__publicField$$(this, "loader");
|
|
3363
|
+
__publicField$$(this, "productVariantCharacteristicsOptions");
|
|
3364
3364
|
/**
|
|
3365
3365
|
* @deprecated Use 'Header/languagesDropdown' instead
|
|
3366
3366
|
*/
|
|
3367
|
-
__publicField
|
|
3367
|
+
__publicField$$(this, "languagesDropdown");
|
|
3368
3368
|
/**
|
|
3369
3369
|
* @deprecated Use 'Header/languagesMenuOptions' instead
|
|
3370
3370
|
*/
|
|
3371
|
-
__publicField
|
|
3371
|
+
__publicField$$(this, "languagesMenuOptions");
|
|
3372
3372
|
/**
|
|
3373
3373
|
* @deprecated Use 'Header/currenciesDropdown' instead
|
|
3374
3374
|
*/
|
|
3375
|
-
__publicField
|
|
3375
|
+
__publicField$$(this, "currenciesDropdown");
|
|
3376
3376
|
/**
|
|
3377
3377
|
* @deprecated Use 'Header/currenciesMenuOptions' instead
|
|
3378
3378
|
*/
|
|
3379
|
-
__publicField
|
|
3380
|
-
__publicField
|
|
3381
|
-
__publicField
|
|
3382
|
-
__publicField
|
|
3383
|
-
__publicField
|
|
3384
|
-
__publicField
|
|
3385
|
-
__publicField
|
|
3386
|
-
__publicField
|
|
3387
|
-
__publicField
|
|
3379
|
+
__publicField$$(this, "currenciesMenuOptions");
|
|
3380
|
+
__publicField$$(this, "consentOnlyTechnicallyRequiredButton");
|
|
3381
|
+
__publicField$$(this, "consentConfigureButton");
|
|
3382
|
+
__publicField$$(this, "consentAcceptAllCookiesButton");
|
|
3383
|
+
__publicField$$(this, "consentCookiePreferences");
|
|
3384
|
+
__publicField$$(this, "consentCookiePermissionContent");
|
|
3385
|
+
__publicField$$(this, "consentDialog");
|
|
3386
|
+
__publicField$$(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3387
|
+
__publicField$$(this, "consentDialogStatisticsCheckbox");
|
|
3388
3388
|
/**
|
|
3389
3389
|
* @deprecated Use 'consentDialogMarketingCheckbox' instead
|
|
3390
3390
|
*/
|
|
3391
|
-
__publicField
|
|
3392
|
-
__publicField
|
|
3393
|
-
__publicField
|
|
3394
|
-
__publicField
|
|
3395
|
-
__publicField
|
|
3396
|
-
__publicField
|
|
3391
|
+
__publicField$$(this, "consentDialogMarketingdCheckbox");
|
|
3392
|
+
__publicField$$(this, "consentDialogMarketingCheckbox");
|
|
3393
|
+
__publicField$$(this, "consentDialogAcceptAllCookiesButton");
|
|
3394
|
+
__publicField$$(this, "consentDialogSaveButton");
|
|
3395
|
+
__publicField$$(this, "consentCookieBannerContainer");
|
|
3396
|
+
__publicField$$(this, "offcanvasBackdrop");
|
|
3397
3397
|
/**
|
|
3398
3398
|
* @deprecated Use 'Header/mainNavigationLink' instead
|
|
3399
3399
|
*/
|
|
3400
|
-
__publicField
|
|
3400
|
+
__publicField$$(this, "mainNavigationLink");
|
|
3401
3401
|
/**
|
|
3402
3402
|
* @deprecated Use 'Footer/contactFormLink' instead
|
|
3403
3403
|
*/
|
|
3404
|
-
__publicField
|
|
3404
|
+
__publicField$$(this, "contactFormLink");
|
|
3405
3405
|
//wishlist
|
|
3406
3406
|
/**
|
|
3407
3407
|
* @deprecated Use 'Header/wishlistIcon' instead
|
|
3408
3408
|
*/
|
|
3409
|
-
__publicField
|
|
3409
|
+
__publicField$$(this, "wishlistIcon");
|
|
3410
3410
|
/**
|
|
3411
3411
|
* @deprecated Use 'Header/wishlistBasket' instead
|
|
3412
3412
|
*/
|
|
3413
|
-
__publicField
|
|
3413
|
+
__publicField$$(this, "wishlistBasket");
|
|
3414
3414
|
//product filters
|
|
3415
|
-
__publicField
|
|
3416
|
-
__publicField
|
|
3417
|
-
__publicField
|
|
3418
|
-
__publicField
|
|
3419
|
-
__publicField
|
|
3420
|
-
__publicField
|
|
3421
|
-
__publicField
|
|
3422
|
-
__publicField
|
|
3423
|
-
__publicField
|
|
3424
|
-
__publicField
|
|
3425
|
-
__publicField
|
|
3415
|
+
__publicField$$(this, "filterMultiSelect");
|
|
3416
|
+
__publicField$$(this, "manufacturerFilter");
|
|
3417
|
+
__publicField$$(this, "propertyFilters");
|
|
3418
|
+
__publicField$$(this, "priceFilterButton");
|
|
3419
|
+
__publicField$$(this, "resetAllButton");
|
|
3420
|
+
__publicField$$(this, "freeShippingFilter");
|
|
3421
|
+
__publicField$$(this, "productList");
|
|
3422
|
+
__publicField$$(this, "productItemNames");
|
|
3423
|
+
__publicField$$(this, "productRatingButton");
|
|
3424
|
+
__publicField$$(this, "productRatingList");
|
|
3425
|
+
__publicField$$(this, "page");
|
|
3426
3426
|
this.page = page;
|
|
3427
3427
|
this.categoryTitle = page.locator(".cms-element-text h1");
|
|
3428
3428
|
this.accountMenuButton = page.getByLabel("Your account");
|
|
@@ -3578,59 +3578,59 @@ class Home {
|
|
|
3578
3578
|
}
|
|
3579
3579
|
}
|
|
3580
3580
|
|
|
3581
|
-
var __defProp$
|
|
3582
|
-
var __defNormalProp$
|
|
3583
|
-
var __publicField$
|
|
3584
|
-
__defNormalProp$
|
|
3581
|
+
var __defProp$_ = Object.defineProperty;
|
|
3582
|
+
var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3583
|
+
var __publicField$_ = (obj, key, value) => {
|
|
3584
|
+
__defNormalProp$_(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3585
3585
|
return value;
|
|
3586
3586
|
};
|
|
3587
3587
|
let ProductDetail$1 = class ProductDetail {
|
|
3588
3588
|
constructor(page) {
|
|
3589
|
-
__publicField$
|
|
3590
|
-
__publicField$
|
|
3591
|
-
__publicField$
|
|
3592
|
-
__publicField$
|
|
3593
|
-
__publicField$
|
|
3594
|
-
__publicField$
|
|
3595
|
-
__publicField$
|
|
3596
|
-
__publicField$
|
|
3597
|
-
__publicField$
|
|
3598
|
-
__publicField$
|
|
3599
|
-
__publicField$
|
|
3600
|
-
__publicField$
|
|
3601
|
-
__publicField$
|
|
3602
|
-
__publicField$
|
|
3603
|
-
__publicField$
|
|
3604
|
-
__publicField$
|
|
3605
|
-
__publicField$
|
|
3606
|
-
__publicField$
|
|
3607
|
-
__publicField$
|
|
3608
|
-
__publicField$
|
|
3589
|
+
__publicField$_(this, "addToCartButton");
|
|
3590
|
+
__publicField$_(this, "quantitySelect");
|
|
3591
|
+
__publicField$_(this, "productSingleImage");
|
|
3592
|
+
__publicField$_(this, "productSinglePrice");
|
|
3593
|
+
__publicField$_(this, "productPriceRangesRow");
|
|
3594
|
+
__publicField$_(this, "productListingPriceBadge");
|
|
3595
|
+
__publicField$_(this, "productListingPrice");
|
|
3596
|
+
__publicField$_(this, "productListingPricePercentage");
|
|
3597
|
+
__publicField$_(this, "offCanvasCartTitle");
|
|
3598
|
+
__publicField$_(this, "offCanvasCart");
|
|
3599
|
+
__publicField$_(this, "offCanvasCartGoToCheckoutButton");
|
|
3600
|
+
__publicField$_(this, "offCanvasLineItemImages");
|
|
3601
|
+
__publicField$_(this, "offCanvasSummaryTotalPrice");
|
|
3602
|
+
__publicField$_(this, "offCanvas");
|
|
3603
|
+
__publicField$_(this, "wishlistAddedButton");
|
|
3604
|
+
__publicField$_(this, "wishlistNotAddedButton");
|
|
3605
|
+
__publicField$_(this, "productDetailConfigurator");
|
|
3606
|
+
__publicField$_(this, "productDetailConfiguratorGroupTitle");
|
|
3607
|
+
__publicField$_(this, "productDetailConfiguratorOptionInputs");
|
|
3608
|
+
__publicField$_(this, "productName");
|
|
3609
3609
|
//Reviews Tab
|
|
3610
|
-
__publicField$
|
|
3611
|
-
__publicField$
|
|
3612
|
-
__publicField$
|
|
3613
|
-
__publicField$
|
|
3614
|
-
__publicField$
|
|
3615
|
-
__publicField$
|
|
3616
|
-
__publicField$
|
|
3617
|
-
__publicField$
|
|
3618
|
-
__publicField$
|
|
3619
|
-
__publicField$
|
|
3620
|
-
__publicField$
|
|
3621
|
-
__publicField$
|
|
3622
|
-
__publicField$
|
|
3623
|
-
__publicField$
|
|
3624
|
-
__publicField$
|
|
3625
|
-
__publicField$
|
|
3626
|
-
__publicField$
|
|
3627
|
-
__publicField$
|
|
3628
|
-
__publicField$
|
|
3629
|
-
__publicField$
|
|
3630
|
-
__publicField$
|
|
3631
|
-
__publicField$
|
|
3632
|
-
__publicField$
|
|
3633
|
-
__publicField$
|
|
3610
|
+
__publicField$_(this, "reviewsTab");
|
|
3611
|
+
__publicField$_(this, "reviewTeaserButton");
|
|
3612
|
+
__publicField$_(this, "reviewTeaserText");
|
|
3613
|
+
__publicField$_(this, "reviewListingItems");
|
|
3614
|
+
__publicField$_(this, "reviewEmptyListingText");
|
|
3615
|
+
__publicField$_(this, "reviewLoginForm");
|
|
3616
|
+
__publicField$_(this, "forgottenPasswordLink");
|
|
3617
|
+
__publicField$_(this, "reviewForm");
|
|
3618
|
+
__publicField$_(this, "reviewRatingPoints");
|
|
3619
|
+
__publicField$_(this, "reviewRatingText");
|
|
3620
|
+
__publicField$_(this, "reviewSubmitMessage");
|
|
3621
|
+
__publicField$_(this, "reviewCounter");
|
|
3622
|
+
__publicField$_(this, "reviewItemRatingPoints");
|
|
3623
|
+
__publicField$_(this, "reviewItemTitle");
|
|
3624
|
+
__publicField$_(this, "reviewReviewTextInput");
|
|
3625
|
+
__publicField$_(this, "reviewItemContent");
|
|
3626
|
+
__publicField$_(this, "reviewLoginButton");
|
|
3627
|
+
__publicField$_(this, "reviewEmailInput");
|
|
3628
|
+
__publicField$_(this, "reviewPasswordInput");
|
|
3629
|
+
__publicField$_(this, "reviewTitleInput");
|
|
3630
|
+
__publicField$_(this, "reviewSubmitButton");
|
|
3631
|
+
__publicField$_(this, "productReviewsLink");
|
|
3632
|
+
__publicField$_(this, "productReviewRating");
|
|
3633
|
+
__publicField$_(this, "page");
|
|
3634
3634
|
this.page = page;
|
|
3635
3635
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
3636
3636
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
@@ -3696,18 +3696,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
3696
3696
|
}
|
|
3697
3697
|
};
|
|
3698
3698
|
|
|
3699
|
-
var __defProp$
|
|
3700
|
-
var __defNormalProp$
|
|
3701
|
-
var __publicField$
|
|
3702
|
-
__defNormalProp$
|
|
3699
|
+
var __defProp$Z = Object.defineProperty;
|
|
3700
|
+
var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3701
|
+
var __publicField$Z = (obj, key, value) => {
|
|
3702
|
+
__defNormalProp$Z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3703
3703
|
return value;
|
|
3704
3704
|
};
|
|
3705
3705
|
class Category {
|
|
3706
3706
|
constructor(page) {
|
|
3707
|
-
__publicField$
|
|
3708
|
-
__publicField$
|
|
3709
|
-
__publicField$
|
|
3710
|
-
__publicField$
|
|
3707
|
+
__publicField$Z(this, "sortingSelect");
|
|
3708
|
+
__publicField$Z(this, "firstProductBuyButton");
|
|
3709
|
+
__publicField$Z(this, "noProductsFoundAlert");
|
|
3710
|
+
__publicField$Z(this, "page");
|
|
3711
3711
|
this.page = page;
|
|
3712
3712
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
3713
3713
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
@@ -3718,24 +3718,24 @@ class Category {
|
|
|
3718
3718
|
}
|
|
3719
3719
|
}
|
|
3720
3720
|
|
|
3721
|
-
var __defProp$
|
|
3722
|
-
var __defNormalProp$
|
|
3723
|
-
var __publicField$
|
|
3724
|
-
__defNormalProp$
|
|
3721
|
+
var __defProp$Y = Object.defineProperty;
|
|
3722
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3723
|
+
var __publicField$Y = (obj, key, value) => {
|
|
3724
|
+
__defNormalProp$Y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3725
3725
|
return value;
|
|
3726
3726
|
};
|
|
3727
3727
|
class CheckoutCart {
|
|
3728
3728
|
constructor(page) {
|
|
3729
|
-
__publicField$
|
|
3730
|
-
__publicField$
|
|
3731
|
-
__publicField$
|
|
3732
|
-
__publicField$
|
|
3733
|
-
__publicField$
|
|
3734
|
-
__publicField$
|
|
3735
|
-
__publicField$
|
|
3736
|
-
__publicField$
|
|
3737
|
-
__publicField$
|
|
3738
|
-
__publicField$
|
|
3729
|
+
__publicField$Y(this, "headline");
|
|
3730
|
+
__publicField$Y(this, "goToCheckoutButton");
|
|
3731
|
+
__publicField$Y(this, "enterPromoInput");
|
|
3732
|
+
__publicField$Y(this, "grandTotalPrice");
|
|
3733
|
+
__publicField$Y(this, "emptyCartAlert");
|
|
3734
|
+
__publicField$Y(this, "stockReachedAlert");
|
|
3735
|
+
__publicField$Y(this, "cartLineItemImages");
|
|
3736
|
+
__publicField$Y(this, "unitPriceInfo");
|
|
3737
|
+
__publicField$Y(this, "cartQuantityNumber");
|
|
3738
|
+
__publicField$Y(this, "page");
|
|
3739
3739
|
this.page = page;
|
|
3740
3740
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3741
3741
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -3777,25 +3777,25 @@ class CheckoutCart {
|
|
|
3777
3777
|
}
|
|
3778
3778
|
}
|
|
3779
3779
|
|
|
3780
|
-
var __defProp$
|
|
3781
|
-
var __defNormalProp$
|
|
3782
|
-
var __publicField$
|
|
3783
|
-
__defNormalProp$
|
|
3780
|
+
var __defProp$X = Object.defineProperty;
|
|
3781
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3782
|
+
var __publicField$X = (obj, key, value) => {
|
|
3783
|
+
__defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3784
3784
|
return value;
|
|
3785
3785
|
};
|
|
3786
3786
|
class OffCanvasCart {
|
|
3787
3787
|
constructor(page) {
|
|
3788
|
-
__publicField$
|
|
3789
|
-
__publicField$
|
|
3790
|
-
__publicField$
|
|
3791
|
-
__publicField$
|
|
3792
|
-
__publicField$
|
|
3793
|
-
__publicField$
|
|
3794
|
-
__publicField$
|
|
3795
|
-
__publicField$
|
|
3796
|
-
__publicField$
|
|
3797
|
-
__publicField$
|
|
3798
|
-
__publicField$
|
|
3788
|
+
__publicField$X(this, "headline");
|
|
3789
|
+
__publicField$X(this, "itemCount");
|
|
3790
|
+
__publicField$X(this, "goToCheckoutButton");
|
|
3791
|
+
__publicField$X(this, "goToCartButton");
|
|
3792
|
+
__publicField$X(this, "continueShoppingButton");
|
|
3793
|
+
__publicField$X(this, "enterPromoInput");
|
|
3794
|
+
__publicField$X(this, "submitDiscountButton");
|
|
3795
|
+
__publicField$X(this, "subTotalPrice");
|
|
3796
|
+
__publicField$X(this, "shippingCosts");
|
|
3797
|
+
__publicField$X(this, "cartQuantityNumber");
|
|
3798
|
+
__publicField$X(this, "page");
|
|
3799
3799
|
this.page = page;
|
|
3800
3800
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3801
3801
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
@@ -3842,36 +3842,36 @@ class OffCanvasCart {
|
|
|
3842
3842
|
}
|
|
3843
3843
|
}
|
|
3844
3844
|
|
|
3845
|
-
var __defProp$
|
|
3846
|
-
var __defNormalProp$
|
|
3847
|
-
var __publicField$
|
|
3848
|
-
__defNormalProp$
|
|
3845
|
+
var __defProp$W = Object.defineProperty;
|
|
3846
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3847
|
+
var __publicField$W = (obj, key, value) => {
|
|
3848
|
+
__defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3849
3849
|
return value;
|
|
3850
3850
|
};
|
|
3851
3851
|
class CheckoutConfirm {
|
|
3852
3852
|
constructor(page) {
|
|
3853
|
-
__publicField$
|
|
3854
|
-
__publicField$
|
|
3855
|
-
__publicField$
|
|
3856
|
-
__publicField$
|
|
3857
|
-
__publicField$
|
|
3858
|
-
__publicField$
|
|
3853
|
+
__publicField$W(this, "headline");
|
|
3854
|
+
__publicField$W(this, "termsAndConditionsCheckbox");
|
|
3855
|
+
__publicField$W(this, "immediateAccessToDigitalProductCheckbox");
|
|
3856
|
+
__publicField$W(this, "grandTotalPrice");
|
|
3857
|
+
__publicField$W(this, "taxPrice");
|
|
3858
|
+
__publicField$W(this, "submitOrderButton");
|
|
3859
3859
|
/**
|
|
3860
3860
|
* Payment options
|
|
3861
3861
|
*/
|
|
3862
|
-
__publicField$
|
|
3863
|
-
__publicField$
|
|
3864
|
-
__publicField$
|
|
3862
|
+
__publicField$W(this, "paymentCashOnDelivery");
|
|
3863
|
+
__publicField$W(this, "paymentPaidInAdvance");
|
|
3864
|
+
__publicField$W(this, "paymentInvoice");
|
|
3865
3865
|
/**
|
|
3866
3866
|
* Shipping options
|
|
3867
3867
|
*/
|
|
3868
|
-
__publicField$
|
|
3869
|
-
__publicField$
|
|
3868
|
+
__publicField$W(this, "shippingStandard");
|
|
3869
|
+
__publicField$W(this, "shippingExpress");
|
|
3870
3870
|
/**
|
|
3871
3871
|
* Product details
|
|
3872
3872
|
*/
|
|
3873
|
-
__publicField$
|
|
3874
|
-
__publicField$
|
|
3873
|
+
__publicField$W(this, "cartLineItemImages");
|
|
3874
|
+
__publicField$W(this, "page");
|
|
3875
3875
|
this.page = page;
|
|
3876
3876
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
3877
3877
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
@@ -3891,21 +3891,21 @@ class CheckoutConfirm {
|
|
|
3891
3891
|
}
|
|
3892
3892
|
}
|
|
3893
3893
|
|
|
3894
|
-
var __defProp$
|
|
3895
|
-
var __defNormalProp$
|
|
3896
|
-
var __publicField$
|
|
3897
|
-
__defNormalProp$
|
|
3894
|
+
var __defProp$V = Object.defineProperty;
|
|
3895
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3896
|
+
var __publicField$V = (obj, key, value) => {
|
|
3897
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3898
3898
|
return value;
|
|
3899
3899
|
};
|
|
3900
3900
|
class CheckoutFinish {
|
|
3901
3901
|
constructor(page) {
|
|
3902
|
-
__publicField$
|
|
3903
|
-
__publicField$
|
|
3904
|
-
__publicField$
|
|
3905
|
-
__publicField$
|
|
3906
|
-
__publicField$
|
|
3907
|
-
__publicField$
|
|
3908
|
-
__publicField$
|
|
3902
|
+
__publicField$V(this, "headline");
|
|
3903
|
+
__publicField$V(this, "orderNumberText");
|
|
3904
|
+
__publicField$V(this, "grandTotalPrice");
|
|
3905
|
+
__publicField$V(this, "taxPrice");
|
|
3906
|
+
__publicField$V(this, "cartLineItemImages");
|
|
3907
|
+
__publicField$V(this, "page");
|
|
3908
|
+
__publicField$V(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
3909
3909
|
this.page = page;
|
|
3910
3910
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
3911
3911
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
@@ -3935,16 +3935,16 @@ class CheckoutFinish {
|
|
|
3935
3935
|
}
|
|
3936
3936
|
}
|
|
3937
3937
|
|
|
3938
|
-
var __defProp$
|
|
3939
|
-
var __defNormalProp$
|
|
3940
|
-
var __publicField$
|
|
3941
|
-
__defNormalProp$
|
|
3938
|
+
var __defProp$U = Object.defineProperty;
|
|
3939
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3940
|
+
var __publicField$U = (obj, key, value) => {
|
|
3941
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3942
3942
|
return value;
|
|
3943
3943
|
};
|
|
3944
3944
|
class CheckoutRegister {
|
|
3945
3945
|
constructor(page) {
|
|
3946
|
-
__publicField$
|
|
3947
|
-
__publicField$
|
|
3946
|
+
__publicField$U(this, "cartLineItemImages");
|
|
3947
|
+
__publicField$U(this, "page");
|
|
3948
3948
|
this.page = page;
|
|
3949
3949
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3950
3950
|
}
|
|
@@ -3953,26 +3953,26 @@ class CheckoutRegister {
|
|
|
3953
3953
|
}
|
|
3954
3954
|
}
|
|
3955
3955
|
|
|
3956
|
-
var __defProp$
|
|
3957
|
-
var __defNormalProp$
|
|
3958
|
-
var __publicField$
|
|
3959
|
-
__defNormalProp$
|
|
3956
|
+
var __defProp$T = Object.defineProperty;
|
|
3957
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3958
|
+
var __publicField$T = (obj, key, value) => {
|
|
3959
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3960
3960
|
return value;
|
|
3961
3961
|
};
|
|
3962
3962
|
class Account {
|
|
3963
3963
|
constructor(page, instanceMeta) {
|
|
3964
|
-
__publicField$
|
|
3965
|
-
__publicField$
|
|
3966
|
-
__publicField$
|
|
3967
|
-
__publicField$
|
|
3968
|
-
__publicField$
|
|
3969
|
-
__publicField$
|
|
3970
|
-
__publicField$
|
|
3971
|
-
__publicField$
|
|
3972
|
-
__publicField$
|
|
3973
|
-
__publicField$
|
|
3974
|
-
__publicField$
|
|
3975
|
-
__publicField$
|
|
3964
|
+
__publicField$T(this, "headline");
|
|
3965
|
+
__publicField$T(this, "personalDataCardTitle");
|
|
3966
|
+
__publicField$T(this, "paymentMethodCardTitle");
|
|
3967
|
+
__publicField$T(this, "billingAddressCardTitle");
|
|
3968
|
+
__publicField$T(this, "shippingAddressCardTitle");
|
|
3969
|
+
__publicField$T(this, "newsletterCheckbox");
|
|
3970
|
+
__publicField$T(this, "newsletterRegistrationSuccessMessage");
|
|
3971
|
+
__publicField$T(this, "customerGroupRequestMessage");
|
|
3972
|
+
__publicField$T(this, "cannotDeliverToCountryAlert");
|
|
3973
|
+
__publicField$T(this, "shippingToAddressNotPossibleAlert");
|
|
3974
|
+
__publicField$T(this, "page");
|
|
3975
|
+
__publicField$T(this, "instanceMeta");
|
|
3976
3976
|
this.page = page;
|
|
3977
3977
|
this.instanceMeta = instanceMeta;
|
|
3978
3978
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
@@ -3998,57 +3998,57 @@ class Account {
|
|
|
3998
3998
|
}
|
|
3999
3999
|
}
|
|
4000
4000
|
|
|
4001
|
-
var __defProp$
|
|
4002
|
-
var __defNormalProp$
|
|
4003
|
-
var __publicField$
|
|
4004
|
-
__defNormalProp$
|
|
4001
|
+
var __defProp$S = Object.defineProperty;
|
|
4002
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4003
|
+
var __publicField$S = (obj, key, value) => {
|
|
4004
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4005
4005
|
return value;
|
|
4006
4006
|
};
|
|
4007
4007
|
class AccountLogin {
|
|
4008
4008
|
constructor(page) {
|
|
4009
|
-
__publicField$
|
|
4010
|
-
__publicField$
|
|
4011
|
-
__publicField$
|
|
4012
|
-
__publicField$
|
|
4013
|
-
__publicField$
|
|
4014
|
-
__publicField$
|
|
4015
|
-
__publicField$
|
|
4016
|
-
__publicField$
|
|
4009
|
+
__publicField$S(this, "emailInput");
|
|
4010
|
+
__publicField$S(this, "passwordInput");
|
|
4011
|
+
__publicField$S(this, "forgotPasswordLink");
|
|
4012
|
+
__publicField$S(this, "loginButton");
|
|
4013
|
+
__publicField$S(this, "logoutLink");
|
|
4014
|
+
__publicField$S(this, "successAlert");
|
|
4015
|
+
__publicField$S(this, "invalidCredentialsAlert");
|
|
4016
|
+
__publicField$S(this, "passwordUpdatedAlert");
|
|
4017
4017
|
// Inputs for registration
|
|
4018
|
-
__publicField$
|
|
4019
|
-
__publicField$
|
|
4020
|
-
__publicField$
|
|
4021
|
-
__publicField$
|
|
4022
|
-
__publicField$
|
|
4023
|
-
__publicField$
|
|
4024
|
-
__publicField$
|
|
4025
|
-
__publicField$
|
|
4026
|
-
__publicField$
|
|
4027
|
-
__publicField$
|
|
4028
|
-
__publicField$
|
|
4029
|
-
__publicField$
|
|
4030
|
-
__publicField$
|
|
4031
|
-
__publicField$
|
|
4032
|
-
__publicField$
|
|
4033
|
-
__publicField$
|
|
4018
|
+
__publicField$S(this, "personalFormArea");
|
|
4019
|
+
__publicField$S(this, "billingAddressFormArea");
|
|
4020
|
+
__publicField$S(this, "accountTypeSelect");
|
|
4021
|
+
__publicField$S(this, "salutationSelect");
|
|
4022
|
+
__publicField$S(this, "firstNameInput");
|
|
4023
|
+
__publicField$S(this, "lastNameInput");
|
|
4024
|
+
__publicField$S(this, "companyInput");
|
|
4025
|
+
__publicField$S(this, "departmentInput");
|
|
4026
|
+
__publicField$S(this, "vatRegNoInput");
|
|
4027
|
+
__publicField$S(this, "registerEmailInput");
|
|
4028
|
+
__publicField$S(this, "registerPasswordInput");
|
|
4029
|
+
__publicField$S(this, "streetAddressInput");
|
|
4030
|
+
__publicField$S(this, "cityInput");
|
|
4031
|
+
__publicField$S(this, "countryInput");
|
|
4032
|
+
__publicField$S(this, "postalCodeInput");
|
|
4033
|
+
__publicField$S(this, "registerButton");
|
|
4034
4034
|
// Inputs for reCaptcha
|
|
4035
|
-
__publicField$
|
|
4036
|
-
__publicField$
|
|
4037
|
-
__publicField$
|
|
4038
|
-
__publicField$
|
|
4039
|
-
__publicField$
|
|
4035
|
+
__publicField$S(this, "greCaptchaV2Container");
|
|
4036
|
+
__publicField$S(this, "greCaptchaV2Input");
|
|
4037
|
+
__publicField$S(this, "greCaptchaV3Input");
|
|
4038
|
+
__publicField$S(this, "greCaptchaProtectionInformation");
|
|
4039
|
+
__publicField$S(this, "greCaptchaBadge");
|
|
4040
4040
|
//Input for shipping address
|
|
4041
|
-
__publicField$
|
|
4042
|
-
__publicField$
|
|
4043
|
-
__publicField$
|
|
4044
|
-
__publicField$
|
|
4045
|
-
__publicField$
|
|
4046
|
-
__publicField$
|
|
4047
|
-
__publicField$
|
|
4048
|
-
__publicField$
|
|
4049
|
-
__publicField$
|
|
4050
|
-
__publicField$
|
|
4051
|
-
__publicField$
|
|
4041
|
+
__publicField$S(this, "differentShippingAddressCheckbox");
|
|
4042
|
+
__publicField$S(this, "registerShippingAddressFormArea");
|
|
4043
|
+
__publicField$S(this, "shippingAddressSalutationSelect");
|
|
4044
|
+
__publicField$S(this, "shippingAddressFirstNameInput");
|
|
4045
|
+
__publicField$S(this, "shippingAddressLastNameInput");
|
|
4046
|
+
__publicField$S(this, "shippingAddressStreetAddressInput");
|
|
4047
|
+
__publicField$S(this, "shippingAddressCityInput");
|
|
4048
|
+
__publicField$S(this, "shippingAddressCountryInput");
|
|
4049
|
+
__publicField$S(this, "shippingAddressPostalCodeInput");
|
|
4050
|
+
__publicField$S(this, "shippingAddressStateInput");
|
|
4051
|
+
__publicField$S(this, "page");
|
|
4052
4052
|
this.page = page;
|
|
4053
4053
|
this.emailInput = page.getByLabel("Your email address");
|
|
4054
4054
|
this.passwordInput = page.getByLabel("Your password");
|
|
@@ -4099,26 +4099,26 @@ class AccountLogin {
|
|
|
4099
4099
|
}
|
|
4100
4100
|
}
|
|
4101
4101
|
|
|
4102
|
-
var __defProp$
|
|
4103
|
-
var __defNormalProp$
|
|
4104
|
-
var __publicField$
|
|
4105
|
-
__defNormalProp$
|
|
4102
|
+
var __defProp$R = Object.defineProperty;
|
|
4103
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4104
|
+
var __publicField$R = (obj, key, value) => {
|
|
4105
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4106
4106
|
return value;
|
|
4107
4107
|
};
|
|
4108
4108
|
class AccountRecover {
|
|
4109
4109
|
constructor(page) {
|
|
4110
|
-
__publicField$
|
|
4111
|
-
__publicField$
|
|
4112
|
-
__publicField$
|
|
4113
|
-
__publicField$
|
|
4114
|
-
__publicField$
|
|
4115
|
-
__publicField$
|
|
4116
|
-
__publicField$
|
|
4117
|
-
__publicField$
|
|
4118
|
-
__publicField$
|
|
4119
|
-
__publicField$
|
|
4120
|
-
__publicField$
|
|
4121
|
-
__publicField$
|
|
4110
|
+
__publicField$R(this, "passwordRecoveryForm");
|
|
4111
|
+
__publicField$R(this, "title");
|
|
4112
|
+
__publicField$R(this, "subtitle");
|
|
4113
|
+
__publicField$R(this, "emailInput");
|
|
4114
|
+
__publicField$R(this, "requestEmailButton");
|
|
4115
|
+
__publicField$R(this, "backButton");
|
|
4116
|
+
__publicField$R(this, "passwordResetEmailSentMessage");
|
|
4117
|
+
__publicField$R(this, "newPasswordInput");
|
|
4118
|
+
__publicField$R(this, "newPasswordConfirmInput");
|
|
4119
|
+
__publicField$R(this, "changePasswordButton");
|
|
4120
|
+
__publicField$R(this, "invalidLinkMessage");
|
|
4121
|
+
__publicField$R(this, "page");
|
|
4122
4122
|
this.page = page;
|
|
4123
4123
|
this.passwordRecoveryForm = page.locator(".account-recover-password-form");
|
|
4124
4124
|
const cardTitle = this.passwordRecoveryForm.locator(".card-title");
|
|
@@ -4141,36 +4141,36 @@ class AccountRecover {
|
|
|
4141
4141
|
}
|
|
4142
4142
|
}
|
|
4143
4143
|
|
|
4144
|
-
var __defProp$
|
|
4145
|
-
var __defNormalProp$
|
|
4146
|
-
var __publicField$
|
|
4147
|
-
__defNormalProp$
|
|
4144
|
+
var __defProp$Q = Object.defineProperty;
|
|
4145
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4146
|
+
var __publicField$Q = (obj, key, value) => {
|
|
4147
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4148
4148
|
return value;
|
|
4149
4149
|
};
|
|
4150
4150
|
class AccountProfile {
|
|
4151
4151
|
constructor(page, instanceMeta) {
|
|
4152
|
-
__publicField$
|
|
4153
|
-
__publicField$
|
|
4154
|
-
__publicField$
|
|
4155
|
-
__publicField$
|
|
4156
|
-
__publicField$
|
|
4157
|
-
__publicField$
|
|
4158
|
-
__publicField$
|
|
4159
|
-
__publicField$
|
|
4160
|
-
__publicField$
|
|
4161
|
-
__publicField$
|
|
4162
|
-
__publicField$
|
|
4163
|
-
__publicField$
|
|
4164
|
-
__publicField$
|
|
4165
|
-
__publicField$
|
|
4166
|
-
__publicField$
|
|
4167
|
-
__publicField$
|
|
4168
|
-
__publicField$
|
|
4169
|
-
__publicField$
|
|
4170
|
-
__publicField$
|
|
4171
|
-
__publicField$
|
|
4172
|
-
__publicField$
|
|
4173
|
-
__publicField$
|
|
4152
|
+
__publicField$Q(this, "page");
|
|
4153
|
+
__publicField$Q(this, "instanceMeta");
|
|
4154
|
+
__publicField$Q(this, "salutationSelect");
|
|
4155
|
+
__publicField$Q(this, "firstNameInput");
|
|
4156
|
+
__publicField$Q(this, "lastNameInput");
|
|
4157
|
+
__publicField$Q(this, "saveProfileButton");
|
|
4158
|
+
__publicField$Q(this, "changeEmailButton");
|
|
4159
|
+
__publicField$Q(this, "emailAddressInput");
|
|
4160
|
+
__publicField$Q(this, "emailAddressConfirmInput");
|
|
4161
|
+
__publicField$Q(this, "emailConfirmPasswordInput");
|
|
4162
|
+
__publicField$Q(this, "saveEmailAddressButton");
|
|
4163
|
+
__publicField$Q(this, "changePasswordButton");
|
|
4164
|
+
__publicField$Q(this, "newPasswordInput");
|
|
4165
|
+
__publicField$Q(this, "newPasswordConfirmInput");
|
|
4166
|
+
__publicField$Q(this, "currentPasswordInput");
|
|
4167
|
+
__publicField$Q(this, "saveNewPasswordButton");
|
|
4168
|
+
__publicField$Q(this, "loginDataEmailAddress");
|
|
4169
|
+
__publicField$Q(this, "emailUpdateMessage");
|
|
4170
|
+
__publicField$Q(this, "passwordUpdateMessage");
|
|
4171
|
+
__publicField$Q(this, "emailValidationAlert");
|
|
4172
|
+
__publicField$Q(this, "emailUpdateFailureAlert");
|
|
4173
|
+
__publicField$Q(this, "passwordUpdateFailureAlert");
|
|
4174
4174
|
this.page = page;
|
|
4175
4175
|
this.instanceMeta = instanceMeta;
|
|
4176
4176
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
@@ -4212,24 +4212,24 @@ class AccountProfile {
|
|
|
4212
4212
|
}
|
|
4213
4213
|
}
|
|
4214
4214
|
|
|
4215
|
-
var __defProp$
|
|
4216
|
-
var __defNormalProp$
|
|
4217
|
-
var __publicField$
|
|
4218
|
-
__defNormalProp$
|
|
4215
|
+
var __defProp$P = Object.defineProperty;
|
|
4216
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4217
|
+
var __publicField$P = (obj, key, value) => {
|
|
4218
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4219
4219
|
return value;
|
|
4220
4220
|
};
|
|
4221
4221
|
class AccountOrder {
|
|
4222
4222
|
constructor(page) {
|
|
4223
|
-
__publicField$
|
|
4224
|
-
__publicField$
|
|
4225
|
-
__publicField$
|
|
4226
|
-
__publicField$
|
|
4227
|
-
__publicField$
|
|
4228
|
-
__publicField$
|
|
4229
|
-
__publicField$
|
|
4230
|
-
__publicField$
|
|
4231
|
-
__publicField$
|
|
4232
|
-
__publicField$
|
|
4223
|
+
__publicField$P(this, "cartLineItemImages");
|
|
4224
|
+
__publicField$P(this, "orderExpandButton");
|
|
4225
|
+
__publicField$P(this, "digitalProductDownloadButton");
|
|
4226
|
+
__publicField$P(this, "dialogOrderCancel");
|
|
4227
|
+
__publicField$P(this, "dialogOrderCancelButton");
|
|
4228
|
+
__publicField$P(this, "dialogBackButton");
|
|
4229
|
+
__publicField$P(this, "orderDetails");
|
|
4230
|
+
__publicField$P(this, "invoiceHTML");
|
|
4231
|
+
__publicField$P(this, "creditItem");
|
|
4232
|
+
__publicField$P(this, "page");
|
|
4233
4233
|
this.page = page;
|
|
4234
4234
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
4235
4235
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
@@ -4281,27 +4281,27 @@ class AccountOrder {
|
|
|
4281
4281
|
}
|
|
4282
4282
|
}
|
|
4283
4283
|
|
|
4284
|
-
var __defProp$
|
|
4285
|
-
var __defNormalProp$
|
|
4286
|
-
var __publicField$
|
|
4287
|
-
__defNormalProp$
|
|
4284
|
+
var __defProp$O = Object.defineProperty;
|
|
4285
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4286
|
+
var __publicField$O = (obj, key, value) => {
|
|
4287
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4288
4288
|
return value;
|
|
4289
4289
|
};
|
|
4290
4290
|
class AccountAddresses {
|
|
4291
4291
|
constructor(page, instanceMeta) {
|
|
4292
|
-
__publicField$
|
|
4293
|
-
__publicField$
|
|
4294
|
-
__publicField$
|
|
4295
|
-
__publicField$
|
|
4296
|
-
__publicField$
|
|
4297
|
-
__publicField$
|
|
4298
|
-
__publicField$
|
|
4299
|
-
__publicField$
|
|
4300
|
-
__publicField$
|
|
4301
|
-
__publicField$
|
|
4302
|
-
__publicField$
|
|
4303
|
-
__publicField$
|
|
4304
|
-
__publicField$
|
|
4292
|
+
__publicField$O(this, "addNewAddressButton");
|
|
4293
|
+
__publicField$O(this, "editBillingAddressButton");
|
|
4294
|
+
__publicField$O(this, "editShippingAddressButton");
|
|
4295
|
+
__publicField$O(this, "useDefaultBillingAddressButton");
|
|
4296
|
+
__publicField$O(this, "useDefaultShippingAddressButton");
|
|
4297
|
+
__publicField$O(this, "deliveryNotPossibleAlert");
|
|
4298
|
+
__publicField$O(this, "availableAddresses");
|
|
4299
|
+
__publicField$O(this, "addressDropdownButton");
|
|
4300
|
+
__publicField$O(this, "addressDropdownButtons");
|
|
4301
|
+
__publicField$O(this, "availableAddressesUseAsBillingAddress");
|
|
4302
|
+
__publicField$O(this, "availableAddressesUseAsShippingAddress");
|
|
4303
|
+
__publicField$O(this, "page");
|
|
4304
|
+
__publicField$O(this, "instanceMeta");
|
|
4305
4305
|
this.page = page;
|
|
4306
4306
|
this.instanceMeta = instanceMeta;
|
|
4307
4307
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
@@ -4325,19 +4325,19 @@ class AccountAddresses {
|
|
|
4325
4325
|
}
|
|
4326
4326
|
}
|
|
4327
4327
|
|
|
4328
|
-
var __defProp$
|
|
4329
|
-
var __defNormalProp$
|
|
4330
|
-
var __publicField$
|
|
4331
|
-
__defNormalProp$
|
|
4328
|
+
var __defProp$N = Object.defineProperty;
|
|
4329
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4330
|
+
var __publicField$N = (obj, key, value) => {
|
|
4331
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4332
4332
|
return value;
|
|
4333
4333
|
};
|
|
4334
4334
|
class AccountPayment {
|
|
4335
4335
|
constructor(page) {
|
|
4336
|
-
__publicField$
|
|
4337
|
-
__publicField$
|
|
4338
|
-
__publicField$
|
|
4339
|
-
__publicField$
|
|
4340
|
-
__publicField$
|
|
4336
|
+
__publicField$N(this, "cashOnDeliveryOption");
|
|
4337
|
+
__publicField$N(this, "paidInAdvanceOption");
|
|
4338
|
+
__publicField$N(this, "invoiceOption");
|
|
4339
|
+
__publicField$N(this, "changeDefaultPaymentButton");
|
|
4340
|
+
__publicField$N(this, "page");
|
|
4341
4341
|
this.page = page;
|
|
4342
4342
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
4343
4343
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
@@ -4349,17 +4349,17 @@ class AccountPayment {
|
|
|
4349
4349
|
}
|
|
4350
4350
|
}
|
|
4351
4351
|
|
|
4352
|
-
var __defProp$
|
|
4353
|
-
var __defNormalProp$
|
|
4354
|
-
var __publicField$
|
|
4355
|
-
__defNormalProp$
|
|
4352
|
+
var __defProp$M = Object.defineProperty;
|
|
4353
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4354
|
+
var __publicField$M = (obj, key, value) => {
|
|
4355
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4356
4356
|
return value;
|
|
4357
4357
|
};
|
|
4358
4358
|
class Search {
|
|
4359
4359
|
constructor(page) {
|
|
4360
|
-
__publicField$
|
|
4361
|
-
__publicField$
|
|
4362
|
-
__publicField$
|
|
4360
|
+
__publicField$M(this, "headline");
|
|
4361
|
+
__publicField$M(this, "productImages");
|
|
4362
|
+
__publicField$M(this, "page");
|
|
4363
4363
|
this.page = page;
|
|
4364
4364
|
this.headline = page.locator("h1.search-headline");
|
|
4365
4365
|
this.productImages = page.locator(".product-image-wrapper");
|
|
@@ -4369,25 +4369,25 @@ class Search {
|
|
|
4369
4369
|
}
|
|
4370
4370
|
}
|
|
4371
4371
|
|
|
4372
|
-
var __defProp$
|
|
4373
|
-
var __defNormalProp$
|
|
4374
|
-
var __publicField$
|
|
4375
|
-
__defNormalProp$
|
|
4372
|
+
var __defProp$L = Object.defineProperty;
|
|
4373
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4374
|
+
var __publicField$L = (obj, key, value) => {
|
|
4375
|
+
__defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4376
4376
|
return value;
|
|
4377
4377
|
};
|
|
4378
4378
|
class SearchSuggest extends Home {
|
|
4379
4379
|
constructor(page) {
|
|
4380
4380
|
super(page);
|
|
4381
|
-
__publicField$
|
|
4382
|
-
__publicField$
|
|
4383
|
-
__publicField$
|
|
4384
|
-
__publicField$
|
|
4385
|
-
__publicField$
|
|
4386
|
-
__publicField$
|
|
4387
|
-
__publicField$
|
|
4388
|
-
__publicField$
|
|
4389
|
-
__publicField$
|
|
4390
|
-
__publicField$
|
|
4381
|
+
__publicField$L(this, "searchSuggestLineItemImages");
|
|
4382
|
+
__publicField$L(this, "searchInput");
|
|
4383
|
+
__publicField$L(this, "searchIcon");
|
|
4384
|
+
__publicField$L(this, "searchSuggestNoResult");
|
|
4385
|
+
__publicField$L(this, "searchSuggestLineItemName");
|
|
4386
|
+
__publicField$L(this, "searchSuggestLineItemPrice");
|
|
4387
|
+
__publicField$L(this, "searchSuggestTotalLink");
|
|
4388
|
+
__publicField$L(this, "searchResultTotal");
|
|
4389
|
+
__publicField$L(this, "searchHeadline");
|
|
4390
|
+
__publicField$L(this, "page");
|
|
4391
4391
|
this.page = page;
|
|
4392
4392
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
4393
4393
|
this.searchInput = page.locator(".header-search-input");
|
|
@@ -4408,16 +4408,16 @@ class SearchSuggest extends Home {
|
|
|
4408
4408
|
}
|
|
4409
4409
|
}
|
|
4410
4410
|
|
|
4411
|
-
var __defProp$
|
|
4412
|
-
var __defNormalProp$
|
|
4413
|
-
var __publicField$
|
|
4414
|
-
__defNormalProp$
|
|
4411
|
+
var __defProp$K = Object.defineProperty;
|
|
4412
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4413
|
+
var __publicField$K = (obj, key, value) => {
|
|
4414
|
+
__defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4415
4415
|
return value;
|
|
4416
4416
|
};
|
|
4417
4417
|
class CustomRegister extends AccountLogin {
|
|
4418
4418
|
constructor(page) {
|
|
4419
4419
|
super(page);
|
|
4420
|
-
__publicField$
|
|
4420
|
+
__publicField$K(this, "page");
|
|
4421
4421
|
this.page = page;
|
|
4422
4422
|
}
|
|
4423
4423
|
url(customCustomerGroupName) {
|
|
@@ -4425,31 +4425,31 @@ class CustomRegister extends AccountLogin {
|
|
|
4425
4425
|
}
|
|
4426
4426
|
}
|
|
4427
4427
|
|
|
4428
|
-
var __defProp$
|
|
4429
|
-
var __defNormalProp$
|
|
4430
|
-
var __publicField$
|
|
4431
|
-
__defNormalProp$
|
|
4428
|
+
var __defProp$J = Object.defineProperty;
|
|
4429
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4430
|
+
var __publicField$J = (obj, key, value) => {
|
|
4431
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4432
4432
|
return value;
|
|
4433
4433
|
};
|
|
4434
4434
|
class CheckoutOrderEdit {
|
|
4435
4435
|
constructor(page) {
|
|
4436
|
-
__publicField$
|
|
4437
|
-
__publicField$
|
|
4438
|
-
__publicField$
|
|
4439
|
-
__publicField$
|
|
4440
|
-
__publicField$
|
|
4436
|
+
__publicField$J(this, "completePaymentButton");
|
|
4437
|
+
__publicField$J(this, "orderCancelButton");
|
|
4438
|
+
__publicField$J(this, "dialogOrderCancel");
|
|
4439
|
+
__publicField$J(this, "dialogOrderCancelButton");
|
|
4440
|
+
__publicField$J(this, "dialogBackButton");
|
|
4441
4441
|
/**
|
|
4442
4442
|
* Payment options
|
|
4443
4443
|
*/
|
|
4444
|
-
__publicField$
|
|
4445
|
-
__publicField$
|
|
4446
|
-
__publicField$
|
|
4444
|
+
__publicField$J(this, "paymentCashOnDelivery");
|
|
4445
|
+
__publicField$J(this, "paymentPaidInAdvance");
|
|
4446
|
+
__publicField$J(this, "paymentInvoice");
|
|
4447
4447
|
/**
|
|
4448
4448
|
* Shipping options
|
|
4449
4449
|
*/
|
|
4450
|
-
__publicField$
|
|
4451
|
-
__publicField$
|
|
4452
|
-
__publicField$
|
|
4450
|
+
__publicField$J(this, "shippingStandard");
|
|
4451
|
+
__publicField$J(this, "shippingExpress");
|
|
4452
|
+
__publicField$J(this, "page");
|
|
4453
4453
|
this.page = page;
|
|
4454
4454
|
this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
|
|
4455
4455
|
this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
|
|
@@ -4475,26 +4475,26 @@ class CheckoutOrderEdit {
|
|
|
4475
4475
|
}
|
|
4476
4476
|
}
|
|
4477
4477
|
|
|
4478
|
-
var __defProp$
|
|
4479
|
-
var __defNormalProp$
|
|
4480
|
-
var __publicField$
|
|
4481
|
-
__defNormalProp$
|
|
4478
|
+
var __defProp$I = Object.defineProperty;
|
|
4479
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4480
|
+
var __publicField$I = (obj, key, value) => {
|
|
4481
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4482
4482
|
return value;
|
|
4483
4483
|
};
|
|
4484
4484
|
class AccountAddressCreate {
|
|
4485
4485
|
constructor(page) {
|
|
4486
|
-
__publicField$
|
|
4487
|
-
__publicField$
|
|
4488
|
-
__publicField$
|
|
4489
|
-
__publicField$
|
|
4490
|
-
__publicField$
|
|
4491
|
-
__publicField$
|
|
4492
|
-
__publicField$
|
|
4493
|
-
__publicField$
|
|
4494
|
-
__publicField$
|
|
4495
|
-
__publicField$
|
|
4496
|
-
__publicField$
|
|
4497
|
-
__publicField$
|
|
4486
|
+
__publicField$I(this, "salutationDropdown");
|
|
4487
|
+
__publicField$I(this, "firstNameInput");
|
|
4488
|
+
__publicField$I(this, "lastNameInput");
|
|
4489
|
+
__publicField$I(this, "companyInput");
|
|
4490
|
+
__publicField$I(this, "departmentInput");
|
|
4491
|
+
__publicField$I(this, "streetInput");
|
|
4492
|
+
__publicField$I(this, "zipcodeInput");
|
|
4493
|
+
__publicField$I(this, "cityInput");
|
|
4494
|
+
__publicField$I(this, "countryDropdown");
|
|
4495
|
+
__publicField$I(this, "saveAddressButton");
|
|
4496
|
+
__publicField$I(this, "stateDropdown");
|
|
4497
|
+
__publicField$I(this, "page");
|
|
4498
4498
|
this.page = page;
|
|
4499
4499
|
this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
|
|
4500
4500
|
this.firstNameInput = page.getByRole("textbox", { name: "First name" });
|
|
@@ -4513,19 +4513,19 @@ class AccountAddressCreate {
|
|
|
4513
4513
|
}
|
|
4514
4514
|
}
|
|
4515
4515
|
|
|
4516
|
-
var __defProp$
|
|
4517
|
-
var __defNormalProp$
|
|
4518
|
-
var __publicField$
|
|
4519
|
-
__defNormalProp$
|
|
4516
|
+
var __defProp$H = Object.defineProperty;
|
|
4517
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4518
|
+
var __publicField$H = (obj, key, value) => {
|
|
4519
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4520
4520
|
return value;
|
|
4521
4521
|
};
|
|
4522
4522
|
class PageNotFound {
|
|
4523
4523
|
constructor(page) {
|
|
4524
|
-
__publicField$
|
|
4525
|
-
__publicField$
|
|
4526
|
-
__publicField$
|
|
4527
|
-
__publicField$
|
|
4528
|
-
__publicField$
|
|
4524
|
+
__publicField$H(this, "pageNotFoundImage");
|
|
4525
|
+
__publicField$H(this, "headline");
|
|
4526
|
+
__publicField$H(this, "pageNotFoundMessage");
|
|
4527
|
+
__publicField$H(this, "backToShopButton");
|
|
4528
|
+
__publicField$H(this, "page");
|
|
4529
4529
|
this.page = page;
|
|
4530
4530
|
this.pageNotFoundImage = page.getByAltText("Page not found");
|
|
4531
4531
|
this.headline = page.getByRole("heading", { name: "Page not found" });
|
|
@@ -4537,10 +4537,10 @@ class PageNotFound {
|
|
|
4537
4537
|
}
|
|
4538
4538
|
}
|
|
4539
4539
|
|
|
4540
|
-
var __defProp$
|
|
4541
|
-
var __defNormalProp$
|
|
4542
|
-
var __publicField$
|
|
4543
|
-
__defNormalProp$
|
|
4540
|
+
var __defProp$G = Object.defineProperty;
|
|
4541
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4542
|
+
var __publicField$G = (obj, key, value) => {
|
|
4543
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4544
4544
|
return value;
|
|
4545
4545
|
};
|
|
4546
4546
|
class ContactForm extends Home {
|
|
@@ -4549,36 +4549,36 @@ class ContactForm extends Home {
|
|
|
4549
4549
|
/**
|
|
4550
4550
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
4551
4551
|
*/
|
|
4552
|
-
__publicField$
|
|
4552
|
+
__publicField$G(this, "contactModal");
|
|
4553
4553
|
/**
|
|
4554
4554
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
4555
4555
|
*/
|
|
4556
|
-
__publicField$
|
|
4557
|
-
__publicField$
|
|
4558
|
-
__publicField$
|
|
4559
|
-
__publicField$
|
|
4560
|
-
__publicField$
|
|
4561
|
-
__publicField$
|
|
4562
|
-
__publicField$
|
|
4563
|
-
__publicField$
|
|
4564
|
-
__publicField$
|
|
4565
|
-
__publicField$
|
|
4566
|
-
__publicField$
|
|
4567
|
-
__publicField$
|
|
4568
|
-
__publicField$
|
|
4569
|
-
__publicField$
|
|
4570
|
-
__publicField$
|
|
4556
|
+
__publicField$G(this, "contactSuccessModal");
|
|
4557
|
+
__publicField$G(this, "contactWrapper");
|
|
4558
|
+
__publicField$G(this, "salutationSelect");
|
|
4559
|
+
__publicField$G(this, "firstNameInput");
|
|
4560
|
+
__publicField$G(this, "lastNameInput");
|
|
4561
|
+
__publicField$G(this, "emailInput");
|
|
4562
|
+
__publicField$G(this, "phoneInput");
|
|
4563
|
+
__publicField$G(this, "subjectInput");
|
|
4564
|
+
__publicField$G(this, "commentInput");
|
|
4565
|
+
__publicField$G(this, "privacyPolicyCheckbox");
|
|
4566
|
+
__publicField$G(this, "submitButton");
|
|
4567
|
+
__publicField$G(this, "contactSuccessMessage");
|
|
4568
|
+
__publicField$G(this, "cardTitle");
|
|
4569
|
+
__publicField$G(this, "formFieldFeedback");
|
|
4570
|
+
__publicField$G(this, "formAlert");
|
|
4571
4571
|
/**
|
|
4572
4572
|
* Captcha locators
|
|
4573
4573
|
*/
|
|
4574
|
-
__publicField$
|
|
4575
|
-
__publicField$
|
|
4576
|
-
__publicField$
|
|
4577
|
-
__publicField$
|
|
4578
|
-
__publicField$
|
|
4579
|
-
__publicField$
|
|
4580
|
-
__publicField$
|
|
4581
|
-
__publicField$
|
|
4574
|
+
__publicField$G(this, "basicCaptcha");
|
|
4575
|
+
__publicField$G(this, "basicCaptchaImage");
|
|
4576
|
+
__publicField$G(this, "basicCaptchaRefreshButton");
|
|
4577
|
+
__publicField$G(this, "basicCaptchaInput");
|
|
4578
|
+
__publicField$G(this, "greCaptchaV2Container");
|
|
4579
|
+
__publicField$G(this, "greCaptchaV2Input");
|
|
4580
|
+
__publicField$G(this, "greCaptchaProtectionInformation");
|
|
4581
|
+
__publicField$G(this, "instanceMeta");
|
|
4582
4582
|
this.instanceMeta = instanceMeta;
|
|
4583
4583
|
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4584
4584
|
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
@@ -4614,19 +4614,19 @@ class ContactForm extends Home {
|
|
|
4614
4614
|
}
|
|
4615
4615
|
}
|
|
4616
4616
|
|
|
4617
|
-
var __defProp$
|
|
4618
|
-
var __defNormalProp$
|
|
4619
|
-
var __publicField$
|
|
4620
|
-
__defNormalProp$
|
|
4617
|
+
var __defProp$F = Object.defineProperty;
|
|
4618
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4619
|
+
var __publicField$F = (obj, key, value) => {
|
|
4620
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4621
4621
|
return value;
|
|
4622
4622
|
};
|
|
4623
4623
|
class Wishlist extends Home {
|
|
4624
4624
|
constructor(page) {
|
|
4625
4625
|
super(page);
|
|
4626
|
-
__publicField$
|
|
4627
|
-
__publicField$
|
|
4628
|
-
__publicField$
|
|
4629
|
-
__publicField$
|
|
4626
|
+
__publicField$F(this, "wishListHeader");
|
|
4627
|
+
__publicField$F(this, "removeAlert");
|
|
4628
|
+
__publicField$F(this, "emptyListing");
|
|
4629
|
+
__publicField$F(this, "page");
|
|
4630
4630
|
this.page = page;
|
|
4631
4631
|
this.wishListHeader = page.locator(".wishlist-headline");
|
|
4632
4632
|
this.removeAlert = page.locator(".alert-success");
|
|
@@ -4646,20 +4646,20 @@ class Wishlist extends Home {
|
|
|
4646
4646
|
}
|
|
4647
4647
|
}
|
|
4648
4648
|
|
|
4649
|
-
var __defProp$
|
|
4650
|
-
var __defNormalProp$
|
|
4651
|
-
var __publicField$
|
|
4652
|
-
__defNormalProp$
|
|
4649
|
+
var __defProp$E = Object.defineProperty;
|
|
4650
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4651
|
+
var __publicField$E = (obj, key, value) => {
|
|
4652
|
+
__defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4653
4653
|
return value;
|
|
4654
4654
|
};
|
|
4655
4655
|
class Footer {
|
|
4656
4656
|
constructor(page) {
|
|
4657
|
-
__publicField$
|
|
4658
|
-
__publicField$
|
|
4659
|
-
__publicField$
|
|
4660
|
-
__publicField$
|
|
4661
|
-
__publicField$
|
|
4662
|
-
__publicField$
|
|
4657
|
+
__publicField$E(this, "footerHeadline");
|
|
4658
|
+
__publicField$E(this, "footerContent");
|
|
4659
|
+
__publicField$E(this, "footerHotline");
|
|
4660
|
+
__publicField$E(this, "footerContactForm");
|
|
4661
|
+
__publicField$E(this, "footerContactFormLink");
|
|
4662
|
+
__publicField$E(this, "page");
|
|
4663
4663
|
this.page = page;
|
|
4664
4664
|
this.footerHeadline = page.locator(".footer-column-headline");
|
|
4665
4665
|
this.footerContent = page.locator(".footer-column-content-inner");
|
|
@@ -4672,23 +4672,23 @@ class Footer {
|
|
|
4672
4672
|
}
|
|
4673
4673
|
}
|
|
4674
4674
|
|
|
4675
|
-
var __defProp$
|
|
4676
|
-
var __defNormalProp$
|
|
4677
|
-
var __publicField$
|
|
4678
|
-
__defNormalProp$
|
|
4675
|
+
var __defProp$D = Object.defineProperty;
|
|
4676
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4677
|
+
var __publicField$D = (obj, key, value) => {
|
|
4678
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4679
4679
|
return value;
|
|
4680
4680
|
};
|
|
4681
4681
|
class Header {
|
|
4682
4682
|
constructor(page) {
|
|
4683
|
-
__publicField$
|
|
4684
|
-
__publicField$
|
|
4685
|
-
__publicField$
|
|
4686
|
-
__publicField$
|
|
4687
|
-
__publicField$
|
|
4683
|
+
__publicField$D(this, "mainNavigationLink");
|
|
4684
|
+
__publicField$D(this, "languagesDropdown");
|
|
4685
|
+
__publicField$D(this, "languagesMenuOptions");
|
|
4686
|
+
__publicField$D(this, "currenciesDropdown");
|
|
4687
|
+
__publicField$D(this, "currenciesMenuOptions");
|
|
4688
4688
|
//wishlist
|
|
4689
|
-
__publicField$
|
|
4690
|
-
__publicField$
|
|
4691
|
-
__publicField$
|
|
4689
|
+
__publicField$D(this, "wishlistIcon");
|
|
4690
|
+
__publicField$D(this, "wishlistBasket");
|
|
4691
|
+
__publicField$D(this, "page");
|
|
4692
4692
|
this.page = page;
|
|
4693
4693
|
this.mainNavigationLink = page.locator(".main-navigation-link-text");
|
|
4694
4694
|
this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
|
|
@@ -4826,87 +4826,87 @@ async function getCustomFieldCardLocators(page, customFieldSetName, customFieldN
|
|
|
4826
4826
|
};
|
|
4827
4827
|
}
|
|
4828
4828
|
|
|
4829
|
-
var __defProp$
|
|
4830
|
-
var __defNormalProp$
|
|
4831
|
-
var __publicField$
|
|
4832
|
-
__defNormalProp$
|
|
4829
|
+
var __defProp$C = Object.defineProperty;
|
|
4830
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4831
|
+
var __publicField$C = (obj, key, value) => {
|
|
4832
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4833
4833
|
return value;
|
|
4834
4834
|
};
|
|
4835
4835
|
class ProductDetail {
|
|
4836
4836
|
constructor(page, instanceMeta) {
|
|
4837
|
-
__publicField$
|
|
4838
|
-
__publicField$
|
|
4837
|
+
__publicField$C(this, "contentView");
|
|
4838
|
+
__publicField$C(this, "productHeadline");
|
|
4839
4839
|
/**
|
|
4840
4840
|
* Save interactions
|
|
4841
4841
|
*/
|
|
4842
|
-
__publicField$
|
|
4843
|
-
__publicField$
|
|
4844
|
-
__publicField$
|
|
4842
|
+
__publicField$C(this, "savePhysicalProductButton");
|
|
4843
|
+
__publicField$C(this, "saveButtonLoadingSpinner");
|
|
4844
|
+
__publicField$C(this, "saveButtonCheckMark");
|
|
4845
4845
|
/**
|
|
4846
4846
|
* General Info
|
|
4847
4847
|
*/
|
|
4848
|
-
__publicField$
|
|
4848
|
+
__publicField$C(this, "manufacturerDropdownText");
|
|
4849
4849
|
/**
|
|
4850
4850
|
* Prices
|
|
4851
4851
|
*/
|
|
4852
|
-
__publicField$
|
|
4852
|
+
__publicField$C(this, "priceGrossInput");
|
|
4853
4853
|
/**
|
|
4854
4854
|
* Deliverability
|
|
4855
4855
|
*/
|
|
4856
|
-
__publicField$
|
|
4857
|
-
__publicField$
|
|
4856
|
+
__publicField$C(this, "stockInput");
|
|
4857
|
+
__publicField$C(this, "restockTimeInput");
|
|
4858
4858
|
/**
|
|
4859
4859
|
* Visibility
|
|
4860
4860
|
*/
|
|
4861
|
-
__publicField$
|
|
4862
|
-
__publicField$
|
|
4863
|
-
__publicField$
|
|
4861
|
+
__publicField$C(this, "activeForAllSalesChannelsToggle");
|
|
4862
|
+
__publicField$C(this, "tagsInput");
|
|
4863
|
+
__publicField$C(this, "saleChannelsInput");
|
|
4864
4864
|
/**
|
|
4865
4865
|
* Labelling
|
|
4866
4866
|
*/
|
|
4867
|
-
__publicField$
|
|
4867
|
+
__publicField$C(this, "releaseDateInput");
|
|
4868
4868
|
/**
|
|
4869
4869
|
* Media Upload interactions
|
|
4870
4870
|
*/
|
|
4871
|
-
__publicField$
|
|
4872
|
-
__publicField$
|
|
4873
|
-
__publicField$
|
|
4871
|
+
__publicField$C(this, "uploadMediaButton");
|
|
4872
|
+
__publicField$C(this, "coverImage");
|
|
4873
|
+
__publicField$C(this, "productImage");
|
|
4874
4874
|
/**
|
|
4875
4875
|
* Tabs
|
|
4876
4876
|
*/
|
|
4877
|
-
__publicField$
|
|
4878
|
-
__publicField$
|
|
4879
|
-
__publicField$
|
|
4880
|
-
__publicField$
|
|
4881
|
-
__publicField$
|
|
4882
|
-
__publicField$
|
|
4883
|
-
__publicField$
|
|
4877
|
+
__publicField$C(this, "variantsTabLink");
|
|
4878
|
+
__publicField$C(this, "specificationsTabLink");
|
|
4879
|
+
__publicField$C(this, "advancedPricingTabLink");
|
|
4880
|
+
__publicField$C(this, "layoutTabLink");
|
|
4881
|
+
__publicField$C(this, "crossSellingTabLink");
|
|
4882
|
+
__publicField$C(this, "SEOTabLink");
|
|
4883
|
+
__publicField$C(this, "reviewsTabLink");
|
|
4884
4884
|
/**
|
|
4885
4885
|
* Variants Generation
|
|
4886
4886
|
*/
|
|
4887
|
-
__publicField$
|
|
4888
|
-
__publicField$
|
|
4889
|
-
__publicField$
|
|
4890
|
-
__publicField$
|
|
4891
|
-
__publicField$
|
|
4887
|
+
__publicField$C(this, "generateVariantsButton");
|
|
4888
|
+
__publicField$C(this, "variantsModal");
|
|
4889
|
+
__publicField$C(this, "variantsModalHeadline");
|
|
4890
|
+
__publicField$C(this, "variantsNextButton");
|
|
4891
|
+
__publicField$C(this, "variantsSaveButton");
|
|
4892
4892
|
/**
|
|
4893
4893
|
* Property Selection
|
|
4894
4894
|
*/
|
|
4895
|
-
__publicField$
|
|
4896
|
-
__publicField$
|
|
4897
|
-
__publicField$
|
|
4898
|
-
__publicField$
|
|
4899
|
-
__publicField$
|
|
4900
|
-
__publicField$
|
|
4901
|
-
__publicField$
|
|
4902
|
-
__publicField$
|
|
4903
|
-
__publicField$
|
|
4895
|
+
__publicField$C(this, "propertyGroupColor");
|
|
4896
|
+
__publicField$C(this, "propertyGroupSize");
|
|
4897
|
+
__publicField$C(this, "propertyOptionGrid");
|
|
4898
|
+
__publicField$C(this, "propertyOptionColorBlue");
|
|
4899
|
+
__publicField$C(this, "propertyOptionColorRed");
|
|
4900
|
+
__publicField$C(this, "propertyOptionColorGreen");
|
|
4901
|
+
__publicField$C(this, "propertyOptionSizeSmall");
|
|
4902
|
+
__publicField$C(this, "propertyOptionSizeMedium");
|
|
4903
|
+
__publicField$C(this, "propertyOptionSizeLarge");
|
|
4904
4904
|
/**
|
|
4905
4905
|
* Cards
|
|
4906
4906
|
*/
|
|
4907
|
-
__publicField$
|
|
4908
|
-
__publicField$
|
|
4909
|
-
__publicField$
|
|
4907
|
+
__publicField$C(this, "customFieldCard");
|
|
4908
|
+
__publicField$C(this, "page");
|
|
4909
|
+
__publicField$C(this, "instanceMeta");
|
|
4910
4910
|
this.page = page;
|
|
4911
4911
|
this.instanceMeta = instanceMeta;
|
|
4912
4912
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -4978,35 +4978,35 @@ class ProductDetail {
|
|
|
4978
4978
|
}
|
|
4979
4979
|
}
|
|
4980
4980
|
|
|
4981
|
-
var __defProp$
|
|
4982
|
-
var __defNormalProp$
|
|
4983
|
-
var __publicField$
|
|
4984
|
-
__defNormalProp$
|
|
4981
|
+
var __defProp$B = Object.defineProperty;
|
|
4982
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4983
|
+
var __publicField$B = (obj, key, value) => {
|
|
4984
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4985
4985
|
return value;
|
|
4986
4986
|
};
|
|
4987
4987
|
class OrderDetail {
|
|
4988
4988
|
constructor(page, instanceMeta) {
|
|
4989
|
-
__publicField$
|
|
4990
|
-
__publicField$
|
|
4991
|
-
__publicField$
|
|
4992
|
-
__publicField$
|
|
4993
|
-
__publicField$
|
|
4994
|
-
__publicField$
|
|
4995
|
-
__publicField$
|
|
4996
|
-
__publicField$
|
|
4997
|
-
__publicField$
|
|
4998
|
-
__publicField$
|
|
4999
|
-
__publicField$
|
|
5000
|
-
__publicField$
|
|
5001
|
-
__publicField$
|
|
4989
|
+
__publicField$B(this, "saveButton");
|
|
4990
|
+
__publicField$B(this, "dataGridContextButton");
|
|
4991
|
+
__publicField$B(this, "orderTag");
|
|
4992
|
+
__publicField$B(this, "lineItem");
|
|
4993
|
+
__publicField$B(this, "lineItemsTable");
|
|
4994
|
+
__publicField$B(this, "documentType");
|
|
4995
|
+
__publicField$B(this, "contextMenuButton");
|
|
4996
|
+
__publicField$B(this, "contextMenu");
|
|
4997
|
+
__publicField$B(this, "contextMenuSendDocument");
|
|
4998
|
+
__publicField$B(this, "sendDocumentModal");
|
|
4999
|
+
__publicField$B(this, "sendDocumentButton");
|
|
5000
|
+
__publicField$B(this, "itemsCardHeader");
|
|
5001
|
+
__publicField$B(this, "sentCheckmark");
|
|
5002
5002
|
/**
|
|
5003
5003
|
* Tabs
|
|
5004
5004
|
*/
|
|
5005
|
-
__publicField$
|
|
5006
|
-
__publicField$
|
|
5007
|
-
__publicField$
|
|
5008
|
-
__publicField$
|
|
5009
|
-
__publicField$
|
|
5005
|
+
__publicField$B(this, "generalTabLink");
|
|
5006
|
+
__publicField$B(this, "detailsTabLink");
|
|
5007
|
+
__publicField$B(this, "documentsTabLink");
|
|
5008
|
+
__publicField$B(this, "page");
|
|
5009
|
+
__publicField$B(this, "instanceMeta");
|
|
5010
5010
|
this.page = page;
|
|
5011
5011
|
this.instanceMeta = instanceMeta;
|
|
5012
5012
|
this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
|
|
@@ -5038,24 +5038,24 @@ class OrderDetail {
|
|
|
5038
5038
|
}
|
|
5039
5039
|
}
|
|
5040
5040
|
|
|
5041
|
-
var __defProp$
|
|
5042
|
-
var __defNormalProp$
|
|
5043
|
-
var __publicField$
|
|
5044
|
-
__defNormalProp$
|
|
5041
|
+
var __defProp$A = Object.defineProperty;
|
|
5042
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5043
|
+
var __publicField$A = (obj, key, value) => {
|
|
5044
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5045
5045
|
return value;
|
|
5046
5046
|
};
|
|
5047
5047
|
class CustomerListing {
|
|
5048
5048
|
constructor(page) {
|
|
5049
|
-
__publicField$
|
|
5050
|
-
__publicField$
|
|
5051
|
-
__publicField$
|
|
5052
|
-
__publicField$
|
|
5049
|
+
__publicField$A(this, "headline");
|
|
5050
|
+
__publicField$A(this, "addCustomerButton");
|
|
5051
|
+
__publicField$A(this, "bulkEditButton");
|
|
5052
|
+
__publicField$A(this, "deleteButton");
|
|
5053
5053
|
//Customer Bulk Edit Modal
|
|
5054
|
-
__publicField$
|
|
5055
|
-
__publicField$
|
|
5056
|
-
__publicField$
|
|
5057
|
-
__publicField$
|
|
5058
|
-
__publicField$
|
|
5054
|
+
__publicField$A(this, "bulkEditModal");
|
|
5055
|
+
__publicField$A(this, "startBulkEditButton");
|
|
5056
|
+
__publicField$A(this, "cancelButton");
|
|
5057
|
+
__publicField$A(this, "modalHeaderCheckbox");
|
|
5058
|
+
__publicField$A(this, "page");
|
|
5059
5059
|
this.page = page;
|
|
5060
5060
|
this.headline = page.getByRole("heading", { name: "Customers" });
|
|
5061
5061
|
this.addCustomerButton = page.locator(".sw-customer-list__button-create");
|
|
@@ -5117,27 +5117,27 @@ class CustomerListing {
|
|
|
5117
5117
|
}
|
|
5118
5118
|
}
|
|
5119
5119
|
|
|
5120
|
-
var __defProp$
|
|
5121
|
-
var __defNormalProp$
|
|
5122
|
-
var __publicField$
|
|
5123
|
-
__defNormalProp$
|
|
5120
|
+
var __defProp$z = Object.defineProperty;
|
|
5121
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5122
|
+
var __publicField$z = (obj, key, value) => {
|
|
5123
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5124
5124
|
return value;
|
|
5125
5125
|
};
|
|
5126
5126
|
class CustomerDetail {
|
|
5127
5127
|
constructor(page, instanceMeta) {
|
|
5128
|
-
__publicField$
|
|
5129
|
-
__publicField$
|
|
5130
|
-
__publicField$
|
|
5131
|
-
__publicField$
|
|
5132
|
-
__publicField$
|
|
5133
|
-
__publicField$
|
|
5134
|
-
__publicField$
|
|
5135
|
-
__publicField$
|
|
5136
|
-
__publicField$
|
|
5137
|
-
__publicField$
|
|
5138
|
-
__publicField$
|
|
5139
|
-
__publicField$
|
|
5140
|
-
__publicField$
|
|
5128
|
+
__publicField$z(this, "editButton");
|
|
5129
|
+
__publicField$z(this, "generalTab");
|
|
5130
|
+
__publicField$z(this, "accountCard");
|
|
5131
|
+
__publicField$z(this, "customFieldCard");
|
|
5132
|
+
__publicField$z(this, "customFieldSetTabs");
|
|
5133
|
+
__publicField$z(this, "customFieldSetTabCustomContent");
|
|
5134
|
+
__publicField$z(this, "customerGroupRequestMessage");
|
|
5135
|
+
__publicField$z(this, "customerGroupAcceptButton");
|
|
5136
|
+
__publicField$z(this, "customerGroupDeclineButton");
|
|
5137
|
+
__publicField$z(this, "tagList");
|
|
5138
|
+
__publicField$z(this, "tagItems");
|
|
5139
|
+
__publicField$z(this, "page");
|
|
5140
|
+
__publicField$z(this, "instanceMeta");
|
|
5141
5141
|
this.page = page;
|
|
5142
5142
|
this.instanceMeta = instanceMeta;
|
|
5143
5143
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
@@ -5200,17 +5200,17 @@ class CustomerDetail {
|
|
|
5200
5200
|
}
|
|
5201
5201
|
}
|
|
5202
5202
|
|
|
5203
|
-
var __defProp$
|
|
5204
|
-
var __defNormalProp$
|
|
5205
|
-
var __publicField$
|
|
5206
|
-
__defNormalProp$
|
|
5203
|
+
var __defProp$y = Object.defineProperty;
|
|
5204
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5205
|
+
var __publicField$y = (obj, key, value) => {
|
|
5206
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5207
5207
|
return value;
|
|
5208
5208
|
};
|
|
5209
5209
|
class CustomerGroupListing {
|
|
5210
5210
|
constructor(page) {
|
|
5211
|
-
__publicField$
|
|
5212
|
-
__publicField$
|
|
5213
|
-
__publicField$
|
|
5211
|
+
__publicField$y(this, "headline");
|
|
5212
|
+
__publicField$y(this, "addCustomerGroupButton");
|
|
5213
|
+
__publicField$y(this, "page");
|
|
5214
5214
|
this.page = page;
|
|
5215
5215
|
this.headline = page.getByRole("heading", { name: "Customer groups" });
|
|
5216
5216
|
this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
|
|
@@ -5233,30 +5233,30 @@ class CustomerGroupListing {
|
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
5235
5235
|
|
|
5236
|
-
var __defProp$
|
|
5237
|
-
var __defNormalProp$
|
|
5238
|
-
var __publicField$
|
|
5239
|
-
__defNormalProp$
|
|
5236
|
+
var __defProp$x = Object.defineProperty;
|
|
5237
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5238
|
+
var __publicField$x = (obj, key, value) => {
|
|
5239
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5240
5240
|
return value;
|
|
5241
5241
|
};
|
|
5242
5242
|
class CustomerGroupCreate {
|
|
5243
5243
|
constructor(page, instanceMeta) {
|
|
5244
|
-
__publicField$
|
|
5245
|
-
__publicField$
|
|
5246
|
-
__publicField$
|
|
5247
|
-
__publicField$
|
|
5248
|
-
__publicField$
|
|
5249
|
-
__publicField$
|
|
5250
|
-
__publicField$
|
|
5251
|
-
__publicField$
|
|
5252
|
-
__publicField$
|
|
5253
|
-
__publicField$
|
|
5254
|
-
__publicField$
|
|
5255
|
-
__publicField$
|
|
5256
|
-
__publicField$
|
|
5257
|
-
__publicField$
|
|
5258
|
-
__publicField$
|
|
5259
|
-
__publicField$
|
|
5244
|
+
__publicField$x(this, "headline");
|
|
5245
|
+
__publicField$x(this, "saveButton");
|
|
5246
|
+
__publicField$x(this, "cancelButton");
|
|
5247
|
+
__publicField$x(this, "cardTitle");
|
|
5248
|
+
__publicField$x(this, "customerGroupNameField");
|
|
5249
|
+
__publicField$x(this, "customerGroupGrossTaxDisplay");
|
|
5250
|
+
__publicField$x(this, "customerGroupNetTaxDisplay");
|
|
5251
|
+
__publicField$x(this, "customSignupFormToggle");
|
|
5252
|
+
__publicField$x(this, "signupFormTitle");
|
|
5253
|
+
__publicField$x(this, "signupFormIntroduction");
|
|
5254
|
+
__publicField$x(this, "signupFormSeoDescription");
|
|
5255
|
+
__publicField$x(this, "signupFormCompanySignupToggle");
|
|
5256
|
+
__publicField$x(this, "customerGroupSaleschannelSelection");
|
|
5257
|
+
__publicField$x(this, "customerGroupSaleschannelResultList");
|
|
5258
|
+
__publicField$x(this, "page");
|
|
5259
|
+
__publicField$x(this, "instanceMeta");
|
|
5260
5260
|
this.page = page;
|
|
5261
5261
|
this.instanceMeta = instanceMeta;
|
|
5262
5262
|
this.headline = page.getByRole("heading", { name: "New customer group" });
|
|
@@ -5287,19 +5287,19 @@ class CustomerGroupCreate {
|
|
|
5287
5287
|
}
|
|
5288
5288
|
}
|
|
5289
5289
|
|
|
5290
|
-
var __defProp$
|
|
5291
|
-
var __defNormalProp$
|
|
5292
|
-
var __publicField$
|
|
5293
|
-
__defNormalProp$
|
|
5290
|
+
var __defProp$w = Object.defineProperty;
|
|
5291
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5292
|
+
var __publicField$w = (obj, key, value) => {
|
|
5293
|
+
__defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5294
5294
|
return value;
|
|
5295
5295
|
};
|
|
5296
5296
|
class CustomerGroupDetail extends CustomerGroupCreate {
|
|
5297
5297
|
constructor(page, instanceMeta) {
|
|
5298
5298
|
super(page, instanceMeta);
|
|
5299
|
-
__publicField$
|
|
5300
|
-
__publicField$
|
|
5301
|
-
__publicField$
|
|
5302
|
-
__publicField$
|
|
5299
|
+
__publicField$w(this, "headline");
|
|
5300
|
+
__publicField$w(this, "selectedSalesChannel");
|
|
5301
|
+
__publicField$w(this, "technicalUrl");
|
|
5302
|
+
__publicField$w(this, "saleschannelUrl");
|
|
5303
5303
|
this.headline = page.locator(".smart-bar__header");
|
|
5304
5304
|
this.selectedSalesChannel = page.locator(".sw-select-selection-list");
|
|
5305
5305
|
this.technicalUrl = page.getByLabel("Technical URL");
|
|
@@ -5310,66 +5310,66 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5310
5310
|
}
|
|
5311
5311
|
}
|
|
5312
5312
|
|
|
5313
|
-
var __defProp$
|
|
5314
|
-
var __defNormalProp$
|
|
5315
|
-
var __publicField$
|
|
5316
|
-
__defNormalProp$
|
|
5313
|
+
var __defProp$v = Object.defineProperty;
|
|
5314
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5315
|
+
var __publicField$v = (obj, key, value) => {
|
|
5316
|
+
__defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5317
5317
|
return value;
|
|
5318
5318
|
};
|
|
5319
5319
|
class FirstRunWizard {
|
|
5320
5320
|
constructor(page, instanceMeta) {
|
|
5321
|
-
__publicField$
|
|
5322
|
-
__publicField$
|
|
5323
|
-
__publicField$
|
|
5324
|
-
__publicField$
|
|
5325
|
-
__publicField$
|
|
5326
|
-
__publicField$
|
|
5327
|
-
__publicField$
|
|
5328
|
-
__publicField$
|
|
5329
|
-
__publicField$
|
|
5330
|
-
__publicField$
|
|
5331
|
-
__publicField$
|
|
5332
|
-
__publicField$
|
|
5333
|
-
__publicField$
|
|
5334
|
-
__publicField$
|
|
5335
|
-
__publicField$
|
|
5336
|
-
__publicField$
|
|
5337
|
-
__publicField$
|
|
5338
|
-
__publicField$
|
|
5339
|
-
__publicField$
|
|
5340
|
-
__publicField$
|
|
5341
|
-
__publicField$
|
|
5342
|
-
__publicField$
|
|
5343
|
-
__publicField$
|
|
5344
|
-
__publicField$
|
|
5321
|
+
__publicField$v(this, "nextButton");
|
|
5322
|
+
__publicField$v(this, "configureLaterButton");
|
|
5323
|
+
__publicField$v(this, "skipButton");
|
|
5324
|
+
__publicField$v(this, "finishButton");
|
|
5325
|
+
__publicField$v(this, "backButton");
|
|
5326
|
+
__publicField$v(this, "smtpServerButton");
|
|
5327
|
+
__publicField$v(this, "dataImportHeader");
|
|
5328
|
+
__publicField$v(this, "installLanguagePackButton");
|
|
5329
|
+
__publicField$v(this, "installDemoDataButton");
|
|
5330
|
+
__publicField$v(this, "installMigrationAssistantButton");
|
|
5331
|
+
__publicField$v(this, "defaultValuesHeader");
|
|
5332
|
+
__publicField$v(this, "mailerConfigurationHeader");
|
|
5333
|
+
__publicField$v(this, "payPalSetupHeader");
|
|
5334
|
+
__publicField$v(this, "extensionsHeader");
|
|
5335
|
+
__publicField$v(this, "shopwareAccountHeader");
|
|
5336
|
+
__publicField$v(this, "shopwareStoreHeader");
|
|
5337
|
+
__publicField$v(this, "doneHeader");
|
|
5338
|
+
__publicField$v(this, "frwSuccessText");
|
|
5339
|
+
__publicField$v(this, "welcomeText");
|
|
5340
|
+
__publicField$v(this, "pluginCardInfo");
|
|
5341
|
+
__publicField$v(this, "dataImportCard");
|
|
5342
|
+
__publicField$v(this, "salesChannelSelectionList");
|
|
5343
|
+
__publicField$v(this, "salesChannelSelectionMultiSelect");
|
|
5344
|
+
__publicField$v(this, "smtpServerTitle");
|
|
5345
5345
|
/**
|
|
5346
5346
|
* @deprecated - Use `smtpServerFieldInputs` instead.
|
|
5347
5347
|
*/
|
|
5348
|
-
__publicField$
|
|
5349
|
-
__publicField$
|
|
5350
|
-
__publicField$
|
|
5351
|
-
__publicField$
|
|
5352
|
-
__publicField$
|
|
5353
|
-
__publicField$
|
|
5354
|
-
__publicField$
|
|
5355
|
-
__publicField$
|
|
5356
|
-
__publicField$
|
|
5357
|
-
__publicField$
|
|
5358
|
-
__publicField$
|
|
5359
|
-
__publicField$
|
|
5360
|
-
__publicField$
|
|
5361
|
-
__publicField$
|
|
5362
|
-
__publicField$
|
|
5363
|
-
__publicField$
|
|
5364
|
-
__publicField$
|
|
5365
|
-
__publicField$
|
|
5366
|
-
__publicField$
|
|
5367
|
-
__publicField$
|
|
5368
|
-
__publicField$
|
|
5369
|
-
__publicField$
|
|
5370
|
-
__publicField$
|
|
5371
|
-
__publicField$
|
|
5372
|
-
__publicField$
|
|
5348
|
+
__publicField$v(this, "smtpServerFields");
|
|
5349
|
+
__publicField$v(this, "smtpServerFieldInputs");
|
|
5350
|
+
__publicField$v(this, "smtpServerHostInput");
|
|
5351
|
+
__publicField$v(this, "smtpServerPortInput");
|
|
5352
|
+
__publicField$v(this, "smtpServerUsernameInput");
|
|
5353
|
+
__publicField$v(this, "smtpServerPasswordInput");
|
|
5354
|
+
__publicField$v(this, "smtpServerEncryptionInput");
|
|
5355
|
+
__publicField$v(this, "smtpServerSenderAddressInput");
|
|
5356
|
+
__publicField$v(this, "smtpServerDeliveryAddressInput");
|
|
5357
|
+
__publicField$v(this, "smtpServerDisableEmailDeliveryCheckbox");
|
|
5358
|
+
__publicField$v(this, "payPalPaymethods");
|
|
5359
|
+
__publicField$v(this, "payPalInfoCard");
|
|
5360
|
+
__publicField$v(this, "emailAddressInputField");
|
|
5361
|
+
__publicField$v(this, "passwordInputField");
|
|
5362
|
+
__publicField$v(this, "forgotPasswordLink");
|
|
5363
|
+
__publicField$v(this, "extensionStoreHeading");
|
|
5364
|
+
__publicField$v(this, "documentationLink");
|
|
5365
|
+
__publicField$v(this, "forumLink");
|
|
5366
|
+
__publicField$v(this, "roadmapLink");
|
|
5367
|
+
__publicField$v(this, "germanRegionSelector");
|
|
5368
|
+
__publicField$v(this, "toolsSelector");
|
|
5369
|
+
__publicField$v(this, "recommendationHeader");
|
|
5370
|
+
__publicField$v(this, "toolsRecommendedPlugin");
|
|
5371
|
+
__publicField$v(this, "page");
|
|
5372
|
+
__publicField$v(this, "instanceMeta");
|
|
5373
5373
|
this.page = page;
|
|
5374
5374
|
this.instanceMeta = instanceMeta;
|
|
5375
5375
|
this.nextButton = page.getByText("Next", { exact: true });
|
|
@@ -5440,57 +5440,57 @@ async function getSelectFieldListitem(page, selectField, listItem, instanceMeta)
|
|
|
5440
5440
|
}
|
|
5441
5441
|
}
|
|
5442
5442
|
|
|
5443
|
-
var __defProp$
|
|
5444
|
-
var __defNormalProp$
|
|
5445
|
-
var __publicField$
|
|
5446
|
-
__defNormalProp$
|
|
5443
|
+
var __defProp$u = Object.defineProperty;
|
|
5444
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5445
|
+
var __publicField$u = (obj, key, value) => {
|
|
5446
|
+
__defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5447
5447
|
return value;
|
|
5448
5448
|
};
|
|
5449
5449
|
class FlowBuilderCreate {
|
|
5450
5450
|
constructor(page, instanceMeta) {
|
|
5451
5451
|
//header
|
|
5452
|
-
__publicField$
|
|
5453
|
-
__publicField$
|
|
5454
|
-
__publicField$
|
|
5452
|
+
__publicField$u(this, "saveButton");
|
|
5453
|
+
__publicField$u(this, "header");
|
|
5454
|
+
__publicField$u(this, "smartBarHeader");
|
|
5455
5455
|
//tabs
|
|
5456
|
-
__publicField$
|
|
5457
|
-
__publicField$
|
|
5456
|
+
__publicField$u(this, "generalTab");
|
|
5457
|
+
__publicField$u(this, "flowTab");
|
|
5458
5458
|
//../general
|
|
5459
|
-
__publicField$
|
|
5460
|
-
__publicField$
|
|
5461
|
-
__publicField$
|
|
5462
|
-
__publicField$
|
|
5459
|
+
__publicField$u(this, "nameField");
|
|
5460
|
+
__publicField$u(this, "descriptionField");
|
|
5461
|
+
__publicField$u(this, "priorityField");
|
|
5462
|
+
__publicField$u(this, "activeSwitch");
|
|
5463
5463
|
//../flow
|
|
5464
|
-
__publicField$
|
|
5465
|
-
__publicField$
|
|
5466
|
-
__publicField$
|
|
5467
|
-
__publicField$
|
|
5468
|
-
__publicField$
|
|
5469
|
-
__publicField$
|
|
5470
|
-
__publicField$
|
|
5471
|
-
__publicField$
|
|
5472
|
-
__publicField$
|
|
5473
|
-
__publicField$
|
|
5474
|
-
__publicField$
|
|
5475
|
-
__publicField$
|
|
5476
|
-
__publicField$
|
|
5477
|
-
__publicField$
|
|
5478
|
-
__publicField$
|
|
5479
|
-
__publicField$
|
|
5480
|
-
__publicField$
|
|
5481
|
-
__publicField$
|
|
5482
|
-
__publicField$
|
|
5483
|
-
__publicField$
|
|
5484
|
-
__publicField$
|
|
5485
|
-
__publicField$
|
|
5486
|
-
__publicField$
|
|
5487
|
-
__publicField$
|
|
5488
|
-
__publicField$
|
|
5489
|
-
__publicField$
|
|
5490
|
-
__publicField$
|
|
5491
|
-
__publicField$
|
|
5492
|
-
__publicField$
|
|
5493
|
-
__publicField$
|
|
5464
|
+
__publicField$u(this, "triggerSelectField");
|
|
5465
|
+
__publicField$u(this, "modalAddButton");
|
|
5466
|
+
__publicField$u(this, "sequenceSelectorConditionButton");
|
|
5467
|
+
__publicField$u(this, "conditionSelectField");
|
|
5468
|
+
__publicField$u(this, "sequenceSelectorActionButton");
|
|
5469
|
+
__publicField$u(this, "actionSelectField");
|
|
5470
|
+
__publicField$u(this, "selectFieldResultList");
|
|
5471
|
+
__publicField$u(this, "trueBlock");
|
|
5472
|
+
__publicField$u(this, "trueBlockAddConditionButton");
|
|
5473
|
+
__publicField$u(this, "trueBlockAddActionButton");
|
|
5474
|
+
__publicField$u(this, "trueBlockActionSelectField");
|
|
5475
|
+
__publicField$u(this, "trueBlockActionDescription");
|
|
5476
|
+
__publicField$u(this, "mailSendModal");
|
|
5477
|
+
__publicField$u(this, "mailSendModalTemplateSelectField");
|
|
5478
|
+
__publicField$u(this, "falseBlock");
|
|
5479
|
+
__publicField$u(this, "falseBlockAddConditionButton");
|
|
5480
|
+
__publicField$u(this, "falseBlockAddActionButton");
|
|
5481
|
+
__publicField$u(this, "falseBlockActionSelectField");
|
|
5482
|
+
__publicField$u(this, "falseBlockActionDescription");
|
|
5483
|
+
__publicField$u(this, "tagModal");
|
|
5484
|
+
__publicField$u(this, "tagModalTagsSelectField");
|
|
5485
|
+
__publicField$u(this, "delayCard");
|
|
5486
|
+
__publicField$u(this, "conditionRule");
|
|
5487
|
+
__publicField$u(this, "sequenceSeparator");
|
|
5488
|
+
__publicField$u(this, "addActionField");
|
|
5489
|
+
__publicField$u(this, "newFlowHeader");
|
|
5490
|
+
__publicField$u(this, "resultListItem");
|
|
5491
|
+
__publicField$u(this, "resultList");
|
|
5492
|
+
__publicField$u(this, "page");
|
|
5493
|
+
__publicField$u(this, "instanceMeta");
|
|
5494
5494
|
this.page = page;
|
|
5495
5495
|
this.instanceMeta = instanceMeta;
|
|
5496
5496
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
@@ -5546,29 +5546,29 @@ class FlowBuilderCreate {
|
|
|
5546
5546
|
}
|
|
5547
5547
|
}
|
|
5548
5548
|
|
|
5549
|
-
var __defProp$
|
|
5550
|
-
var __defNormalProp$
|
|
5551
|
-
var __publicField$
|
|
5552
|
-
__defNormalProp$
|
|
5549
|
+
var __defProp$t = Object.defineProperty;
|
|
5550
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5551
|
+
var __publicField$t = (obj, key, value) => {
|
|
5552
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5553
5553
|
return value;
|
|
5554
5554
|
};
|
|
5555
5555
|
class FlowBuilderListing {
|
|
5556
5556
|
constructor(page) {
|
|
5557
|
-
__publicField$
|
|
5558
|
-
__publicField$
|
|
5559
|
-
__publicField$
|
|
5560
|
-
__publicField$
|
|
5561
|
-
__publicField$
|
|
5562
|
-
__publicField$
|
|
5563
|
-
__publicField$
|
|
5564
|
-
__publicField$
|
|
5565
|
-
__publicField$
|
|
5566
|
-
__publicField$
|
|
5567
|
-
__publicField$
|
|
5568
|
-
__publicField$
|
|
5569
|
-
__publicField$
|
|
5570
|
-
__publicField$
|
|
5571
|
-
__publicField$
|
|
5557
|
+
__publicField$t(this, "createFlowButton");
|
|
5558
|
+
__publicField$t(this, "firstFlowName");
|
|
5559
|
+
__publicField$t(this, "firstFlowContextButton");
|
|
5560
|
+
__publicField$t(this, "flowContextMenu");
|
|
5561
|
+
__publicField$t(this, "contextMenuDownload");
|
|
5562
|
+
__publicField$t(this, "contextMenuDuplicate");
|
|
5563
|
+
__publicField$t(this, "contextMenuEdit");
|
|
5564
|
+
__publicField$t(this, "contextMenuDelete");
|
|
5565
|
+
__publicField$t(this, "flowDownloadModal");
|
|
5566
|
+
__publicField$t(this, "downloadFlowButton");
|
|
5567
|
+
__publicField$t(this, "flowDeleteButton");
|
|
5568
|
+
__publicField$t(this, "successAlert");
|
|
5569
|
+
__publicField$t(this, "successAlertMessage");
|
|
5570
|
+
__publicField$t(this, "searchBar");
|
|
5571
|
+
__publicField$t(this, "page");
|
|
5572
5572
|
this.page = page;
|
|
5573
5573
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
5574
5574
|
this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
|
|
@@ -5632,24 +5632,24 @@ async function getTooltipText(page, tooltipArea) {
|
|
|
5632
5632
|
return await tooltipContent.innerText();
|
|
5633
5633
|
}
|
|
5634
5634
|
|
|
5635
|
-
var __defProp$
|
|
5636
|
-
var __defNormalProp$
|
|
5637
|
-
var __publicField$
|
|
5638
|
-
__defNormalProp$
|
|
5635
|
+
var __defProp$s = Object.defineProperty;
|
|
5636
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5637
|
+
var __publicField$s = (obj, key, value) => {
|
|
5638
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5639
5639
|
return value;
|
|
5640
5640
|
};
|
|
5641
5641
|
class FlowBuilderDetail extends FlowBuilderCreate {
|
|
5642
5642
|
constructor(page, instanceMeta) {
|
|
5643
5643
|
super(page, instanceMeta);
|
|
5644
|
-
__publicField$
|
|
5645
|
-
__publicField$
|
|
5646
|
-
__publicField$
|
|
5647
|
-
__publicField$
|
|
5648
|
-
__publicField$
|
|
5649
|
-
__publicField$
|
|
5650
|
-
__publicField$
|
|
5651
|
-
__publicField$
|
|
5652
|
-
__publicField$
|
|
5644
|
+
__publicField$s(this, "saveButtonLoader");
|
|
5645
|
+
__publicField$s(this, "saveButton");
|
|
5646
|
+
__publicField$s(this, "generalTab");
|
|
5647
|
+
__publicField$s(this, "flowTab");
|
|
5648
|
+
__publicField$s(this, "alertWarning");
|
|
5649
|
+
__publicField$s(this, "templateName");
|
|
5650
|
+
__publicField$s(this, "alertMessage");
|
|
5651
|
+
__publicField$s(this, "successMessage");
|
|
5652
|
+
__publicField$s(this, "actionContentTag");
|
|
5653
5653
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
5654
5654
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
5655
5655
|
this.successMessage = page.locator(".sw-alert__title");
|
|
@@ -5678,21 +5678,21 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5678
5678
|
}
|
|
5679
5679
|
}
|
|
5680
5680
|
|
|
5681
|
-
var __defProp$
|
|
5682
|
-
var __defNormalProp$
|
|
5683
|
-
var __publicField$
|
|
5684
|
-
__defNormalProp$
|
|
5681
|
+
var __defProp$r = Object.defineProperty;
|
|
5682
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5683
|
+
var __publicField$r = (obj, key, value) => {
|
|
5684
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5685
5685
|
return value;
|
|
5686
5686
|
};
|
|
5687
5687
|
class DataSharing {
|
|
5688
5688
|
constructor(page, instanceMeta) {
|
|
5689
|
-
__publicField$
|
|
5690
|
-
__publicField$
|
|
5691
|
-
__publicField$
|
|
5692
|
-
__publicField$
|
|
5693
|
-
__publicField$
|
|
5694
|
-
__publicField$
|
|
5695
|
-
__publicField$
|
|
5689
|
+
__publicField$r(this, "dataConsentHeadline");
|
|
5690
|
+
__publicField$r(this, "dataSharingSuccessMessageLabel");
|
|
5691
|
+
__publicField$r(this, "dataSharingAgreeButton");
|
|
5692
|
+
__publicField$r(this, "dataSharingDisableButton");
|
|
5693
|
+
__publicField$r(this, "dataSharingTermsAgreementLabel");
|
|
5694
|
+
__publicField$r(this, "page");
|
|
5695
|
+
__publicField$r(this, "instanceMeta");
|
|
5696
5696
|
this.page = page;
|
|
5697
5697
|
this.instanceMeta = instanceMeta;
|
|
5698
5698
|
if (satisfies(instanceMeta.version, "<6.6.1")) {
|
|
@@ -5713,37 +5713,37 @@ class DataSharing {
|
|
|
5713
5713
|
}
|
|
5714
5714
|
}
|
|
5715
5715
|
|
|
5716
|
-
var __defProp$
|
|
5717
|
-
var __defNormalProp$
|
|
5718
|
-
var __publicField$
|
|
5719
|
-
__defNormalProp$
|
|
5716
|
+
var __defProp$q = Object.defineProperty;
|
|
5717
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5718
|
+
var __publicField$q = (obj, key, value) => {
|
|
5719
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5720
5720
|
return value;
|
|
5721
5721
|
};
|
|
5722
5722
|
class Dashboard {
|
|
5723
5723
|
constructor(page) {
|
|
5724
|
-
__publicField$
|
|
5725
|
-
__publicField$
|
|
5726
|
-
__publicField$
|
|
5727
|
-
__publicField$
|
|
5728
|
-
__publicField$
|
|
5729
|
-
__publicField$
|
|
5730
|
-
__publicField$
|
|
5731
|
-
__publicField$
|
|
5732
|
-
__publicField$
|
|
5733
|
-
__publicField$
|
|
5734
|
-
__publicField$
|
|
5735
|
-
__publicField$
|
|
5736
|
-
__publicField$
|
|
5737
|
-
__publicField$
|
|
5738
|
-
__publicField$
|
|
5739
|
-
__publicField$
|
|
5740
|
-
__publicField$
|
|
5741
|
-
__publicField$
|
|
5742
|
-
__publicField$
|
|
5743
|
-
__publicField$
|
|
5744
|
-
__publicField$
|
|
5745
|
-
__publicField$
|
|
5746
|
-
__publicField$
|
|
5724
|
+
__publicField$q(this, "contentView");
|
|
5725
|
+
__publicField$q(this, "adminMenuView");
|
|
5726
|
+
__publicField$q(this, "adminMenuCatalog");
|
|
5727
|
+
__publicField$q(this, "adminMenuOrder");
|
|
5728
|
+
__publicField$q(this, "adminMenuCustomer");
|
|
5729
|
+
__publicField$q(this, "adminMenuContent");
|
|
5730
|
+
__publicField$q(this, "adminMenuMarketing");
|
|
5731
|
+
__publicField$q(this, "adminMenuExtension");
|
|
5732
|
+
__publicField$q(this, "adminMenuUserChevron");
|
|
5733
|
+
__publicField$q(this, "adminMenuUserIcon");
|
|
5734
|
+
__publicField$q(this, "adminMenuUserName");
|
|
5735
|
+
__publicField$q(this, "welcomeHeadline");
|
|
5736
|
+
__publicField$q(this, "welcomeMessage");
|
|
5737
|
+
__publicField$q(this, "dataSharingConsentBanner");
|
|
5738
|
+
__publicField$q(this, "dataSharingAgreeButton");
|
|
5739
|
+
__publicField$q(this, "dataSharingNotAtTheMomentButton");
|
|
5740
|
+
__publicField$q(this, "dataSharingTermsAgreementLabel");
|
|
5741
|
+
__publicField$q(this, "dataSharingSettingsLink");
|
|
5742
|
+
__publicField$q(this, "dataSharingAcceptMessageText");
|
|
5743
|
+
__publicField$q(this, "dataSharingNotAtTheMomentMessageText");
|
|
5744
|
+
__publicField$q(this, "statisticsDateRange");
|
|
5745
|
+
__publicField$q(this, "statisticsChart");
|
|
5746
|
+
__publicField$q(this, "page");
|
|
5747
5747
|
this.page = page;
|
|
5748
5748
|
this.adminMenuView = page.locator(".sw-admin-menu");
|
|
5749
5749
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -5773,25 +5773,25 @@ class Dashboard {
|
|
|
5773
5773
|
}
|
|
5774
5774
|
}
|
|
5775
5775
|
|
|
5776
|
-
var __defProp$
|
|
5777
|
-
var __defNormalProp$
|
|
5778
|
-
var __publicField$
|
|
5779
|
-
__defNormalProp$
|
|
5776
|
+
var __defProp$p = Object.defineProperty;
|
|
5777
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5778
|
+
var __publicField$p = (obj, key, value) => {
|
|
5779
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5780
5780
|
return value;
|
|
5781
5781
|
};
|
|
5782
5782
|
class ShippingListing {
|
|
5783
5783
|
constructor(page) {
|
|
5784
|
-
__publicField$
|
|
5785
|
-
__publicField$
|
|
5786
|
-
__publicField$
|
|
5787
|
-
__publicField$
|
|
5788
|
-
__publicField$
|
|
5784
|
+
__publicField$p(this, "header");
|
|
5785
|
+
__publicField$p(this, "addShippingMethod");
|
|
5786
|
+
__publicField$p(this, "contextMenu");
|
|
5787
|
+
__publicField$p(this, "editButton");
|
|
5788
|
+
__publicField$p(this, "deleteButton");
|
|
5789
5789
|
//warning modal
|
|
5790
|
-
__publicField$
|
|
5791
|
-
__publicField$
|
|
5792
|
-
__publicField$
|
|
5793
|
-
__publicField$
|
|
5794
|
-
__publicField$
|
|
5790
|
+
__publicField$p(this, "modal");
|
|
5791
|
+
__publicField$p(this, "modalHeader");
|
|
5792
|
+
__publicField$p(this, "modalCancelButton");
|
|
5793
|
+
__publicField$p(this, "modalDeleteButton");
|
|
5794
|
+
__publicField$p(this, "page");
|
|
5795
5795
|
this.page = page;
|
|
5796
5796
|
this.header = page.locator(".smart-bar__header");
|
|
5797
5797
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
@@ -5808,19 +5808,19 @@ class ShippingListing {
|
|
|
5808
5808
|
}
|
|
5809
5809
|
}
|
|
5810
5810
|
|
|
5811
|
-
var __defProp$
|
|
5812
|
-
var __defNormalProp$
|
|
5813
|
-
var __publicField$
|
|
5814
|
-
__defNormalProp$
|
|
5811
|
+
var __defProp$o = Object.defineProperty;
|
|
5812
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5813
|
+
var __publicField$o = (obj, key, value) => {
|
|
5814
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5815
5815
|
return value;
|
|
5816
5816
|
};
|
|
5817
5817
|
class ShippingDetail {
|
|
5818
5818
|
constructor(page) {
|
|
5819
|
-
__publicField$
|
|
5820
|
-
__publicField$
|
|
5821
|
-
__publicField$
|
|
5822
|
-
__publicField$
|
|
5823
|
-
__publicField$
|
|
5819
|
+
__publicField$o(this, "header");
|
|
5820
|
+
__publicField$o(this, "nameField");
|
|
5821
|
+
__publicField$o(this, "availabilityRuleField");
|
|
5822
|
+
__publicField$o(this, "availabilityRuleListItem");
|
|
5823
|
+
__publicField$o(this, "page");
|
|
5824
5824
|
this.page = page;
|
|
5825
5825
|
this.header = page.locator(".smart-bar__header");
|
|
5826
5826
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
@@ -5835,19 +5835,19 @@ class ShippingDetail {
|
|
|
5835
5835
|
}
|
|
5836
5836
|
}
|
|
5837
5837
|
|
|
5838
|
-
var __defProp$
|
|
5839
|
-
var __defNormalProp$
|
|
5840
|
-
var __publicField$
|
|
5841
|
-
__defNormalProp$
|
|
5838
|
+
var __defProp$n = Object.defineProperty;
|
|
5839
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5840
|
+
var __publicField$n = (obj, key, value) => {
|
|
5841
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5842
5842
|
return value;
|
|
5843
5843
|
};
|
|
5844
5844
|
class PaymentDetail {
|
|
5845
5845
|
constructor(page) {
|
|
5846
|
-
__publicField$
|
|
5847
|
-
__publicField$
|
|
5848
|
-
__publicField$
|
|
5849
|
-
__publicField$
|
|
5850
|
-
__publicField$
|
|
5846
|
+
__publicField$n(this, "header");
|
|
5847
|
+
__publicField$n(this, "nameField");
|
|
5848
|
+
__publicField$n(this, "availabilityRuleField");
|
|
5849
|
+
__publicField$n(this, "availabilityRuleListItem");
|
|
5850
|
+
__publicField$n(this, "page");
|
|
5851
5851
|
this.page = page;
|
|
5852
5852
|
this.header = page.locator(".smart-bar__header");
|
|
5853
5853
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
@@ -5862,10 +5862,10 @@ class PaymentDetail {
|
|
|
5862
5862
|
}
|
|
5863
5863
|
}
|
|
5864
5864
|
|
|
5865
|
-
var __defProp$
|
|
5866
|
-
var __defNormalProp$
|
|
5867
|
-
var __publicField$
|
|
5868
|
-
__defNormalProp$
|
|
5865
|
+
var __defProp$m = Object.defineProperty;
|
|
5866
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5867
|
+
var __publicField$m = (obj, key, value) => {
|
|
5868
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5869
5869
|
return value;
|
|
5870
5870
|
};
|
|
5871
5871
|
class LandingPageCreate {
|
|
@@ -5873,25 +5873,25 @@ class LandingPageCreate {
|
|
|
5873
5873
|
/**
|
|
5874
5874
|
* General
|
|
5875
5875
|
*/
|
|
5876
|
-
__publicField$
|
|
5877
|
-
__publicField$
|
|
5878
|
-
__publicField$
|
|
5879
|
-
__publicField$
|
|
5880
|
-
__publicField$
|
|
5881
|
-
__publicField$
|
|
5882
|
-
__publicField$
|
|
5876
|
+
__publicField$m(this, "nameInput");
|
|
5877
|
+
__publicField$m(this, "landingPageStatus");
|
|
5878
|
+
__publicField$m(this, "salesChannelSelectionList");
|
|
5879
|
+
__publicField$m(this, "filtersResultPopoverItemList");
|
|
5880
|
+
__publicField$m(this, "saveLandingPageButton");
|
|
5881
|
+
__publicField$m(this, "loadingSpinner");
|
|
5882
|
+
__publicField$m(this, "seoUrlInput");
|
|
5883
5883
|
/**
|
|
5884
5884
|
* Layout
|
|
5885
5885
|
*/
|
|
5886
|
-
__publicField$
|
|
5887
|
-
__publicField$
|
|
5888
|
-
__publicField$
|
|
5889
|
-
__publicField$
|
|
5890
|
-
__publicField$
|
|
5891
|
-
__publicField$
|
|
5892
|
-
__publicField$
|
|
5893
|
-
__publicField$
|
|
5894
|
-
__publicField$
|
|
5886
|
+
__publicField$m(this, "layoutTab");
|
|
5887
|
+
__publicField$m(this, "assignLayoutButton");
|
|
5888
|
+
__publicField$m(this, "searchLayoutInput");
|
|
5889
|
+
__publicField$m(this, "layoutItems");
|
|
5890
|
+
__publicField$m(this, "layoutSaveButton");
|
|
5891
|
+
__publicField$m(this, "layoutEmptyState");
|
|
5892
|
+
__publicField$m(this, "createNewLayoutButton");
|
|
5893
|
+
__publicField$m(this, "layoutCheckboxes");
|
|
5894
|
+
__publicField$m(this, "page");
|
|
5895
5895
|
this.page = page;
|
|
5896
5896
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5897
5897
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
@@ -5917,10 +5917,10 @@ class LandingPageCreate {
|
|
|
5917
5917
|
}
|
|
5918
5918
|
}
|
|
5919
5919
|
|
|
5920
|
-
var __defProp$
|
|
5921
|
-
var __defNormalProp$
|
|
5922
|
-
var __publicField$
|
|
5923
|
-
__defNormalProp$
|
|
5920
|
+
var __defProp$l = Object.defineProperty;
|
|
5921
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5922
|
+
var __publicField$l = (obj, key, value) => {
|
|
5923
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5924
5924
|
return value;
|
|
5925
5925
|
};
|
|
5926
5926
|
class LandingPageDetail {
|
|
@@ -5928,25 +5928,25 @@ class LandingPageDetail {
|
|
|
5928
5928
|
/**
|
|
5929
5929
|
* General
|
|
5930
5930
|
*/
|
|
5931
|
-
__publicField$
|
|
5932
|
-
__publicField$
|
|
5933
|
-
__publicField$
|
|
5934
|
-
__publicField$
|
|
5935
|
-
__publicField$
|
|
5936
|
-
__publicField$
|
|
5937
|
-
__publicField$
|
|
5931
|
+
__publicField$l(this, "nameInput");
|
|
5932
|
+
__publicField$l(this, "landingPageStatus");
|
|
5933
|
+
__publicField$l(this, "salesChannelSelectionList");
|
|
5934
|
+
__publicField$l(this, "filtersResultPopoverItemList");
|
|
5935
|
+
__publicField$l(this, "saveLandingPageButton");
|
|
5936
|
+
__publicField$l(this, "loadingSpinner");
|
|
5937
|
+
__publicField$l(this, "seoUrlInput");
|
|
5938
5938
|
/**
|
|
5939
5939
|
* Layout
|
|
5940
5940
|
*/
|
|
5941
|
-
__publicField$
|
|
5942
|
-
__publicField$
|
|
5943
|
-
__publicField$
|
|
5944
|
-
__publicField$
|
|
5945
|
-
__publicField$
|
|
5946
|
-
__publicField$
|
|
5947
|
-
__publicField$
|
|
5948
|
-
__publicField$
|
|
5949
|
-
__publicField$
|
|
5941
|
+
__publicField$l(this, "layoutTab");
|
|
5942
|
+
__publicField$l(this, "layoutAssignmentCardTitle");
|
|
5943
|
+
__publicField$l(this, "layoutAssignmentCardHeadline");
|
|
5944
|
+
__publicField$l(this, "changeLayoutButton");
|
|
5945
|
+
__publicField$l(this, "editInDesignerButton");
|
|
5946
|
+
__publicField$l(this, "layoutResetButton");
|
|
5947
|
+
__publicField$l(this, "layoutAssignmentStatus");
|
|
5948
|
+
__publicField$l(this, "layoutAssignmentContentSection");
|
|
5949
|
+
__publicField$l(this, "page");
|
|
5950
5950
|
this.page = page;
|
|
5951
5951
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5952
5952
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
@@ -5971,10 +5971,10 @@ class LandingPageDetail {
|
|
|
5971
5971
|
}
|
|
5972
5972
|
}
|
|
5973
5973
|
|
|
5974
|
-
var __defProp$
|
|
5975
|
-
var __defNormalProp$
|
|
5976
|
-
var __publicField$
|
|
5977
|
-
__defNormalProp$
|
|
5974
|
+
var __defProp$k = Object.defineProperty;
|
|
5975
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5976
|
+
var __publicField$k = (obj, key, value) => {
|
|
5977
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5978
5978
|
return value;
|
|
5979
5979
|
};
|
|
5980
5980
|
class Categories {
|
|
@@ -5982,57 +5982,57 @@ class Categories {
|
|
|
5982
5982
|
/**
|
|
5983
5983
|
* Visual tests
|
|
5984
5984
|
*/
|
|
5985
|
-
__publicField$
|
|
5985
|
+
__publicField$k(this, "contentView");
|
|
5986
5986
|
/**
|
|
5987
5987
|
* Landing pages
|
|
5988
5988
|
*/
|
|
5989
|
-
__publicField$
|
|
5990
|
-
__publicField$
|
|
5991
|
-
__publicField$
|
|
5992
|
-
__publicField$
|
|
5989
|
+
__publicField$k(this, "landingPageArea");
|
|
5990
|
+
__publicField$k(this, "landingPageHeadline");
|
|
5991
|
+
__publicField$k(this, "addLandingPageButton");
|
|
5992
|
+
__publicField$k(this, "landingPageItems");
|
|
5993
5993
|
/**
|
|
5994
5994
|
* Category tree
|
|
5995
5995
|
*/
|
|
5996
|
-
__publicField$
|
|
5997
|
-
__publicField$
|
|
5998
|
-
__publicField$
|
|
5999
|
-
__publicField$
|
|
6000
|
-
__publicField$
|
|
6001
|
-
__publicField$
|
|
5996
|
+
__publicField$k(this, "categoryTree");
|
|
5997
|
+
__publicField$k(this, "categoryMenuItemList");
|
|
5998
|
+
__publicField$k(this, "createCategoryInput");
|
|
5999
|
+
__publicField$k(this, "confirmCategoryCreationButton");
|
|
6000
|
+
__publicField$k(this, "confirmCategoryCancelButton");
|
|
6001
|
+
__publicField$k(this, "categoryItems");
|
|
6002
6002
|
/**
|
|
6003
6003
|
* Tabs
|
|
6004
6004
|
*/
|
|
6005
|
-
__publicField$
|
|
6006
|
-
__publicField$
|
|
6007
|
-
__publicField$
|
|
6008
|
-
__publicField$
|
|
6005
|
+
__publicField$k(this, "generalTab");
|
|
6006
|
+
__publicField$k(this, "productsTab");
|
|
6007
|
+
__publicField$k(this, "layoutTab");
|
|
6008
|
+
__publicField$k(this, "seoTab");
|
|
6009
6009
|
/**
|
|
6010
6010
|
* General
|
|
6011
6011
|
*/
|
|
6012
|
-
__publicField$
|
|
6013
|
-
__publicField$
|
|
6014
|
-
__publicField$
|
|
6015
|
-
__publicField$
|
|
6016
|
-
__publicField$
|
|
6017
|
-
__publicField$
|
|
6018
|
-
__publicField$
|
|
6019
|
-
__publicField$
|
|
6020
|
-
__publicField$
|
|
6012
|
+
__publicField$k(this, "nameInput");
|
|
6013
|
+
__publicField$k(this, "activeCheckbox");
|
|
6014
|
+
__publicField$k(this, "categoryTypeSelectionList");
|
|
6015
|
+
__publicField$k(this, "filtersResultPopoverItemList");
|
|
6016
|
+
__publicField$k(this, "saveButton");
|
|
6017
|
+
__publicField$k(this, "loadingSpinner");
|
|
6018
|
+
__publicField$k(this, "fadingBar");
|
|
6019
|
+
__publicField$k(this, "configureHomePageButton");
|
|
6020
|
+
__publicField$k(this, "configureModalCancelButton");
|
|
6021
6021
|
/**
|
|
6022
6022
|
* Customisable link
|
|
6023
6023
|
*/
|
|
6024
|
-
__publicField$
|
|
6025
|
-
__publicField$
|
|
6026
|
-
__publicField$
|
|
6027
|
-
__publicField$
|
|
6028
|
-
__publicField$
|
|
6029
|
-
__publicField$
|
|
6030
|
-
__publicField$
|
|
6031
|
-
__publicField$
|
|
6032
|
-
__publicField$
|
|
6033
|
-
__publicField$
|
|
6034
|
-
__publicField$
|
|
6035
|
-
__publicField$
|
|
6024
|
+
__publicField$k(this, "entitySelectionList");
|
|
6025
|
+
__publicField$k(this, "linkTypeSelectionList");
|
|
6026
|
+
__publicField$k(this, "categorySelectionList");
|
|
6027
|
+
__publicField$k(this, "productSelectionList");
|
|
6028
|
+
__publicField$k(this, "landingPageSelectionList");
|
|
6029
|
+
__publicField$k(this, "filterResultPopoverTreeCheckboxItemList");
|
|
6030
|
+
__publicField$k(this, "openInNewTabCheckbox");
|
|
6031
|
+
__publicField$k(this, "popoverCategoryTree");
|
|
6032
|
+
__publicField$k(this, "categorySelectionListWrapper");
|
|
6033
|
+
__publicField$k(this, "productSelectionInput");
|
|
6034
|
+
__publicField$k(this, "page");
|
|
6035
|
+
__publicField$k(this, "instanceMeta");
|
|
6036
6036
|
this.page = page;
|
|
6037
6037
|
this.instanceMeta = instanceMeta;
|
|
6038
6038
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -6085,17 +6085,17 @@ class Categories {
|
|
|
6085
6085
|
}
|
|
6086
6086
|
}
|
|
6087
6087
|
|
|
6088
|
-
var __defProp$
|
|
6089
|
-
var __defNormalProp$
|
|
6090
|
-
var __publicField$
|
|
6091
|
-
__defNormalProp$
|
|
6088
|
+
var __defProp$j = Object.defineProperty;
|
|
6089
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6090
|
+
var __publicField$j = (obj, key, value) => {
|
|
6091
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6092
6092
|
return value;
|
|
6093
6093
|
};
|
|
6094
6094
|
class CustomFieldListing {
|
|
6095
6095
|
constructor(page) {
|
|
6096
|
-
__publicField$
|
|
6097
|
-
__publicField$
|
|
6098
|
-
__publicField$
|
|
6096
|
+
__publicField$j(this, "addNewSetButton");
|
|
6097
|
+
__publicField$j(this, "customFieldRows");
|
|
6098
|
+
__publicField$j(this, "page");
|
|
6099
6099
|
this.page = page;
|
|
6100
6100
|
this.addNewSetButton = page.getByText("Add new set");
|
|
6101
6101
|
this.customFieldRows = page.getByRole("row");
|
|
@@ -6124,22 +6124,22 @@ class CustomFieldListing {
|
|
|
6124
6124
|
}
|
|
6125
6125
|
}
|
|
6126
6126
|
|
|
6127
|
-
var __defProp$
|
|
6128
|
-
var __defNormalProp$
|
|
6129
|
-
var __publicField$
|
|
6130
|
-
__defNormalProp$
|
|
6127
|
+
var __defProp$i = Object.defineProperty;
|
|
6128
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6129
|
+
var __publicField$i = (obj, key, value) => {
|
|
6130
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6131
6131
|
return value;
|
|
6132
6132
|
};
|
|
6133
6133
|
class CustomFieldCreate {
|
|
6134
6134
|
constructor(page) {
|
|
6135
|
-
__publicField$
|
|
6136
|
-
__publicField$
|
|
6137
|
-
__publicField$
|
|
6138
|
-
__publicField$
|
|
6139
|
-
__publicField$
|
|
6140
|
-
__publicField$
|
|
6141
|
-
__publicField$
|
|
6142
|
-
__publicField$
|
|
6135
|
+
__publicField$i(this, "saveButton");
|
|
6136
|
+
__publicField$i(this, "cancelButton");
|
|
6137
|
+
__publicField$i(this, "technicalNameInput");
|
|
6138
|
+
__publicField$i(this, "positionInput");
|
|
6139
|
+
__publicField$i(this, "labelEnglishGBInput");
|
|
6140
|
+
__publicField$i(this, "assignToSelectionList");
|
|
6141
|
+
__publicField$i(this, "resultAssignToPopoverItemList");
|
|
6142
|
+
__publicField$i(this, "page");
|
|
6143
6143
|
this.page = page;
|
|
6144
6144
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6145
6145
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
@@ -6154,34 +6154,34 @@ class CustomFieldCreate {
|
|
|
6154
6154
|
}
|
|
6155
6155
|
}
|
|
6156
6156
|
|
|
6157
|
-
var __defProp$
|
|
6158
|
-
var __defNormalProp$
|
|
6159
|
-
var __publicField$
|
|
6160
|
-
__defNormalProp$
|
|
6157
|
+
var __defProp$h = Object.defineProperty;
|
|
6158
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6159
|
+
var __publicField$h = (obj, key, value) => {
|
|
6160
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6161
6161
|
return value;
|
|
6162
6162
|
};
|
|
6163
6163
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
6164
6164
|
constructor(page, instanceMeta) {
|
|
6165
6165
|
super(page);
|
|
6166
|
-
__publicField$
|
|
6167
|
-
__publicField$
|
|
6168
|
-
__publicField$
|
|
6169
|
-
__publicField$
|
|
6170
|
-
__publicField$
|
|
6171
|
-
__publicField$
|
|
6172
|
-
__publicField$
|
|
6173
|
-
__publicField$
|
|
6174
|
-
__publicField$
|
|
6175
|
-
__publicField$
|
|
6176
|
-
__publicField$
|
|
6177
|
-
__publicField$
|
|
6178
|
-
__publicField$
|
|
6179
|
-
__publicField$
|
|
6180
|
-
__publicField$
|
|
6181
|
-
__publicField$
|
|
6182
|
-
__publicField$
|
|
6183
|
-
__publicField$
|
|
6184
|
-
__publicField$
|
|
6166
|
+
__publicField$h(this, "newCustomFieldButton");
|
|
6167
|
+
__publicField$h(this, "customFieldEditDialog");
|
|
6168
|
+
__publicField$h(this, "newCustomFieldDialog");
|
|
6169
|
+
__publicField$h(this, "customFieldTechnicalNameInput");
|
|
6170
|
+
__publicField$h(this, "customFieldPositionInput");
|
|
6171
|
+
__publicField$h(this, "customFieldTypeSelectionList");
|
|
6172
|
+
__publicField$h(this, "customFieldModifyByStoreApiCheckbox");
|
|
6173
|
+
__publicField$h(this, "customFieldCancelButton");
|
|
6174
|
+
__publicField$h(this, "customFieldAddButton");
|
|
6175
|
+
__publicField$h(this, "customFieldEditApplyButton");
|
|
6176
|
+
__publicField$h(this, "customFieldLabelEnglishGBInput");
|
|
6177
|
+
__publicField$h(this, "customFieldPlaceholderEnglishGBInput");
|
|
6178
|
+
__publicField$h(this, "customFieldHelpTextEnglishGBInput");
|
|
6179
|
+
__publicField$h(this, "customFieldDeleteListButton");
|
|
6180
|
+
__publicField$h(this, "customFieldDeleteDialog");
|
|
6181
|
+
__publicField$h(this, "customFieldDeleteCancelButton");
|
|
6182
|
+
__publicField$h(this, "customFieldDeleteButton");
|
|
6183
|
+
__publicField$h(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
6184
|
+
__publicField$h(this, "instanceMeta");
|
|
6185
6185
|
this.instanceMeta = instanceMeta;
|
|
6186
6186
|
this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
|
|
6187
6187
|
this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
|
|
@@ -6235,21 +6235,21 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6235
6235
|
}
|
|
6236
6236
|
}
|
|
6237
6237
|
|
|
6238
|
-
var __defProp$
|
|
6239
|
-
var __defNormalProp$
|
|
6240
|
-
var __publicField$
|
|
6241
|
-
__defNormalProp$
|
|
6238
|
+
var __defProp$g = Object.defineProperty;
|
|
6239
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6240
|
+
var __publicField$g = (obj, key, value) => {
|
|
6241
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6242
6242
|
return value;
|
|
6243
6243
|
};
|
|
6244
6244
|
class CategoryDetail {
|
|
6245
6245
|
constructor(page, instanceMeta) {
|
|
6246
|
-
__publicField$
|
|
6247
|
-
__publicField$
|
|
6248
|
-
__publicField$
|
|
6249
|
-
__publicField$
|
|
6250
|
-
__publicField$
|
|
6251
|
-
__publicField$
|
|
6252
|
-
__publicField$
|
|
6246
|
+
__publicField$g(this, "saveButton");
|
|
6247
|
+
__publicField$g(this, "cancelButton");
|
|
6248
|
+
__publicField$g(this, "customFieldCard");
|
|
6249
|
+
__publicField$g(this, "customFieldSetTabs");
|
|
6250
|
+
__publicField$g(this, "customFieldSetTabCustomContent");
|
|
6251
|
+
__publicField$g(this, "page");
|
|
6252
|
+
__publicField$g(this, "instanceMeta");
|
|
6253
6253
|
this.page = page;
|
|
6254
6254
|
this.instanceMeta = instanceMeta;
|
|
6255
6255
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6284,24 +6284,24 @@ class CategoryDetail {
|
|
|
6284
6284
|
}
|
|
6285
6285
|
}
|
|
6286
6286
|
|
|
6287
|
-
var __defProp$
|
|
6288
|
-
var __defNormalProp$
|
|
6289
|
-
var __publicField$
|
|
6290
|
-
__defNormalProp$
|
|
6287
|
+
var __defProp$f = Object.defineProperty;
|
|
6288
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6289
|
+
var __publicField$f = (obj, key, value) => {
|
|
6290
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6291
6291
|
return value;
|
|
6292
6292
|
};
|
|
6293
6293
|
class RuleCreate {
|
|
6294
6294
|
constructor(page, instanceMeta) {
|
|
6295
|
-
__publicField$
|
|
6296
|
-
__publicField$
|
|
6297
|
-
__publicField$
|
|
6298
|
-
__publicField$
|
|
6299
|
-
__publicField$
|
|
6300
|
-
__publicField$
|
|
6301
|
-
__publicField$
|
|
6302
|
-
__publicField$
|
|
6303
|
-
__publicField$
|
|
6304
|
-
__publicField$
|
|
6295
|
+
__publicField$f(this, "nameInput");
|
|
6296
|
+
__publicField$f(this, "priorityInput");
|
|
6297
|
+
__publicField$f(this, "conditionTypeSelectionInput");
|
|
6298
|
+
__publicField$f(this, "conditionValueSelectionInput");
|
|
6299
|
+
__publicField$f(this, "filtersResultPopoverSelectionList");
|
|
6300
|
+
__publicField$f(this, "saveButton");
|
|
6301
|
+
__publicField$f(this, "cancelButton");
|
|
6302
|
+
__publicField$f(this, "valueNotAvailableTooltip");
|
|
6303
|
+
__publicField$f(this, "page");
|
|
6304
|
+
__publicField$f(this, "instanceMeta");
|
|
6305
6305
|
this.page = page;
|
|
6306
6306
|
this.instanceMeta = instanceMeta;
|
|
6307
6307
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -6321,33 +6321,33 @@ class RuleCreate {
|
|
|
6321
6321
|
}
|
|
6322
6322
|
}
|
|
6323
6323
|
|
|
6324
|
-
var __defProp$
|
|
6325
|
-
var __defNormalProp$
|
|
6326
|
-
var __publicField$
|
|
6327
|
-
__defNormalProp$
|
|
6324
|
+
var __defProp$e = Object.defineProperty;
|
|
6325
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6326
|
+
var __publicField$e = (obj, key, value) => {
|
|
6327
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6328
6328
|
return value;
|
|
6329
6329
|
};
|
|
6330
6330
|
class RuleDetail extends RuleCreate {
|
|
6331
6331
|
constructor(page, instanceMeta) {
|
|
6332
6332
|
super(page, instanceMeta);
|
|
6333
|
-
__publicField$
|
|
6334
|
-
__publicField$
|
|
6335
|
-
__publicField$
|
|
6336
|
-
__publicField$
|
|
6337
|
-
__publicField$
|
|
6338
|
-
__publicField$
|
|
6339
|
-
__publicField$
|
|
6340
|
-
__publicField$
|
|
6341
|
-
__publicField$
|
|
6342
|
-
__publicField$
|
|
6343
|
-
__publicField$
|
|
6344
|
-
__publicField$
|
|
6345
|
-
__publicField$
|
|
6346
|
-
__publicField$
|
|
6347
|
-
__publicField$
|
|
6348
|
-
__publicField$
|
|
6349
|
-
__publicField$
|
|
6350
|
-
__publicField$
|
|
6333
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCard");
|
|
6334
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardLink");
|
|
6335
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardTable");
|
|
6336
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardEmptyState");
|
|
6337
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardSearchField");
|
|
6338
|
+
__publicField$e(this, "taxProviderRulesCard");
|
|
6339
|
+
__publicField$e(this, "taxProviderRulesCardEmptyState");
|
|
6340
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCard");
|
|
6341
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCardEmptyState");
|
|
6342
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCardLink");
|
|
6343
|
+
__publicField$e(this, "promotionOrderRulesCard");
|
|
6344
|
+
__publicField$e(this, "promotionOrderRulesCardEmptyState");
|
|
6345
|
+
__publicField$e(this, "promotionCustomerRulesCard");
|
|
6346
|
+
__publicField$e(this, "promotionCustomerRulesCardEmptyState");
|
|
6347
|
+
__publicField$e(this, "promotionCartRulesCard");
|
|
6348
|
+
__publicField$e(this, "promotionCartRulesCardEmptyState");
|
|
6349
|
+
__publicField$e(this, "assignmentModalAddButton");
|
|
6350
|
+
__publicField$e(this, "assignmentModalSearchField");
|
|
6351
6351
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6352
6352
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
6353
6353
|
this.shippingMethodAvailabilityRulesCardTable = page.locator(".sw-settings-rule-detail-assignments__entity-listing-shipping_method_availability_rule");
|
|
@@ -6381,16 +6381,16 @@ class RuleDetail extends RuleCreate {
|
|
|
6381
6381
|
}
|
|
6382
6382
|
}
|
|
6383
6383
|
|
|
6384
|
-
var __defProp$
|
|
6385
|
-
var __defNormalProp$
|
|
6386
|
-
var __publicField$
|
|
6387
|
-
__defNormalProp$
|
|
6384
|
+
var __defProp$d = Object.defineProperty;
|
|
6385
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6386
|
+
var __publicField$d = (obj, key, value) => {
|
|
6387
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6388
6388
|
return value;
|
|
6389
6389
|
};
|
|
6390
6390
|
class RuleListing {
|
|
6391
6391
|
constructor(page) {
|
|
6392
|
-
__publicField$
|
|
6393
|
-
__publicField$
|
|
6392
|
+
__publicField$d(this, "createRuleButton");
|
|
6393
|
+
__publicField$d(this, "page");
|
|
6394
6394
|
this.page = page;
|
|
6395
6395
|
this.createRuleButton = page.getByText("Create rule");
|
|
6396
6396
|
}
|
|
@@ -6399,21 +6399,21 @@ class RuleListing {
|
|
|
6399
6399
|
}
|
|
6400
6400
|
}
|
|
6401
6401
|
|
|
6402
|
-
var __defProp$
|
|
6403
|
-
var __defNormalProp$
|
|
6404
|
-
var __publicField$
|
|
6405
|
-
__defNormalProp$
|
|
6402
|
+
var __defProp$c = Object.defineProperty;
|
|
6403
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6404
|
+
var __publicField$c = (obj, key, value) => {
|
|
6405
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6406
6406
|
return value;
|
|
6407
6407
|
};
|
|
6408
6408
|
class ManufacturerCreate {
|
|
6409
6409
|
constructor(page, instanceMeta) {
|
|
6410
|
-
__publicField$
|
|
6411
|
-
__publicField$
|
|
6412
|
-
__publicField$
|
|
6413
|
-
__publicField$
|
|
6414
|
-
__publicField$
|
|
6415
|
-
__publicField$
|
|
6416
|
-
__publicField$
|
|
6410
|
+
__publicField$c(this, "saveButton");
|
|
6411
|
+
__publicField$c(this, "cancelButton");
|
|
6412
|
+
__publicField$c(this, "nameInput");
|
|
6413
|
+
__publicField$c(this, "websiteInput");
|
|
6414
|
+
__publicField$c(this, "descriptionInput");
|
|
6415
|
+
__publicField$c(this, "page");
|
|
6416
|
+
__publicField$c(this, "instanceMeta");
|
|
6417
6417
|
this.page = page;
|
|
6418
6418
|
this.instanceMeta = instanceMeta;
|
|
6419
6419
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6431,17 +6431,17 @@ class ManufacturerCreate {
|
|
|
6431
6431
|
}
|
|
6432
6432
|
}
|
|
6433
6433
|
|
|
6434
|
-
var __defProp$
|
|
6435
|
-
var __defNormalProp$
|
|
6436
|
-
var __publicField$
|
|
6437
|
-
__defNormalProp$
|
|
6434
|
+
var __defProp$b = Object.defineProperty;
|
|
6435
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6436
|
+
var __publicField$b = (obj, key, value) => {
|
|
6437
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6438
6438
|
return value;
|
|
6439
6439
|
};
|
|
6440
6440
|
class ManufacturerListing {
|
|
6441
6441
|
constructor(page) {
|
|
6442
|
-
__publicField$
|
|
6443
|
-
__publicField$
|
|
6444
|
-
__publicField$
|
|
6442
|
+
__publicField$b(this, "addManufacturerButton");
|
|
6443
|
+
__publicField$b(this, "manufacturerRows");
|
|
6444
|
+
__publicField$b(this, "page");
|
|
6445
6445
|
this.page = page;
|
|
6446
6446
|
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
6447
6447
|
this.manufacturerRows = page.getByRole("row");
|
|
@@ -6474,18 +6474,18 @@ class ManufacturerListing {
|
|
|
6474
6474
|
}
|
|
6475
6475
|
}
|
|
6476
6476
|
|
|
6477
|
-
var __defProp$
|
|
6478
|
-
var __defNormalProp$
|
|
6479
|
-
var __publicField$
|
|
6480
|
-
__defNormalProp$
|
|
6477
|
+
var __defProp$a = Object.defineProperty;
|
|
6478
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6479
|
+
var __publicField$a = (obj, key, value) => {
|
|
6480
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6481
6481
|
return value;
|
|
6482
6482
|
};
|
|
6483
6483
|
class ManufacturerDetail extends ManufacturerCreate {
|
|
6484
6484
|
constructor(page, instanceMeta) {
|
|
6485
6485
|
super(page, instanceMeta);
|
|
6486
|
-
__publicField$
|
|
6487
|
-
__publicField$
|
|
6488
|
-
__publicField$
|
|
6486
|
+
__publicField$a(this, "customFieldCard");
|
|
6487
|
+
__publicField$a(this, "customFieldSetTabs");
|
|
6488
|
+
__publicField$a(this, "customFieldSetTabCustomContent");
|
|
6489
6489
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6490
6490
|
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
6491
6491
|
} else {
|
|
@@ -6513,10 +6513,10 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6513
6513
|
}
|
|
6514
6514
|
}
|
|
6515
6515
|
|
|
6516
|
-
var __defProp$
|
|
6517
|
-
var __defNormalProp$
|
|
6518
|
-
var __publicField$
|
|
6519
|
-
__defNormalProp$
|
|
6516
|
+
var __defProp$9 = Object.defineProperty;
|
|
6517
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6518
|
+
var __publicField$9 = (obj, key, value) => {
|
|
6519
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6520
6520
|
return value;
|
|
6521
6521
|
};
|
|
6522
6522
|
class ProductListing {
|
|
@@ -6524,14 +6524,14 @@ class ProductListing {
|
|
|
6524
6524
|
/**
|
|
6525
6525
|
* Multi selection
|
|
6526
6526
|
*/
|
|
6527
|
-
__publicField$
|
|
6528
|
-
__publicField$
|
|
6529
|
-
__publicField$
|
|
6527
|
+
__publicField$9(this, "productsTable");
|
|
6528
|
+
__publicField$9(this, "bulkEditButton");
|
|
6529
|
+
__publicField$9(this, "page");
|
|
6530
6530
|
/**
|
|
6531
6531
|
* Bulk edit modal
|
|
6532
6532
|
*/
|
|
6533
|
-
__publicField$
|
|
6534
|
-
__publicField$
|
|
6533
|
+
__publicField$9(this, "bulkEditModal");
|
|
6534
|
+
__publicField$9(this, "startBulkEditButton");
|
|
6535
6535
|
this.page = page;
|
|
6536
6536
|
this.productsTable = page.locator(".sw-data-grid__table");
|
|
6537
6537
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
@@ -6582,10 +6582,10 @@ class ProductListing {
|
|
|
6582
6582
|
}
|
|
6583
6583
|
}
|
|
6584
6584
|
|
|
6585
|
-
var __defProp$
|
|
6586
|
-
var __defNormalProp$
|
|
6587
|
-
var __publicField$
|
|
6588
|
-
__defNormalProp$
|
|
6585
|
+
var __defProp$8 = Object.defineProperty;
|
|
6586
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6587
|
+
var __publicField$8 = (obj, key, value) => {
|
|
6588
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6589
6589
|
return value;
|
|
6590
6590
|
};
|
|
6591
6591
|
class ProductBulkEdit {
|
|
@@ -6593,50 +6593,50 @@ class ProductBulkEdit {
|
|
|
6593
6593
|
/**
|
|
6594
6594
|
* Bulk edit values
|
|
6595
6595
|
*/
|
|
6596
|
-
__publicField$
|
|
6597
|
-
__publicField$
|
|
6598
|
-
__publicField$
|
|
6599
|
-
__publicField$
|
|
6600
|
-
__publicField$
|
|
6601
|
-
__publicField$
|
|
6602
|
-
__publicField$
|
|
6603
|
-
__publicField$
|
|
6604
|
-
__publicField$
|
|
6605
|
-
__publicField$
|
|
6606
|
-
__publicField$
|
|
6607
|
-
__publicField$
|
|
6608
|
-
__publicField$
|
|
6609
|
-
__publicField$
|
|
6610
|
-
__publicField$
|
|
6611
|
-
__publicField$
|
|
6612
|
-
__publicField$
|
|
6613
|
-
__publicField$
|
|
6614
|
-
__publicField$
|
|
6615
|
-
__publicField$
|
|
6616
|
-
__publicField$
|
|
6617
|
-
__publicField$
|
|
6618
|
-
__publicField$
|
|
6619
|
-
__publicField$
|
|
6620
|
-
__publicField$
|
|
6621
|
-
__publicField$
|
|
6622
|
-
__publicField$
|
|
6623
|
-
__publicField$
|
|
6624
|
-
__publicField$
|
|
6625
|
-
__publicField$
|
|
6626
|
-
__publicField$
|
|
6627
|
-
__publicField$
|
|
6628
|
-
__publicField$
|
|
6629
|
-
__publicField$
|
|
6630
|
-
__publicField$
|
|
6596
|
+
__publicField$8(this, "changeManufacturerRow");
|
|
6597
|
+
__publicField$8(this, "changeManufacturerCheckbox");
|
|
6598
|
+
__publicField$8(this, "manufacturerDropdown");
|
|
6599
|
+
__publicField$8(this, "manufacturerDropdownInput");
|
|
6600
|
+
__publicField$8(this, "manufacturerListResult");
|
|
6601
|
+
__publicField$8(this, "changeActiveRow");
|
|
6602
|
+
__publicField$8(this, "changeActiveCheckbox");
|
|
6603
|
+
__publicField$8(this, "activeToggle");
|
|
6604
|
+
__publicField$8(this, "changePriceRow");
|
|
6605
|
+
__publicField$8(this, "changePriceCheckbox");
|
|
6606
|
+
__publicField$8(this, "grossPriceInput");
|
|
6607
|
+
__publicField$8(this, "changeReleaseDateRow");
|
|
6608
|
+
__publicField$8(this, "changeReleaseDateCheckbox");
|
|
6609
|
+
__publicField$8(this, "releaseDateInput");
|
|
6610
|
+
__publicField$8(this, "changeStockRow");
|
|
6611
|
+
__publicField$8(this, "changeStockCheckbox");
|
|
6612
|
+
__publicField$8(this, "stockChangeMethodDropdown");
|
|
6613
|
+
__publicField$8(this, "stockChangeMethodInput");
|
|
6614
|
+
__publicField$8(this, "stockInput");
|
|
6615
|
+
__publicField$8(this, "changeRestockTimeRow");
|
|
6616
|
+
__publicField$8(this, "changeRestockTimeCheckbox");
|
|
6617
|
+
__publicField$8(this, "restockTimeChangeMethodDropdown");
|
|
6618
|
+
__publicField$8(this, "restockTimeChangeMethodInput");
|
|
6619
|
+
__publicField$8(this, "restockTimeInput");
|
|
6620
|
+
__publicField$8(this, "changeTagsRow");
|
|
6621
|
+
__publicField$8(this, "changeTagsCheckbox");
|
|
6622
|
+
__publicField$8(this, "tagsChangeMethodDropdown");
|
|
6623
|
+
__publicField$8(this, "tagsChangeMethodInput");
|
|
6624
|
+
__publicField$8(this, "tagsInput");
|
|
6625
|
+
__publicField$8(this, "changeSalesChannelRow");
|
|
6626
|
+
__publicField$8(this, "changeSalesChannelCheckbox");
|
|
6627
|
+
__publicField$8(this, "salesChannelChangeMethodDropdown");
|
|
6628
|
+
__publicField$8(this, "salesChannelChangeMethodInput");
|
|
6629
|
+
__publicField$8(this, "salesChannelInput");
|
|
6630
|
+
__publicField$8(this, "applyChangesButton");
|
|
6631
6631
|
/**
|
|
6632
6632
|
* Confirmation modal
|
|
6633
6633
|
*/
|
|
6634
|
-
__publicField$
|
|
6635
|
-
__publicField$
|
|
6636
|
-
__publicField$
|
|
6637
|
-
__publicField$
|
|
6638
|
-
__publicField$
|
|
6639
|
-
__publicField$
|
|
6634
|
+
__publicField$8(this, "confirmModal");
|
|
6635
|
+
__publicField$8(this, "confirmModalApplyChangesButton");
|
|
6636
|
+
__publicField$8(this, "confirmModalLoadingSpinner");
|
|
6637
|
+
__publicField$8(this, "confirmModalSuccessHeader");
|
|
6638
|
+
__publicField$8(this, "confirmModalSuccessCloseButton");
|
|
6639
|
+
__publicField$8(this, "page");
|
|
6640
6640
|
this.page = page;
|
|
6641
6641
|
this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
|
|
6642
6642
|
this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
|
|
@@ -6687,42 +6687,42 @@ class ProductBulkEdit {
|
|
|
6687
6687
|
}
|
|
6688
6688
|
}
|
|
6689
6689
|
|
|
6690
|
-
var __defProp$
|
|
6691
|
-
var __defNormalProp$
|
|
6692
|
-
var __publicField$
|
|
6693
|
-
__defNormalProp$
|
|
6690
|
+
var __defProp$7 = Object.defineProperty;
|
|
6691
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6692
|
+
var __publicField$7 = (obj, key, value) => {
|
|
6693
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6694
6694
|
return value;
|
|
6695
6695
|
};
|
|
6696
6696
|
class CustomerBulkEdit {
|
|
6697
6697
|
constructor(page) {
|
|
6698
6698
|
//General
|
|
6699
|
-
__publicField$
|
|
6700
|
-
__publicField$
|
|
6699
|
+
__publicField$7(this, "applyChangesButton");
|
|
6700
|
+
__publicField$7(this, "filtersResultPopoverItemList");
|
|
6701
6701
|
//Account
|
|
6702
|
-
__publicField$
|
|
6703
|
-
__publicField$
|
|
6704
|
-
__publicField$
|
|
6705
|
-
__publicField$
|
|
6706
|
-
__publicField$
|
|
6707
|
-
__publicField$
|
|
6708
|
-
__publicField$
|
|
6709
|
-
__publicField$
|
|
6702
|
+
__publicField$7(this, "changeCustomerGroupCheckbox");
|
|
6703
|
+
__publicField$7(this, "customerGroupInput");
|
|
6704
|
+
__publicField$7(this, "changeAccountStatusCheckbox");
|
|
6705
|
+
__publicField$7(this, "accountStatusInput");
|
|
6706
|
+
__publicField$7(this, "changeLanguageCheckbox");
|
|
6707
|
+
__publicField$7(this, "changeLanguageInput");
|
|
6708
|
+
__publicField$7(this, "replyToCustomerGroupRequest");
|
|
6709
|
+
__publicField$7(this, "replyToCustomerGroupRequestInput");
|
|
6710
6710
|
//Tags
|
|
6711
|
-
__publicField$
|
|
6712
|
-
__publicField$
|
|
6713
|
-
__publicField$
|
|
6711
|
+
__publicField$7(this, "changeTagsCheckbox");
|
|
6712
|
+
__publicField$7(this, "changeTypeSelect");
|
|
6713
|
+
__publicField$7(this, "enterTagsSelect");
|
|
6714
6714
|
//Custom fields
|
|
6715
|
-
__publicField$
|
|
6716
|
-
__publicField$
|
|
6717
|
-
__publicField$
|
|
6715
|
+
__publicField$7(this, "customFieldCheckbox");
|
|
6716
|
+
__publicField$7(this, "customFieldInput");
|
|
6717
|
+
__publicField$7(this, "customFieldArrowRightButton");
|
|
6718
6718
|
/**
|
|
6719
6719
|
* Confirmation modal
|
|
6720
6720
|
*/
|
|
6721
|
-
__publicField$
|
|
6722
|
-
__publicField$
|
|
6723
|
-
__publicField$
|
|
6724
|
-
__publicField$
|
|
6725
|
-
__publicField$
|
|
6721
|
+
__publicField$7(this, "confirmModal");
|
|
6722
|
+
__publicField$7(this, "confirmModalApplyChangesButton");
|
|
6723
|
+
__publicField$7(this, "confirmModalSuccessHeader");
|
|
6724
|
+
__publicField$7(this, "confirmModalSuccessCloseButton");
|
|
6725
|
+
__publicField$7(this, "page");
|
|
6726
6726
|
this.page = page;
|
|
6727
6727
|
this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
|
|
6728
6728
|
this.filtersResultPopoverItemList = page.locator(".sw-select-result-list__content").getByRole("listitem");
|
|
@@ -6765,17 +6765,17 @@ class CustomerBulkEdit {
|
|
|
6765
6765
|
}
|
|
6766
6766
|
}
|
|
6767
6767
|
|
|
6768
|
-
var __defProp$
|
|
6769
|
-
var __defNormalProp$
|
|
6770
|
-
var __publicField$
|
|
6771
|
-
__defNormalProp$
|
|
6768
|
+
var __defProp$6 = Object.defineProperty;
|
|
6769
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6770
|
+
var __publicField$6 = (obj, key, value) => {
|
|
6771
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6772
6772
|
return value;
|
|
6773
6773
|
};
|
|
6774
6774
|
class SettingsListing {
|
|
6775
6775
|
constructor(page) {
|
|
6776
|
-
__publicField$
|
|
6777
|
-
__publicField$
|
|
6778
|
-
__publicField$
|
|
6776
|
+
__publicField$6(this, "contentView");
|
|
6777
|
+
__publicField$6(this, "header");
|
|
6778
|
+
__publicField$6(this, "page");
|
|
6779
6779
|
this.page = page;
|
|
6780
6780
|
this.header = page.locator(".sw-settings__content-header");
|
|
6781
6781
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -6785,17 +6785,17 @@ class SettingsListing {
|
|
|
6785
6785
|
}
|
|
6786
6786
|
}
|
|
6787
6787
|
|
|
6788
|
-
var __defProp$
|
|
6789
|
-
var __defNormalProp$
|
|
6790
|
-
var __publicField$
|
|
6791
|
-
__defNormalProp$
|
|
6788
|
+
var __defProp$5 = Object.defineProperty;
|
|
6789
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6790
|
+
var __publicField$5 = (obj, key, value) => {
|
|
6791
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6792
6792
|
return value;
|
|
6793
6793
|
};
|
|
6794
6794
|
class DocumentListing {
|
|
6795
6795
|
constructor(page) {
|
|
6796
|
-
__publicField$
|
|
6797
|
-
__publicField$
|
|
6798
|
-
__publicField$
|
|
6796
|
+
__publicField$5(this, "addDocumentButton");
|
|
6797
|
+
__publicField$5(this, "invoiceLink");
|
|
6798
|
+
__publicField$5(this, "page");
|
|
6799
6799
|
this.page = page;
|
|
6800
6800
|
this.addDocumentButton = page.getByRole("button", { name: "Add document" });
|
|
6801
6801
|
this.invoiceLink = page.getByRole("link", { name: "invoice", exact: true });
|
|
@@ -6805,18 +6805,18 @@ class DocumentListing {
|
|
|
6805
6805
|
}
|
|
6806
6806
|
}
|
|
6807
6807
|
|
|
6808
|
-
var __defProp$
|
|
6809
|
-
var __defNormalProp$
|
|
6810
|
-
var __publicField$
|
|
6811
|
-
__defNormalProp$
|
|
6808
|
+
var __defProp$4 = Object.defineProperty;
|
|
6809
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6810
|
+
var __publicField$4 = (obj, key, value) => {
|
|
6811
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6812
6812
|
return value;
|
|
6813
6813
|
};
|
|
6814
6814
|
class DocumentDetail {
|
|
6815
6815
|
constructor(page) {
|
|
6816
|
-
__publicField$
|
|
6817
|
-
__publicField$
|
|
6818
|
-
__publicField$
|
|
6819
|
-
__publicField$
|
|
6816
|
+
__publicField$4(this, "showInAccountSwitch");
|
|
6817
|
+
__publicField$4(this, "saveButton");
|
|
6818
|
+
__publicField$4(this, "documentTypeSelect");
|
|
6819
|
+
__publicField$4(this, "page");
|
|
6820
6820
|
this.page = page;
|
|
6821
6821
|
this.showInAccountSwitch = page.getByRole("checkbox", { name: 'Display document in "My' });
|
|
6822
6822
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6827,6 +6827,194 @@ class DocumentDetail {
|
|
|
6827
6827
|
}
|
|
6828
6828
|
}
|
|
6829
6829
|
|
|
6830
|
+
var __defProp$3 = Object.defineProperty;
|
|
6831
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6832
|
+
var __publicField$3 = (obj, key, value) => {
|
|
6833
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6834
|
+
return value;
|
|
6835
|
+
};
|
|
6836
|
+
class PromotionsListing {
|
|
6837
|
+
constructor(page, instanceMeta) {
|
|
6838
|
+
__publicField$3(this, "instanceMeta");
|
|
6839
|
+
__publicField$3(this, "page");
|
|
6840
|
+
// SmartBar
|
|
6841
|
+
__publicField$3(this, "smartBar");
|
|
6842
|
+
__publicField$3(this, "smartBarHeader");
|
|
6843
|
+
__publicField$3(this, "languageSelect");
|
|
6844
|
+
__publicField$3(this, "smartBarAddPromotionButton");
|
|
6845
|
+
// Empty state locators
|
|
6846
|
+
__publicField$3(this, "emptyState");
|
|
6847
|
+
__publicField$3(this, "emptyStateAddPromotionButton");
|
|
6848
|
+
// Promotions table locators
|
|
6849
|
+
__publicField$3(this, "promotionsTable");
|
|
6850
|
+
// Sidebar
|
|
6851
|
+
__publicField$3(this, "sidebarRefreshButton");
|
|
6852
|
+
this.page = page;
|
|
6853
|
+
this.instanceMeta = instanceMeta;
|
|
6854
|
+
this.smartBar = page.locator(".smart-bar__content");
|
|
6855
|
+
this.smartBarHeader = this.smartBar.locator(".smart-bar__header");
|
|
6856
|
+
this.languageSelect = this.smartBar.locator(".sw-entity-single-select__selection");
|
|
6857
|
+
this.smartBarAddPromotionButton = this.smartBar.getByRole("button", { name: "Add promotion" });
|
|
6858
|
+
this.emptyState = page.locator(".sw-promotion-v2-empty-state-hero");
|
|
6859
|
+
this.emptyStateAddPromotionButton = this.emptyState.getByRole("button", { name: "Add promotion" });
|
|
6860
|
+
this.promotionsTable = page.locator(".sw-data-grid__table");
|
|
6861
|
+
this.sidebarRefreshButton = page.getByTitle("Refresh");
|
|
6862
|
+
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6863
|
+
this.smartBarAddPromotionButton = this.smartBar.getByRole("link", { name: "Add promotion" });
|
|
6864
|
+
this.emptyStateAddPromotionButton = this.emptyState.getByRole("link", { name: "Add promotion" });
|
|
6865
|
+
}
|
|
6866
|
+
}
|
|
6867
|
+
/**
|
|
6868
|
+
* Returns the url to the listing page.
|
|
6869
|
+
*
|
|
6870
|
+
* @param searchTerms - Includes search terms for filtering of the promotions list.
|
|
6871
|
+
*/
|
|
6872
|
+
url(searchTerms = []) {
|
|
6873
|
+
let url = "#/sw/promotion/v2/index";
|
|
6874
|
+
if (searchTerms.length > 0) {
|
|
6875
|
+
let tempTerm = "";
|
|
6876
|
+
for (const searchTerm of searchTerms) {
|
|
6877
|
+
if (tempTerm != "") {
|
|
6878
|
+
tempTerm += "+";
|
|
6879
|
+
}
|
|
6880
|
+
tempTerm += searchTerm;
|
|
6881
|
+
}
|
|
6882
|
+
url += `?limit=25&page=1&term=${tempTerm}`;
|
|
6883
|
+
}
|
|
6884
|
+
return url;
|
|
6885
|
+
}
|
|
6886
|
+
/**
|
|
6887
|
+
* Returns the table row containing the promotion with the given promotion name.
|
|
6888
|
+
*
|
|
6889
|
+
* @param promotionName - Promotion name you are looking for.
|
|
6890
|
+
*/
|
|
6891
|
+
async getPromotionRow(promotionName) {
|
|
6892
|
+
const promotionTableRow = this.promotionsTable.locator(".sw-data-grid__row", { hasText: promotionName });
|
|
6893
|
+
const selectionCheckbox = promotionTableRow.getByRole("checkbox");
|
|
6894
|
+
const promotionNameCell = promotionTableRow.locator(".sw-data-grid__cell--name");
|
|
6895
|
+
const promotionValidFrom = promotionTableRow.locator(".sw-data-grid__cell--validFrom");
|
|
6896
|
+
const promotionValidUntil = promotionTableRow.locator(".sw-data-grid__cell--validUntil");
|
|
6897
|
+
const promotionActive = promotionTableRow.locator(".is--active");
|
|
6898
|
+
const promotionInactive = promotionTableRow.locator(".is--inactive");
|
|
6899
|
+
const promotionContextButton = promotionTableRow.locator(".sw-context-button");
|
|
6900
|
+
const promotionContextMenu = ".sw-context-menu";
|
|
6901
|
+
const promotionContextMenuEdit = this.page.locator(promotionContextMenu).getByRole("link", { name: "Edit" });
|
|
6902
|
+
let promotionContextMenuDuplicate = this.page.locator(promotionContextMenu).getByRole("button", { name: "Duplicate" });
|
|
6903
|
+
let promotionContextMenuDelete = this.page.locator(promotionContextMenu).getByRole("button", { name: "Delete" });
|
|
6904
|
+
if (satisfies(this.instanceMeta.version, "<6.7")) {
|
|
6905
|
+
promotionContextMenuDuplicate = this.page.locator(promotionContextMenu).locator(".sw-context-menu-item", { hasText: "Duplicate" });
|
|
6906
|
+
promotionContextMenuDelete = this.page.locator(promotionContextMenu).locator(".sw-context-menu-item", { hasText: "Delete" });
|
|
6907
|
+
}
|
|
6908
|
+
return {
|
|
6909
|
+
selectionCheckbox,
|
|
6910
|
+
promotionName: promotionNameCell,
|
|
6911
|
+
promotionActive,
|
|
6912
|
+
promotionInactive,
|
|
6913
|
+
promotionValidFrom,
|
|
6914
|
+
promotionValidUntil,
|
|
6915
|
+
promotionContextButton,
|
|
6916
|
+
promotionContextMenuEditButton: promotionContextMenuEdit,
|
|
6917
|
+
promotionContextMenuDuplicateButton: promotionContextMenuDuplicate,
|
|
6918
|
+
promotionContextMenuDeleteButton: promotionContextMenuDelete
|
|
6919
|
+
};
|
|
6920
|
+
}
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6923
|
+
var __defProp$2 = Object.defineProperty;
|
|
6924
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6925
|
+
var __publicField$2 = (obj, key, value) => {
|
|
6926
|
+
__defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6927
|
+
return value;
|
|
6928
|
+
};
|
|
6929
|
+
class PromotionCreate {
|
|
6930
|
+
constructor(page, instanceMeta) {
|
|
6931
|
+
__publicField$2(this, "page");
|
|
6932
|
+
__publicField$2(this, "instanceMeta");
|
|
6933
|
+
// SmartBar
|
|
6934
|
+
__publicField$2(this, "smartBar");
|
|
6935
|
+
__publicField$2(this, "smartBarHeader");
|
|
6936
|
+
__publicField$2(this, "languageSelect");
|
|
6937
|
+
__publicField$2(this, "saveButton");
|
|
6938
|
+
__publicField$2(this, "cancelButton");
|
|
6939
|
+
// General
|
|
6940
|
+
__publicField$2(this, "generalCard");
|
|
6941
|
+
__publicField$2(this, "nameInput");
|
|
6942
|
+
__publicField$2(this, "priorityInput");
|
|
6943
|
+
this.page = page;
|
|
6944
|
+
this.instanceMeta = instanceMeta;
|
|
6945
|
+
this.smartBar = page.locator(".smart-bar__content");
|
|
6946
|
+
this.smartBarHeader = this.smartBar.locator(".smart-bar__header");
|
|
6947
|
+
this.languageSelect = this.smartBar.locator(".sw-entity-single-select__selection");
|
|
6948
|
+
this.saveButton = this.smartBar.getByRole("button", { name: "Save" });
|
|
6949
|
+
this.cancelButton = this.smartBar.getByRole("button", { name: "Cancel" });
|
|
6950
|
+
this.generalCard = page.locator(".sw-promotion-v2-detail-base__card-general");
|
|
6951
|
+
this.nameInput = this.generalCard.locator(".sw-promotion-v2-detail-base__field-name").getByRole("textbox");
|
|
6952
|
+
this.priorityInput = this.generalCard.getByLabel("Priority");
|
|
6953
|
+
}
|
|
6954
|
+
/**
|
|
6955
|
+
* Returns the url to the creation page.
|
|
6956
|
+
*/
|
|
6957
|
+
url() {
|
|
6958
|
+
return "#/sw/promotion/v2/create/base";
|
|
6959
|
+
}
|
|
6960
|
+
}
|
|
6961
|
+
|
|
6962
|
+
var __defProp$1 = Object.defineProperty;
|
|
6963
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6964
|
+
var __publicField$1 = (obj, key, value) => {
|
|
6965
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6966
|
+
return value;
|
|
6967
|
+
};
|
|
6968
|
+
class PromotionDetail extends PromotionCreate {
|
|
6969
|
+
constructor(page, instanceMeta) {
|
|
6970
|
+
super(page, instanceMeta);
|
|
6971
|
+
__publicField$1(this, "page");
|
|
6972
|
+
__publicField$1(this, "instanceMeta");
|
|
6973
|
+
// Tabs
|
|
6974
|
+
__publicField$1(this, "tabGeneralLink");
|
|
6975
|
+
__publicField$1(this, "tabConditionsLink");
|
|
6976
|
+
__publicField$1(this, "tabDiscountsLink");
|
|
6977
|
+
// General Tab
|
|
6978
|
+
__publicField$1(this, "promotionCodesCard");
|
|
6979
|
+
__publicField$1(this, "promotionCodesHeading");
|
|
6980
|
+
__publicField$1(this, "promotionCodesSelection");
|
|
6981
|
+
// Conditions Tab
|
|
6982
|
+
__publicField$1(this, "preConditionsCard");
|
|
6983
|
+
// Discounts Tab
|
|
6984
|
+
__publicField$1(this, "addDiscountButton");
|
|
6985
|
+
__publicField$1(this, "discountCards");
|
|
6986
|
+
this.page = page;
|
|
6987
|
+
this.instanceMeta = instanceMeta;
|
|
6988
|
+
this.tabGeneralLink = page.getByRole("tab", { name: "General" });
|
|
6989
|
+
this.tabConditionsLink = page.getByRole("tab", { name: "Conditions" });
|
|
6990
|
+
this.tabDiscountsLink = page.getByRole("tab", { name: "Discounts" });
|
|
6991
|
+
this.promotionCodesCard = page.locator(".sw-promotion-v2-detail-base__card-codes");
|
|
6992
|
+
this.promotionCodesHeading = this.promotionCodesCard.getByRole("heading", { name: "Promotion codes" });
|
|
6993
|
+
this.promotionCodesSelection = this.promotionCodesCard.locator(".mt-select__selection");
|
|
6994
|
+
this.preConditionsCard = page.locator(".mt-card__wrapper", { hasText: "Pre-conditions" });
|
|
6995
|
+
this.addDiscountButton = page.getByRole("button", { name: "Add discount" });
|
|
6996
|
+
this.discountCards = page.locator(".sw-promotion-detail-discounts__discount-list");
|
|
6997
|
+
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6998
|
+
this.promotionCodesHeading = this.promotionCodesCard.locator(".sw-card__title");
|
|
6999
|
+
this.promotionCodesSelection = this.promotionCodesCard.getByRole("combobox");
|
|
7000
|
+
this.preConditionsCard = page.locator(".sw-card-wrapper", { hasText: "Pre-conditions" });
|
|
7001
|
+
}
|
|
7002
|
+
}
|
|
7003
|
+
/**
|
|
7004
|
+
* Returns the url to the detail page.
|
|
7005
|
+
*
|
|
7006
|
+
* @param promotionId - Id of the promotion to show the details of.
|
|
7007
|
+
* @param tab - The tab to open. Defaults to 'general'. Other options are 'conditions' and 'discounts'.
|
|
7008
|
+
*/
|
|
7009
|
+
url(promotionId, tab = "general") {
|
|
7010
|
+
let tabString = "base";
|
|
7011
|
+
if (tab != "general") {
|
|
7012
|
+
tabString = tab;
|
|
7013
|
+
}
|
|
7014
|
+
return `#/sw/promotion/v2/detail/${promotionId}/${tabString}`;
|
|
7015
|
+
}
|
|
7016
|
+
}
|
|
7017
|
+
|
|
6830
7018
|
const AdminPageObjects = {
|
|
6831
7019
|
ProductDetail,
|
|
6832
7020
|
OrderDetail,
|
|
@@ -6863,7 +7051,10 @@ const AdminPageObjects = {
|
|
|
6863
7051
|
CustomerBulkEdit,
|
|
6864
7052
|
SettingsListing,
|
|
6865
7053
|
DocumentListing,
|
|
6866
|
-
DocumentDetail
|
|
7054
|
+
DocumentDetail,
|
|
7055
|
+
PromotionsListing,
|
|
7056
|
+
PromotionCreate,
|
|
7057
|
+
PromotionDetail
|
|
6867
7058
|
};
|
|
6868
7059
|
const test$6 = test$e.extend({
|
|
6869
7060
|
AdminProductDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
@@ -6973,6 +7164,15 @@ const test$6 = test$e.extend({
|
|
|
6973
7164
|
},
|
|
6974
7165
|
AdminDocumentDetail: async ({ AdminPage }, use) => {
|
|
6975
7166
|
await use(new DocumentDetail(AdminPage));
|
|
7167
|
+
},
|
|
7168
|
+
AdminPromotionsListing: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7169
|
+
await use(new PromotionsListing(AdminPage, InstanceMeta));
|
|
7170
|
+
},
|
|
7171
|
+
AdminPromotionCreate: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7172
|
+
await use(new PromotionCreate(AdminPage, InstanceMeta));
|
|
7173
|
+
},
|
|
7174
|
+
AdminPromotionDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7175
|
+
await use(new PromotionDetail(AdminPage, InstanceMeta));
|
|
6976
7176
|
}
|
|
6977
7177
|
});
|
|
6978
7178
|
|