@shopware-ag/acceptance-test-suite 11.20.1 → 11.22.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/README.md +2 -852
- package/dist/index.d.mts +86 -4
- package/dist/index.d.ts +86 -4
- package/dist/index.mjs +1330 -1116
- 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,59 +5440,61 @@ 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
|
+
__publicField$u(this, "contentView");
|
|
5451
5452
|
//header
|
|
5452
|
-
__publicField$
|
|
5453
|
-
__publicField$
|
|
5454
|
-
__publicField$
|
|
5453
|
+
__publicField$u(this, "saveButton");
|
|
5454
|
+
__publicField$u(this, "header");
|
|
5455
|
+
__publicField$u(this, "smartBarHeader");
|
|
5455
5456
|
//tabs
|
|
5456
|
-
__publicField$
|
|
5457
|
-
__publicField$
|
|
5457
|
+
__publicField$u(this, "generalTab");
|
|
5458
|
+
__publicField$u(this, "flowTab");
|
|
5458
5459
|
//../general
|
|
5459
|
-
__publicField$
|
|
5460
|
-
__publicField$
|
|
5461
|
-
__publicField$
|
|
5462
|
-
__publicField$
|
|
5460
|
+
__publicField$u(this, "nameField");
|
|
5461
|
+
__publicField$u(this, "descriptionField");
|
|
5462
|
+
__publicField$u(this, "priorityField");
|
|
5463
|
+
__publicField$u(this, "activeSwitch");
|
|
5463
5464
|
//../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$
|
|
5465
|
+
__publicField$u(this, "triggerSelectField");
|
|
5466
|
+
__publicField$u(this, "modalAddButton");
|
|
5467
|
+
__publicField$u(this, "sequenceSelectorConditionButton");
|
|
5468
|
+
__publicField$u(this, "conditionSelectField");
|
|
5469
|
+
__publicField$u(this, "sequenceSelectorActionButton");
|
|
5470
|
+
__publicField$u(this, "actionSelectField");
|
|
5471
|
+
__publicField$u(this, "selectFieldResultList");
|
|
5472
|
+
__publicField$u(this, "trueBlock");
|
|
5473
|
+
__publicField$u(this, "trueBlockAddConditionButton");
|
|
5474
|
+
__publicField$u(this, "trueBlockAddActionButton");
|
|
5475
|
+
__publicField$u(this, "trueBlockActionSelectField");
|
|
5476
|
+
__publicField$u(this, "trueBlockActionDescription");
|
|
5477
|
+
__publicField$u(this, "mailSendModal");
|
|
5478
|
+
__publicField$u(this, "mailSendModalTemplateSelectField");
|
|
5479
|
+
__publicField$u(this, "falseBlock");
|
|
5480
|
+
__publicField$u(this, "falseBlockAddConditionButton");
|
|
5481
|
+
__publicField$u(this, "falseBlockAddActionButton");
|
|
5482
|
+
__publicField$u(this, "falseBlockActionSelectField");
|
|
5483
|
+
__publicField$u(this, "falseBlockActionDescription");
|
|
5484
|
+
__publicField$u(this, "tagModal");
|
|
5485
|
+
__publicField$u(this, "tagModalTagsSelectField");
|
|
5486
|
+
__publicField$u(this, "delayCard");
|
|
5487
|
+
__publicField$u(this, "conditionRule");
|
|
5488
|
+
__publicField$u(this, "sequenceSeparator");
|
|
5489
|
+
__publicField$u(this, "addActionField");
|
|
5490
|
+
__publicField$u(this, "newFlowHeader");
|
|
5491
|
+
__publicField$u(this, "resultListItem");
|
|
5492
|
+
__publicField$u(this, "resultList");
|
|
5493
|
+
__publicField$u(this, "page");
|
|
5494
|
+
__publicField$u(this, "instanceMeta");
|
|
5494
5495
|
this.page = page;
|
|
5495
5496
|
this.instanceMeta = instanceMeta;
|
|
5497
|
+
this.contentView = page.locator(".sw-desktop__content");
|
|
5496
5498
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
5497
5499
|
this.header = page.locator("h2");
|
|
5498
5500
|
this.smartBarHeader = page.locator(".smart-bar__header");
|
|
@@ -5546,30 +5548,35 @@ class FlowBuilderCreate {
|
|
|
5546
5548
|
}
|
|
5547
5549
|
}
|
|
5548
5550
|
|
|
5549
|
-
var __defProp$
|
|
5550
|
-
var __defNormalProp$
|
|
5551
|
-
var __publicField$
|
|
5552
|
-
__defNormalProp$
|
|
5551
|
+
var __defProp$t = Object.defineProperty;
|
|
5552
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5553
|
+
var __publicField$t = (obj, key, value) => {
|
|
5554
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5553
5555
|
return value;
|
|
5554
5556
|
};
|
|
5555
5557
|
class FlowBuilderListing {
|
|
5556
5558
|
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$
|
|
5559
|
+
__publicField$t(this, "page");
|
|
5560
|
+
__publicField$t(this, "contentView");
|
|
5561
|
+
__publicField$t(this, "createFlowButton");
|
|
5562
|
+
__publicField$t(this, "firstFlowName");
|
|
5563
|
+
__publicField$t(this, "firstFlowContextButton");
|
|
5564
|
+
__publicField$t(this, "flowContextMenu");
|
|
5565
|
+
__publicField$t(this, "contextMenuDownload");
|
|
5566
|
+
__publicField$t(this, "contextMenuDuplicate");
|
|
5567
|
+
__publicField$t(this, "contextMenuEdit");
|
|
5568
|
+
__publicField$t(this, "contextMenuDelete");
|
|
5569
|
+
__publicField$t(this, "flowDownloadModal");
|
|
5570
|
+
__publicField$t(this, "downloadFlowButton");
|
|
5571
|
+
__publicField$t(this, "flowDeleteButton");
|
|
5572
|
+
__publicField$t(this, "successAlert");
|
|
5573
|
+
__publicField$t(this, "successAlertMessage");
|
|
5574
|
+
__publicField$t(this, "searchBar");
|
|
5575
|
+
__publicField$t(this, "pagination");
|
|
5576
|
+
__publicField$t(this, "testFlowNameCells");
|
|
5577
|
+
__publicField$t(this, "flowTemplatesTab");
|
|
5572
5578
|
this.page = page;
|
|
5579
|
+
this.contentView = page.locator(".sw-desktop__content");
|
|
5573
5580
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
5574
5581
|
this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
|
|
5575
5582
|
this.firstFlowContextButton = page.locator(".sw-data-grid__actions-menu").first();
|
|
@@ -5584,9 +5591,12 @@ class FlowBuilderListing {
|
|
|
5584
5591
|
this.successAlert = page.locator(".sw-alert__body");
|
|
5585
5592
|
this.successAlertMessage = page.locator(".sw-alert__message");
|
|
5586
5593
|
this.searchBar = page.locator(".sw-search-bar__input");
|
|
5594
|
+
this.pagination = page.locator(".sw-pagination");
|
|
5595
|
+
this.testFlowNameCells = page.locator(".sw-data-grid__cell--name a").getByText("Test flow");
|
|
5596
|
+
this.flowTemplatesTab = page.locator(".sw-tabs-item").getByText("Flow templates");
|
|
5587
5597
|
}
|
|
5588
|
-
url() {
|
|
5589
|
-
return
|
|
5598
|
+
url(tabName = "flows") {
|
|
5599
|
+
return `#/sw/flow/index/${tabName}`;
|
|
5590
5600
|
}
|
|
5591
5601
|
async getLineItemByFlowName(flowName) {
|
|
5592
5602
|
const lineItem = this.page.locator(".sw-data-grid__row").filter({ hasText: flowName });
|
|
@@ -5632,24 +5642,26 @@ async function getTooltipText(page, tooltipArea) {
|
|
|
5632
5642
|
return await tooltipContent.innerText();
|
|
5633
5643
|
}
|
|
5634
5644
|
|
|
5635
|
-
var __defProp$
|
|
5636
|
-
var __defNormalProp$
|
|
5637
|
-
var __publicField$
|
|
5638
|
-
__defNormalProp$
|
|
5645
|
+
var __defProp$s = Object.defineProperty;
|
|
5646
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5647
|
+
var __publicField$s = (obj, key, value) => {
|
|
5648
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5639
5649
|
return value;
|
|
5640
5650
|
};
|
|
5641
5651
|
class FlowBuilderDetail extends FlowBuilderCreate {
|
|
5642
5652
|
constructor(page, instanceMeta) {
|
|
5643
5653
|
super(page, instanceMeta);
|
|
5644
|
-
__publicField$
|
|
5645
|
-
__publicField$
|
|
5646
|
-
__publicField$
|
|
5647
|
-
__publicField$
|
|
5648
|
-
__publicField$
|
|
5649
|
-
__publicField$
|
|
5650
|
-
__publicField$
|
|
5651
|
-
__publicField$
|
|
5652
|
-
__publicField$
|
|
5654
|
+
__publicField$s(this, "saveButtonLoader");
|
|
5655
|
+
__publicField$s(this, "saveButton");
|
|
5656
|
+
__publicField$s(this, "generalTab");
|
|
5657
|
+
__publicField$s(this, "flowTab");
|
|
5658
|
+
__publicField$s(this, "alertWarning");
|
|
5659
|
+
__publicField$s(this, "templateName");
|
|
5660
|
+
__publicField$s(this, "alertMessage");
|
|
5661
|
+
__publicField$s(this, "successMessage");
|
|
5662
|
+
__publicField$s(this, "actionContentTag");
|
|
5663
|
+
__publicField$s(this, "skeletonLoader");
|
|
5664
|
+
__publicField$s(this, "messageClose");
|
|
5653
5665
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
5654
5666
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
5655
5667
|
this.successMessage = page.locator(".sw-alert__title");
|
|
@@ -5666,6 +5678,8 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5666
5678
|
this.flowTab = page.locator(".sw-flow-detail__tab-flow");
|
|
5667
5679
|
this.templateName = page.getByLabel("Name");
|
|
5668
5680
|
this.actionContentTag = page.locator(".sw-flow-sequence-action__content").locator(".tag");
|
|
5681
|
+
this.skeletonLoader = page.locator(".sw-skeleton");
|
|
5682
|
+
this.messageClose = page.locator(".mt-banner__close");
|
|
5669
5683
|
}
|
|
5670
5684
|
url(flowId, tabName = "general") {
|
|
5671
5685
|
if (!flowId || flowId === "") {
|
|
@@ -5678,21 +5692,21 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5678
5692
|
}
|
|
5679
5693
|
}
|
|
5680
5694
|
|
|
5681
|
-
var __defProp$
|
|
5682
|
-
var __defNormalProp$
|
|
5683
|
-
var __publicField$
|
|
5684
|
-
__defNormalProp$
|
|
5695
|
+
var __defProp$r = Object.defineProperty;
|
|
5696
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5697
|
+
var __publicField$r = (obj, key, value) => {
|
|
5698
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5685
5699
|
return value;
|
|
5686
5700
|
};
|
|
5687
5701
|
class DataSharing {
|
|
5688
5702
|
constructor(page, instanceMeta) {
|
|
5689
|
-
__publicField$
|
|
5690
|
-
__publicField$
|
|
5691
|
-
__publicField$
|
|
5692
|
-
__publicField$
|
|
5693
|
-
__publicField$
|
|
5694
|
-
__publicField$
|
|
5695
|
-
__publicField$
|
|
5703
|
+
__publicField$r(this, "dataConsentHeadline");
|
|
5704
|
+
__publicField$r(this, "dataSharingSuccessMessageLabel");
|
|
5705
|
+
__publicField$r(this, "dataSharingAgreeButton");
|
|
5706
|
+
__publicField$r(this, "dataSharingDisableButton");
|
|
5707
|
+
__publicField$r(this, "dataSharingTermsAgreementLabel");
|
|
5708
|
+
__publicField$r(this, "page");
|
|
5709
|
+
__publicField$r(this, "instanceMeta");
|
|
5696
5710
|
this.page = page;
|
|
5697
5711
|
this.instanceMeta = instanceMeta;
|
|
5698
5712
|
if (satisfies(instanceMeta.version, "<6.6.1")) {
|
|
@@ -5713,37 +5727,37 @@ class DataSharing {
|
|
|
5713
5727
|
}
|
|
5714
5728
|
}
|
|
5715
5729
|
|
|
5716
|
-
var __defProp$
|
|
5717
|
-
var __defNormalProp$
|
|
5718
|
-
var __publicField$
|
|
5719
|
-
__defNormalProp$
|
|
5730
|
+
var __defProp$q = Object.defineProperty;
|
|
5731
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5732
|
+
var __publicField$q = (obj, key, value) => {
|
|
5733
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5720
5734
|
return value;
|
|
5721
5735
|
};
|
|
5722
5736
|
class Dashboard {
|
|
5723
5737
|
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$
|
|
5738
|
+
__publicField$q(this, "contentView");
|
|
5739
|
+
__publicField$q(this, "adminMenuView");
|
|
5740
|
+
__publicField$q(this, "adminMenuCatalog");
|
|
5741
|
+
__publicField$q(this, "adminMenuOrder");
|
|
5742
|
+
__publicField$q(this, "adminMenuCustomer");
|
|
5743
|
+
__publicField$q(this, "adminMenuContent");
|
|
5744
|
+
__publicField$q(this, "adminMenuMarketing");
|
|
5745
|
+
__publicField$q(this, "adminMenuExtension");
|
|
5746
|
+
__publicField$q(this, "adminMenuUserChevron");
|
|
5747
|
+
__publicField$q(this, "adminMenuUserIcon");
|
|
5748
|
+
__publicField$q(this, "adminMenuUserName");
|
|
5749
|
+
__publicField$q(this, "welcomeHeadline");
|
|
5750
|
+
__publicField$q(this, "welcomeMessage");
|
|
5751
|
+
__publicField$q(this, "dataSharingConsentBanner");
|
|
5752
|
+
__publicField$q(this, "dataSharingAgreeButton");
|
|
5753
|
+
__publicField$q(this, "dataSharingNotAtTheMomentButton");
|
|
5754
|
+
__publicField$q(this, "dataSharingTermsAgreementLabel");
|
|
5755
|
+
__publicField$q(this, "dataSharingSettingsLink");
|
|
5756
|
+
__publicField$q(this, "dataSharingAcceptMessageText");
|
|
5757
|
+
__publicField$q(this, "dataSharingNotAtTheMomentMessageText");
|
|
5758
|
+
__publicField$q(this, "statisticsDateRange");
|
|
5759
|
+
__publicField$q(this, "statisticsChart");
|
|
5760
|
+
__publicField$q(this, "page");
|
|
5747
5761
|
this.page = page;
|
|
5748
5762
|
this.adminMenuView = page.locator(".sw-admin-menu");
|
|
5749
5763
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -5773,25 +5787,25 @@ class Dashboard {
|
|
|
5773
5787
|
}
|
|
5774
5788
|
}
|
|
5775
5789
|
|
|
5776
|
-
var __defProp$
|
|
5777
|
-
var __defNormalProp$
|
|
5778
|
-
var __publicField$
|
|
5779
|
-
__defNormalProp$
|
|
5790
|
+
var __defProp$p = Object.defineProperty;
|
|
5791
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5792
|
+
var __publicField$p = (obj, key, value) => {
|
|
5793
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5780
5794
|
return value;
|
|
5781
5795
|
};
|
|
5782
5796
|
class ShippingListing {
|
|
5783
5797
|
constructor(page) {
|
|
5784
|
-
__publicField$
|
|
5785
|
-
__publicField$
|
|
5786
|
-
__publicField$
|
|
5787
|
-
__publicField$
|
|
5788
|
-
__publicField$
|
|
5798
|
+
__publicField$p(this, "header");
|
|
5799
|
+
__publicField$p(this, "addShippingMethod");
|
|
5800
|
+
__publicField$p(this, "contextMenu");
|
|
5801
|
+
__publicField$p(this, "editButton");
|
|
5802
|
+
__publicField$p(this, "deleteButton");
|
|
5789
5803
|
//warning modal
|
|
5790
|
-
__publicField$
|
|
5791
|
-
__publicField$
|
|
5792
|
-
__publicField$
|
|
5793
|
-
__publicField$
|
|
5794
|
-
__publicField$
|
|
5804
|
+
__publicField$p(this, "modal");
|
|
5805
|
+
__publicField$p(this, "modalHeader");
|
|
5806
|
+
__publicField$p(this, "modalCancelButton");
|
|
5807
|
+
__publicField$p(this, "modalDeleteButton");
|
|
5808
|
+
__publicField$p(this, "page");
|
|
5795
5809
|
this.page = page;
|
|
5796
5810
|
this.header = page.locator(".smart-bar__header");
|
|
5797
5811
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
@@ -5808,19 +5822,19 @@ class ShippingListing {
|
|
|
5808
5822
|
}
|
|
5809
5823
|
}
|
|
5810
5824
|
|
|
5811
|
-
var __defProp$
|
|
5812
|
-
var __defNormalProp$
|
|
5813
|
-
var __publicField$
|
|
5814
|
-
__defNormalProp$
|
|
5825
|
+
var __defProp$o = Object.defineProperty;
|
|
5826
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5827
|
+
var __publicField$o = (obj, key, value) => {
|
|
5828
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5815
5829
|
return value;
|
|
5816
5830
|
};
|
|
5817
5831
|
class ShippingDetail {
|
|
5818
5832
|
constructor(page) {
|
|
5819
|
-
__publicField$
|
|
5820
|
-
__publicField$
|
|
5821
|
-
__publicField$
|
|
5822
|
-
__publicField$
|
|
5823
|
-
__publicField$
|
|
5833
|
+
__publicField$o(this, "header");
|
|
5834
|
+
__publicField$o(this, "nameField");
|
|
5835
|
+
__publicField$o(this, "availabilityRuleField");
|
|
5836
|
+
__publicField$o(this, "availabilityRuleListItem");
|
|
5837
|
+
__publicField$o(this, "page");
|
|
5824
5838
|
this.page = page;
|
|
5825
5839
|
this.header = page.locator(".smart-bar__header");
|
|
5826
5840
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
@@ -5835,19 +5849,19 @@ class ShippingDetail {
|
|
|
5835
5849
|
}
|
|
5836
5850
|
}
|
|
5837
5851
|
|
|
5838
|
-
var __defProp$
|
|
5839
|
-
var __defNormalProp$
|
|
5840
|
-
var __publicField$
|
|
5841
|
-
__defNormalProp$
|
|
5852
|
+
var __defProp$n = Object.defineProperty;
|
|
5853
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5854
|
+
var __publicField$n = (obj, key, value) => {
|
|
5855
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5842
5856
|
return value;
|
|
5843
5857
|
};
|
|
5844
5858
|
class PaymentDetail {
|
|
5845
5859
|
constructor(page) {
|
|
5846
|
-
__publicField$
|
|
5847
|
-
__publicField$
|
|
5848
|
-
__publicField$
|
|
5849
|
-
__publicField$
|
|
5850
|
-
__publicField$
|
|
5860
|
+
__publicField$n(this, "header");
|
|
5861
|
+
__publicField$n(this, "nameField");
|
|
5862
|
+
__publicField$n(this, "availabilityRuleField");
|
|
5863
|
+
__publicField$n(this, "availabilityRuleListItem");
|
|
5864
|
+
__publicField$n(this, "page");
|
|
5851
5865
|
this.page = page;
|
|
5852
5866
|
this.header = page.locator(".smart-bar__header");
|
|
5853
5867
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
@@ -5862,10 +5876,10 @@ class PaymentDetail {
|
|
|
5862
5876
|
}
|
|
5863
5877
|
}
|
|
5864
5878
|
|
|
5865
|
-
var __defProp$
|
|
5866
|
-
var __defNormalProp$
|
|
5867
|
-
var __publicField$
|
|
5868
|
-
__defNormalProp$
|
|
5879
|
+
var __defProp$m = Object.defineProperty;
|
|
5880
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5881
|
+
var __publicField$m = (obj, key, value) => {
|
|
5882
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5869
5883
|
return value;
|
|
5870
5884
|
};
|
|
5871
5885
|
class LandingPageCreate {
|
|
@@ -5873,25 +5887,25 @@ class LandingPageCreate {
|
|
|
5873
5887
|
/**
|
|
5874
5888
|
* General
|
|
5875
5889
|
*/
|
|
5876
|
-
__publicField$
|
|
5877
|
-
__publicField$
|
|
5878
|
-
__publicField$
|
|
5879
|
-
__publicField$
|
|
5880
|
-
__publicField$
|
|
5881
|
-
__publicField$
|
|
5882
|
-
__publicField$
|
|
5890
|
+
__publicField$m(this, "nameInput");
|
|
5891
|
+
__publicField$m(this, "landingPageStatus");
|
|
5892
|
+
__publicField$m(this, "salesChannelSelectionList");
|
|
5893
|
+
__publicField$m(this, "filtersResultPopoverItemList");
|
|
5894
|
+
__publicField$m(this, "saveLandingPageButton");
|
|
5895
|
+
__publicField$m(this, "loadingSpinner");
|
|
5896
|
+
__publicField$m(this, "seoUrlInput");
|
|
5883
5897
|
/**
|
|
5884
5898
|
* Layout
|
|
5885
5899
|
*/
|
|
5886
|
-
__publicField$
|
|
5887
|
-
__publicField$
|
|
5888
|
-
__publicField$
|
|
5889
|
-
__publicField$
|
|
5890
|
-
__publicField$
|
|
5891
|
-
__publicField$
|
|
5892
|
-
__publicField$
|
|
5893
|
-
__publicField$
|
|
5894
|
-
__publicField$
|
|
5900
|
+
__publicField$m(this, "layoutTab");
|
|
5901
|
+
__publicField$m(this, "assignLayoutButton");
|
|
5902
|
+
__publicField$m(this, "searchLayoutInput");
|
|
5903
|
+
__publicField$m(this, "layoutItems");
|
|
5904
|
+
__publicField$m(this, "layoutSaveButton");
|
|
5905
|
+
__publicField$m(this, "layoutEmptyState");
|
|
5906
|
+
__publicField$m(this, "createNewLayoutButton");
|
|
5907
|
+
__publicField$m(this, "layoutCheckboxes");
|
|
5908
|
+
__publicField$m(this, "page");
|
|
5895
5909
|
this.page = page;
|
|
5896
5910
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5897
5911
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
@@ -5917,10 +5931,10 @@ class LandingPageCreate {
|
|
|
5917
5931
|
}
|
|
5918
5932
|
}
|
|
5919
5933
|
|
|
5920
|
-
var __defProp$
|
|
5921
|
-
var __defNormalProp$
|
|
5922
|
-
var __publicField$
|
|
5923
|
-
__defNormalProp$
|
|
5934
|
+
var __defProp$l = Object.defineProperty;
|
|
5935
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5936
|
+
var __publicField$l = (obj, key, value) => {
|
|
5937
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5924
5938
|
return value;
|
|
5925
5939
|
};
|
|
5926
5940
|
class LandingPageDetail {
|
|
@@ -5928,25 +5942,25 @@ class LandingPageDetail {
|
|
|
5928
5942
|
/**
|
|
5929
5943
|
* General
|
|
5930
5944
|
*/
|
|
5931
|
-
__publicField$
|
|
5932
|
-
__publicField$
|
|
5933
|
-
__publicField$
|
|
5934
|
-
__publicField$
|
|
5935
|
-
__publicField$
|
|
5936
|
-
__publicField$
|
|
5937
|
-
__publicField$
|
|
5945
|
+
__publicField$l(this, "nameInput");
|
|
5946
|
+
__publicField$l(this, "landingPageStatus");
|
|
5947
|
+
__publicField$l(this, "salesChannelSelectionList");
|
|
5948
|
+
__publicField$l(this, "filtersResultPopoverItemList");
|
|
5949
|
+
__publicField$l(this, "saveLandingPageButton");
|
|
5950
|
+
__publicField$l(this, "loadingSpinner");
|
|
5951
|
+
__publicField$l(this, "seoUrlInput");
|
|
5938
5952
|
/**
|
|
5939
5953
|
* Layout
|
|
5940
5954
|
*/
|
|
5941
|
-
__publicField$
|
|
5942
|
-
__publicField$
|
|
5943
|
-
__publicField$
|
|
5944
|
-
__publicField$
|
|
5945
|
-
__publicField$
|
|
5946
|
-
__publicField$
|
|
5947
|
-
__publicField$
|
|
5948
|
-
__publicField$
|
|
5949
|
-
__publicField$
|
|
5955
|
+
__publicField$l(this, "layoutTab");
|
|
5956
|
+
__publicField$l(this, "layoutAssignmentCardTitle");
|
|
5957
|
+
__publicField$l(this, "layoutAssignmentCardHeadline");
|
|
5958
|
+
__publicField$l(this, "changeLayoutButton");
|
|
5959
|
+
__publicField$l(this, "editInDesignerButton");
|
|
5960
|
+
__publicField$l(this, "layoutResetButton");
|
|
5961
|
+
__publicField$l(this, "layoutAssignmentStatus");
|
|
5962
|
+
__publicField$l(this, "layoutAssignmentContentSection");
|
|
5963
|
+
__publicField$l(this, "page");
|
|
5950
5964
|
this.page = page;
|
|
5951
5965
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5952
5966
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
@@ -5971,10 +5985,10 @@ class LandingPageDetail {
|
|
|
5971
5985
|
}
|
|
5972
5986
|
}
|
|
5973
5987
|
|
|
5974
|
-
var __defProp$
|
|
5975
|
-
var __defNormalProp$
|
|
5976
|
-
var __publicField$
|
|
5977
|
-
__defNormalProp$
|
|
5988
|
+
var __defProp$k = Object.defineProperty;
|
|
5989
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5990
|
+
var __publicField$k = (obj, key, value) => {
|
|
5991
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5978
5992
|
return value;
|
|
5979
5993
|
};
|
|
5980
5994
|
class Categories {
|
|
@@ -5982,57 +5996,57 @@ class Categories {
|
|
|
5982
5996
|
/**
|
|
5983
5997
|
* Visual tests
|
|
5984
5998
|
*/
|
|
5985
|
-
__publicField$
|
|
5999
|
+
__publicField$k(this, "contentView");
|
|
5986
6000
|
/**
|
|
5987
6001
|
* Landing pages
|
|
5988
6002
|
*/
|
|
5989
|
-
__publicField$
|
|
5990
|
-
__publicField$
|
|
5991
|
-
__publicField$
|
|
5992
|
-
__publicField$
|
|
6003
|
+
__publicField$k(this, "landingPageArea");
|
|
6004
|
+
__publicField$k(this, "landingPageHeadline");
|
|
6005
|
+
__publicField$k(this, "addLandingPageButton");
|
|
6006
|
+
__publicField$k(this, "landingPageItems");
|
|
5993
6007
|
/**
|
|
5994
6008
|
* Category tree
|
|
5995
6009
|
*/
|
|
5996
|
-
__publicField$
|
|
5997
|
-
__publicField$
|
|
5998
|
-
__publicField$
|
|
5999
|
-
__publicField$
|
|
6000
|
-
__publicField$
|
|
6001
|
-
__publicField$
|
|
6010
|
+
__publicField$k(this, "categoryTree");
|
|
6011
|
+
__publicField$k(this, "categoryMenuItemList");
|
|
6012
|
+
__publicField$k(this, "createCategoryInput");
|
|
6013
|
+
__publicField$k(this, "confirmCategoryCreationButton");
|
|
6014
|
+
__publicField$k(this, "confirmCategoryCancelButton");
|
|
6015
|
+
__publicField$k(this, "categoryItems");
|
|
6002
6016
|
/**
|
|
6003
6017
|
* Tabs
|
|
6004
6018
|
*/
|
|
6005
|
-
__publicField$
|
|
6006
|
-
__publicField$
|
|
6007
|
-
__publicField$
|
|
6008
|
-
__publicField$
|
|
6019
|
+
__publicField$k(this, "generalTab");
|
|
6020
|
+
__publicField$k(this, "productsTab");
|
|
6021
|
+
__publicField$k(this, "layoutTab");
|
|
6022
|
+
__publicField$k(this, "seoTab");
|
|
6009
6023
|
/**
|
|
6010
6024
|
* General
|
|
6011
6025
|
*/
|
|
6012
|
-
__publicField$
|
|
6013
|
-
__publicField$
|
|
6014
|
-
__publicField$
|
|
6015
|
-
__publicField$
|
|
6016
|
-
__publicField$
|
|
6017
|
-
__publicField$
|
|
6018
|
-
__publicField$
|
|
6019
|
-
__publicField$
|
|
6020
|
-
__publicField$
|
|
6026
|
+
__publicField$k(this, "nameInput");
|
|
6027
|
+
__publicField$k(this, "activeCheckbox");
|
|
6028
|
+
__publicField$k(this, "categoryTypeSelectionList");
|
|
6029
|
+
__publicField$k(this, "filtersResultPopoverItemList");
|
|
6030
|
+
__publicField$k(this, "saveButton");
|
|
6031
|
+
__publicField$k(this, "loadingSpinner");
|
|
6032
|
+
__publicField$k(this, "fadingBar");
|
|
6033
|
+
__publicField$k(this, "configureHomePageButton");
|
|
6034
|
+
__publicField$k(this, "configureModalCancelButton");
|
|
6021
6035
|
/**
|
|
6022
6036
|
* Customisable link
|
|
6023
6037
|
*/
|
|
6024
|
-
__publicField$
|
|
6025
|
-
__publicField$
|
|
6026
|
-
__publicField$
|
|
6027
|
-
__publicField$
|
|
6028
|
-
__publicField$
|
|
6029
|
-
__publicField$
|
|
6030
|
-
__publicField$
|
|
6031
|
-
__publicField$
|
|
6032
|
-
__publicField$
|
|
6033
|
-
__publicField$
|
|
6034
|
-
__publicField$
|
|
6035
|
-
__publicField$
|
|
6038
|
+
__publicField$k(this, "entitySelectionList");
|
|
6039
|
+
__publicField$k(this, "linkTypeSelectionList");
|
|
6040
|
+
__publicField$k(this, "categorySelectionList");
|
|
6041
|
+
__publicField$k(this, "productSelectionList");
|
|
6042
|
+
__publicField$k(this, "landingPageSelectionList");
|
|
6043
|
+
__publicField$k(this, "filterResultPopoverTreeCheckboxItemList");
|
|
6044
|
+
__publicField$k(this, "openInNewTabCheckbox");
|
|
6045
|
+
__publicField$k(this, "popoverCategoryTree");
|
|
6046
|
+
__publicField$k(this, "categorySelectionListWrapper");
|
|
6047
|
+
__publicField$k(this, "productSelectionInput");
|
|
6048
|
+
__publicField$k(this, "page");
|
|
6049
|
+
__publicField$k(this, "instanceMeta");
|
|
6036
6050
|
this.page = page;
|
|
6037
6051
|
this.instanceMeta = instanceMeta;
|
|
6038
6052
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -6085,17 +6099,17 @@ class Categories {
|
|
|
6085
6099
|
}
|
|
6086
6100
|
}
|
|
6087
6101
|
|
|
6088
|
-
var __defProp$
|
|
6089
|
-
var __defNormalProp$
|
|
6090
|
-
var __publicField$
|
|
6091
|
-
__defNormalProp$
|
|
6102
|
+
var __defProp$j = Object.defineProperty;
|
|
6103
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6104
|
+
var __publicField$j = (obj, key, value) => {
|
|
6105
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6092
6106
|
return value;
|
|
6093
6107
|
};
|
|
6094
6108
|
class CustomFieldListing {
|
|
6095
6109
|
constructor(page) {
|
|
6096
|
-
__publicField$
|
|
6097
|
-
__publicField$
|
|
6098
|
-
__publicField$
|
|
6110
|
+
__publicField$j(this, "addNewSetButton");
|
|
6111
|
+
__publicField$j(this, "customFieldRows");
|
|
6112
|
+
__publicField$j(this, "page");
|
|
6099
6113
|
this.page = page;
|
|
6100
6114
|
this.addNewSetButton = page.getByText("Add new set");
|
|
6101
6115
|
this.customFieldRows = page.getByRole("row");
|
|
@@ -6124,22 +6138,22 @@ class CustomFieldListing {
|
|
|
6124
6138
|
}
|
|
6125
6139
|
}
|
|
6126
6140
|
|
|
6127
|
-
var __defProp$
|
|
6128
|
-
var __defNormalProp$
|
|
6129
|
-
var __publicField$
|
|
6130
|
-
__defNormalProp$
|
|
6141
|
+
var __defProp$i = Object.defineProperty;
|
|
6142
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6143
|
+
var __publicField$i = (obj, key, value) => {
|
|
6144
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6131
6145
|
return value;
|
|
6132
6146
|
};
|
|
6133
6147
|
class CustomFieldCreate {
|
|
6134
6148
|
constructor(page) {
|
|
6135
|
-
__publicField$
|
|
6136
|
-
__publicField$
|
|
6137
|
-
__publicField$
|
|
6138
|
-
__publicField$
|
|
6139
|
-
__publicField$
|
|
6140
|
-
__publicField$
|
|
6141
|
-
__publicField$
|
|
6142
|
-
__publicField$
|
|
6149
|
+
__publicField$i(this, "saveButton");
|
|
6150
|
+
__publicField$i(this, "cancelButton");
|
|
6151
|
+
__publicField$i(this, "technicalNameInput");
|
|
6152
|
+
__publicField$i(this, "positionInput");
|
|
6153
|
+
__publicField$i(this, "labelEnglishGBInput");
|
|
6154
|
+
__publicField$i(this, "assignToSelectionList");
|
|
6155
|
+
__publicField$i(this, "resultAssignToPopoverItemList");
|
|
6156
|
+
__publicField$i(this, "page");
|
|
6143
6157
|
this.page = page;
|
|
6144
6158
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6145
6159
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
@@ -6154,34 +6168,34 @@ class CustomFieldCreate {
|
|
|
6154
6168
|
}
|
|
6155
6169
|
}
|
|
6156
6170
|
|
|
6157
|
-
var __defProp$
|
|
6158
|
-
var __defNormalProp$
|
|
6159
|
-
var __publicField$
|
|
6160
|
-
__defNormalProp$
|
|
6171
|
+
var __defProp$h = Object.defineProperty;
|
|
6172
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6173
|
+
var __publicField$h = (obj, key, value) => {
|
|
6174
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6161
6175
|
return value;
|
|
6162
6176
|
};
|
|
6163
6177
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
6164
6178
|
constructor(page, instanceMeta) {
|
|
6165
6179
|
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$
|
|
6180
|
+
__publicField$h(this, "newCustomFieldButton");
|
|
6181
|
+
__publicField$h(this, "customFieldEditDialog");
|
|
6182
|
+
__publicField$h(this, "newCustomFieldDialog");
|
|
6183
|
+
__publicField$h(this, "customFieldTechnicalNameInput");
|
|
6184
|
+
__publicField$h(this, "customFieldPositionInput");
|
|
6185
|
+
__publicField$h(this, "customFieldTypeSelectionList");
|
|
6186
|
+
__publicField$h(this, "customFieldModifyByStoreApiCheckbox");
|
|
6187
|
+
__publicField$h(this, "customFieldCancelButton");
|
|
6188
|
+
__publicField$h(this, "customFieldAddButton");
|
|
6189
|
+
__publicField$h(this, "customFieldEditApplyButton");
|
|
6190
|
+
__publicField$h(this, "customFieldLabelEnglishGBInput");
|
|
6191
|
+
__publicField$h(this, "customFieldPlaceholderEnglishGBInput");
|
|
6192
|
+
__publicField$h(this, "customFieldHelpTextEnglishGBInput");
|
|
6193
|
+
__publicField$h(this, "customFieldDeleteListButton");
|
|
6194
|
+
__publicField$h(this, "customFieldDeleteDialog");
|
|
6195
|
+
__publicField$h(this, "customFieldDeleteCancelButton");
|
|
6196
|
+
__publicField$h(this, "customFieldDeleteButton");
|
|
6197
|
+
__publicField$h(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
6198
|
+
__publicField$h(this, "instanceMeta");
|
|
6185
6199
|
this.instanceMeta = instanceMeta;
|
|
6186
6200
|
this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
|
|
6187
6201
|
this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
|
|
@@ -6235,21 +6249,21 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6235
6249
|
}
|
|
6236
6250
|
}
|
|
6237
6251
|
|
|
6238
|
-
var __defProp$
|
|
6239
|
-
var __defNormalProp$
|
|
6240
|
-
var __publicField$
|
|
6241
|
-
__defNormalProp$
|
|
6252
|
+
var __defProp$g = Object.defineProperty;
|
|
6253
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6254
|
+
var __publicField$g = (obj, key, value) => {
|
|
6255
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6242
6256
|
return value;
|
|
6243
6257
|
};
|
|
6244
6258
|
class CategoryDetail {
|
|
6245
6259
|
constructor(page, instanceMeta) {
|
|
6246
|
-
__publicField$
|
|
6247
|
-
__publicField$
|
|
6248
|
-
__publicField$
|
|
6249
|
-
__publicField$
|
|
6250
|
-
__publicField$
|
|
6251
|
-
__publicField$
|
|
6252
|
-
__publicField$
|
|
6260
|
+
__publicField$g(this, "saveButton");
|
|
6261
|
+
__publicField$g(this, "cancelButton");
|
|
6262
|
+
__publicField$g(this, "customFieldCard");
|
|
6263
|
+
__publicField$g(this, "customFieldSetTabs");
|
|
6264
|
+
__publicField$g(this, "customFieldSetTabCustomContent");
|
|
6265
|
+
__publicField$g(this, "page");
|
|
6266
|
+
__publicField$g(this, "instanceMeta");
|
|
6253
6267
|
this.page = page;
|
|
6254
6268
|
this.instanceMeta = instanceMeta;
|
|
6255
6269
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6284,24 +6298,24 @@ class CategoryDetail {
|
|
|
6284
6298
|
}
|
|
6285
6299
|
}
|
|
6286
6300
|
|
|
6287
|
-
var __defProp$
|
|
6288
|
-
var __defNormalProp$
|
|
6289
|
-
var __publicField$
|
|
6290
|
-
__defNormalProp$
|
|
6301
|
+
var __defProp$f = Object.defineProperty;
|
|
6302
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6303
|
+
var __publicField$f = (obj, key, value) => {
|
|
6304
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6291
6305
|
return value;
|
|
6292
6306
|
};
|
|
6293
6307
|
class RuleCreate {
|
|
6294
6308
|
constructor(page, instanceMeta) {
|
|
6295
|
-
__publicField$
|
|
6296
|
-
__publicField$
|
|
6297
|
-
__publicField$
|
|
6298
|
-
__publicField$
|
|
6299
|
-
__publicField$
|
|
6300
|
-
__publicField$
|
|
6301
|
-
__publicField$
|
|
6302
|
-
__publicField$
|
|
6303
|
-
__publicField$
|
|
6304
|
-
__publicField$
|
|
6309
|
+
__publicField$f(this, "nameInput");
|
|
6310
|
+
__publicField$f(this, "priorityInput");
|
|
6311
|
+
__publicField$f(this, "conditionTypeSelectionInput");
|
|
6312
|
+
__publicField$f(this, "conditionValueSelectionInput");
|
|
6313
|
+
__publicField$f(this, "filtersResultPopoverSelectionList");
|
|
6314
|
+
__publicField$f(this, "saveButton");
|
|
6315
|
+
__publicField$f(this, "cancelButton");
|
|
6316
|
+
__publicField$f(this, "valueNotAvailableTooltip");
|
|
6317
|
+
__publicField$f(this, "page");
|
|
6318
|
+
__publicField$f(this, "instanceMeta");
|
|
6305
6319
|
this.page = page;
|
|
6306
6320
|
this.instanceMeta = instanceMeta;
|
|
6307
6321
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -6321,33 +6335,33 @@ class RuleCreate {
|
|
|
6321
6335
|
}
|
|
6322
6336
|
}
|
|
6323
6337
|
|
|
6324
|
-
var __defProp$
|
|
6325
|
-
var __defNormalProp$
|
|
6326
|
-
var __publicField$
|
|
6327
|
-
__defNormalProp$
|
|
6338
|
+
var __defProp$e = Object.defineProperty;
|
|
6339
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6340
|
+
var __publicField$e = (obj, key, value) => {
|
|
6341
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6328
6342
|
return value;
|
|
6329
6343
|
};
|
|
6330
6344
|
class RuleDetail extends RuleCreate {
|
|
6331
6345
|
constructor(page, instanceMeta) {
|
|
6332
6346
|
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$
|
|
6347
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCard");
|
|
6348
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardLink");
|
|
6349
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardTable");
|
|
6350
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardEmptyState");
|
|
6351
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardSearchField");
|
|
6352
|
+
__publicField$e(this, "taxProviderRulesCard");
|
|
6353
|
+
__publicField$e(this, "taxProviderRulesCardEmptyState");
|
|
6354
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCard");
|
|
6355
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCardEmptyState");
|
|
6356
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCardLink");
|
|
6357
|
+
__publicField$e(this, "promotionOrderRulesCard");
|
|
6358
|
+
__publicField$e(this, "promotionOrderRulesCardEmptyState");
|
|
6359
|
+
__publicField$e(this, "promotionCustomerRulesCard");
|
|
6360
|
+
__publicField$e(this, "promotionCustomerRulesCardEmptyState");
|
|
6361
|
+
__publicField$e(this, "promotionCartRulesCard");
|
|
6362
|
+
__publicField$e(this, "promotionCartRulesCardEmptyState");
|
|
6363
|
+
__publicField$e(this, "assignmentModalAddButton");
|
|
6364
|
+
__publicField$e(this, "assignmentModalSearchField");
|
|
6351
6365
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6352
6366
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
6353
6367
|
this.shippingMethodAvailabilityRulesCardTable = page.locator(".sw-settings-rule-detail-assignments__entity-listing-shipping_method_availability_rule");
|
|
@@ -6381,16 +6395,16 @@ class RuleDetail extends RuleCreate {
|
|
|
6381
6395
|
}
|
|
6382
6396
|
}
|
|
6383
6397
|
|
|
6384
|
-
var __defProp$
|
|
6385
|
-
var __defNormalProp$
|
|
6386
|
-
var __publicField$
|
|
6387
|
-
__defNormalProp$
|
|
6398
|
+
var __defProp$d = Object.defineProperty;
|
|
6399
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6400
|
+
var __publicField$d = (obj, key, value) => {
|
|
6401
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6388
6402
|
return value;
|
|
6389
6403
|
};
|
|
6390
6404
|
class RuleListing {
|
|
6391
6405
|
constructor(page) {
|
|
6392
|
-
__publicField$
|
|
6393
|
-
__publicField$
|
|
6406
|
+
__publicField$d(this, "createRuleButton");
|
|
6407
|
+
__publicField$d(this, "page");
|
|
6394
6408
|
this.page = page;
|
|
6395
6409
|
this.createRuleButton = page.getByText("Create rule");
|
|
6396
6410
|
}
|
|
@@ -6399,21 +6413,21 @@ class RuleListing {
|
|
|
6399
6413
|
}
|
|
6400
6414
|
}
|
|
6401
6415
|
|
|
6402
|
-
var __defProp$
|
|
6403
|
-
var __defNormalProp$
|
|
6404
|
-
var __publicField$
|
|
6405
|
-
__defNormalProp$
|
|
6416
|
+
var __defProp$c = Object.defineProperty;
|
|
6417
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6418
|
+
var __publicField$c = (obj, key, value) => {
|
|
6419
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6406
6420
|
return value;
|
|
6407
6421
|
};
|
|
6408
6422
|
class ManufacturerCreate {
|
|
6409
6423
|
constructor(page, instanceMeta) {
|
|
6410
|
-
__publicField$
|
|
6411
|
-
__publicField$
|
|
6412
|
-
__publicField$
|
|
6413
|
-
__publicField$
|
|
6414
|
-
__publicField$
|
|
6415
|
-
__publicField$
|
|
6416
|
-
__publicField$
|
|
6424
|
+
__publicField$c(this, "saveButton");
|
|
6425
|
+
__publicField$c(this, "cancelButton");
|
|
6426
|
+
__publicField$c(this, "nameInput");
|
|
6427
|
+
__publicField$c(this, "websiteInput");
|
|
6428
|
+
__publicField$c(this, "descriptionInput");
|
|
6429
|
+
__publicField$c(this, "page");
|
|
6430
|
+
__publicField$c(this, "instanceMeta");
|
|
6417
6431
|
this.page = page;
|
|
6418
6432
|
this.instanceMeta = instanceMeta;
|
|
6419
6433
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6431,17 +6445,17 @@ class ManufacturerCreate {
|
|
|
6431
6445
|
}
|
|
6432
6446
|
}
|
|
6433
6447
|
|
|
6434
|
-
var __defProp$
|
|
6435
|
-
var __defNormalProp$
|
|
6436
|
-
var __publicField$
|
|
6437
|
-
__defNormalProp$
|
|
6448
|
+
var __defProp$b = Object.defineProperty;
|
|
6449
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6450
|
+
var __publicField$b = (obj, key, value) => {
|
|
6451
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6438
6452
|
return value;
|
|
6439
6453
|
};
|
|
6440
6454
|
class ManufacturerListing {
|
|
6441
6455
|
constructor(page) {
|
|
6442
|
-
__publicField$
|
|
6443
|
-
__publicField$
|
|
6444
|
-
__publicField$
|
|
6456
|
+
__publicField$b(this, "addManufacturerButton");
|
|
6457
|
+
__publicField$b(this, "manufacturerRows");
|
|
6458
|
+
__publicField$b(this, "page");
|
|
6445
6459
|
this.page = page;
|
|
6446
6460
|
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
6447
6461
|
this.manufacturerRows = page.getByRole("row");
|
|
@@ -6474,18 +6488,18 @@ class ManufacturerListing {
|
|
|
6474
6488
|
}
|
|
6475
6489
|
}
|
|
6476
6490
|
|
|
6477
|
-
var __defProp$
|
|
6478
|
-
var __defNormalProp$
|
|
6479
|
-
var __publicField$
|
|
6480
|
-
__defNormalProp$
|
|
6491
|
+
var __defProp$a = Object.defineProperty;
|
|
6492
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6493
|
+
var __publicField$a = (obj, key, value) => {
|
|
6494
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6481
6495
|
return value;
|
|
6482
6496
|
};
|
|
6483
6497
|
class ManufacturerDetail extends ManufacturerCreate {
|
|
6484
6498
|
constructor(page, instanceMeta) {
|
|
6485
6499
|
super(page, instanceMeta);
|
|
6486
|
-
__publicField$
|
|
6487
|
-
__publicField$
|
|
6488
|
-
__publicField$
|
|
6500
|
+
__publicField$a(this, "customFieldCard");
|
|
6501
|
+
__publicField$a(this, "customFieldSetTabs");
|
|
6502
|
+
__publicField$a(this, "customFieldSetTabCustomContent");
|
|
6489
6503
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6490
6504
|
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
6491
6505
|
} else {
|
|
@@ -6513,10 +6527,10 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6513
6527
|
}
|
|
6514
6528
|
}
|
|
6515
6529
|
|
|
6516
|
-
var __defProp$
|
|
6517
|
-
var __defNormalProp$
|
|
6518
|
-
var __publicField$
|
|
6519
|
-
__defNormalProp$
|
|
6530
|
+
var __defProp$9 = Object.defineProperty;
|
|
6531
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6532
|
+
var __publicField$9 = (obj, key, value) => {
|
|
6533
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6520
6534
|
return value;
|
|
6521
6535
|
};
|
|
6522
6536
|
class ProductListing {
|
|
@@ -6524,14 +6538,14 @@ class ProductListing {
|
|
|
6524
6538
|
/**
|
|
6525
6539
|
* Multi selection
|
|
6526
6540
|
*/
|
|
6527
|
-
__publicField$
|
|
6528
|
-
__publicField$
|
|
6529
|
-
__publicField$
|
|
6541
|
+
__publicField$9(this, "productsTable");
|
|
6542
|
+
__publicField$9(this, "bulkEditButton");
|
|
6543
|
+
__publicField$9(this, "page");
|
|
6530
6544
|
/**
|
|
6531
6545
|
* Bulk edit modal
|
|
6532
6546
|
*/
|
|
6533
|
-
__publicField$
|
|
6534
|
-
__publicField$
|
|
6547
|
+
__publicField$9(this, "bulkEditModal");
|
|
6548
|
+
__publicField$9(this, "startBulkEditButton");
|
|
6535
6549
|
this.page = page;
|
|
6536
6550
|
this.productsTable = page.locator(".sw-data-grid__table");
|
|
6537
6551
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
@@ -6582,10 +6596,10 @@ class ProductListing {
|
|
|
6582
6596
|
}
|
|
6583
6597
|
}
|
|
6584
6598
|
|
|
6585
|
-
var __defProp$
|
|
6586
|
-
var __defNormalProp$
|
|
6587
|
-
var __publicField$
|
|
6588
|
-
__defNormalProp$
|
|
6599
|
+
var __defProp$8 = Object.defineProperty;
|
|
6600
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6601
|
+
var __publicField$8 = (obj, key, value) => {
|
|
6602
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6589
6603
|
return value;
|
|
6590
6604
|
};
|
|
6591
6605
|
class ProductBulkEdit {
|
|
@@ -6593,50 +6607,50 @@ class ProductBulkEdit {
|
|
|
6593
6607
|
/**
|
|
6594
6608
|
* Bulk edit values
|
|
6595
6609
|
*/
|
|
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$
|
|
6610
|
+
__publicField$8(this, "changeManufacturerRow");
|
|
6611
|
+
__publicField$8(this, "changeManufacturerCheckbox");
|
|
6612
|
+
__publicField$8(this, "manufacturerDropdown");
|
|
6613
|
+
__publicField$8(this, "manufacturerDropdownInput");
|
|
6614
|
+
__publicField$8(this, "manufacturerListResult");
|
|
6615
|
+
__publicField$8(this, "changeActiveRow");
|
|
6616
|
+
__publicField$8(this, "changeActiveCheckbox");
|
|
6617
|
+
__publicField$8(this, "activeToggle");
|
|
6618
|
+
__publicField$8(this, "changePriceRow");
|
|
6619
|
+
__publicField$8(this, "changePriceCheckbox");
|
|
6620
|
+
__publicField$8(this, "grossPriceInput");
|
|
6621
|
+
__publicField$8(this, "changeReleaseDateRow");
|
|
6622
|
+
__publicField$8(this, "changeReleaseDateCheckbox");
|
|
6623
|
+
__publicField$8(this, "releaseDateInput");
|
|
6624
|
+
__publicField$8(this, "changeStockRow");
|
|
6625
|
+
__publicField$8(this, "changeStockCheckbox");
|
|
6626
|
+
__publicField$8(this, "stockChangeMethodDropdown");
|
|
6627
|
+
__publicField$8(this, "stockChangeMethodInput");
|
|
6628
|
+
__publicField$8(this, "stockInput");
|
|
6629
|
+
__publicField$8(this, "changeRestockTimeRow");
|
|
6630
|
+
__publicField$8(this, "changeRestockTimeCheckbox");
|
|
6631
|
+
__publicField$8(this, "restockTimeChangeMethodDropdown");
|
|
6632
|
+
__publicField$8(this, "restockTimeChangeMethodInput");
|
|
6633
|
+
__publicField$8(this, "restockTimeInput");
|
|
6634
|
+
__publicField$8(this, "changeTagsRow");
|
|
6635
|
+
__publicField$8(this, "changeTagsCheckbox");
|
|
6636
|
+
__publicField$8(this, "tagsChangeMethodDropdown");
|
|
6637
|
+
__publicField$8(this, "tagsChangeMethodInput");
|
|
6638
|
+
__publicField$8(this, "tagsInput");
|
|
6639
|
+
__publicField$8(this, "changeSalesChannelRow");
|
|
6640
|
+
__publicField$8(this, "changeSalesChannelCheckbox");
|
|
6641
|
+
__publicField$8(this, "salesChannelChangeMethodDropdown");
|
|
6642
|
+
__publicField$8(this, "salesChannelChangeMethodInput");
|
|
6643
|
+
__publicField$8(this, "salesChannelInput");
|
|
6644
|
+
__publicField$8(this, "applyChangesButton");
|
|
6631
6645
|
/**
|
|
6632
6646
|
* Confirmation modal
|
|
6633
6647
|
*/
|
|
6634
|
-
__publicField$
|
|
6635
|
-
__publicField$
|
|
6636
|
-
__publicField$
|
|
6637
|
-
__publicField$
|
|
6638
|
-
__publicField$
|
|
6639
|
-
__publicField$
|
|
6648
|
+
__publicField$8(this, "confirmModal");
|
|
6649
|
+
__publicField$8(this, "confirmModalApplyChangesButton");
|
|
6650
|
+
__publicField$8(this, "confirmModalLoadingSpinner");
|
|
6651
|
+
__publicField$8(this, "confirmModalSuccessHeader");
|
|
6652
|
+
__publicField$8(this, "confirmModalSuccessCloseButton");
|
|
6653
|
+
__publicField$8(this, "page");
|
|
6640
6654
|
this.page = page;
|
|
6641
6655
|
this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
|
|
6642
6656
|
this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
|
|
@@ -6687,42 +6701,42 @@ class ProductBulkEdit {
|
|
|
6687
6701
|
}
|
|
6688
6702
|
}
|
|
6689
6703
|
|
|
6690
|
-
var __defProp$
|
|
6691
|
-
var __defNormalProp$
|
|
6692
|
-
var __publicField$
|
|
6693
|
-
__defNormalProp$
|
|
6704
|
+
var __defProp$7 = Object.defineProperty;
|
|
6705
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6706
|
+
var __publicField$7 = (obj, key, value) => {
|
|
6707
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6694
6708
|
return value;
|
|
6695
6709
|
};
|
|
6696
6710
|
class CustomerBulkEdit {
|
|
6697
6711
|
constructor(page) {
|
|
6698
6712
|
//General
|
|
6699
|
-
__publicField$
|
|
6700
|
-
__publicField$
|
|
6713
|
+
__publicField$7(this, "applyChangesButton");
|
|
6714
|
+
__publicField$7(this, "filtersResultPopoverItemList");
|
|
6701
6715
|
//Account
|
|
6702
|
-
__publicField$
|
|
6703
|
-
__publicField$
|
|
6704
|
-
__publicField$
|
|
6705
|
-
__publicField$
|
|
6706
|
-
__publicField$
|
|
6707
|
-
__publicField$
|
|
6708
|
-
__publicField$
|
|
6709
|
-
__publicField$
|
|
6716
|
+
__publicField$7(this, "changeCustomerGroupCheckbox");
|
|
6717
|
+
__publicField$7(this, "customerGroupInput");
|
|
6718
|
+
__publicField$7(this, "changeAccountStatusCheckbox");
|
|
6719
|
+
__publicField$7(this, "accountStatusInput");
|
|
6720
|
+
__publicField$7(this, "changeLanguageCheckbox");
|
|
6721
|
+
__publicField$7(this, "changeLanguageInput");
|
|
6722
|
+
__publicField$7(this, "replyToCustomerGroupRequest");
|
|
6723
|
+
__publicField$7(this, "replyToCustomerGroupRequestInput");
|
|
6710
6724
|
//Tags
|
|
6711
|
-
__publicField$
|
|
6712
|
-
__publicField$
|
|
6713
|
-
__publicField$
|
|
6725
|
+
__publicField$7(this, "changeTagsCheckbox");
|
|
6726
|
+
__publicField$7(this, "changeTypeSelect");
|
|
6727
|
+
__publicField$7(this, "enterTagsSelect");
|
|
6714
6728
|
//Custom fields
|
|
6715
|
-
__publicField$
|
|
6716
|
-
__publicField$
|
|
6717
|
-
__publicField$
|
|
6729
|
+
__publicField$7(this, "customFieldCheckbox");
|
|
6730
|
+
__publicField$7(this, "customFieldInput");
|
|
6731
|
+
__publicField$7(this, "customFieldArrowRightButton");
|
|
6718
6732
|
/**
|
|
6719
6733
|
* Confirmation modal
|
|
6720
6734
|
*/
|
|
6721
|
-
__publicField$
|
|
6722
|
-
__publicField$
|
|
6723
|
-
__publicField$
|
|
6724
|
-
__publicField$
|
|
6725
|
-
__publicField$
|
|
6735
|
+
__publicField$7(this, "confirmModal");
|
|
6736
|
+
__publicField$7(this, "confirmModalApplyChangesButton");
|
|
6737
|
+
__publicField$7(this, "confirmModalSuccessHeader");
|
|
6738
|
+
__publicField$7(this, "confirmModalSuccessCloseButton");
|
|
6739
|
+
__publicField$7(this, "page");
|
|
6726
6740
|
this.page = page;
|
|
6727
6741
|
this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
|
|
6728
6742
|
this.filtersResultPopoverItemList = page.locator(".sw-select-result-list__content").getByRole("listitem");
|
|
@@ -6765,17 +6779,17 @@ class CustomerBulkEdit {
|
|
|
6765
6779
|
}
|
|
6766
6780
|
}
|
|
6767
6781
|
|
|
6768
|
-
var __defProp$
|
|
6769
|
-
var __defNormalProp$
|
|
6770
|
-
var __publicField$
|
|
6771
|
-
__defNormalProp$
|
|
6782
|
+
var __defProp$6 = Object.defineProperty;
|
|
6783
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6784
|
+
var __publicField$6 = (obj, key, value) => {
|
|
6785
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6772
6786
|
return value;
|
|
6773
6787
|
};
|
|
6774
6788
|
class SettingsListing {
|
|
6775
6789
|
constructor(page) {
|
|
6776
|
-
__publicField$
|
|
6777
|
-
__publicField$
|
|
6778
|
-
__publicField$
|
|
6790
|
+
__publicField$6(this, "contentView");
|
|
6791
|
+
__publicField$6(this, "header");
|
|
6792
|
+
__publicField$6(this, "page");
|
|
6779
6793
|
this.page = page;
|
|
6780
6794
|
this.header = page.locator(".sw-settings__content-header");
|
|
6781
6795
|
this.contentView = page.locator(".sw-desktop__content");
|
|
@@ -6785,17 +6799,17 @@ class SettingsListing {
|
|
|
6785
6799
|
}
|
|
6786
6800
|
}
|
|
6787
6801
|
|
|
6788
|
-
var __defProp$
|
|
6789
|
-
var __defNormalProp$
|
|
6790
|
-
var __publicField$
|
|
6791
|
-
__defNormalProp$
|
|
6802
|
+
var __defProp$5 = Object.defineProperty;
|
|
6803
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6804
|
+
var __publicField$5 = (obj, key, value) => {
|
|
6805
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6792
6806
|
return value;
|
|
6793
6807
|
};
|
|
6794
6808
|
class DocumentListing {
|
|
6795
6809
|
constructor(page) {
|
|
6796
|
-
__publicField$
|
|
6797
|
-
__publicField$
|
|
6798
|
-
__publicField$
|
|
6810
|
+
__publicField$5(this, "addDocumentButton");
|
|
6811
|
+
__publicField$5(this, "invoiceLink");
|
|
6812
|
+
__publicField$5(this, "page");
|
|
6799
6813
|
this.page = page;
|
|
6800
6814
|
this.addDocumentButton = page.getByRole("button", { name: "Add document" });
|
|
6801
6815
|
this.invoiceLink = page.getByRole("link", { name: "invoice", exact: true });
|
|
@@ -6805,18 +6819,18 @@ class DocumentListing {
|
|
|
6805
6819
|
}
|
|
6806
6820
|
}
|
|
6807
6821
|
|
|
6808
|
-
var __defProp$
|
|
6809
|
-
var __defNormalProp$
|
|
6810
|
-
var __publicField$
|
|
6811
|
-
__defNormalProp$
|
|
6822
|
+
var __defProp$4 = Object.defineProperty;
|
|
6823
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6824
|
+
var __publicField$4 = (obj, key, value) => {
|
|
6825
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6812
6826
|
return value;
|
|
6813
6827
|
};
|
|
6814
6828
|
class DocumentDetail {
|
|
6815
6829
|
constructor(page) {
|
|
6816
|
-
__publicField$
|
|
6817
|
-
__publicField$
|
|
6818
|
-
__publicField$
|
|
6819
|
-
__publicField$
|
|
6830
|
+
__publicField$4(this, "showInAccountSwitch");
|
|
6831
|
+
__publicField$4(this, "saveButton");
|
|
6832
|
+
__publicField$4(this, "documentTypeSelect");
|
|
6833
|
+
__publicField$4(this, "page");
|
|
6820
6834
|
this.page = page;
|
|
6821
6835
|
this.showInAccountSwitch = page.getByRole("checkbox", { name: 'Display document in "My' });
|
|
6822
6836
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -6827,6 +6841,194 @@ class DocumentDetail {
|
|
|
6827
6841
|
}
|
|
6828
6842
|
}
|
|
6829
6843
|
|
|
6844
|
+
var __defProp$3 = Object.defineProperty;
|
|
6845
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6846
|
+
var __publicField$3 = (obj, key, value) => {
|
|
6847
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6848
|
+
return value;
|
|
6849
|
+
};
|
|
6850
|
+
class PromotionsListing {
|
|
6851
|
+
constructor(page, instanceMeta) {
|
|
6852
|
+
__publicField$3(this, "instanceMeta");
|
|
6853
|
+
__publicField$3(this, "page");
|
|
6854
|
+
// SmartBar
|
|
6855
|
+
__publicField$3(this, "smartBar");
|
|
6856
|
+
__publicField$3(this, "smartBarHeader");
|
|
6857
|
+
__publicField$3(this, "languageSelect");
|
|
6858
|
+
__publicField$3(this, "smartBarAddPromotionButton");
|
|
6859
|
+
// Empty state locators
|
|
6860
|
+
__publicField$3(this, "emptyState");
|
|
6861
|
+
__publicField$3(this, "emptyStateAddPromotionButton");
|
|
6862
|
+
// Promotions table locators
|
|
6863
|
+
__publicField$3(this, "promotionsTable");
|
|
6864
|
+
// Sidebar
|
|
6865
|
+
__publicField$3(this, "sidebarRefreshButton");
|
|
6866
|
+
this.page = page;
|
|
6867
|
+
this.instanceMeta = instanceMeta;
|
|
6868
|
+
this.smartBar = page.locator(".smart-bar__content");
|
|
6869
|
+
this.smartBarHeader = this.smartBar.locator(".smart-bar__header");
|
|
6870
|
+
this.languageSelect = this.smartBar.locator(".sw-entity-single-select__selection");
|
|
6871
|
+
this.smartBarAddPromotionButton = this.smartBar.getByRole("button", { name: "Add promotion" });
|
|
6872
|
+
this.emptyState = page.locator(".sw-promotion-v2-empty-state-hero");
|
|
6873
|
+
this.emptyStateAddPromotionButton = this.emptyState.getByRole("button", { name: "Add promotion" });
|
|
6874
|
+
this.promotionsTable = page.locator(".sw-data-grid__table");
|
|
6875
|
+
this.sidebarRefreshButton = page.getByTitle("Refresh");
|
|
6876
|
+
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6877
|
+
this.smartBarAddPromotionButton = this.smartBar.getByRole("link", { name: "Add promotion" });
|
|
6878
|
+
this.emptyStateAddPromotionButton = this.emptyState.getByRole("link", { name: "Add promotion" });
|
|
6879
|
+
}
|
|
6880
|
+
}
|
|
6881
|
+
/**
|
|
6882
|
+
* Returns the url to the listing page.
|
|
6883
|
+
*
|
|
6884
|
+
* @param searchTerms - Includes search terms for filtering of the promotions list.
|
|
6885
|
+
*/
|
|
6886
|
+
url(searchTerms = []) {
|
|
6887
|
+
let url = "#/sw/promotion/v2/index";
|
|
6888
|
+
if (searchTerms.length > 0) {
|
|
6889
|
+
let tempTerm = "";
|
|
6890
|
+
for (const searchTerm of searchTerms) {
|
|
6891
|
+
if (tempTerm != "") {
|
|
6892
|
+
tempTerm += "+";
|
|
6893
|
+
}
|
|
6894
|
+
tempTerm += searchTerm;
|
|
6895
|
+
}
|
|
6896
|
+
url += `?limit=25&page=1&term=${tempTerm}`;
|
|
6897
|
+
}
|
|
6898
|
+
return url;
|
|
6899
|
+
}
|
|
6900
|
+
/**
|
|
6901
|
+
* Returns the table row containing the promotion with the given promotion name.
|
|
6902
|
+
*
|
|
6903
|
+
* @param promotionName - Promotion name you are looking for.
|
|
6904
|
+
*/
|
|
6905
|
+
async getPromotionRow(promotionName) {
|
|
6906
|
+
const promotionTableRow = this.promotionsTable.locator(".sw-data-grid__row", { hasText: promotionName });
|
|
6907
|
+
const selectionCheckbox = promotionTableRow.getByRole("checkbox");
|
|
6908
|
+
const promotionNameCell = promotionTableRow.locator(".sw-data-grid__cell--name");
|
|
6909
|
+
const promotionValidFrom = promotionTableRow.locator(".sw-data-grid__cell--validFrom");
|
|
6910
|
+
const promotionValidUntil = promotionTableRow.locator(".sw-data-grid__cell--validUntil");
|
|
6911
|
+
const promotionActive = promotionTableRow.locator(".is--active");
|
|
6912
|
+
const promotionInactive = promotionTableRow.locator(".is--inactive");
|
|
6913
|
+
const promotionContextButton = promotionTableRow.locator(".sw-context-button");
|
|
6914
|
+
const promotionContextMenu = ".sw-context-menu";
|
|
6915
|
+
const promotionContextMenuEdit = this.page.locator(promotionContextMenu).getByRole("link", { name: "Edit" });
|
|
6916
|
+
let promotionContextMenuDuplicate = this.page.locator(promotionContextMenu).getByRole("button", { name: "Duplicate" });
|
|
6917
|
+
let promotionContextMenuDelete = this.page.locator(promotionContextMenu).getByRole("button", { name: "Delete" });
|
|
6918
|
+
if (satisfies(this.instanceMeta.version, "<6.7")) {
|
|
6919
|
+
promotionContextMenuDuplicate = this.page.locator(promotionContextMenu).locator(".sw-context-menu-item", { hasText: "Duplicate" });
|
|
6920
|
+
promotionContextMenuDelete = this.page.locator(promotionContextMenu).locator(".sw-context-menu-item", { hasText: "Delete" });
|
|
6921
|
+
}
|
|
6922
|
+
return {
|
|
6923
|
+
selectionCheckbox,
|
|
6924
|
+
promotionName: promotionNameCell,
|
|
6925
|
+
promotionActive,
|
|
6926
|
+
promotionInactive,
|
|
6927
|
+
promotionValidFrom,
|
|
6928
|
+
promotionValidUntil,
|
|
6929
|
+
promotionContextButton,
|
|
6930
|
+
promotionContextMenuEditButton: promotionContextMenuEdit,
|
|
6931
|
+
promotionContextMenuDuplicateButton: promotionContextMenuDuplicate,
|
|
6932
|
+
promotionContextMenuDeleteButton: promotionContextMenuDelete
|
|
6933
|
+
};
|
|
6934
|
+
}
|
|
6935
|
+
}
|
|
6936
|
+
|
|
6937
|
+
var __defProp$2 = Object.defineProperty;
|
|
6938
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6939
|
+
var __publicField$2 = (obj, key, value) => {
|
|
6940
|
+
__defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6941
|
+
return value;
|
|
6942
|
+
};
|
|
6943
|
+
class PromotionCreate {
|
|
6944
|
+
constructor(page, instanceMeta) {
|
|
6945
|
+
__publicField$2(this, "page");
|
|
6946
|
+
__publicField$2(this, "instanceMeta");
|
|
6947
|
+
// SmartBar
|
|
6948
|
+
__publicField$2(this, "smartBar");
|
|
6949
|
+
__publicField$2(this, "smartBarHeader");
|
|
6950
|
+
__publicField$2(this, "languageSelect");
|
|
6951
|
+
__publicField$2(this, "saveButton");
|
|
6952
|
+
__publicField$2(this, "cancelButton");
|
|
6953
|
+
// General
|
|
6954
|
+
__publicField$2(this, "generalCard");
|
|
6955
|
+
__publicField$2(this, "nameInput");
|
|
6956
|
+
__publicField$2(this, "priorityInput");
|
|
6957
|
+
this.page = page;
|
|
6958
|
+
this.instanceMeta = instanceMeta;
|
|
6959
|
+
this.smartBar = page.locator(".smart-bar__content");
|
|
6960
|
+
this.smartBarHeader = this.smartBar.locator(".smart-bar__header");
|
|
6961
|
+
this.languageSelect = this.smartBar.locator(".sw-entity-single-select__selection");
|
|
6962
|
+
this.saveButton = this.smartBar.getByRole("button", { name: "Save" });
|
|
6963
|
+
this.cancelButton = this.smartBar.getByRole("button", { name: "Cancel" });
|
|
6964
|
+
this.generalCard = page.locator(".sw-promotion-v2-detail-base__card-general");
|
|
6965
|
+
this.nameInput = this.generalCard.locator(".sw-promotion-v2-detail-base__field-name").getByRole("textbox");
|
|
6966
|
+
this.priorityInput = this.generalCard.getByLabel("Priority");
|
|
6967
|
+
}
|
|
6968
|
+
/**
|
|
6969
|
+
* Returns the url to the creation page.
|
|
6970
|
+
*/
|
|
6971
|
+
url() {
|
|
6972
|
+
return "#/sw/promotion/v2/create/base";
|
|
6973
|
+
}
|
|
6974
|
+
}
|
|
6975
|
+
|
|
6976
|
+
var __defProp$1 = Object.defineProperty;
|
|
6977
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6978
|
+
var __publicField$1 = (obj, key, value) => {
|
|
6979
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6980
|
+
return value;
|
|
6981
|
+
};
|
|
6982
|
+
class PromotionDetail extends PromotionCreate {
|
|
6983
|
+
constructor(page, instanceMeta) {
|
|
6984
|
+
super(page, instanceMeta);
|
|
6985
|
+
__publicField$1(this, "page");
|
|
6986
|
+
__publicField$1(this, "instanceMeta");
|
|
6987
|
+
// Tabs
|
|
6988
|
+
__publicField$1(this, "tabGeneralLink");
|
|
6989
|
+
__publicField$1(this, "tabConditionsLink");
|
|
6990
|
+
__publicField$1(this, "tabDiscountsLink");
|
|
6991
|
+
// General Tab
|
|
6992
|
+
__publicField$1(this, "promotionCodesCard");
|
|
6993
|
+
__publicField$1(this, "promotionCodesHeading");
|
|
6994
|
+
__publicField$1(this, "promotionCodesSelection");
|
|
6995
|
+
// Conditions Tab
|
|
6996
|
+
__publicField$1(this, "preConditionsCard");
|
|
6997
|
+
// Discounts Tab
|
|
6998
|
+
__publicField$1(this, "addDiscountButton");
|
|
6999
|
+
__publicField$1(this, "discountCards");
|
|
7000
|
+
this.page = page;
|
|
7001
|
+
this.instanceMeta = instanceMeta;
|
|
7002
|
+
this.tabGeneralLink = page.getByRole("tab", { name: "General" });
|
|
7003
|
+
this.tabConditionsLink = page.getByRole("tab", { name: "Conditions" });
|
|
7004
|
+
this.tabDiscountsLink = page.getByRole("tab", { name: "Discounts" });
|
|
7005
|
+
this.promotionCodesCard = page.locator(".sw-promotion-v2-detail-base__card-codes");
|
|
7006
|
+
this.promotionCodesHeading = this.promotionCodesCard.getByRole("heading", { name: "Promotion codes" });
|
|
7007
|
+
this.promotionCodesSelection = this.promotionCodesCard.locator(".mt-select__selection");
|
|
7008
|
+
this.preConditionsCard = page.locator(".mt-card__wrapper", { hasText: "Pre-conditions" });
|
|
7009
|
+
this.addDiscountButton = page.getByRole("button", { name: "Add discount" });
|
|
7010
|
+
this.discountCards = page.locator(".sw-promotion-detail-discounts__discount-list");
|
|
7011
|
+
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
7012
|
+
this.promotionCodesHeading = this.promotionCodesCard.locator(".sw-card__title");
|
|
7013
|
+
this.promotionCodesSelection = this.promotionCodesCard.getByRole("combobox");
|
|
7014
|
+
this.preConditionsCard = page.locator(".sw-card-wrapper", { hasText: "Pre-conditions" });
|
|
7015
|
+
}
|
|
7016
|
+
}
|
|
7017
|
+
/**
|
|
7018
|
+
* Returns the url to the detail page.
|
|
7019
|
+
*
|
|
7020
|
+
* @param promotionId - Id of the promotion to show the details of.
|
|
7021
|
+
* @param tab - The tab to open. Defaults to 'general'. Other options are 'conditions' and 'discounts'.
|
|
7022
|
+
*/
|
|
7023
|
+
url(promotionId, tab = "general") {
|
|
7024
|
+
let tabString = "base";
|
|
7025
|
+
if (tab != "general") {
|
|
7026
|
+
tabString = tab;
|
|
7027
|
+
}
|
|
7028
|
+
return `#/sw/promotion/v2/detail/${promotionId}/${tabString}`;
|
|
7029
|
+
}
|
|
7030
|
+
}
|
|
7031
|
+
|
|
6830
7032
|
const AdminPageObjects = {
|
|
6831
7033
|
ProductDetail,
|
|
6832
7034
|
OrderDetail,
|
|
@@ -6863,7 +7065,10 @@ const AdminPageObjects = {
|
|
|
6863
7065
|
CustomerBulkEdit,
|
|
6864
7066
|
SettingsListing,
|
|
6865
7067
|
DocumentListing,
|
|
6866
|
-
DocumentDetail
|
|
7068
|
+
DocumentDetail,
|
|
7069
|
+
PromotionsListing,
|
|
7070
|
+
PromotionCreate,
|
|
7071
|
+
PromotionDetail
|
|
6867
7072
|
};
|
|
6868
7073
|
const test$6 = test$e.extend({
|
|
6869
7074
|
AdminProductDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
@@ -6973,6 +7178,15 @@ const test$6 = test$e.extend({
|
|
|
6973
7178
|
},
|
|
6974
7179
|
AdminDocumentDetail: async ({ AdminPage }, use) => {
|
|
6975
7180
|
await use(new DocumentDetail(AdminPage));
|
|
7181
|
+
},
|
|
7182
|
+
AdminPromotionsListing: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7183
|
+
await use(new PromotionsListing(AdminPage, InstanceMeta));
|
|
7184
|
+
},
|
|
7185
|
+
AdminPromotionCreate: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7186
|
+
await use(new PromotionCreate(AdminPage, InstanceMeta));
|
|
7187
|
+
},
|
|
7188
|
+
AdminPromotionDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7189
|
+
await use(new PromotionDetail(AdminPage, InstanceMeta));
|
|
6976
7190
|
}
|
|
6977
7191
|
});
|
|
6978
7192
|
|