@shopware-ag/acceptance-test-suite 11.17.1 → 11.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +33 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.mjs +1026 -954
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -155,16 +155,16 @@ const test$d = test$f.extend({
|
|
|
155
155
|
]
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
var __defProp$
|
|
159
|
-
var __defNormalProp$
|
|
160
|
-
var __publicField$
|
|
161
|
-
__defNormalProp$
|
|
158
|
+
var __defProp$10 = Object.defineProperty;
|
|
159
|
+
var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
160
|
+
var __publicField$10 = (obj, key, value) => {
|
|
161
|
+
__defNormalProp$10(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$10(this, "context");
|
|
167
|
+
__publicField$10(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$10(_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$_(_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$$ = Object.defineProperty;
|
|
298
|
+
var __defNormalProp$$ = (obj, key, value) => key in obj ? __defProp$$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
299
|
+
var __publicField$$ = (obj, key, value) => {
|
|
300
|
+
__defNormalProp$$(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$$(this, "context");
|
|
306
|
+
__publicField$$(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$$(_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$_ = Object.defineProperty;
|
|
372
|
+
var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
373
|
+
var __publicField$_ = (obj, key, value) => {
|
|
374
|
+
__defNormalProp$_(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$_(this, "context");
|
|
380
380
|
this.context = context;
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
@@ -688,18 +688,18 @@ const test$b = test$f.extend({
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
691
|
-
var __defProp$
|
|
692
|
-
var __defNormalProp$
|
|
693
|
-
var __publicField$
|
|
694
|
-
__defNormalProp$
|
|
691
|
+
var __defProp$Z = Object.defineProperty;
|
|
692
|
+
var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
693
|
+
var __publicField$Z = (obj, key, value) => {
|
|
694
|
+
__defNormalProp$Z(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$Z(this, "page");
|
|
700
|
+
__publicField$Z(this, "name");
|
|
701
|
+
__publicField$Z(this, "baseURL");
|
|
702
|
+
__publicField$Z(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$Y = Object.defineProperty;
|
|
1040
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1041
|
+
var __publicField$Y = (obj, key, value) => {
|
|
1042
|
+
__defNormalProp$Y(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$Y(this, "AdminApiClient");
|
|
1048
|
+
__publicField$Y(this, "IdProvider");
|
|
1049
|
+
__publicField$Y(this, "namePrefix", "Test-");
|
|
1050
|
+
__publicField$Y(this, "nameSuffix", "");
|
|
1051
|
+
__publicField$Y(this, "defaultSalesChannel");
|
|
1052
|
+
__publicField$Y(this, "defaultTaxId");
|
|
1053
|
+
__publicField$Y(this, "defaultCurrencyId");
|
|
1054
|
+
__publicField$Y(this, "defaultCategoryId");
|
|
1055
|
+
__publicField$Y(this, "defaultLanguageId");
|
|
1056
|
+
__publicField$Y(this, "defaultCountryId");
|
|
1057
|
+
__publicField$Y(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$Y(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$Y(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$Y(this, "createdRecords", []);
|
|
1078
|
+
__publicField$Y(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$Y(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$Y(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$f.extend({
|
|
|
3253
3253
|
}
|
|
3254
3254
|
});
|
|
3255
3255
|
|
|
3256
|
-
var __defProp$
|
|
3257
|
-
var __defNormalProp$
|
|
3258
|
-
var __publicField$
|
|
3259
|
-
__defNormalProp$
|
|
3256
|
+
var __defProp$X = Object.defineProperty;
|
|
3257
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3258
|
+
var __publicField$X = (obj, key, value) => {
|
|
3259
|
+
__defNormalProp$X(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$X(this, "workerIndex");
|
|
3265
|
+
__publicField$X(this, "seed");
|
|
3266
3266
|
this.workerIndex = workerIndex;
|
|
3267
3267
|
this.seed = seed;
|
|
3268
3268
|
}
|
|
@@ -3388,82 +3388,82 @@ const test$8 = test$f.extend({
|
|
|
3388
3388
|
]
|
|
3389
3389
|
});
|
|
3390
3390
|
|
|
3391
|
-
var __defProp$
|
|
3392
|
-
var __defNormalProp$
|
|
3393
|
-
var __publicField$
|
|
3394
|
-
__defNormalProp$
|
|
3391
|
+
var __defProp$W = Object.defineProperty;
|
|
3392
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3393
|
+
var __publicField$W = (obj, key, value) => {
|
|
3394
|
+
__defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3395
3395
|
return value;
|
|
3396
3396
|
};
|
|
3397
3397
|
class Home {
|
|
3398
3398
|
constructor(page) {
|
|
3399
3399
|
this.page = page;
|
|
3400
|
-
__publicField$
|
|
3401
|
-
__publicField$
|
|
3402
|
-
__publicField$
|
|
3403
|
-
__publicField$
|
|
3404
|
-
__publicField$
|
|
3405
|
-
__publicField$
|
|
3400
|
+
__publicField$W(this, "accountMenuButton");
|
|
3401
|
+
__publicField$W(this, "closeGuestSessionButton");
|
|
3402
|
+
__publicField$W(this, "productImages");
|
|
3403
|
+
__publicField$W(this, "productListItems");
|
|
3404
|
+
__publicField$W(this, "loader");
|
|
3405
|
+
__publicField$W(this, "productVariantCharacteristicsOptions");
|
|
3406
3406
|
/**
|
|
3407
3407
|
* @deprecated Use 'Header/languagesDropdown' instead
|
|
3408
3408
|
*/
|
|
3409
|
-
__publicField$
|
|
3409
|
+
__publicField$W(this, "languagesDropdown");
|
|
3410
3410
|
/**
|
|
3411
3411
|
* @deprecated Use 'Header/languagesMenuOptions' instead
|
|
3412
3412
|
*/
|
|
3413
|
-
__publicField$
|
|
3413
|
+
__publicField$W(this, "languagesMenuOptions");
|
|
3414
3414
|
/**
|
|
3415
3415
|
* @deprecated Use 'Header/currenciesDropdown' instead
|
|
3416
3416
|
*/
|
|
3417
|
-
__publicField$
|
|
3417
|
+
__publicField$W(this, "currenciesDropdown");
|
|
3418
3418
|
/**
|
|
3419
3419
|
* @deprecated Use 'Header/currenciesMenuOptions' instead
|
|
3420
3420
|
*/
|
|
3421
|
-
__publicField$
|
|
3422
|
-
__publicField$
|
|
3423
|
-
__publicField$
|
|
3424
|
-
__publicField$
|
|
3425
|
-
__publicField$
|
|
3426
|
-
__publicField$
|
|
3427
|
-
__publicField$
|
|
3428
|
-
__publicField$
|
|
3429
|
-
__publicField$
|
|
3421
|
+
__publicField$W(this, "currenciesMenuOptions");
|
|
3422
|
+
__publicField$W(this, "consentOnlyTechnicallyRequiredButton");
|
|
3423
|
+
__publicField$W(this, "consentConfigureButton");
|
|
3424
|
+
__publicField$W(this, "consentAcceptAllCookiesButton");
|
|
3425
|
+
__publicField$W(this, "consentCookiePreferences");
|
|
3426
|
+
__publicField$W(this, "consentCookiePermissionContent");
|
|
3427
|
+
__publicField$W(this, "consentDialog");
|
|
3428
|
+
__publicField$W(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3429
|
+
__publicField$W(this, "consentDialogStatisticsCheckbox");
|
|
3430
3430
|
/**
|
|
3431
3431
|
* @deprecated Use 'consentDialogMarketingCheckbox' instead
|
|
3432
3432
|
*/
|
|
3433
|
-
__publicField$
|
|
3434
|
-
__publicField$
|
|
3435
|
-
__publicField$
|
|
3436
|
-
__publicField$
|
|
3437
|
-
__publicField$
|
|
3438
|
-
__publicField$
|
|
3433
|
+
__publicField$W(this, "consentDialogMarketingdCheckbox");
|
|
3434
|
+
__publicField$W(this, "consentDialogMarketingCheckbox");
|
|
3435
|
+
__publicField$W(this, "consentDialogAcceptAllCookiesButton");
|
|
3436
|
+
__publicField$W(this, "consentDialogSaveButton");
|
|
3437
|
+
__publicField$W(this, "consentCookieBannerContainer");
|
|
3438
|
+
__publicField$W(this, "offcanvasBackdrop");
|
|
3439
3439
|
/**
|
|
3440
3440
|
* @deprecated Use 'Header/mainNavigationLink' instead
|
|
3441
3441
|
*/
|
|
3442
|
-
__publicField$
|
|
3442
|
+
__publicField$W(this, "mainNavigationLink");
|
|
3443
3443
|
/**
|
|
3444
3444
|
* @deprecated Use 'Footer/contactFormLink' instead
|
|
3445
3445
|
*/
|
|
3446
|
-
__publicField$
|
|
3446
|
+
__publicField$W(this, "contactFormLink");
|
|
3447
3447
|
//wishlist
|
|
3448
3448
|
/**
|
|
3449
3449
|
* @deprecated Use 'Header/wishlistIcon' instead
|
|
3450
3450
|
*/
|
|
3451
|
-
__publicField$
|
|
3451
|
+
__publicField$W(this, "wishlistIcon");
|
|
3452
3452
|
/**
|
|
3453
3453
|
* @deprecated Use 'Header/wishlistBasket' instead
|
|
3454
3454
|
*/
|
|
3455
|
-
__publicField$
|
|
3455
|
+
__publicField$W(this, "wishlistBasket");
|
|
3456
3456
|
//product filters
|
|
3457
|
-
__publicField$
|
|
3458
|
-
__publicField$
|
|
3459
|
-
__publicField$
|
|
3460
|
-
__publicField$
|
|
3461
|
-
__publicField$
|
|
3462
|
-
__publicField$
|
|
3463
|
-
__publicField$
|
|
3464
|
-
__publicField$
|
|
3465
|
-
__publicField$
|
|
3466
|
-
__publicField$
|
|
3457
|
+
__publicField$W(this, "filterMultiSelect");
|
|
3458
|
+
__publicField$W(this, "manufacturerFilter");
|
|
3459
|
+
__publicField$W(this, "propertyFilters");
|
|
3460
|
+
__publicField$W(this, "priceFilterButton");
|
|
3461
|
+
__publicField$W(this, "resetAllButton");
|
|
3462
|
+
__publicField$W(this, "freeShippingFilter");
|
|
3463
|
+
__publicField$W(this, "productList");
|
|
3464
|
+
__publicField$W(this, "productItemNames");
|
|
3465
|
+
__publicField$W(this, "productRatingButton");
|
|
3466
|
+
__publicField$W(this, "productRatingList");
|
|
3467
3467
|
this.accountMenuButton = page.getByLabel("Your account");
|
|
3468
3468
|
this.closeGuestSessionButton = page.locator(".account-aside-btn");
|
|
3469
3469
|
this.productImages = page.locator(".product-image-wrapper");
|
|
@@ -3617,59 +3617,59 @@ class Home {
|
|
|
3617
3617
|
}
|
|
3618
3618
|
}
|
|
3619
3619
|
|
|
3620
|
-
var __defProp$
|
|
3621
|
-
var __defNormalProp$
|
|
3622
|
-
var __publicField$
|
|
3623
|
-
__defNormalProp$
|
|
3620
|
+
var __defProp$V = Object.defineProperty;
|
|
3621
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3622
|
+
var __publicField$V = (obj, key, value) => {
|
|
3623
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3624
3624
|
return value;
|
|
3625
3625
|
};
|
|
3626
3626
|
let ProductDetail$1 = class ProductDetail {
|
|
3627
3627
|
constructor(page) {
|
|
3628
3628
|
this.page = page;
|
|
3629
|
-
__publicField$
|
|
3630
|
-
__publicField$
|
|
3631
|
-
__publicField$
|
|
3632
|
-
__publicField$
|
|
3633
|
-
__publicField$
|
|
3634
|
-
__publicField$
|
|
3635
|
-
__publicField$
|
|
3636
|
-
__publicField$
|
|
3637
|
-
__publicField$
|
|
3638
|
-
__publicField$
|
|
3639
|
-
__publicField$
|
|
3640
|
-
__publicField$
|
|
3641
|
-
__publicField$
|
|
3642
|
-
__publicField$
|
|
3643
|
-
__publicField$
|
|
3644
|
-
__publicField$
|
|
3645
|
-
__publicField$
|
|
3646
|
-
__publicField$
|
|
3647
|
-
__publicField$
|
|
3648
|
-
__publicField$
|
|
3629
|
+
__publicField$V(this, "addToCartButton");
|
|
3630
|
+
__publicField$V(this, "quantitySelect");
|
|
3631
|
+
__publicField$V(this, "productSingleImage");
|
|
3632
|
+
__publicField$V(this, "productSinglePrice");
|
|
3633
|
+
__publicField$V(this, "productPriceRangesRow");
|
|
3634
|
+
__publicField$V(this, "productListingPriceBadge");
|
|
3635
|
+
__publicField$V(this, "productListingPrice");
|
|
3636
|
+
__publicField$V(this, "productListingPricePercentage");
|
|
3637
|
+
__publicField$V(this, "offCanvasCartTitle");
|
|
3638
|
+
__publicField$V(this, "offCanvasCart");
|
|
3639
|
+
__publicField$V(this, "offCanvasCartGoToCheckoutButton");
|
|
3640
|
+
__publicField$V(this, "offCanvasLineItemImages");
|
|
3641
|
+
__publicField$V(this, "offCanvasSummaryTotalPrice");
|
|
3642
|
+
__publicField$V(this, "offCanvas");
|
|
3643
|
+
__publicField$V(this, "wishlistAddedButton");
|
|
3644
|
+
__publicField$V(this, "wishlistNotAddedButton");
|
|
3645
|
+
__publicField$V(this, "productDetailConfigurator");
|
|
3646
|
+
__publicField$V(this, "productDetailConfiguratorGroupTitle");
|
|
3647
|
+
__publicField$V(this, "productDetailConfiguratorOptionInputs");
|
|
3648
|
+
__publicField$V(this, "productName");
|
|
3649
3649
|
//Reviews Tab
|
|
3650
|
-
__publicField$
|
|
3651
|
-
__publicField$
|
|
3652
|
-
__publicField$
|
|
3653
|
-
__publicField$
|
|
3654
|
-
__publicField$
|
|
3655
|
-
__publicField$
|
|
3656
|
-
__publicField$
|
|
3657
|
-
__publicField$
|
|
3658
|
-
__publicField$
|
|
3659
|
-
__publicField$
|
|
3660
|
-
__publicField$
|
|
3661
|
-
__publicField$
|
|
3662
|
-
__publicField$
|
|
3663
|
-
__publicField$
|
|
3664
|
-
__publicField$
|
|
3665
|
-
__publicField$
|
|
3666
|
-
__publicField$
|
|
3667
|
-
__publicField$
|
|
3668
|
-
__publicField$
|
|
3669
|
-
__publicField$
|
|
3670
|
-
__publicField$
|
|
3671
|
-
__publicField$
|
|
3672
|
-
__publicField$
|
|
3650
|
+
__publicField$V(this, "reviewsTab");
|
|
3651
|
+
__publicField$V(this, "reviewTeaserButton");
|
|
3652
|
+
__publicField$V(this, "reviewTeaserText");
|
|
3653
|
+
__publicField$V(this, "reviewListingItems");
|
|
3654
|
+
__publicField$V(this, "reviewEmptyListingText");
|
|
3655
|
+
__publicField$V(this, "reviewLoginForm");
|
|
3656
|
+
__publicField$V(this, "forgottenPasswordLink");
|
|
3657
|
+
__publicField$V(this, "reviewForm");
|
|
3658
|
+
__publicField$V(this, "reviewRatingPoints");
|
|
3659
|
+
__publicField$V(this, "reviewRatingText");
|
|
3660
|
+
__publicField$V(this, "reviewSubmitMessage");
|
|
3661
|
+
__publicField$V(this, "reviewCounter");
|
|
3662
|
+
__publicField$V(this, "reviewItemRatingPoints");
|
|
3663
|
+
__publicField$V(this, "reviewItemTitle");
|
|
3664
|
+
__publicField$V(this, "reviewReviewTextInput");
|
|
3665
|
+
__publicField$V(this, "reviewItemContent");
|
|
3666
|
+
__publicField$V(this, "reviewLoginButton");
|
|
3667
|
+
__publicField$V(this, "reviewEmailInput");
|
|
3668
|
+
__publicField$V(this, "reviewPasswordInput");
|
|
3669
|
+
__publicField$V(this, "reviewTitleInput");
|
|
3670
|
+
__publicField$V(this, "reviewSubmitButton");
|
|
3671
|
+
__publicField$V(this, "productReviewsLink");
|
|
3672
|
+
__publicField$V(this, "productReviewRating");
|
|
3673
3673
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
3674
3674
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
3675
3675
|
this.productSingleImage = page.locator(".gallery-slider-single-image");
|
|
@@ -3734,18 +3734,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
3734
3734
|
}
|
|
3735
3735
|
};
|
|
3736
3736
|
|
|
3737
|
-
var __defProp$
|
|
3738
|
-
var __defNormalProp$
|
|
3739
|
-
var __publicField$
|
|
3740
|
-
__defNormalProp$
|
|
3737
|
+
var __defProp$U = Object.defineProperty;
|
|
3738
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3739
|
+
var __publicField$U = (obj, key, value) => {
|
|
3740
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3741
3741
|
return value;
|
|
3742
3742
|
};
|
|
3743
3743
|
class Category {
|
|
3744
3744
|
constructor(page) {
|
|
3745
3745
|
this.page = page;
|
|
3746
|
-
__publicField$
|
|
3747
|
-
__publicField$
|
|
3748
|
-
__publicField$
|
|
3746
|
+
__publicField$U(this, "sortingSelect");
|
|
3747
|
+
__publicField$U(this, "firstProductBuyButton");
|
|
3748
|
+
__publicField$U(this, "noProductsFoundAlert");
|
|
3749
3749
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
3750
3750
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
3751
3751
|
this.noProductsFoundAlert = page.getByText("No products found.");
|
|
@@ -3755,24 +3755,24 @@ class Category {
|
|
|
3755
3755
|
}
|
|
3756
3756
|
}
|
|
3757
3757
|
|
|
3758
|
-
var __defProp$
|
|
3759
|
-
var __defNormalProp$
|
|
3760
|
-
var __publicField$
|
|
3761
|
-
__defNormalProp$
|
|
3758
|
+
var __defProp$T = Object.defineProperty;
|
|
3759
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3760
|
+
var __publicField$T = (obj, key, value) => {
|
|
3761
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3762
3762
|
return value;
|
|
3763
3763
|
};
|
|
3764
3764
|
class CheckoutCart {
|
|
3765
3765
|
constructor(page) {
|
|
3766
3766
|
this.page = page;
|
|
3767
|
-
__publicField$
|
|
3768
|
-
__publicField$
|
|
3769
|
-
__publicField$
|
|
3770
|
-
__publicField$
|
|
3771
|
-
__publicField$
|
|
3772
|
-
__publicField$
|
|
3773
|
-
__publicField$
|
|
3774
|
-
__publicField$
|
|
3775
|
-
__publicField$
|
|
3767
|
+
__publicField$T(this, "headline");
|
|
3768
|
+
__publicField$T(this, "goToCheckoutButton");
|
|
3769
|
+
__publicField$T(this, "enterPromoInput");
|
|
3770
|
+
__publicField$T(this, "grandTotalPrice");
|
|
3771
|
+
__publicField$T(this, "emptyCartAlert");
|
|
3772
|
+
__publicField$T(this, "stockReachedAlert");
|
|
3773
|
+
__publicField$T(this, "cartLineItemImages");
|
|
3774
|
+
__publicField$T(this, "unitPriceInfo");
|
|
3775
|
+
__publicField$T(this, "cartQuantityNumber");
|
|
3776
3776
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3777
3777
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
3778
3778
|
this.enterPromoInput = page.getByLabel("Promo code");
|
|
@@ -3813,25 +3813,25 @@ class CheckoutCart {
|
|
|
3813
3813
|
}
|
|
3814
3814
|
}
|
|
3815
3815
|
|
|
3816
|
-
var __defProp$
|
|
3817
|
-
var __defNormalProp$
|
|
3818
|
-
var __publicField$
|
|
3819
|
-
__defNormalProp$
|
|
3816
|
+
var __defProp$S = Object.defineProperty;
|
|
3817
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3818
|
+
var __publicField$S = (obj, key, value) => {
|
|
3819
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3820
3820
|
return value;
|
|
3821
3821
|
};
|
|
3822
3822
|
class OffCanvasCart {
|
|
3823
3823
|
constructor(page) {
|
|
3824
3824
|
this.page = page;
|
|
3825
|
-
__publicField$
|
|
3826
|
-
__publicField$
|
|
3827
|
-
__publicField$
|
|
3828
|
-
__publicField$
|
|
3829
|
-
__publicField$
|
|
3830
|
-
__publicField$
|
|
3831
|
-
__publicField$
|
|
3832
|
-
__publicField$
|
|
3833
|
-
__publicField$
|
|
3834
|
-
__publicField$
|
|
3825
|
+
__publicField$S(this, "headline");
|
|
3826
|
+
__publicField$S(this, "itemCount");
|
|
3827
|
+
__publicField$S(this, "goToCheckoutButton");
|
|
3828
|
+
__publicField$S(this, "goToCartButton");
|
|
3829
|
+
__publicField$S(this, "continueShoppingButton");
|
|
3830
|
+
__publicField$S(this, "enterPromoInput");
|
|
3831
|
+
__publicField$S(this, "submitDiscountButton");
|
|
3832
|
+
__publicField$S(this, "subTotalPrice");
|
|
3833
|
+
__publicField$S(this, "shippingCosts");
|
|
3834
|
+
__publicField$S(this, "cartQuantityNumber");
|
|
3835
3835
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3836
3836
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
3837
3837
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -3877,36 +3877,36 @@ class OffCanvasCart {
|
|
|
3877
3877
|
}
|
|
3878
3878
|
}
|
|
3879
3879
|
|
|
3880
|
-
var __defProp$
|
|
3881
|
-
var __defNormalProp$
|
|
3882
|
-
var __publicField$
|
|
3883
|
-
__defNormalProp$
|
|
3880
|
+
var __defProp$R = Object.defineProperty;
|
|
3881
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3882
|
+
var __publicField$R = (obj, key, value) => {
|
|
3883
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3884
3884
|
return value;
|
|
3885
3885
|
};
|
|
3886
3886
|
class CheckoutConfirm {
|
|
3887
3887
|
constructor(page) {
|
|
3888
3888
|
this.page = page;
|
|
3889
|
-
__publicField$
|
|
3890
|
-
__publicField$
|
|
3891
|
-
__publicField$
|
|
3892
|
-
__publicField$
|
|
3893
|
-
__publicField$
|
|
3894
|
-
__publicField$
|
|
3889
|
+
__publicField$R(this, "headline");
|
|
3890
|
+
__publicField$R(this, "termsAndConditionsCheckbox");
|
|
3891
|
+
__publicField$R(this, "immediateAccessToDigitalProductCheckbox");
|
|
3892
|
+
__publicField$R(this, "grandTotalPrice");
|
|
3893
|
+
__publicField$R(this, "taxPrice");
|
|
3894
|
+
__publicField$R(this, "submitOrderButton");
|
|
3895
3895
|
/**
|
|
3896
3896
|
* Payment options
|
|
3897
3897
|
*/
|
|
3898
|
-
__publicField$
|
|
3899
|
-
__publicField$
|
|
3900
|
-
__publicField$
|
|
3898
|
+
__publicField$R(this, "paymentCashOnDelivery");
|
|
3899
|
+
__publicField$R(this, "paymentPaidInAdvance");
|
|
3900
|
+
__publicField$R(this, "paymentInvoice");
|
|
3901
3901
|
/**
|
|
3902
3902
|
* Shipping options
|
|
3903
3903
|
*/
|
|
3904
|
-
__publicField$
|
|
3905
|
-
__publicField$
|
|
3904
|
+
__publicField$R(this, "shippingStandard");
|
|
3905
|
+
__publicField$R(this, "shippingExpress");
|
|
3906
3906
|
/**
|
|
3907
3907
|
* Product details
|
|
3908
3908
|
*/
|
|
3909
|
-
__publicField$
|
|
3909
|
+
__publicField$R(this, "cartLineItemImages");
|
|
3910
3910
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
3911
3911
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
3912
3912
|
this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
|
|
@@ -3925,21 +3925,21 @@ class CheckoutConfirm {
|
|
|
3925
3925
|
}
|
|
3926
3926
|
}
|
|
3927
3927
|
|
|
3928
|
-
var __defProp$
|
|
3929
|
-
var __defNormalProp$
|
|
3930
|
-
var __publicField$
|
|
3931
|
-
__defNormalProp$
|
|
3928
|
+
var __defProp$Q = Object.defineProperty;
|
|
3929
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3930
|
+
var __publicField$Q = (obj, key, value) => {
|
|
3931
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3932
3932
|
return value;
|
|
3933
3933
|
};
|
|
3934
3934
|
class CheckoutFinish {
|
|
3935
3935
|
constructor(page) {
|
|
3936
3936
|
this.page = page;
|
|
3937
|
-
__publicField$
|
|
3938
|
-
__publicField$
|
|
3939
|
-
__publicField$
|
|
3940
|
-
__publicField$
|
|
3941
|
-
__publicField$
|
|
3942
|
-
__publicField$
|
|
3937
|
+
__publicField$Q(this, "headline");
|
|
3938
|
+
__publicField$Q(this, "orderNumberText");
|
|
3939
|
+
__publicField$Q(this, "grandTotalPrice");
|
|
3940
|
+
__publicField$Q(this, "taxPrice");
|
|
3941
|
+
__publicField$Q(this, "cartLineItemImages");
|
|
3942
|
+
__publicField$Q(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
3943
3943
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
3944
3944
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
3945
3945
|
this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
|
|
@@ -3968,16 +3968,16 @@ class CheckoutFinish {
|
|
|
3968
3968
|
}
|
|
3969
3969
|
}
|
|
3970
3970
|
|
|
3971
|
-
var __defProp$
|
|
3972
|
-
var __defNormalProp$
|
|
3973
|
-
var __publicField$
|
|
3974
|
-
__defNormalProp$
|
|
3971
|
+
var __defProp$P = Object.defineProperty;
|
|
3972
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3973
|
+
var __publicField$P = (obj, key, value) => {
|
|
3974
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3975
3975
|
return value;
|
|
3976
3976
|
};
|
|
3977
3977
|
class CheckoutRegister {
|
|
3978
3978
|
constructor(page) {
|
|
3979
3979
|
this.page = page;
|
|
3980
|
-
__publicField$
|
|
3980
|
+
__publicField$P(this, "cartLineItemImages");
|
|
3981
3981
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3982
3982
|
}
|
|
3983
3983
|
url() {
|
|
@@ -3985,26 +3985,26 @@ class CheckoutRegister {
|
|
|
3985
3985
|
}
|
|
3986
3986
|
}
|
|
3987
3987
|
|
|
3988
|
-
var __defProp$
|
|
3989
|
-
var __defNormalProp$
|
|
3990
|
-
var __publicField$
|
|
3991
|
-
__defNormalProp$
|
|
3988
|
+
var __defProp$O = Object.defineProperty;
|
|
3989
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3990
|
+
var __publicField$O = (obj, key, value) => {
|
|
3991
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3992
3992
|
return value;
|
|
3993
3993
|
};
|
|
3994
3994
|
class Account {
|
|
3995
3995
|
constructor(page, instanceMeta) {
|
|
3996
3996
|
this.page = page;
|
|
3997
3997
|
this.instanceMeta = instanceMeta;
|
|
3998
|
-
__publicField$
|
|
3999
|
-
__publicField$
|
|
4000
|
-
__publicField$
|
|
4001
|
-
__publicField$
|
|
4002
|
-
__publicField$
|
|
4003
|
-
__publicField$
|
|
4004
|
-
__publicField$
|
|
4005
|
-
__publicField$
|
|
4006
|
-
__publicField$
|
|
4007
|
-
__publicField$
|
|
3998
|
+
__publicField$O(this, "headline");
|
|
3999
|
+
__publicField$O(this, "personalDataCardTitle");
|
|
4000
|
+
__publicField$O(this, "paymentMethodCardTitle");
|
|
4001
|
+
__publicField$O(this, "billingAddressCardTitle");
|
|
4002
|
+
__publicField$O(this, "shippingAddressCardTitle");
|
|
4003
|
+
__publicField$O(this, "newsletterCheckbox");
|
|
4004
|
+
__publicField$O(this, "newsletterRegistrationSuccessMessage");
|
|
4005
|
+
__publicField$O(this, "customerGroupRequestMessage");
|
|
4006
|
+
__publicField$O(this, "cannotDeliverToCountryAlert");
|
|
4007
|
+
__publicField$O(this, "shippingToAddressNotPossibleAlert");
|
|
4008
4008
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
4009
4009
|
this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
|
|
4010
4010
|
this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
|
|
@@ -4028,57 +4028,57 @@ class Account {
|
|
|
4028
4028
|
}
|
|
4029
4029
|
}
|
|
4030
4030
|
|
|
4031
|
-
var __defProp$
|
|
4032
|
-
var __defNormalProp$
|
|
4033
|
-
var __publicField$
|
|
4034
|
-
__defNormalProp$
|
|
4031
|
+
var __defProp$N = Object.defineProperty;
|
|
4032
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4033
|
+
var __publicField$N = (obj, key, value) => {
|
|
4034
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4035
4035
|
return value;
|
|
4036
4036
|
};
|
|
4037
4037
|
class AccountLogin {
|
|
4038
4038
|
constructor(page) {
|
|
4039
4039
|
this.page = page;
|
|
4040
|
-
__publicField$
|
|
4041
|
-
__publicField$
|
|
4042
|
-
__publicField$
|
|
4043
|
-
__publicField$
|
|
4044
|
-
__publicField$
|
|
4045
|
-
__publicField$
|
|
4046
|
-
__publicField$
|
|
4047
|
-
__publicField$
|
|
4040
|
+
__publicField$N(this, "emailInput");
|
|
4041
|
+
__publicField$N(this, "passwordInput");
|
|
4042
|
+
__publicField$N(this, "forgotPasswordLink");
|
|
4043
|
+
__publicField$N(this, "loginButton");
|
|
4044
|
+
__publicField$N(this, "logoutLink");
|
|
4045
|
+
__publicField$N(this, "successAlert");
|
|
4046
|
+
__publicField$N(this, "invalidCredentialsAlert");
|
|
4047
|
+
__publicField$N(this, "passwordUpdatedAlert");
|
|
4048
4048
|
// Inputs for registration
|
|
4049
|
-
__publicField$
|
|
4050
|
-
__publicField$
|
|
4051
|
-
__publicField$
|
|
4052
|
-
__publicField$
|
|
4053
|
-
__publicField$
|
|
4054
|
-
__publicField$
|
|
4055
|
-
__publicField$
|
|
4056
|
-
__publicField$
|
|
4057
|
-
__publicField$
|
|
4058
|
-
__publicField$
|
|
4059
|
-
__publicField$
|
|
4060
|
-
__publicField$
|
|
4061
|
-
__publicField$
|
|
4062
|
-
__publicField$
|
|
4063
|
-
__publicField$
|
|
4064
|
-
__publicField$
|
|
4049
|
+
__publicField$N(this, "personalFormArea");
|
|
4050
|
+
__publicField$N(this, "billingAddressFormArea");
|
|
4051
|
+
__publicField$N(this, "accountTypeSelect");
|
|
4052
|
+
__publicField$N(this, "salutationSelect");
|
|
4053
|
+
__publicField$N(this, "firstNameInput");
|
|
4054
|
+
__publicField$N(this, "lastNameInput");
|
|
4055
|
+
__publicField$N(this, "companyInput");
|
|
4056
|
+
__publicField$N(this, "departmentInput");
|
|
4057
|
+
__publicField$N(this, "vatRegNoInput");
|
|
4058
|
+
__publicField$N(this, "registerEmailInput");
|
|
4059
|
+
__publicField$N(this, "registerPasswordInput");
|
|
4060
|
+
__publicField$N(this, "streetAddressInput");
|
|
4061
|
+
__publicField$N(this, "cityInput");
|
|
4062
|
+
__publicField$N(this, "countryInput");
|
|
4063
|
+
__publicField$N(this, "postalCodeInput");
|
|
4064
|
+
__publicField$N(this, "registerButton");
|
|
4065
4065
|
// Inputs for reCaptcha
|
|
4066
|
-
__publicField$
|
|
4067
|
-
__publicField$
|
|
4068
|
-
__publicField$
|
|
4069
|
-
__publicField$
|
|
4070
|
-
__publicField$
|
|
4066
|
+
__publicField$N(this, "greCaptchaV2Container");
|
|
4067
|
+
__publicField$N(this, "greCaptchaV2Input");
|
|
4068
|
+
__publicField$N(this, "greCaptchaV3Input");
|
|
4069
|
+
__publicField$N(this, "greCaptchaProtectionInformation");
|
|
4070
|
+
__publicField$N(this, "greCaptchaBadge");
|
|
4071
4071
|
//Input for shipping address
|
|
4072
|
-
__publicField$
|
|
4073
|
-
__publicField$
|
|
4074
|
-
__publicField$
|
|
4075
|
-
__publicField$
|
|
4076
|
-
__publicField$
|
|
4077
|
-
__publicField$
|
|
4078
|
-
__publicField$
|
|
4079
|
-
__publicField$
|
|
4080
|
-
__publicField$
|
|
4081
|
-
__publicField$
|
|
4072
|
+
__publicField$N(this, "differentShippingAddressCheckbox");
|
|
4073
|
+
__publicField$N(this, "registerShippingAddressFormArea");
|
|
4074
|
+
__publicField$N(this, "shippingAddressSalutationSelect");
|
|
4075
|
+
__publicField$N(this, "shippingAddressFirstNameInput");
|
|
4076
|
+
__publicField$N(this, "shippingAddressLastNameInput");
|
|
4077
|
+
__publicField$N(this, "shippingAddressStreetAddressInput");
|
|
4078
|
+
__publicField$N(this, "shippingAddressCityInput");
|
|
4079
|
+
__publicField$N(this, "shippingAddressCountryInput");
|
|
4080
|
+
__publicField$N(this, "shippingAddressPostalCodeInput");
|
|
4081
|
+
__publicField$N(this, "shippingAddressStateInput");
|
|
4082
4082
|
this.emailInput = page.getByLabel("Your email address");
|
|
4083
4083
|
this.passwordInput = page.getByLabel("Your password");
|
|
4084
4084
|
this.loginButton = page.getByRole("button", { name: "Log in" });
|
|
@@ -4128,26 +4128,26 @@ class AccountLogin {
|
|
|
4128
4128
|
}
|
|
4129
4129
|
}
|
|
4130
4130
|
|
|
4131
|
-
var __defProp$
|
|
4132
|
-
var __defNormalProp$
|
|
4133
|
-
var __publicField$
|
|
4134
|
-
__defNormalProp$
|
|
4131
|
+
var __defProp$M = Object.defineProperty;
|
|
4132
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4133
|
+
var __publicField$M = (obj, key, value) => {
|
|
4134
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4135
4135
|
return value;
|
|
4136
4136
|
};
|
|
4137
4137
|
class AccountRecover {
|
|
4138
4138
|
constructor(page) {
|
|
4139
4139
|
this.page = page;
|
|
4140
|
-
__publicField$
|
|
4141
|
-
__publicField$
|
|
4142
|
-
__publicField$
|
|
4143
|
-
__publicField$
|
|
4144
|
-
__publicField$
|
|
4145
|
-
__publicField$
|
|
4146
|
-
__publicField$
|
|
4147
|
-
__publicField$
|
|
4148
|
-
__publicField$
|
|
4149
|
-
__publicField$
|
|
4150
|
-
__publicField$
|
|
4140
|
+
__publicField$M(this, "passwordRecoveryForm");
|
|
4141
|
+
__publicField$M(this, "title");
|
|
4142
|
+
__publicField$M(this, "subtitle");
|
|
4143
|
+
__publicField$M(this, "emailInput");
|
|
4144
|
+
__publicField$M(this, "requestEmailButton");
|
|
4145
|
+
__publicField$M(this, "backButton");
|
|
4146
|
+
__publicField$M(this, "passwordResetEmailSentMessage");
|
|
4147
|
+
__publicField$M(this, "newPasswordInput");
|
|
4148
|
+
__publicField$M(this, "newPasswordConfirmInput");
|
|
4149
|
+
__publicField$M(this, "changePasswordButton");
|
|
4150
|
+
__publicField$M(this, "invalidLinkMessage");
|
|
4151
4151
|
this.passwordRecoveryForm = page.locator(".account-recover-password-form");
|
|
4152
4152
|
const cardTitle = this.passwordRecoveryForm.locator(".card-title");
|
|
4153
4153
|
this.title = cardTitle.getByText("Password recovery");
|
|
@@ -4169,36 +4169,36 @@ class AccountRecover {
|
|
|
4169
4169
|
}
|
|
4170
4170
|
}
|
|
4171
4171
|
|
|
4172
|
-
var __defProp$
|
|
4173
|
-
var __defNormalProp$
|
|
4174
|
-
var __publicField$
|
|
4175
|
-
__defNormalProp$
|
|
4172
|
+
var __defProp$L = Object.defineProperty;
|
|
4173
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4174
|
+
var __publicField$L = (obj, key, value) => {
|
|
4175
|
+
__defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4176
4176
|
return value;
|
|
4177
4177
|
};
|
|
4178
4178
|
class AccountProfile {
|
|
4179
4179
|
constructor(page, instanceMeta) {
|
|
4180
4180
|
this.page = page;
|
|
4181
4181
|
this.instanceMeta = instanceMeta;
|
|
4182
|
-
__publicField$
|
|
4183
|
-
__publicField$
|
|
4184
|
-
__publicField$
|
|
4185
|
-
__publicField$
|
|
4186
|
-
__publicField$
|
|
4187
|
-
__publicField$
|
|
4188
|
-
__publicField$
|
|
4189
|
-
__publicField$
|
|
4190
|
-
__publicField$
|
|
4191
|
-
__publicField$
|
|
4192
|
-
__publicField$
|
|
4193
|
-
__publicField$
|
|
4194
|
-
__publicField$
|
|
4195
|
-
__publicField$
|
|
4196
|
-
__publicField$
|
|
4197
|
-
__publicField$
|
|
4198
|
-
__publicField$
|
|
4199
|
-
__publicField$
|
|
4200
|
-
__publicField$
|
|
4201
|
-
__publicField$
|
|
4182
|
+
__publicField$L(this, "salutationSelect");
|
|
4183
|
+
__publicField$L(this, "firstNameInput");
|
|
4184
|
+
__publicField$L(this, "lastNameInput");
|
|
4185
|
+
__publicField$L(this, "saveProfileButton");
|
|
4186
|
+
__publicField$L(this, "changeEmailButton");
|
|
4187
|
+
__publicField$L(this, "emailAddressInput");
|
|
4188
|
+
__publicField$L(this, "emailAddressConfirmInput");
|
|
4189
|
+
__publicField$L(this, "emailConfirmPasswordInput");
|
|
4190
|
+
__publicField$L(this, "saveEmailAddressButton");
|
|
4191
|
+
__publicField$L(this, "changePasswordButton");
|
|
4192
|
+
__publicField$L(this, "newPasswordInput");
|
|
4193
|
+
__publicField$L(this, "newPasswordConfirmInput");
|
|
4194
|
+
__publicField$L(this, "currentPasswordInput");
|
|
4195
|
+
__publicField$L(this, "saveNewPasswordButton");
|
|
4196
|
+
__publicField$L(this, "loginDataEmailAddress");
|
|
4197
|
+
__publicField$L(this, "emailUpdateMessage");
|
|
4198
|
+
__publicField$L(this, "passwordUpdateMessage");
|
|
4199
|
+
__publicField$L(this, "emailValidationAlert");
|
|
4200
|
+
__publicField$L(this, "emailUpdateFailureAlert");
|
|
4201
|
+
__publicField$L(this, "passwordUpdateFailureAlert");
|
|
4202
4202
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
4203
4203
|
this.firstNameInput = page.getByLabel("First name");
|
|
4204
4204
|
this.lastNameInput = page.getByLabel("Last name");
|
|
@@ -4238,27 +4238,33 @@ class AccountProfile {
|
|
|
4238
4238
|
}
|
|
4239
4239
|
}
|
|
4240
4240
|
|
|
4241
|
-
var __defProp$
|
|
4242
|
-
var __defNormalProp$
|
|
4243
|
-
var __publicField$
|
|
4244
|
-
__defNormalProp$
|
|
4241
|
+
var __defProp$K = Object.defineProperty;
|
|
4242
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4243
|
+
var __publicField$K = (obj, key, value) => {
|
|
4244
|
+
__defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4245
4245
|
return value;
|
|
4246
4246
|
};
|
|
4247
4247
|
class AccountOrder {
|
|
4248
4248
|
constructor(page) {
|
|
4249
4249
|
this.page = page;
|
|
4250
|
-
__publicField$
|
|
4251
|
-
__publicField$
|
|
4252
|
-
__publicField$
|
|
4253
|
-
__publicField$
|
|
4254
|
-
__publicField$
|
|
4255
|
-
__publicField$
|
|
4250
|
+
__publicField$K(this, "cartLineItemImages");
|
|
4251
|
+
__publicField$K(this, "orderExpandButton");
|
|
4252
|
+
__publicField$K(this, "digitalProductDownloadButton");
|
|
4253
|
+
__publicField$K(this, "dialogOrderCancel");
|
|
4254
|
+
__publicField$K(this, "dialogOrderCancelButton");
|
|
4255
|
+
__publicField$K(this, "dialogBackButton");
|
|
4256
|
+
__publicField$K(this, "orderDetails");
|
|
4257
|
+
__publicField$K(this, "invoiceHTML");
|
|
4258
|
+
__publicField$K(this, "creditItem");
|
|
4256
4259
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
4257
4260
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
4258
4261
|
this.digitalProductDownloadButton = page.getByRole("link", { name: "Download" }).first();
|
|
4259
4262
|
this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
|
|
4260
4263
|
this.dialogOrderCancelButton = this.dialogOrderCancel.getByRole("button", { name: "Cancel order" });
|
|
4261
4264
|
this.dialogBackButton = this.dialogOrderCancel.getByRole("button", { name: "Back" });
|
|
4265
|
+
this.orderDetails = page.locator(".order-item-detail");
|
|
4266
|
+
this.invoiceHTML = page.getByRole("link", { name: ".html" });
|
|
4267
|
+
this.creditItem = page.locator('.line-item:has-text("CreditItem")');
|
|
4262
4268
|
}
|
|
4263
4269
|
async getOrderByOrderNumber(orderNumber) {
|
|
4264
4270
|
const orderItem = this.page.getByRole("listitem").getByLabel(`Order number ${orderNumber}`);
|
|
@@ -4300,27 +4306,27 @@ class AccountOrder {
|
|
|
4300
4306
|
}
|
|
4301
4307
|
}
|
|
4302
4308
|
|
|
4303
|
-
var __defProp$
|
|
4304
|
-
var __defNormalProp$
|
|
4305
|
-
var __publicField$
|
|
4306
|
-
__defNormalProp$
|
|
4309
|
+
var __defProp$J = Object.defineProperty;
|
|
4310
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4311
|
+
var __publicField$J = (obj, key, value) => {
|
|
4312
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4307
4313
|
return value;
|
|
4308
4314
|
};
|
|
4309
4315
|
class AccountAddresses {
|
|
4310
4316
|
constructor(page, instanceMeta) {
|
|
4311
4317
|
this.page = page;
|
|
4312
4318
|
this.instanceMeta = instanceMeta;
|
|
4313
|
-
__publicField$
|
|
4314
|
-
__publicField$
|
|
4315
|
-
__publicField$
|
|
4316
|
-
__publicField$
|
|
4317
|
-
__publicField$
|
|
4318
|
-
__publicField$
|
|
4319
|
-
__publicField$
|
|
4320
|
-
__publicField$
|
|
4321
|
-
__publicField$
|
|
4322
|
-
__publicField$
|
|
4323
|
-
__publicField$
|
|
4319
|
+
__publicField$J(this, "addNewAddressButton");
|
|
4320
|
+
__publicField$J(this, "editBillingAddressButton");
|
|
4321
|
+
__publicField$J(this, "editShippingAddressButton");
|
|
4322
|
+
__publicField$J(this, "useDefaultBillingAddressButton");
|
|
4323
|
+
__publicField$J(this, "useDefaultShippingAddressButton");
|
|
4324
|
+
__publicField$J(this, "deliveryNotPossibleAlert");
|
|
4325
|
+
__publicField$J(this, "availableAddresses");
|
|
4326
|
+
__publicField$J(this, "addressDropdownButton");
|
|
4327
|
+
__publicField$J(this, "addressDropdownButtons");
|
|
4328
|
+
__publicField$J(this, "availableAddressesUseAsBillingAddress");
|
|
4329
|
+
__publicField$J(this, "availableAddressesUseAsShippingAddress");
|
|
4324
4330
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
4325
4331
|
this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
|
|
4326
4332
|
this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
|
|
@@ -4342,19 +4348,19 @@ class AccountAddresses {
|
|
|
4342
4348
|
}
|
|
4343
4349
|
}
|
|
4344
4350
|
|
|
4345
|
-
var __defProp$
|
|
4346
|
-
var __defNormalProp$
|
|
4347
|
-
var __publicField$
|
|
4348
|
-
__defNormalProp$
|
|
4351
|
+
var __defProp$I = Object.defineProperty;
|
|
4352
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4353
|
+
var __publicField$I = (obj, key, value) => {
|
|
4354
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4349
4355
|
return value;
|
|
4350
4356
|
};
|
|
4351
4357
|
class AccountPayment {
|
|
4352
4358
|
constructor(page) {
|
|
4353
4359
|
this.page = page;
|
|
4354
|
-
__publicField$
|
|
4355
|
-
__publicField$
|
|
4356
|
-
__publicField$
|
|
4357
|
-
__publicField$
|
|
4360
|
+
__publicField$I(this, "cashOnDeliveryOption");
|
|
4361
|
+
__publicField$I(this, "paidInAdvanceOption");
|
|
4362
|
+
__publicField$I(this, "invoiceOption");
|
|
4363
|
+
__publicField$I(this, "changeDefaultPaymentButton");
|
|
4358
4364
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
4359
4365
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
4360
4366
|
this.invoiceOption = page.getByLabel("Invoice");
|
|
@@ -4365,17 +4371,17 @@ class AccountPayment {
|
|
|
4365
4371
|
}
|
|
4366
4372
|
}
|
|
4367
4373
|
|
|
4368
|
-
var __defProp$
|
|
4369
|
-
var __defNormalProp$
|
|
4370
|
-
var __publicField$
|
|
4371
|
-
__defNormalProp$
|
|
4374
|
+
var __defProp$H = Object.defineProperty;
|
|
4375
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4376
|
+
var __publicField$H = (obj, key, value) => {
|
|
4377
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4372
4378
|
return value;
|
|
4373
4379
|
};
|
|
4374
4380
|
class Search {
|
|
4375
4381
|
constructor(page) {
|
|
4376
4382
|
this.page = page;
|
|
4377
|
-
__publicField$
|
|
4378
|
-
__publicField$
|
|
4383
|
+
__publicField$H(this, "headline");
|
|
4384
|
+
__publicField$H(this, "productImages");
|
|
4379
4385
|
this.headline = page.locator("h1.search-headline");
|
|
4380
4386
|
this.productImages = page.locator(".product-image-wrapper");
|
|
4381
4387
|
}
|
|
@@ -4384,25 +4390,25 @@ class Search {
|
|
|
4384
4390
|
}
|
|
4385
4391
|
}
|
|
4386
4392
|
|
|
4387
|
-
var __defProp$
|
|
4388
|
-
var __defNormalProp$
|
|
4389
|
-
var __publicField$
|
|
4390
|
-
__defNormalProp$
|
|
4393
|
+
var __defProp$G = Object.defineProperty;
|
|
4394
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4395
|
+
var __publicField$G = (obj, key, value) => {
|
|
4396
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4391
4397
|
return value;
|
|
4392
4398
|
};
|
|
4393
4399
|
class SearchSuggest extends Home {
|
|
4394
4400
|
constructor(page) {
|
|
4395
4401
|
super(page);
|
|
4396
4402
|
this.page = page;
|
|
4397
|
-
__publicField$
|
|
4398
|
-
__publicField$
|
|
4399
|
-
__publicField$
|
|
4400
|
-
__publicField$
|
|
4401
|
-
__publicField$
|
|
4402
|
-
__publicField$
|
|
4403
|
-
__publicField$
|
|
4404
|
-
__publicField$
|
|
4405
|
-
__publicField$
|
|
4403
|
+
__publicField$G(this, "searchSuggestLineItemImages");
|
|
4404
|
+
__publicField$G(this, "searchInput");
|
|
4405
|
+
__publicField$G(this, "searchIcon");
|
|
4406
|
+
__publicField$G(this, "searchSuggestNoResult");
|
|
4407
|
+
__publicField$G(this, "searchSuggestLineItemName");
|
|
4408
|
+
__publicField$G(this, "searchSuggestLineItemPrice");
|
|
4409
|
+
__publicField$G(this, "searchSuggestTotalLink");
|
|
4410
|
+
__publicField$G(this, "searchResultTotal");
|
|
4411
|
+
__publicField$G(this, "searchHeadline");
|
|
4406
4412
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
4407
4413
|
this.searchInput = page.locator(".header-search-input");
|
|
4408
4414
|
this.searchIcon = page.locator(".header-search-icon");
|
|
@@ -4432,31 +4438,31 @@ class CustomRegister extends AccountLogin {
|
|
|
4432
4438
|
}
|
|
4433
4439
|
}
|
|
4434
4440
|
|
|
4435
|
-
var __defProp$
|
|
4436
|
-
var __defNormalProp$
|
|
4437
|
-
var __publicField$
|
|
4438
|
-
__defNormalProp$
|
|
4441
|
+
var __defProp$F = Object.defineProperty;
|
|
4442
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4443
|
+
var __publicField$F = (obj, key, value) => {
|
|
4444
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4439
4445
|
return value;
|
|
4440
4446
|
};
|
|
4441
4447
|
class CheckoutOrderEdit {
|
|
4442
4448
|
constructor(page) {
|
|
4443
4449
|
this.page = page;
|
|
4444
|
-
__publicField$
|
|
4445
|
-
__publicField$
|
|
4446
|
-
__publicField$
|
|
4447
|
-
__publicField$
|
|
4448
|
-
__publicField$
|
|
4450
|
+
__publicField$F(this, "completePaymentButton");
|
|
4451
|
+
__publicField$F(this, "orderCancelButton");
|
|
4452
|
+
__publicField$F(this, "dialogOrderCancel");
|
|
4453
|
+
__publicField$F(this, "dialogOrderCancelButton");
|
|
4454
|
+
__publicField$F(this, "dialogBackButton");
|
|
4449
4455
|
/**
|
|
4450
4456
|
* Payment options
|
|
4451
4457
|
*/
|
|
4452
|
-
__publicField$
|
|
4453
|
-
__publicField$
|
|
4454
|
-
__publicField$
|
|
4458
|
+
__publicField$F(this, "paymentCashOnDelivery");
|
|
4459
|
+
__publicField$F(this, "paymentPaidInAdvance");
|
|
4460
|
+
__publicField$F(this, "paymentInvoice");
|
|
4455
4461
|
/**
|
|
4456
4462
|
* Shipping options
|
|
4457
4463
|
*/
|
|
4458
|
-
__publicField$
|
|
4459
|
-
__publicField$
|
|
4464
|
+
__publicField$F(this, "shippingStandard");
|
|
4465
|
+
__publicField$F(this, "shippingExpress");
|
|
4460
4466
|
this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
|
|
4461
4467
|
this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
|
|
4462
4468
|
this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
|
|
@@ -4481,26 +4487,26 @@ class CheckoutOrderEdit {
|
|
|
4481
4487
|
}
|
|
4482
4488
|
}
|
|
4483
4489
|
|
|
4484
|
-
var __defProp$
|
|
4485
|
-
var __defNormalProp$
|
|
4486
|
-
var __publicField$
|
|
4487
|
-
__defNormalProp$
|
|
4490
|
+
var __defProp$E = Object.defineProperty;
|
|
4491
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4492
|
+
var __publicField$E = (obj, key, value) => {
|
|
4493
|
+
__defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4488
4494
|
return value;
|
|
4489
4495
|
};
|
|
4490
4496
|
class AccountAddressCreate {
|
|
4491
4497
|
constructor(page) {
|
|
4492
4498
|
this.page = page;
|
|
4493
|
-
__publicField$
|
|
4494
|
-
__publicField$
|
|
4495
|
-
__publicField$
|
|
4496
|
-
__publicField$
|
|
4497
|
-
__publicField$
|
|
4498
|
-
__publicField$
|
|
4499
|
-
__publicField$
|
|
4500
|
-
__publicField$
|
|
4501
|
-
__publicField$
|
|
4502
|
-
__publicField$
|
|
4503
|
-
__publicField$
|
|
4499
|
+
__publicField$E(this, "salutationDropdown");
|
|
4500
|
+
__publicField$E(this, "firstNameInput");
|
|
4501
|
+
__publicField$E(this, "lastNameInput");
|
|
4502
|
+
__publicField$E(this, "companyInput");
|
|
4503
|
+
__publicField$E(this, "departmentInput");
|
|
4504
|
+
__publicField$E(this, "streetInput");
|
|
4505
|
+
__publicField$E(this, "zipcodeInput");
|
|
4506
|
+
__publicField$E(this, "cityInput");
|
|
4507
|
+
__publicField$E(this, "countryDropdown");
|
|
4508
|
+
__publicField$E(this, "saveAddressButton");
|
|
4509
|
+
__publicField$E(this, "stateDropdown");
|
|
4504
4510
|
this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
|
|
4505
4511
|
this.firstNameInput = page.getByRole("textbox", { name: "First name" });
|
|
4506
4512
|
this.lastNameInput = page.getByRole("textbox", { name: "Last name" });
|
|
@@ -4518,19 +4524,19 @@ class AccountAddressCreate {
|
|
|
4518
4524
|
}
|
|
4519
4525
|
}
|
|
4520
4526
|
|
|
4521
|
-
var __defProp$
|
|
4522
|
-
var __defNormalProp$
|
|
4523
|
-
var __publicField$
|
|
4524
|
-
__defNormalProp$
|
|
4527
|
+
var __defProp$D = Object.defineProperty;
|
|
4528
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4529
|
+
var __publicField$D = (obj, key, value) => {
|
|
4530
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4525
4531
|
return value;
|
|
4526
4532
|
};
|
|
4527
4533
|
class PageNotFound {
|
|
4528
4534
|
constructor(page) {
|
|
4529
4535
|
this.page = page;
|
|
4530
|
-
__publicField$
|
|
4531
|
-
__publicField$
|
|
4532
|
-
__publicField$
|
|
4533
|
-
__publicField$
|
|
4536
|
+
__publicField$D(this, "pageNotFoundImage");
|
|
4537
|
+
__publicField$D(this, "headline");
|
|
4538
|
+
__publicField$D(this, "pageNotFoundMessage");
|
|
4539
|
+
__publicField$D(this, "backToShopButton");
|
|
4534
4540
|
this.pageNotFoundImage = page.getByAltText("Page not found");
|
|
4535
4541
|
this.headline = page.getByRole("heading", { name: "Page not found" });
|
|
4536
4542
|
this.pageNotFoundMessage = page.getByText(`We are sorry, the page you're looking for could not be found. It may no longer exist or may have been moved.`);
|
|
@@ -4541,10 +4547,10 @@ class PageNotFound {
|
|
|
4541
4547
|
}
|
|
4542
4548
|
}
|
|
4543
4549
|
|
|
4544
|
-
var __defProp$
|
|
4545
|
-
var __defNormalProp$
|
|
4546
|
-
var __publicField$
|
|
4547
|
-
__defNormalProp$
|
|
4550
|
+
var __defProp$C = Object.defineProperty;
|
|
4551
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4552
|
+
var __publicField$C = (obj, key, value) => {
|
|
4553
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4548
4554
|
return value;
|
|
4549
4555
|
};
|
|
4550
4556
|
class ContactForm extends Home {
|
|
@@ -4555,35 +4561,35 @@ class ContactForm extends Home {
|
|
|
4555
4561
|
/**
|
|
4556
4562
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
4557
4563
|
*/
|
|
4558
|
-
__publicField$
|
|
4564
|
+
__publicField$C(this, "contactModal");
|
|
4559
4565
|
/**
|
|
4560
4566
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
4561
4567
|
*/
|
|
4562
|
-
__publicField$
|
|
4563
|
-
__publicField$
|
|
4564
|
-
__publicField$
|
|
4565
|
-
__publicField$
|
|
4566
|
-
__publicField$
|
|
4567
|
-
__publicField$
|
|
4568
|
-
__publicField$
|
|
4569
|
-
__publicField$
|
|
4570
|
-
__publicField$
|
|
4571
|
-
__publicField$
|
|
4572
|
-
__publicField$
|
|
4573
|
-
__publicField$
|
|
4574
|
-
__publicField$
|
|
4575
|
-
__publicField$
|
|
4576
|
-
__publicField$
|
|
4568
|
+
__publicField$C(this, "contactSuccessModal");
|
|
4569
|
+
__publicField$C(this, "contactWrapper");
|
|
4570
|
+
__publicField$C(this, "salutationSelect");
|
|
4571
|
+
__publicField$C(this, "firstNameInput");
|
|
4572
|
+
__publicField$C(this, "lastNameInput");
|
|
4573
|
+
__publicField$C(this, "emailInput");
|
|
4574
|
+
__publicField$C(this, "phoneInput");
|
|
4575
|
+
__publicField$C(this, "subjectInput");
|
|
4576
|
+
__publicField$C(this, "commentInput");
|
|
4577
|
+
__publicField$C(this, "privacyPolicyCheckbox");
|
|
4578
|
+
__publicField$C(this, "submitButton");
|
|
4579
|
+
__publicField$C(this, "contactSuccessMessage");
|
|
4580
|
+
__publicField$C(this, "cardTitle");
|
|
4581
|
+
__publicField$C(this, "formFieldFeedback");
|
|
4582
|
+
__publicField$C(this, "formAlert");
|
|
4577
4583
|
/**
|
|
4578
4584
|
* Captcha locators
|
|
4579
4585
|
*/
|
|
4580
|
-
__publicField$
|
|
4581
|
-
__publicField$
|
|
4582
|
-
__publicField$
|
|
4583
|
-
__publicField$
|
|
4584
|
-
__publicField$
|
|
4585
|
-
__publicField$
|
|
4586
|
-
__publicField$
|
|
4586
|
+
__publicField$C(this, "basicCaptcha");
|
|
4587
|
+
__publicField$C(this, "basicCaptchaImage");
|
|
4588
|
+
__publicField$C(this, "basicCaptchaRefreshButton");
|
|
4589
|
+
__publicField$C(this, "basicCaptchaInput");
|
|
4590
|
+
__publicField$C(this, "greCaptchaV2Container");
|
|
4591
|
+
__publicField$C(this, "greCaptchaV2Input");
|
|
4592
|
+
__publicField$C(this, "greCaptchaProtectionInformation");
|
|
4587
4593
|
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4588
4594
|
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
4589
4595
|
this.formAlert = this.page.getByRole("alert");
|
|
@@ -4618,19 +4624,19 @@ class ContactForm extends Home {
|
|
|
4618
4624
|
}
|
|
4619
4625
|
}
|
|
4620
4626
|
|
|
4621
|
-
var __defProp$
|
|
4622
|
-
var __defNormalProp$
|
|
4623
|
-
var __publicField$
|
|
4624
|
-
__defNormalProp$
|
|
4627
|
+
var __defProp$B = Object.defineProperty;
|
|
4628
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4629
|
+
var __publicField$B = (obj, key, value) => {
|
|
4630
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4625
4631
|
return value;
|
|
4626
4632
|
};
|
|
4627
4633
|
class Wishlist extends Home {
|
|
4628
4634
|
constructor(page) {
|
|
4629
4635
|
super(page);
|
|
4630
4636
|
this.page = page;
|
|
4631
|
-
__publicField$
|
|
4632
|
-
__publicField$
|
|
4633
|
-
__publicField$
|
|
4637
|
+
__publicField$B(this, "wishListHeader");
|
|
4638
|
+
__publicField$B(this, "removeAlert");
|
|
4639
|
+
__publicField$B(this, "emptyListing");
|
|
4634
4640
|
this.wishListHeader = page.locator(".wishlist-headline");
|
|
4635
4641
|
this.removeAlert = page.locator(".alert-success");
|
|
4636
4642
|
this.emptyListing = page.locator(".wishlist-listing-empty");
|
|
@@ -4649,20 +4655,20 @@ class Wishlist extends Home {
|
|
|
4649
4655
|
}
|
|
4650
4656
|
}
|
|
4651
4657
|
|
|
4652
|
-
var __defProp$
|
|
4653
|
-
var __defNormalProp$
|
|
4654
|
-
var __publicField$
|
|
4655
|
-
__defNormalProp$
|
|
4658
|
+
var __defProp$A = Object.defineProperty;
|
|
4659
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4660
|
+
var __publicField$A = (obj, key, value) => {
|
|
4661
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4656
4662
|
return value;
|
|
4657
4663
|
};
|
|
4658
4664
|
class Footer {
|
|
4659
4665
|
constructor(page) {
|
|
4660
4666
|
this.page = page;
|
|
4661
|
-
__publicField$
|
|
4662
|
-
__publicField$
|
|
4663
|
-
__publicField$
|
|
4664
|
-
__publicField$
|
|
4665
|
-
__publicField$
|
|
4667
|
+
__publicField$A(this, "footerHeadline");
|
|
4668
|
+
__publicField$A(this, "footerContent");
|
|
4669
|
+
__publicField$A(this, "footerHotline");
|
|
4670
|
+
__publicField$A(this, "footerContactForm");
|
|
4671
|
+
__publicField$A(this, "footerContactFormLink");
|
|
4666
4672
|
this.footerHeadline = page.locator(".footer-column-headline");
|
|
4667
4673
|
this.footerContent = page.locator(".footer-column-content-inner");
|
|
4668
4674
|
this.footerHotline = page.locator(".footer-contact-hotline");
|
|
@@ -4674,23 +4680,23 @@ class Footer {
|
|
|
4674
4680
|
}
|
|
4675
4681
|
}
|
|
4676
4682
|
|
|
4677
|
-
var __defProp$
|
|
4678
|
-
var __defNormalProp$
|
|
4679
|
-
var __publicField$
|
|
4680
|
-
__defNormalProp$
|
|
4683
|
+
var __defProp$z = Object.defineProperty;
|
|
4684
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4685
|
+
var __publicField$z = (obj, key, value) => {
|
|
4686
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4681
4687
|
return value;
|
|
4682
4688
|
};
|
|
4683
4689
|
class Header {
|
|
4684
4690
|
constructor(page) {
|
|
4685
4691
|
this.page = page;
|
|
4686
|
-
__publicField$
|
|
4687
|
-
__publicField$
|
|
4688
|
-
__publicField$
|
|
4689
|
-
__publicField$
|
|
4690
|
-
__publicField$
|
|
4692
|
+
__publicField$z(this, "mainNavigationLink");
|
|
4693
|
+
__publicField$z(this, "languagesDropdown");
|
|
4694
|
+
__publicField$z(this, "languagesMenuOptions");
|
|
4695
|
+
__publicField$z(this, "currenciesDropdown");
|
|
4696
|
+
__publicField$z(this, "currenciesMenuOptions");
|
|
4691
4697
|
//wishlist
|
|
4692
|
-
__publicField$
|
|
4693
|
-
__publicField$
|
|
4698
|
+
__publicField$z(this, "wishlistIcon");
|
|
4699
|
+
__publicField$z(this, "wishlistBasket");
|
|
4694
4700
|
this.mainNavigationLink = page.locator(".main-navigation-link-text");
|
|
4695
4701
|
this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
|
|
4696
4702
|
this.languagesMenuOptions = page.locator(".top-bar-language").filter({ has: page.getByRole("list") });
|
|
@@ -4827,10 +4833,10 @@ async function getCustomFieldCardLocators(page, customFieldSetName, customFieldN
|
|
|
4827
4833
|
};
|
|
4828
4834
|
}
|
|
4829
4835
|
|
|
4830
|
-
var __defProp$
|
|
4831
|
-
var __defNormalProp$
|
|
4832
|
-
var __publicField$
|
|
4833
|
-
__defNormalProp$
|
|
4836
|
+
var __defProp$y = Object.defineProperty;
|
|
4837
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4838
|
+
var __publicField$y = (obj, key, value) => {
|
|
4839
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4834
4840
|
return value;
|
|
4835
4841
|
};
|
|
4836
4842
|
class ProductDetail {
|
|
@@ -4840,72 +4846,72 @@ class ProductDetail {
|
|
|
4840
4846
|
/**
|
|
4841
4847
|
* Save interactions
|
|
4842
4848
|
*/
|
|
4843
|
-
__publicField$
|
|
4844
|
-
__publicField$
|
|
4845
|
-
__publicField$
|
|
4849
|
+
__publicField$y(this, "savePhysicalProductButton");
|
|
4850
|
+
__publicField$y(this, "saveButtonLoadingSpinner");
|
|
4851
|
+
__publicField$y(this, "saveButtonCheckMark");
|
|
4846
4852
|
/**
|
|
4847
4853
|
* General Info
|
|
4848
4854
|
*/
|
|
4849
|
-
__publicField$
|
|
4855
|
+
__publicField$y(this, "manufacturerDropdownText");
|
|
4850
4856
|
/**
|
|
4851
4857
|
* Prices
|
|
4852
4858
|
*/
|
|
4853
|
-
__publicField$
|
|
4859
|
+
__publicField$y(this, "priceGrossInput");
|
|
4854
4860
|
/**
|
|
4855
4861
|
* Deliverability
|
|
4856
4862
|
*/
|
|
4857
|
-
__publicField$
|
|
4858
|
-
__publicField$
|
|
4863
|
+
__publicField$y(this, "stockInput");
|
|
4864
|
+
__publicField$y(this, "restockTimeInput");
|
|
4859
4865
|
/**
|
|
4860
4866
|
* Visibility
|
|
4861
4867
|
*/
|
|
4862
|
-
__publicField$
|
|
4863
|
-
__publicField$
|
|
4864
|
-
__publicField$
|
|
4868
|
+
__publicField$y(this, "activeForAllSalesChannelsToggle");
|
|
4869
|
+
__publicField$y(this, "tagsInput");
|
|
4870
|
+
__publicField$y(this, "saleChannelsInput");
|
|
4865
4871
|
/**
|
|
4866
4872
|
* Labelling
|
|
4867
4873
|
*/
|
|
4868
|
-
__publicField$
|
|
4874
|
+
__publicField$y(this, "releaseDateInput");
|
|
4869
4875
|
/**
|
|
4870
4876
|
* Media Upload interactions
|
|
4871
4877
|
*/
|
|
4872
|
-
__publicField$
|
|
4873
|
-
__publicField$
|
|
4874
|
-
__publicField$
|
|
4878
|
+
__publicField$y(this, "uploadMediaButton");
|
|
4879
|
+
__publicField$y(this, "coverImage");
|
|
4880
|
+
__publicField$y(this, "productImage");
|
|
4875
4881
|
/**
|
|
4876
4882
|
* Tabs
|
|
4877
4883
|
*/
|
|
4878
|
-
__publicField$
|
|
4879
|
-
__publicField$
|
|
4880
|
-
__publicField$
|
|
4881
|
-
__publicField$
|
|
4882
|
-
__publicField$
|
|
4883
|
-
__publicField$
|
|
4884
|
-
__publicField$
|
|
4884
|
+
__publicField$y(this, "variantsTabLink");
|
|
4885
|
+
__publicField$y(this, "specificationsTabLink");
|
|
4886
|
+
__publicField$y(this, "advancedPricingTabLink");
|
|
4887
|
+
__publicField$y(this, "layoutTabLink");
|
|
4888
|
+
__publicField$y(this, "crossSellingTabLink");
|
|
4889
|
+
__publicField$y(this, "SEOTabLink");
|
|
4890
|
+
__publicField$y(this, "reviewsTabLink");
|
|
4885
4891
|
/**
|
|
4886
4892
|
* Variants Generation
|
|
4887
4893
|
*/
|
|
4888
|
-
__publicField$
|
|
4889
|
-
__publicField$
|
|
4890
|
-
__publicField$
|
|
4891
|
-
__publicField$
|
|
4892
|
-
__publicField$
|
|
4894
|
+
__publicField$y(this, "generateVariantsButton");
|
|
4895
|
+
__publicField$y(this, "variantsModal");
|
|
4896
|
+
__publicField$y(this, "variantsModalHeadline");
|
|
4897
|
+
__publicField$y(this, "variantsNextButton");
|
|
4898
|
+
__publicField$y(this, "variantsSaveButton");
|
|
4893
4899
|
/**
|
|
4894
4900
|
* Property Selection
|
|
4895
4901
|
*/
|
|
4896
|
-
__publicField$
|
|
4897
|
-
__publicField$
|
|
4898
|
-
__publicField$
|
|
4899
|
-
__publicField$
|
|
4900
|
-
__publicField$
|
|
4901
|
-
__publicField$
|
|
4902
|
-
__publicField$
|
|
4903
|
-
__publicField$
|
|
4904
|
-
__publicField$
|
|
4902
|
+
__publicField$y(this, "propertyGroupColor");
|
|
4903
|
+
__publicField$y(this, "propertyGroupSize");
|
|
4904
|
+
__publicField$y(this, "propertyOptionGrid");
|
|
4905
|
+
__publicField$y(this, "propertyOptionColorBlue");
|
|
4906
|
+
__publicField$y(this, "propertyOptionColorRed");
|
|
4907
|
+
__publicField$y(this, "propertyOptionColorGreen");
|
|
4908
|
+
__publicField$y(this, "propertyOptionSizeSmall");
|
|
4909
|
+
__publicField$y(this, "propertyOptionSizeMedium");
|
|
4910
|
+
__publicField$y(this, "propertyOptionSizeLarge");
|
|
4905
4911
|
/**
|
|
4906
4912
|
* Cards
|
|
4907
4913
|
*/
|
|
4908
|
-
__publicField$
|
|
4914
|
+
__publicField$y(this, "customFieldCard");
|
|
4909
4915
|
this.savePhysicalProductButton = page.getByRole("button", { name: "Save" });
|
|
4910
4916
|
this.saveButtonCheckMark = page.locator(".icon--regular-checkmark-xs");
|
|
4911
4917
|
this.saveButtonLoadingSpinner = page.locator("sw-loader");
|
|
@@ -4973,29 +4979,47 @@ class ProductDetail {
|
|
|
4973
4979
|
}
|
|
4974
4980
|
}
|
|
4975
4981
|
|
|
4976
|
-
var __defProp$
|
|
4977
|
-
var __defNormalProp$
|
|
4978
|
-
var __publicField$
|
|
4979
|
-
__defNormalProp$
|
|
4982
|
+
var __defProp$x = Object.defineProperty;
|
|
4983
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4984
|
+
var __publicField$x = (obj, key, value) => {
|
|
4985
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4980
4986
|
return value;
|
|
4981
4987
|
};
|
|
4982
4988
|
class OrderDetail {
|
|
4983
4989
|
constructor(page, instanceMeta) {
|
|
4984
4990
|
this.page = page;
|
|
4985
4991
|
this.instanceMeta = instanceMeta;
|
|
4986
|
-
__publicField$
|
|
4987
|
-
__publicField$
|
|
4988
|
-
__publicField$
|
|
4989
|
-
__publicField$
|
|
4992
|
+
__publicField$x(this, "saveButton");
|
|
4993
|
+
__publicField$x(this, "dataGridContextButton");
|
|
4994
|
+
__publicField$x(this, "orderTag");
|
|
4995
|
+
__publicField$x(this, "lineItem");
|
|
4996
|
+
__publicField$x(this, "lineItemsTable");
|
|
4997
|
+
__publicField$x(this, "documentType");
|
|
4998
|
+
__publicField$x(this, "contextMenuButton");
|
|
4999
|
+
__publicField$x(this, "contextMenu");
|
|
5000
|
+
__publicField$x(this, "contextMenuSendDocument");
|
|
5001
|
+
__publicField$x(this, "sendDocumentModal");
|
|
5002
|
+
__publicField$x(this, "sendDocumentButton");
|
|
5003
|
+
__publicField$x(this, "itemsCardHeader");
|
|
5004
|
+
__publicField$x(this, "sentCheckmark");
|
|
4990
5005
|
/**
|
|
4991
5006
|
* Tabs
|
|
4992
5007
|
*/
|
|
4993
|
-
__publicField$
|
|
4994
|
-
__publicField$
|
|
4995
|
-
__publicField$
|
|
5008
|
+
__publicField$x(this, "generalTabLink");
|
|
5009
|
+
__publicField$x(this, "detailsTabLink");
|
|
5010
|
+
__publicField$x(this, "documentsTabLink");
|
|
4996
5011
|
this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
|
|
4997
5012
|
this.dataGridContextButton = page.locator(".sw-data-grid__actions-menu").and(page.getByRole("button"));
|
|
4998
5013
|
this.orderTag = page.locator(".sw-select-selection-list__item");
|
|
5014
|
+
this.lineItem = page.locator(".sw-data-grid__row");
|
|
5015
|
+
this.lineItemsTable = page.locator(".sw-data-grid__table");
|
|
5016
|
+
this.documentType = page.locator(".sw-data-grid__cell--documentType-name");
|
|
5017
|
+
this.contextMenu = page.locator(".sw-context-menu");
|
|
5018
|
+
this.contextMenuSendDocument = this.contextMenu.getByText("Send document");
|
|
5019
|
+
this.contextMenuButton = page.getByLabel("Open actions menu");
|
|
5020
|
+
this.sendDocumentModal = page.locator(".sw-order-send-document-modal");
|
|
5021
|
+
this.sendDocumentButton = page.getByRole("button").getByText("Send document");
|
|
5022
|
+
this.sentCheckmark = page.locator(".icon--regular-checkmark-xs");
|
|
4999
5023
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
5000
5024
|
this.itemsCardHeader = page.locator(".sw-card__header").getByText("Items");
|
|
5001
5025
|
} else {
|
|
@@ -5013,24 +5037,24 @@ class OrderDetail {
|
|
|
5013
5037
|
}
|
|
5014
5038
|
}
|
|
5015
5039
|
|
|
5016
|
-
var __defProp$
|
|
5017
|
-
var __defNormalProp$
|
|
5018
|
-
var __publicField$
|
|
5019
|
-
__defNormalProp$
|
|
5040
|
+
var __defProp$w = Object.defineProperty;
|
|
5041
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5042
|
+
var __publicField$w = (obj, key, value) => {
|
|
5043
|
+
__defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5020
5044
|
return value;
|
|
5021
5045
|
};
|
|
5022
5046
|
class CustomerListing {
|
|
5023
5047
|
constructor(page) {
|
|
5024
5048
|
this.page = page;
|
|
5025
|
-
__publicField$
|
|
5026
|
-
__publicField$
|
|
5027
|
-
__publicField$
|
|
5028
|
-
__publicField$
|
|
5049
|
+
__publicField$w(this, "headline");
|
|
5050
|
+
__publicField$w(this, "addCustomerButton");
|
|
5051
|
+
__publicField$w(this, "bulkEditButton");
|
|
5052
|
+
__publicField$w(this, "deleteButton");
|
|
5029
5053
|
//Customer Bulk Edit Modal
|
|
5030
|
-
__publicField$
|
|
5031
|
-
__publicField$
|
|
5032
|
-
__publicField$
|
|
5033
|
-
__publicField$
|
|
5054
|
+
__publicField$w(this, "bulkEditModal");
|
|
5055
|
+
__publicField$w(this, "startBulkEditButton");
|
|
5056
|
+
__publicField$w(this, "cancelButton");
|
|
5057
|
+
__publicField$w(this, "modalHeaderCheckbox");
|
|
5034
5058
|
this.headline = page.getByRole("heading", { name: "Customers" });
|
|
5035
5059
|
this.addCustomerButton = page.locator(".sw-customer-list__button-create");
|
|
5036
5060
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
@@ -5091,27 +5115,27 @@ class CustomerListing {
|
|
|
5091
5115
|
}
|
|
5092
5116
|
}
|
|
5093
5117
|
|
|
5094
|
-
var __defProp$
|
|
5095
|
-
var __defNormalProp$
|
|
5096
|
-
var __publicField$
|
|
5097
|
-
__defNormalProp$
|
|
5118
|
+
var __defProp$v = Object.defineProperty;
|
|
5119
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5120
|
+
var __publicField$v = (obj, key, value) => {
|
|
5121
|
+
__defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5098
5122
|
return value;
|
|
5099
5123
|
};
|
|
5100
5124
|
class CustomerDetail {
|
|
5101
5125
|
constructor(page, instanceMeta) {
|
|
5102
5126
|
this.page = page;
|
|
5103
5127
|
this.instanceMeta = instanceMeta;
|
|
5104
|
-
__publicField$
|
|
5105
|
-
__publicField$
|
|
5106
|
-
__publicField$
|
|
5107
|
-
__publicField$
|
|
5108
|
-
__publicField$
|
|
5109
|
-
__publicField$
|
|
5110
|
-
__publicField$
|
|
5111
|
-
__publicField$
|
|
5112
|
-
__publicField$
|
|
5113
|
-
__publicField$
|
|
5114
|
-
__publicField$
|
|
5128
|
+
__publicField$v(this, "editButton");
|
|
5129
|
+
__publicField$v(this, "generalTab");
|
|
5130
|
+
__publicField$v(this, "accountCard");
|
|
5131
|
+
__publicField$v(this, "customFieldCard");
|
|
5132
|
+
__publicField$v(this, "customFieldSetTabs");
|
|
5133
|
+
__publicField$v(this, "customFieldSetTabCustomContent");
|
|
5134
|
+
__publicField$v(this, "customerGroupRequestMessage");
|
|
5135
|
+
__publicField$v(this, "customerGroupAcceptButton");
|
|
5136
|
+
__publicField$v(this, "customerGroupDeclineButton");
|
|
5137
|
+
__publicField$v(this, "tagList");
|
|
5138
|
+
__publicField$v(this, "tagItems");
|
|
5115
5139
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
5116
5140
|
this.generalTab = page.getByRole("link", { name: "General" });
|
|
5117
5141
|
this.accountCard = page.locator(".sw-customer-card");
|
|
@@ -5172,17 +5196,17 @@ class CustomerDetail {
|
|
|
5172
5196
|
}
|
|
5173
5197
|
}
|
|
5174
5198
|
|
|
5175
|
-
var __defProp$
|
|
5176
|
-
var __defNormalProp$
|
|
5177
|
-
var __publicField$
|
|
5178
|
-
__defNormalProp$
|
|
5199
|
+
var __defProp$u = Object.defineProperty;
|
|
5200
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5201
|
+
var __publicField$u = (obj, key, value) => {
|
|
5202
|
+
__defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5179
5203
|
return value;
|
|
5180
5204
|
};
|
|
5181
5205
|
class CustomerGroupListing {
|
|
5182
5206
|
constructor(page) {
|
|
5183
5207
|
this.page = page;
|
|
5184
|
-
__publicField$
|
|
5185
|
-
__publicField$
|
|
5208
|
+
__publicField$u(this, "headline");
|
|
5209
|
+
__publicField$u(this, "addCustomerGroupButton");
|
|
5186
5210
|
this.headline = page.getByRole("heading", { name: "Customer groups" });
|
|
5187
5211
|
this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
|
|
5188
5212
|
}
|
|
@@ -5204,30 +5228,30 @@ class CustomerGroupListing {
|
|
|
5204
5228
|
}
|
|
5205
5229
|
}
|
|
5206
5230
|
|
|
5207
|
-
var __defProp$
|
|
5208
|
-
var __defNormalProp$
|
|
5209
|
-
var __publicField$
|
|
5210
|
-
__defNormalProp$
|
|
5231
|
+
var __defProp$t = Object.defineProperty;
|
|
5232
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5233
|
+
var __publicField$t = (obj, key, value) => {
|
|
5234
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5211
5235
|
return value;
|
|
5212
5236
|
};
|
|
5213
5237
|
class CustomerGroupCreate {
|
|
5214
5238
|
constructor(page, instanceMeta) {
|
|
5215
5239
|
this.page = page;
|
|
5216
5240
|
this.instanceMeta = instanceMeta;
|
|
5217
|
-
__publicField$
|
|
5218
|
-
__publicField$
|
|
5219
|
-
__publicField$
|
|
5220
|
-
__publicField$
|
|
5221
|
-
__publicField$
|
|
5222
|
-
__publicField$
|
|
5223
|
-
__publicField$
|
|
5224
|
-
__publicField$
|
|
5225
|
-
__publicField$
|
|
5226
|
-
__publicField$
|
|
5227
|
-
__publicField$
|
|
5228
|
-
__publicField$
|
|
5229
|
-
__publicField$
|
|
5230
|
-
__publicField$
|
|
5241
|
+
__publicField$t(this, "headline");
|
|
5242
|
+
__publicField$t(this, "saveButton");
|
|
5243
|
+
__publicField$t(this, "cancelButton");
|
|
5244
|
+
__publicField$t(this, "cardTitle");
|
|
5245
|
+
__publicField$t(this, "customerGroupNameField");
|
|
5246
|
+
__publicField$t(this, "customerGroupGrossTaxDisplay");
|
|
5247
|
+
__publicField$t(this, "customerGroupNetTaxDisplay");
|
|
5248
|
+
__publicField$t(this, "customSignupFormToggle");
|
|
5249
|
+
__publicField$t(this, "signupFormTitle");
|
|
5250
|
+
__publicField$t(this, "signupFormIntroduction");
|
|
5251
|
+
__publicField$t(this, "signupFormSeoDescription");
|
|
5252
|
+
__publicField$t(this, "signupFormCompanySignupToggle");
|
|
5253
|
+
__publicField$t(this, "customerGroupSaleschannelSelection");
|
|
5254
|
+
__publicField$t(this, "customerGroupSaleschannelResultList");
|
|
5231
5255
|
this.headline = page.getByRole("heading", { name: "New customer group" });
|
|
5232
5256
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5233
5257
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
@@ -5253,10 +5277,10 @@ class CustomerGroupCreate {
|
|
|
5253
5277
|
}
|
|
5254
5278
|
}
|
|
5255
5279
|
|
|
5256
|
-
var __defProp$
|
|
5257
|
-
var __defNormalProp$
|
|
5258
|
-
var __publicField$
|
|
5259
|
-
__defNormalProp$
|
|
5280
|
+
var __defProp$s = Object.defineProperty;
|
|
5281
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5282
|
+
var __publicField$s = (obj, key, value) => {
|
|
5283
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5260
5284
|
return value;
|
|
5261
5285
|
};
|
|
5262
5286
|
class CustomerGroupDetail extends CustomerGroupCreate {
|
|
@@ -5264,10 +5288,10 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5264
5288
|
super(page, instanceMeta);
|
|
5265
5289
|
this.page = page;
|
|
5266
5290
|
this.instanceMeta = instanceMeta;
|
|
5267
|
-
__publicField$
|
|
5268
|
-
__publicField$
|
|
5269
|
-
__publicField$
|
|
5270
|
-
__publicField$
|
|
5291
|
+
__publicField$s(this, "headline");
|
|
5292
|
+
__publicField$s(this, "selectedSalesChannel");
|
|
5293
|
+
__publicField$s(this, "technicalUrl");
|
|
5294
|
+
__publicField$s(this, "saleschannelUrl");
|
|
5271
5295
|
this.headline = page.locator(".smart-bar__header");
|
|
5272
5296
|
this.selectedSalesChannel = page.locator(".sw-select-selection-list");
|
|
5273
5297
|
this.technicalUrl = page.getByLabel("Technical URL");
|
|
@@ -5278,66 +5302,66 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5278
5302
|
}
|
|
5279
5303
|
}
|
|
5280
5304
|
|
|
5281
|
-
var __defProp$
|
|
5282
|
-
var __defNormalProp$
|
|
5283
|
-
var __publicField$
|
|
5284
|
-
__defNormalProp$
|
|
5305
|
+
var __defProp$r = Object.defineProperty;
|
|
5306
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5307
|
+
var __publicField$r = (obj, key, value) => {
|
|
5308
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5285
5309
|
return value;
|
|
5286
5310
|
};
|
|
5287
5311
|
class FirstRunWizard {
|
|
5288
5312
|
constructor(page, instanceMeta) {
|
|
5289
5313
|
this.page = page;
|
|
5290
5314
|
this.instanceMeta = instanceMeta;
|
|
5291
|
-
__publicField$
|
|
5292
|
-
__publicField$
|
|
5293
|
-
__publicField$
|
|
5294
|
-
__publicField$
|
|
5295
|
-
__publicField$
|
|
5296
|
-
__publicField$
|
|
5297
|
-
__publicField$
|
|
5298
|
-
__publicField$
|
|
5299
|
-
__publicField$
|
|
5300
|
-
__publicField$
|
|
5301
|
-
__publicField$
|
|
5302
|
-
__publicField$
|
|
5303
|
-
__publicField$
|
|
5304
|
-
__publicField$
|
|
5305
|
-
__publicField$
|
|
5306
|
-
__publicField$
|
|
5307
|
-
__publicField$
|
|
5308
|
-
__publicField$
|
|
5309
|
-
__publicField$
|
|
5310
|
-
__publicField$
|
|
5311
|
-
__publicField$
|
|
5312
|
-
__publicField$
|
|
5313
|
-
__publicField$
|
|
5314
|
-
__publicField$
|
|
5315
|
+
__publicField$r(this, "nextButton");
|
|
5316
|
+
__publicField$r(this, "configureLaterButton");
|
|
5317
|
+
__publicField$r(this, "skipButton");
|
|
5318
|
+
__publicField$r(this, "finishButton");
|
|
5319
|
+
__publicField$r(this, "backButton");
|
|
5320
|
+
__publicField$r(this, "smtpServerButton");
|
|
5321
|
+
__publicField$r(this, "dataImportHeader");
|
|
5322
|
+
__publicField$r(this, "installLanguagePackButton");
|
|
5323
|
+
__publicField$r(this, "installDemoDataButton");
|
|
5324
|
+
__publicField$r(this, "installMigrationAssistantButton");
|
|
5325
|
+
__publicField$r(this, "defaultValuesHeader");
|
|
5326
|
+
__publicField$r(this, "mailerConfigurationHeader");
|
|
5327
|
+
__publicField$r(this, "payPalSetupHeader");
|
|
5328
|
+
__publicField$r(this, "extensionsHeader");
|
|
5329
|
+
__publicField$r(this, "shopwareAccountHeader");
|
|
5330
|
+
__publicField$r(this, "shopwareStoreHeader");
|
|
5331
|
+
__publicField$r(this, "doneHeader");
|
|
5332
|
+
__publicField$r(this, "frwSuccessText");
|
|
5333
|
+
__publicField$r(this, "welcomeText");
|
|
5334
|
+
__publicField$r(this, "pluginCardInfo");
|
|
5335
|
+
__publicField$r(this, "dataImportCard");
|
|
5336
|
+
__publicField$r(this, "salesChannelSelectionList");
|
|
5337
|
+
__publicField$r(this, "salesChannelSelectionMultiSelect");
|
|
5338
|
+
__publicField$r(this, "smtpServerTitle");
|
|
5315
5339
|
/**
|
|
5316
5340
|
* @deprecated - Use `smtpServerFieldInputs` instead.
|
|
5317
5341
|
*/
|
|
5318
|
-
__publicField$
|
|
5319
|
-
__publicField$
|
|
5320
|
-
__publicField$
|
|
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$
|
|
5342
|
+
__publicField$r(this, "smtpServerFields");
|
|
5343
|
+
__publicField$r(this, "smtpServerFieldInputs");
|
|
5344
|
+
__publicField$r(this, "smtpServerHostInput");
|
|
5345
|
+
__publicField$r(this, "smtpServerPortInput");
|
|
5346
|
+
__publicField$r(this, "smtpServerUsernameInput");
|
|
5347
|
+
__publicField$r(this, "smtpServerPasswordInput");
|
|
5348
|
+
__publicField$r(this, "smtpServerEncryptionInput");
|
|
5349
|
+
__publicField$r(this, "smtpServerSenderAddressInput");
|
|
5350
|
+
__publicField$r(this, "smtpServerDeliveryAddressInput");
|
|
5351
|
+
__publicField$r(this, "smtpServerDisableEmailDeliveryCheckbox");
|
|
5352
|
+
__publicField$r(this, "payPalPaymethods");
|
|
5353
|
+
__publicField$r(this, "payPalInfoCard");
|
|
5354
|
+
__publicField$r(this, "emailAddressInputField");
|
|
5355
|
+
__publicField$r(this, "passwordInputField");
|
|
5356
|
+
__publicField$r(this, "forgotPasswordLink");
|
|
5357
|
+
__publicField$r(this, "extensionStoreHeading");
|
|
5358
|
+
__publicField$r(this, "documentationLink");
|
|
5359
|
+
__publicField$r(this, "forumLink");
|
|
5360
|
+
__publicField$r(this, "roadmapLink");
|
|
5361
|
+
__publicField$r(this, "germanRegionSelector");
|
|
5362
|
+
__publicField$r(this, "toolsSelector");
|
|
5363
|
+
__publicField$r(this, "recommendationHeader");
|
|
5364
|
+
__publicField$r(this, "toolsRecommendedPlugin");
|
|
5341
5365
|
this.nextButton = page.getByText("Next", { exact: true });
|
|
5342
5366
|
this.configureLaterButton = page.getByText("Configure later", { exact: true });
|
|
5343
5367
|
this.skipButton = page.getByText("Skip", { exact: true });
|
|
@@ -5395,23 +5419,23 @@ class FirstRunWizard {
|
|
|
5395
5419
|
}
|
|
5396
5420
|
}
|
|
5397
5421
|
|
|
5398
|
-
var __defProp$
|
|
5399
|
-
var __defNormalProp$
|
|
5400
|
-
var __publicField$
|
|
5401
|
-
__defNormalProp$
|
|
5422
|
+
var __defProp$q = Object.defineProperty;
|
|
5423
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5424
|
+
var __publicField$q = (obj, key, value) => {
|
|
5425
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5402
5426
|
return value;
|
|
5403
5427
|
};
|
|
5404
5428
|
class FlowBuilderCreate {
|
|
5405
5429
|
constructor(page) {
|
|
5406
5430
|
this.page = page;
|
|
5407
|
-
__publicField$
|
|
5408
|
-
__publicField$
|
|
5409
|
-
__publicField$
|
|
5410
|
-
__publicField$
|
|
5411
|
-
__publicField$
|
|
5412
|
-
__publicField$
|
|
5413
|
-
__publicField$
|
|
5414
|
-
__publicField$
|
|
5431
|
+
__publicField$q(this, "saveButton");
|
|
5432
|
+
__publicField$q(this, "header");
|
|
5433
|
+
__publicField$q(this, "nameField");
|
|
5434
|
+
__publicField$q(this, "flowTab");
|
|
5435
|
+
__publicField$q(this, "triggerSelectField");
|
|
5436
|
+
__publicField$q(this, "addActionField");
|
|
5437
|
+
__publicField$q(this, "smartBarHeader");
|
|
5438
|
+
__publicField$q(this, "newFlowHeader");
|
|
5415
5439
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
5416
5440
|
this.header = page.locator("h2");
|
|
5417
5441
|
this.nameField = page.locator(".sw-flow-detail-general__general-name").getByLabel("Name");
|
|
@@ -5429,29 +5453,29 @@ class FlowBuilderCreate {
|
|
|
5429
5453
|
}
|
|
5430
5454
|
}
|
|
5431
5455
|
|
|
5432
|
-
var __defProp$
|
|
5433
|
-
var __defNormalProp$
|
|
5434
|
-
var __publicField$
|
|
5435
|
-
__defNormalProp$
|
|
5456
|
+
var __defProp$p = Object.defineProperty;
|
|
5457
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5458
|
+
var __publicField$p = (obj, key, value) => {
|
|
5459
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5436
5460
|
return value;
|
|
5437
5461
|
};
|
|
5438
5462
|
class FlowBuilderListing {
|
|
5439
5463
|
constructor(page) {
|
|
5440
5464
|
this.page = page;
|
|
5441
|
-
__publicField$
|
|
5442
|
-
__publicField$
|
|
5443
|
-
__publicField$
|
|
5444
|
-
__publicField$
|
|
5445
|
-
__publicField$
|
|
5446
|
-
__publicField$
|
|
5447
|
-
__publicField$
|
|
5448
|
-
__publicField$
|
|
5449
|
-
__publicField$
|
|
5450
|
-
__publicField$
|
|
5451
|
-
__publicField$
|
|
5452
|
-
__publicField$
|
|
5453
|
-
__publicField$
|
|
5454
|
-
__publicField$
|
|
5465
|
+
__publicField$p(this, "createFlowButton");
|
|
5466
|
+
__publicField$p(this, "firstFlowName");
|
|
5467
|
+
__publicField$p(this, "firstFlowContextButton");
|
|
5468
|
+
__publicField$p(this, "flowContextMenu");
|
|
5469
|
+
__publicField$p(this, "contextMenuDownload");
|
|
5470
|
+
__publicField$p(this, "contextMenuDuplicate");
|
|
5471
|
+
__publicField$p(this, "contextMenuEdit");
|
|
5472
|
+
__publicField$p(this, "contextMenuDelete");
|
|
5473
|
+
__publicField$p(this, "flowDownloadModal");
|
|
5474
|
+
__publicField$p(this, "downloadFlowButton");
|
|
5475
|
+
__publicField$p(this, "flowDeleteButton");
|
|
5476
|
+
__publicField$p(this, "successAlert");
|
|
5477
|
+
__publicField$p(this, "successAlertMessage");
|
|
5478
|
+
__publicField$p(this, "searchBar");
|
|
5455
5479
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
5456
5480
|
this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
|
|
5457
5481
|
this.firstFlowContextButton = page.locator(".sw-data-grid__actions-menu").first();
|
|
@@ -5509,10 +5533,10 @@ class FlowBuilderTemplates extends FlowBuilderListing {
|
|
|
5509
5533
|
}
|
|
5510
5534
|
}
|
|
5511
5535
|
|
|
5512
|
-
var __defProp$
|
|
5513
|
-
var __defNormalProp$
|
|
5514
|
-
var __publicField$
|
|
5515
|
-
__defNormalProp$
|
|
5536
|
+
var __defProp$o = Object.defineProperty;
|
|
5537
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5538
|
+
var __publicField$o = (obj, key, value) => {
|
|
5539
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5516
5540
|
return value;
|
|
5517
5541
|
};
|
|
5518
5542
|
class FlowBuilderDetail extends FlowBuilderCreate {
|
|
@@ -5520,13 +5544,13 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5520
5544
|
super(page);
|
|
5521
5545
|
this.page = page;
|
|
5522
5546
|
this.instanceMeta = instanceMeta;
|
|
5523
|
-
__publicField$
|
|
5524
|
-
__publicField$
|
|
5525
|
-
__publicField$
|
|
5526
|
-
__publicField$
|
|
5527
|
-
__publicField$
|
|
5528
|
-
__publicField$
|
|
5529
|
-
__publicField$
|
|
5547
|
+
__publicField$o(this, "saveButtonLoader");
|
|
5548
|
+
__publicField$o(this, "saveButton");
|
|
5549
|
+
__publicField$o(this, "generalTab");
|
|
5550
|
+
__publicField$o(this, "flowTab");
|
|
5551
|
+
__publicField$o(this, "alertWarning");
|
|
5552
|
+
__publicField$o(this, "templateName");
|
|
5553
|
+
__publicField$o(this, "alertMessage");
|
|
5530
5554
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
5531
5555
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
5532
5556
|
this.saveButtonLoader = page.locator(".sw-button--primary").locator(".sw-button_loader");
|
|
@@ -5546,21 +5570,21 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5546
5570
|
}
|
|
5547
5571
|
}
|
|
5548
5572
|
|
|
5549
|
-
var __defProp$
|
|
5550
|
-
var __defNormalProp$
|
|
5551
|
-
var __publicField$
|
|
5552
|
-
__defNormalProp$
|
|
5573
|
+
var __defProp$n = Object.defineProperty;
|
|
5574
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5575
|
+
var __publicField$n = (obj, key, value) => {
|
|
5576
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5553
5577
|
return value;
|
|
5554
5578
|
};
|
|
5555
5579
|
class DataSharing {
|
|
5556
5580
|
constructor(page, instanceMeta) {
|
|
5557
5581
|
this.page = page;
|
|
5558
5582
|
this.instanceMeta = instanceMeta;
|
|
5559
|
-
__publicField$
|
|
5560
|
-
__publicField$
|
|
5561
|
-
__publicField$
|
|
5562
|
-
__publicField$
|
|
5563
|
-
__publicField$
|
|
5583
|
+
__publicField$n(this, "dataConsentHeadline");
|
|
5584
|
+
__publicField$n(this, "dataSharingSuccessMessageLabel");
|
|
5585
|
+
__publicField$n(this, "dataSharingAgreeButton");
|
|
5586
|
+
__publicField$n(this, "dataSharingDisableButton");
|
|
5587
|
+
__publicField$n(this, "dataSharingTermsAgreementLabel");
|
|
5564
5588
|
if (satisfies(instanceMeta.version, "<6.6.1")) {
|
|
5565
5589
|
this.dataConsentHeadline = page.locator("header.sw-usage-data-consent-banner__title");
|
|
5566
5590
|
} else {
|
|
@@ -5579,23 +5603,23 @@ class DataSharing {
|
|
|
5579
5603
|
}
|
|
5580
5604
|
}
|
|
5581
5605
|
|
|
5582
|
-
var __defProp$
|
|
5583
|
-
var __defNormalProp$
|
|
5584
|
-
var __publicField$
|
|
5585
|
-
__defNormalProp$
|
|
5606
|
+
var __defProp$m = Object.defineProperty;
|
|
5607
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5608
|
+
var __publicField$m = (obj, key, value) => {
|
|
5609
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5586
5610
|
return value;
|
|
5587
5611
|
};
|
|
5588
5612
|
class Dashboard {
|
|
5589
5613
|
constructor(page) {
|
|
5590
5614
|
this.page = page;
|
|
5591
|
-
__publicField$
|
|
5592
|
-
__publicField$
|
|
5593
|
-
__publicField$
|
|
5594
|
-
__publicField$
|
|
5595
|
-
__publicField$
|
|
5596
|
-
__publicField$
|
|
5597
|
-
__publicField$
|
|
5598
|
-
__publicField$
|
|
5615
|
+
__publicField$m(this, "welcomeHeadline");
|
|
5616
|
+
__publicField$m(this, "dataSharingConsentBanner");
|
|
5617
|
+
__publicField$m(this, "dataSharingAgreeButton");
|
|
5618
|
+
__publicField$m(this, "dataSharingNotAtTheMomentButton");
|
|
5619
|
+
__publicField$m(this, "dataSharingTermsAgreementLabel");
|
|
5620
|
+
__publicField$m(this, "dataSharingSettingsLink");
|
|
5621
|
+
__publicField$m(this, "dataSharingAcceptMessageText");
|
|
5622
|
+
__publicField$m(this, "dataSharingNotAtTheMomentMessageText");
|
|
5599
5623
|
this.welcomeHeadline = page.locator("h1.sw-dashboard-index__welcome-title");
|
|
5600
5624
|
this.dataSharingConsentBanner = page.locator(".sw-usage-data-consent-banner");
|
|
5601
5625
|
this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
|
|
@@ -5610,25 +5634,25 @@ class Dashboard {
|
|
|
5610
5634
|
}
|
|
5611
5635
|
}
|
|
5612
5636
|
|
|
5613
|
-
var __defProp$
|
|
5614
|
-
var __defNormalProp$
|
|
5615
|
-
var __publicField$
|
|
5616
|
-
__defNormalProp$
|
|
5637
|
+
var __defProp$l = Object.defineProperty;
|
|
5638
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5639
|
+
var __publicField$l = (obj, key, value) => {
|
|
5640
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5617
5641
|
return value;
|
|
5618
5642
|
};
|
|
5619
5643
|
class ShippingListing {
|
|
5620
5644
|
constructor(page) {
|
|
5621
5645
|
this.page = page;
|
|
5622
|
-
__publicField$
|
|
5623
|
-
__publicField$
|
|
5624
|
-
__publicField$
|
|
5625
|
-
__publicField$
|
|
5626
|
-
__publicField$
|
|
5646
|
+
__publicField$l(this, "header");
|
|
5647
|
+
__publicField$l(this, "addShippingMethod");
|
|
5648
|
+
__publicField$l(this, "contextMenu");
|
|
5649
|
+
__publicField$l(this, "editButton");
|
|
5650
|
+
__publicField$l(this, "deleteButton");
|
|
5627
5651
|
//warning modal
|
|
5628
|
-
__publicField$
|
|
5629
|
-
__publicField$
|
|
5630
|
-
__publicField$
|
|
5631
|
-
__publicField$
|
|
5652
|
+
__publicField$l(this, "modal");
|
|
5653
|
+
__publicField$l(this, "modalHeader");
|
|
5654
|
+
__publicField$l(this, "modalCancelButton");
|
|
5655
|
+
__publicField$l(this, "modalDeleteButton");
|
|
5632
5656
|
this.header = page.locator(".smart-bar__header");
|
|
5633
5657
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
5634
5658
|
this.contextMenu = page.locator(".sw-data-grid-settings__trigger");
|
|
@@ -5644,19 +5668,19 @@ class ShippingListing {
|
|
|
5644
5668
|
}
|
|
5645
5669
|
}
|
|
5646
5670
|
|
|
5647
|
-
var __defProp$
|
|
5648
|
-
var __defNormalProp$
|
|
5649
|
-
var __publicField$
|
|
5650
|
-
__defNormalProp$
|
|
5671
|
+
var __defProp$k = Object.defineProperty;
|
|
5672
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5673
|
+
var __publicField$k = (obj, key, value) => {
|
|
5674
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5651
5675
|
return value;
|
|
5652
5676
|
};
|
|
5653
5677
|
class ShippingDetail {
|
|
5654
5678
|
constructor(page) {
|
|
5655
5679
|
this.page = page;
|
|
5656
|
-
__publicField$
|
|
5657
|
-
__publicField$
|
|
5658
|
-
__publicField$
|
|
5659
|
-
__publicField$
|
|
5680
|
+
__publicField$k(this, "header");
|
|
5681
|
+
__publicField$k(this, "nameField");
|
|
5682
|
+
__publicField$k(this, "availabilityRuleField");
|
|
5683
|
+
__publicField$k(this, "availabilityRuleListItem");
|
|
5660
5684
|
this.header = page.locator(".smart-bar__header");
|
|
5661
5685
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
5662
5686
|
this.availabilityRuleField = page.locator(".sw-settings-shipping-detail__top-rule").locator(".sw-entity-single-select__selection-text");
|
|
@@ -5670,19 +5694,19 @@ class ShippingDetail {
|
|
|
5670
5694
|
}
|
|
5671
5695
|
}
|
|
5672
5696
|
|
|
5673
|
-
var __defProp$
|
|
5674
|
-
var __defNormalProp$
|
|
5675
|
-
var __publicField$
|
|
5676
|
-
__defNormalProp$
|
|
5697
|
+
var __defProp$j = Object.defineProperty;
|
|
5698
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5699
|
+
var __publicField$j = (obj, key, value) => {
|
|
5700
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5677
5701
|
return value;
|
|
5678
5702
|
};
|
|
5679
5703
|
class PaymentDetail {
|
|
5680
5704
|
constructor(page) {
|
|
5681
5705
|
this.page = page;
|
|
5682
|
-
__publicField$
|
|
5683
|
-
__publicField$
|
|
5684
|
-
__publicField$
|
|
5685
|
-
__publicField$
|
|
5706
|
+
__publicField$j(this, "header");
|
|
5707
|
+
__publicField$j(this, "nameField");
|
|
5708
|
+
__publicField$j(this, "availabilityRuleField");
|
|
5709
|
+
__publicField$j(this, "availabilityRuleListItem");
|
|
5686
5710
|
this.header = page.locator(".smart-bar__header");
|
|
5687
5711
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
5688
5712
|
this.availabilityRuleField = page.locator(".sw-settings-payment-detail__field-availability-rule").locator(".sw-entity-single-select__selection-text");
|
|
@@ -5696,10 +5720,10 @@ class PaymentDetail {
|
|
|
5696
5720
|
}
|
|
5697
5721
|
}
|
|
5698
5722
|
|
|
5699
|
-
var __defProp$
|
|
5700
|
-
var __defNormalProp$
|
|
5701
|
-
var __publicField$
|
|
5702
|
-
__defNormalProp$
|
|
5723
|
+
var __defProp$i = Object.defineProperty;
|
|
5724
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5725
|
+
var __publicField$i = (obj, key, value) => {
|
|
5726
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5703
5727
|
return value;
|
|
5704
5728
|
};
|
|
5705
5729
|
class LandingPageCreate {
|
|
@@ -5708,24 +5732,24 @@ class LandingPageCreate {
|
|
|
5708
5732
|
/**
|
|
5709
5733
|
* General
|
|
5710
5734
|
*/
|
|
5711
|
-
__publicField$
|
|
5712
|
-
__publicField$
|
|
5713
|
-
__publicField$
|
|
5714
|
-
__publicField$
|
|
5715
|
-
__publicField$
|
|
5716
|
-
__publicField$
|
|
5717
|
-
__publicField$
|
|
5735
|
+
__publicField$i(this, "nameInput");
|
|
5736
|
+
__publicField$i(this, "landingPageStatus");
|
|
5737
|
+
__publicField$i(this, "salesChannelSelectionList");
|
|
5738
|
+
__publicField$i(this, "filtersResultPopoverItemList");
|
|
5739
|
+
__publicField$i(this, "saveLandingPageButton");
|
|
5740
|
+
__publicField$i(this, "loadingSpinner");
|
|
5741
|
+
__publicField$i(this, "seoUrlInput");
|
|
5718
5742
|
/**
|
|
5719
5743
|
* Layout
|
|
5720
5744
|
*/
|
|
5721
|
-
__publicField$
|
|
5722
|
-
__publicField$
|
|
5723
|
-
__publicField$
|
|
5724
|
-
__publicField$
|
|
5725
|
-
__publicField$
|
|
5726
|
-
__publicField$
|
|
5727
|
-
__publicField$
|
|
5728
|
-
__publicField$
|
|
5745
|
+
__publicField$i(this, "layoutTab");
|
|
5746
|
+
__publicField$i(this, "assignLayoutButton");
|
|
5747
|
+
__publicField$i(this, "searchLayoutInput");
|
|
5748
|
+
__publicField$i(this, "layoutItems");
|
|
5749
|
+
__publicField$i(this, "layoutSaveButton");
|
|
5750
|
+
__publicField$i(this, "layoutEmptyState");
|
|
5751
|
+
__publicField$i(this, "createNewLayoutButton");
|
|
5752
|
+
__publicField$i(this, "layoutCheckboxes");
|
|
5729
5753
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5730
5754
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
5731
5755
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5750,10 +5774,10 @@ class LandingPageCreate {
|
|
|
5750
5774
|
}
|
|
5751
5775
|
}
|
|
5752
5776
|
|
|
5753
|
-
var __defProp$
|
|
5754
|
-
var __defNormalProp$
|
|
5755
|
-
var __publicField$
|
|
5756
|
-
__defNormalProp$
|
|
5777
|
+
var __defProp$h = Object.defineProperty;
|
|
5778
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5779
|
+
var __publicField$h = (obj, key, value) => {
|
|
5780
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5757
5781
|
return value;
|
|
5758
5782
|
};
|
|
5759
5783
|
class LandingPageDetail {
|
|
@@ -5762,24 +5786,24 @@ class LandingPageDetail {
|
|
|
5762
5786
|
/**
|
|
5763
5787
|
* General
|
|
5764
5788
|
*/
|
|
5765
|
-
__publicField$
|
|
5766
|
-
__publicField$
|
|
5767
|
-
__publicField$
|
|
5768
|
-
__publicField$
|
|
5769
|
-
__publicField$
|
|
5770
|
-
__publicField$
|
|
5771
|
-
__publicField$
|
|
5789
|
+
__publicField$h(this, "nameInput");
|
|
5790
|
+
__publicField$h(this, "landingPageStatus");
|
|
5791
|
+
__publicField$h(this, "salesChannelSelectionList");
|
|
5792
|
+
__publicField$h(this, "filtersResultPopoverItemList");
|
|
5793
|
+
__publicField$h(this, "saveLandingPageButton");
|
|
5794
|
+
__publicField$h(this, "loadingSpinner");
|
|
5795
|
+
__publicField$h(this, "seoUrlInput");
|
|
5772
5796
|
/**
|
|
5773
5797
|
* Layout
|
|
5774
5798
|
*/
|
|
5775
|
-
__publicField$
|
|
5776
|
-
__publicField$
|
|
5777
|
-
__publicField$
|
|
5778
|
-
__publicField$
|
|
5779
|
-
__publicField$
|
|
5780
|
-
__publicField$
|
|
5781
|
-
__publicField$
|
|
5782
|
-
__publicField$
|
|
5799
|
+
__publicField$h(this, "layoutTab");
|
|
5800
|
+
__publicField$h(this, "layoutAssignmentCardTitle");
|
|
5801
|
+
__publicField$h(this, "layoutAssignmentCardHeadline");
|
|
5802
|
+
__publicField$h(this, "changeLayoutButton");
|
|
5803
|
+
__publicField$h(this, "editInDesignerButton");
|
|
5804
|
+
__publicField$h(this, "layoutResetButton");
|
|
5805
|
+
__publicField$h(this, "layoutAssignmentStatus");
|
|
5806
|
+
__publicField$h(this, "layoutAssignmentContentSection");
|
|
5783
5807
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5784
5808
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
5785
5809
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5803,10 +5827,10 @@ class LandingPageDetail {
|
|
|
5803
5827
|
}
|
|
5804
5828
|
}
|
|
5805
5829
|
|
|
5806
|
-
var __defProp$
|
|
5807
|
-
var __defNormalProp$
|
|
5808
|
-
var __publicField$
|
|
5809
|
-
__defNormalProp$
|
|
5830
|
+
var __defProp$g = Object.defineProperty;
|
|
5831
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5832
|
+
var __publicField$g = (obj, key, value) => {
|
|
5833
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5810
5834
|
return value;
|
|
5811
5835
|
};
|
|
5812
5836
|
class Categories {
|
|
@@ -5816,42 +5840,42 @@ class Categories {
|
|
|
5816
5840
|
/**
|
|
5817
5841
|
* Landing pages
|
|
5818
5842
|
*/
|
|
5819
|
-
__publicField$
|
|
5820
|
-
__publicField$
|
|
5821
|
-
__publicField$
|
|
5822
|
-
__publicField$
|
|
5843
|
+
__publicField$g(this, "landingPageArea");
|
|
5844
|
+
__publicField$g(this, "landingPageHeadline");
|
|
5845
|
+
__publicField$g(this, "addLandingPageButton");
|
|
5846
|
+
__publicField$g(this, "landingPageItems");
|
|
5823
5847
|
/**
|
|
5824
5848
|
* Category tree
|
|
5825
5849
|
*/
|
|
5826
|
-
__publicField$
|
|
5827
|
-
__publicField$
|
|
5828
|
-
__publicField$
|
|
5829
|
-
__publicField$
|
|
5830
|
-
__publicField$
|
|
5831
|
-
__publicField$
|
|
5850
|
+
__publicField$g(this, "categoryTree");
|
|
5851
|
+
__publicField$g(this, "categoryMenuItemList");
|
|
5852
|
+
__publicField$g(this, "createCategoryInput");
|
|
5853
|
+
__publicField$g(this, "confirmCategoryCreationButton");
|
|
5854
|
+
__publicField$g(this, "confirmCategoryCancelButton");
|
|
5855
|
+
__publicField$g(this, "categoryItems");
|
|
5832
5856
|
/**
|
|
5833
5857
|
* General
|
|
5834
5858
|
*/
|
|
5835
|
-
__publicField$
|
|
5836
|
-
__publicField$
|
|
5837
|
-
__publicField$
|
|
5838
|
-
__publicField$
|
|
5839
|
-
__publicField$
|
|
5840
|
-
__publicField$
|
|
5841
|
-
__publicField$
|
|
5859
|
+
__publicField$g(this, "nameInput");
|
|
5860
|
+
__publicField$g(this, "activeCheckbox");
|
|
5861
|
+
__publicField$g(this, "categoryTypeSelectionList");
|
|
5862
|
+
__publicField$g(this, "filtersResultPopoverItemList");
|
|
5863
|
+
__publicField$g(this, "saveButton");
|
|
5864
|
+
__publicField$g(this, "loadingSpinner");
|
|
5865
|
+
__publicField$g(this, "fadingBar");
|
|
5842
5866
|
/**
|
|
5843
5867
|
* Customisable link
|
|
5844
5868
|
*/
|
|
5845
|
-
__publicField$
|
|
5846
|
-
__publicField$
|
|
5847
|
-
__publicField$
|
|
5848
|
-
__publicField$
|
|
5849
|
-
__publicField$
|
|
5850
|
-
__publicField$
|
|
5851
|
-
__publicField$
|
|
5852
|
-
__publicField$
|
|
5853
|
-
__publicField$
|
|
5854
|
-
__publicField$
|
|
5869
|
+
__publicField$g(this, "entitySelectionList");
|
|
5870
|
+
__publicField$g(this, "linkTypeSelectionList");
|
|
5871
|
+
__publicField$g(this, "categorySelectionList");
|
|
5872
|
+
__publicField$g(this, "productSelectionList");
|
|
5873
|
+
__publicField$g(this, "landingPageSelectionList");
|
|
5874
|
+
__publicField$g(this, "filterResultPopoverTreeCheckboxItemList");
|
|
5875
|
+
__publicField$g(this, "openInNewTabCheckbox");
|
|
5876
|
+
__publicField$g(this, "popoverCategoryTree");
|
|
5877
|
+
__publicField$g(this, "categorySelectionListWrapper");
|
|
5878
|
+
__publicField$g(this, "productSelectionInput");
|
|
5855
5879
|
this.landingPageArea = page.locator(".sw-category-detail__landing-page-collapse");
|
|
5856
5880
|
this.landingPageHeadline = this.landingPageArea.getByRole("heading", { name: "Landing pages" });
|
|
5857
5881
|
this.addLandingPageButton = this.landingPageArea.getByText("Add landing page");
|
|
@@ -5895,17 +5919,17 @@ class Categories {
|
|
|
5895
5919
|
}
|
|
5896
5920
|
}
|
|
5897
5921
|
|
|
5898
|
-
var __defProp$
|
|
5899
|
-
var __defNormalProp$
|
|
5900
|
-
var __publicField$
|
|
5901
|
-
__defNormalProp$
|
|
5922
|
+
var __defProp$f = Object.defineProperty;
|
|
5923
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5924
|
+
var __publicField$f = (obj, key, value) => {
|
|
5925
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5902
5926
|
return value;
|
|
5903
5927
|
};
|
|
5904
5928
|
class CustomFieldListing {
|
|
5905
5929
|
constructor(page) {
|
|
5906
5930
|
this.page = page;
|
|
5907
|
-
__publicField$
|
|
5908
|
-
__publicField$
|
|
5931
|
+
__publicField$f(this, "addNewSetButton");
|
|
5932
|
+
__publicField$f(this, "customFieldRows");
|
|
5909
5933
|
this.addNewSetButton = page.getByText("Add new set");
|
|
5910
5934
|
this.customFieldRows = page.getByRole("row");
|
|
5911
5935
|
}
|
|
@@ -5933,22 +5957,22 @@ class CustomFieldListing {
|
|
|
5933
5957
|
}
|
|
5934
5958
|
}
|
|
5935
5959
|
|
|
5936
|
-
var __defProp$
|
|
5937
|
-
var __defNormalProp$
|
|
5938
|
-
var __publicField$
|
|
5939
|
-
__defNormalProp$
|
|
5960
|
+
var __defProp$e = Object.defineProperty;
|
|
5961
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5962
|
+
var __publicField$e = (obj, key, value) => {
|
|
5963
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5940
5964
|
return value;
|
|
5941
5965
|
};
|
|
5942
5966
|
class CustomFieldCreate {
|
|
5943
5967
|
constructor(page) {
|
|
5944
5968
|
this.page = page;
|
|
5945
|
-
__publicField$
|
|
5946
|
-
__publicField$
|
|
5947
|
-
__publicField$
|
|
5948
|
-
__publicField$
|
|
5949
|
-
__publicField$
|
|
5950
|
-
__publicField$
|
|
5951
|
-
__publicField$
|
|
5969
|
+
__publicField$e(this, "saveButton");
|
|
5970
|
+
__publicField$e(this, "cancelButton");
|
|
5971
|
+
__publicField$e(this, "technicalNameInput");
|
|
5972
|
+
__publicField$e(this, "positionInput");
|
|
5973
|
+
__publicField$e(this, "labelEnglishGBInput");
|
|
5974
|
+
__publicField$e(this, "assignToSelectionList");
|
|
5975
|
+
__publicField$e(this, "resultAssignToPopoverItemList");
|
|
5952
5976
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5953
5977
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
5954
5978
|
this.technicalNameInput = page.getByLabel("Technical name");
|
|
@@ -5973,10 +5997,10 @@ async function getSelectFieldListitem(page, selectField, listItem, instanceMeta)
|
|
|
5973
5997
|
}
|
|
5974
5998
|
}
|
|
5975
5999
|
|
|
5976
|
-
var __defProp$
|
|
5977
|
-
var __defNormalProp$
|
|
5978
|
-
var __publicField$
|
|
5979
|
-
__defNormalProp$
|
|
6000
|
+
var __defProp$d = Object.defineProperty;
|
|
6001
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6002
|
+
var __publicField$d = (obj, key, value) => {
|
|
6003
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5980
6004
|
return value;
|
|
5981
6005
|
};
|
|
5982
6006
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
@@ -5984,24 +6008,24 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
5984
6008
|
super(page);
|
|
5985
6009
|
this.page = page;
|
|
5986
6010
|
this.instanceMeta = instanceMeta;
|
|
5987
|
-
__publicField$
|
|
5988
|
-
__publicField$
|
|
5989
|
-
__publicField$
|
|
5990
|
-
__publicField$
|
|
5991
|
-
__publicField$
|
|
5992
|
-
__publicField$
|
|
5993
|
-
__publicField$
|
|
5994
|
-
__publicField$
|
|
5995
|
-
__publicField$
|
|
5996
|
-
__publicField$
|
|
5997
|
-
__publicField$
|
|
5998
|
-
__publicField$
|
|
5999
|
-
__publicField$
|
|
6000
|
-
__publicField$
|
|
6001
|
-
__publicField$
|
|
6002
|
-
__publicField$
|
|
6003
|
-
__publicField$
|
|
6004
|
-
__publicField$
|
|
6011
|
+
__publicField$d(this, "newCustomFieldButton");
|
|
6012
|
+
__publicField$d(this, "customFieldEditDialog");
|
|
6013
|
+
__publicField$d(this, "newCustomFieldDialog");
|
|
6014
|
+
__publicField$d(this, "customFieldTechnicalNameInput");
|
|
6015
|
+
__publicField$d(this, "customFieldPositionInput");
|
|
6016
|
+
__publicField$d(this, "customFieldTypeSelectionList");
|
|
6017
|
+
__publicField$d(this, "customFieldModifyByStoreApiCheckbox");
|
|
6018
|
+
__publicField$d(this, "customFieldCancelButton");
|
|
6019
|
+
__publicField$d(this, "customFieldAddButton");
|
|
6020
|
+
__publicField$d(this, "customFieldEditApplyButton");
|
|
6021
|
+
__publicField$d(this, "customFieldLabelEnglishGBInput");
|
|
6022
|
+
__publicField$d(this, "customFieldPlaceholderEnglishGBInput");
|
|
6023
|
+
__publicField$d(this, "customFieldHelpTextEnglishGBInput");
|
|
6024
|
+
__publicField$d(this, "customFieldDeleteListButton");
|
|
6025
|
+
__publicField$d(this, "customFieldDeleteDialog");
|
|
6026
|
+
__publicField$d(this, "customFieldDeleteCancelButton");
|
|
6027
|
+
__publicField$d(this, "customFieldDeleteButton");
|
|
6028
|
+
__publicField$d(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
6005
6029
|
this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
|
|
6006
6030
|
this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
|
|
6007
6031
|
this.newCustomFieldDialog = page.getByRole("dialog", { name: "New custom field" });
|
|
@@ -6054,21 +6078,21 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6054
6078
|
}
|
|
6055
6079
|
}
|
|
6056
6080
|
|
|
6057
|
-
var __defProp$
|
|
6058
|
-
var __defNormalProp$
|
|
6059
|
-
var __publicField$
|
|
6060
|
-
__defNormalProp$
|
|
6081
|
+
var __defProp$c = Object.defineProperty;
|
|
6082
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6083
|
+
var __publicField$c = (obj, key, value) => {
|
|
6084
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6061
6085
|
return value;
|
|
6062
6086
|
};
|
|
6063
6087
|
class CategoryDetail {
|
|
6064
6088
|
constructor(page, instanceMeta) {
|
|
6065
6089
|
this.page = page;
|
|
6066
6090
|
this.instanceMeta = instanceMeta;
|
|
6067
|
-
__publicField$
|
|
6068
|
-
__publicField$
|
|
6069
|
-
__publicField$
|
|
6070
|
-
__publicField$
|
|
6071
|
-
__publicField$
|
|
6091
|
+
__publicField$c(this, "saveButton");
|
|
6092
|
+
__publicField$c(this, "cancelButton");
|
|
6093
|
+
__publicField$c(this, "customFieldCard");
|
|
6094
|
+
__publicField$c(this, "customFieldSetTabs");
|
|
6095
|
+
__publicField$c(this, "customFieldSetTabCustomContent");
|
|
6072
6096
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6073
6097
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6074
6098
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
@@ -6101,24 +6125,24 @@ class CategoryDetail {
|
|
|
6101
6125
|
}
|
|
6102
6126
|
}
|
|
6103
6127
|
|
|
6104
|
-
var __defProp$
|
|
6105
|
-
var __defNormalProp$
|
|
6106
|
-
var __publicField$
|
|
6107
|
-
__defNormalProp$
|
|
6128
|
+
var __defProp$b = Object.defineProperty;
|
|
6129
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6130
|
+
var __publicField$b = (obj, key, value) => {
|
|
6131
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6108
6132
|
return value;
|
|
6109
6133
|
};
|
|
6110
6134
|
class RuleCreate {
|
|
6111
6135
|
constructor(page, instanceMeta) {
|
|
6112
6136
|
this.page = page;
|
|
6113
6137
|
this.instanceMeta = instanceMeta;
|
|
6114
|
-
__publicField$
|
|
6115
|
-
__publicField$
|
|
6116
|
-
__publicField$
|
|
6117
|
-
__publicField$
|
|
6118
|
-
__publicField$
|
|
6119
|
-
__publicField$
|
|
6120
|
-
__publicField$
|
|
6121
|
-
__publicField$
|
|
6138
|
+
__publicField$b(this, "nameInput");
|
|
6139
|
+
__publicField$b(this, "priorityInput");
|
|
6140
|
+
__publicField$b(this, "conditionTypeSelectionInput");
|
|
6141
|
+
__publicField$b(this, "conditionValueSelectionInput");
|
|
6142
|
+
__publicField$b(this, "filtersResultPopoverSelectionList");
|
|
6143
|
+
__publicField$b(this, "saveButton");
|
|
6144
|
+
__publicField$b(this, "cancelButton");
|
|
6145
|
+
__publicField$b(this, "valueNotAvailableTooltip");
|
|
6122
6146
|
this.nameInput = page.getByLabel("Name");
|
|
6123
6147
|
this.priorityInput = page.getByLabel("Priority");
|
|
6124
6148
|
this.conditionTypeSelectionInput = page.locator(".sw-condition-type-select").locator(".sw-single-select__selection");
|
|
@@ -6136,10 +6160,10 @@ class RuleCreate {
|
|
|
6136
6160
|
}
|
|
6137
6161
|
}
|
|
6138
6162
|
|
|
6139
|
-
var __defProp$
|
|
6140
|
-
var __defNormalProp$
|
|
6141
|
-
var __publicField$
|
|
6142
|
-
__defNormalProp$
|
|
6163
|
+
var __defProp$a = Object.defineProperty;
|
|
6164
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6165
|
+
var __publicField$a = (obj, key, value) => {
|
|
6166
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6143
6167
|
return value;
|
|
6144
6168
|
};
|
|
6145
6169
|
class RuleDetail extends RuleCreate {
|
|
@@ -6147,24 +6171,24 @@ class RuleDetail extends RuleCreate {
|
|
|
6147
6171
|
super(page, instanceMeta);
|
|
6148
6172
|
this.page = page;
|
|
6149
6173
|
this.instanceMeta = instanceMeta;
|
|
6150
|
-
__publicField$
|
|
6151
|
-
__publicField$
|
|
6152
|
-
__publicField$
|
|
6153
|
-
__publicField$
|
|
6154
|
-
__publicField$
|
|
6155
|
-
__publicField$
|
|
6156
|
-
__publicField$
|
|
6157
|
-
__publicField$
|
|
6158
|
-
__publicField$
|
|
6159
|
-
__publicField$
|
|
6160
|
-
__publicField$
|
|
6161
|
-
__publicField$
|
|
6162
|
-
__publicField$
|
|
6163
|
-
__publicField$
|
|
6164
|
-
__publicField$
|
|
6165
|
-
__publicField$
|
|
6166
|
-
__publicField$
|
|
6167
|
-
__publicField$
|
|
6174
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCard");
|
|
6175
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCardLink");
|
|
6176
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCardTable");
|
|
6177
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCardEmptyState");
|
|
6178
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCardSearchField");
|
|
6179
|
+
__publicField$a(this, "taxProviderRulesCard");
|
|
6180
|
+
__publicField$a(this, "taxProviderRulesCardEmptyState");
|
|
6181
|
+
__publicField$a(this, "paymentMethodsAvailabilityRulesCard");
|
|
6182
|
+
__publicField$a(this, "paymentMethodsAvailabilityRulesCardEmptyState");
|
|
6183
|
+
__publicField$a(this, "paymentMethodsAvailabilityRulesCardLink");
|
|
6184
|
+
__publicField$a(this, "promotionOrderRulesCard");
|
|
6185
|
+
__publicField$a(this, "promotionOrderRulesCardEmptyState");
|
|
6186
|
+
__publicField$a(this, "promotionCustomerRulesCard");
|
|
6187
|
+
__publicField$a(this, "promotionCustomerRulesCardEmptyState");
|
|
6188
|
+
__publicField$a(this, "promotionCartRulesCard");
|
|
6189
|
+
__publicField$a(this, "promotionCartRulesCardEmptyState");
|
|
6190
|
+
__publicField$a(this, "assignmentModalAddButton");
|
|
6191
|
+
__publicField$a(this, "assignmentModalSearchField");
|
|
6168
6192
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6169
6193
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
6170
6194
|
this.shippingMethodAvailabilityRulesCardTable = page.locator(".sw-settings-rule-detail-assignments__entity-listing-shipping_method_availability_rule");
|
|
@@ -6198,16 +6222,16 @@ class RuleDetail extends RuleCreate {
|
|
|
6198
6222
|
}
|
|
6199
6223
|
}
|
|
6200
6224
|
|
|
6201
|
-
var __defProp$
|
|
6202
|
-
var __defNormalProp$
|
|
6203
|
-
var __publicField$
|
|
6204
|
-
__defNormalProp$
|
|
6225
|
+
var __defProp$9 = Object.defineProperty;
|
|
6226
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6227
|
+
var __publicField$9 = (obj, key, value) => {
|
|
6228
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6205
6229
|
return value;
|
|
6206
6230
|
};
|
|
6207
6231
|
class RuleListing {
|
|
6208
6232
|
constructor(page) {
|
|
6209
6233
|
this.page = page;
|
|
6210
|
-
__publicField$
|
|
6234
|
+
__publicField$9(this, "createRuleButton");
|
|
6211
6235
|
this.createRuleButton = page.getByText("Create rule");
|
|
6212
6236
|
}
|
|
6213
6237
|
url() {
|
|
@@ -6215,21 +6239,21 @@ class RuleListing {
|
|
|
6215
6239
|
}
|
|
6216
6240
|
}
|
|
6217
6241
|
|
|
6218
|
-
var __defProp$
|
|
6219
|
-
var __defNormalProp$
|
|
6220
|
-
var __publicField$
|
|
6221
|
-
__defNormalProp$
|
|
6242
|
+
var __defProp$8 = Object.defineProperty;
|
|
6243
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6244
|
+
var __publicField$8 = (obj, key, value) => {
|
|
6245
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6222
6246
|
return value;
|
|
6223
6247
|
};
|
|
6224
6248
|
class ManufacturerCreate {
|
|
6225
6249
|
constructor(page, instanceMeta) {
|
|
6226
6250
|
this.page = page;
|
|
6227
6251
|
this.instanceMeta = instanceMeta;
|
|
6228
|
-
__publicField$
|
|
6229
|
-
__publicField$
|
|
6230
|
-
__publicField$
|
|
6231
|
-
__publicField$
|
|
6232
|
-
__publicField$
|
|
6252
|
+
__publicField$8(this, "saveButton");
|
|
6253
|
+
__publicField$8(this, "cancelButton");
|
|
6254
|
+
__publicField$8(this, "nameInput");
|
|
6255
|
+
__publicField$8(this, "websiteInput");
|
|
6256
|
+
__publicField$8(this, "descriptionInput");
|
|
6233
6257
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6234
6258
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6235
6259
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -6245,17 +6269,17 @@ class ManufacturerCreate {
|
|
|
6245
6269
|
}
|
|
6246
6270
|
}
|
|
6247
6271
|
|
|
6248
|
-
var __defProp$
|
|
6249
|
-
var __defNormalProp$
|
|
6250
|
-
var __publicField$
|
|
6251
|
-
__defNormalProp$
|
|
6272
|
+
var __defProp$7 = Object.defineProperty;
|
|
6273
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6274
|
+
var __publicField$7 = (obj, key, value) => {
|
|
6275
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6252
6276
|
return value;
|
|
6253
6277
|
};
|
|
6254
6278
|
class ManufacturerListing {
|
|
6255
6279
|
constructor(page) {
|
|
6256
6280
|
this.page = page;
|
|
6257
|
-
__publicField$
|
|
6258
|
-
__publicField$
|
|
6281
|
+
__publicField$7(this, "addManufacturerButton");
|
|
6282
|
+
__publicField$7(this, "manufacturerRows");
|
|
6259
6283
|
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
6260
6284
|
this.manufacturerRows = page.getByRole("row");
|
|
6261
6285
|
}
|
|
@@ -6287,10 +6311,10 @@ class ManufacturerListing {
|
|
|
6287
6311
|
}
|
|
6288
6312
|
}
|
|
6289
6313
|
|
|
6290
|
-
var __defProp$
|
|
6291
|
-
var __defNormalProp$
|
|
6292
|
-
var __publicField$
|
|
6293
|
-
__defNormalProp$
|
|
6314
|
+
var __defProp$6 = Object.defineProperty;
|
|
6315
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6316
|
+
var __publicField$6 = (obj, key, value) => {
|
|
6317
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6294
6318
|
return value;
|
|
6295
6319
|
};
|
|
6296
6320
|
class ManufacturerDetail extends ManufacturerCreate {
|
|
@@ -6298,9 +6322,9 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6298
6322
|
super(page, instanceMeta);
|
|
6299
6323
|
this.page = page;
|
|
6300
6324
|
this.instanceMeta = instanceMeta;
|
|
6301
|
-
__publicField$
|
|
6302
|
-
__publicField$
|
|
6303
|
-
__publicField$
|
|
6325
|
+
__publicField$6(this, "customFieldCard");
|
|
6326
|
+
__publicField$6(this, "customFieldSetTabs");
|
|
6327
|
+
__publicField$6(this, "customFieldSetTabCustomContent");
|
|
6304
6328
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6305
6329
|
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
6306
6330
|
} else {
|
|
@@ -6328,10 +6352,10 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6328
6352
|
}
|
|
6329
6353
|
}
|
|
6330
6354
|
|
|
6331
|
-
var __defProp$
|
|
6332
|
-
var __defNormalProp$
|
|
6333
|
-
var __publicField$
|
|
6334
|
-
__defNormalProp$
|
|
6355
|
+
var __defProp$5 = Object.defineProperty;
|
|
6356
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6357
|
+
var __publicField$5 = (obj, key, value) => {
|
|
6358
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6335
6359
|
return value;
|
|
6336
6360
|
};
|
|
6337
6361
|
class ProductListing {
|
|
@@ -6340,13 +6364,13 @@ class ProductListing {
|
|
|
6340
6364
|
/**
|
|
6341
6365
|
* Multi selection
|
|
6342
6366
|
*/
|
|
6343
|
-
__publicField$
|
|
6344
|
-
__publicField$
|
|
6367
|
+
__publicField$5(this, "productsTable");
|
|
6368
|
+
__publicField$5(this, "bulkEditButton");
|
|
6345
6369
|
/**
|
|
6346
6370
|
* Bulk edit modal
|
|
6347
6371
|
*/
|
|
6348
|
-
__publicField$
|
|
6349
|
-
__publicField$
|
|
6372
|
+
__publicField$5(this, "bulkEditModal");
|
|
6373
|
+
__publicField$5(this, "startBulkEditButton");
|
|
6350
6374
|
this.productsTable = page.locator(".sw-data-grid__table");
|
|
6351
6375
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
6352
6376
|
this.bulkEditModal = page.locator(".sw-product-bulk-edit-modal");
|
|
@@ -6396,10 +6420,10 @@ class ProductListing {
|
|
|
6396
6420
|
}
|
|
6397
6421
|
}
|
|
6398
6422
|
|
|
6399
|
-
var __defProp$
|
|
6400
|
-
var __defNormalProp$
|
|
6401
|
-
var __publicField$
|
|
6402
|
-
__defNormalProp$
|
|
6423
|
+
var __defProp$4 = Object.defineProperty;
|
|
6424
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6425
|
+
var __publicField$4 = (obj, key, value) => {
|
|
6426
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6403
6427
|
return value;
|
|
6404
6428
|
};
|
|
6405
6429
|
class ProductBulkEdit {
|
|
@@ -6408,49 +6432,49 @@ class ProductBulkEdit {
|
|
|
6408
6432
|
/**
|
|
6409
6433
|
* Bulk edit values
|
|
6410
6434
|
*/
|
|
6411
|
-
__publicField$
|
|
6412
|
-
__publicField$
|
|
6413
|
-
__publicField$
|
|
6414
|
-
__publicField$
|
|
6415
|
-
__publicField$
|
|
6416
|
-
__publicField$
|
|
6417
|
-
__publicField$
|
|
6418
|
-
__publicField$
|
|
6419
|
-
__publicField$
|
|
6420
|
-
__publicField$
|
|
6421
|
-
__publicField$
|
|
6422
|
-
__publicField$
|
|
6423
|
-
__publicField$
|
|
6424
|
-
__publicField$
|
|
6425
|
-
__publicField$
|
|
6426
|
-
__publicField$
|
|
6427
|
-
__publicField$
|
|
6428
|
-
__publicField$
|
|
6429
|
-
__publicField$
|
|
6430
|
-
__publicField$
|
|
6431
|
-
__publicField$
|
|
6432
|
-
__publicField$
|
|
6433
|
-
__publicField$
|
|
6434
|
-
__publicField$
|
|
6435
|
-
__publicField$
|
|
6436
|
-
__publicField$
|
|
6437
|
-
__publicField$
|
|
6438
|
-
__publicField$
|
|
6439
|
-
__publicField$
|
|
6440
|
-
__publicField$
|
|
6441
|
-
__publicField$
|
|
6442
|
-
__publicField$
|
|
6443
|
-
__publicField$
|
|
6444
|
-
__publicField$
|
|
6445
|
-
__publicField$
|
|
6435
|
+
__publicField$4(this, "changeManufacturerRow");
|
|
6436
|
+
__publicField$4(this, "changeManufacturerCheckbox");
|
|
6437
|
+
__publicField$4(this, "manufacturerDropdown");
|
|
6438
|
+
__publicField$4(this, "manufacturerDropdownInput");
|
|
6439
|
+
__publicField$4(this, "manufacturerListResult");
|
|
6440
|
+
__publicField$4(this, "changeActiveRow");
|
|
6441
|
+
__publicField$4(this, "changeActiveCheckbox");
|
|
6442
|
+
__publicField$4(this, "activeToggle");
|
|
6443
|
+
__publicField$4(this, "changePriceRow");
|
|
6444
|
+
__publicField$4(this, "changePriceCheckbox");
|
|
6445
|
+
__publicField$4(this, "grossPriceInput");
|
|
6446
|
+
__publicField$4(this, "changeReleaseDateRow");
|
|
6447
|
+
__publicField$4(this, "changeReleaseDateCheckbox");
|
|
6448
|
+
__publicField$4(this, "releaseDateInput");
|
|
6449
|
+
__publicField$4(this, "changeStockRow");
|
|
6450
|
+
__publicField$4(this, "changeStockCheckbox");
|
|
6451
|
+
__publicField$4(this, "stockChangeMethodDropdown");
|
|
6452
|
+
__publicField$4(this, "stockChangeMethodInput");
|
|
6453
|
+
__publicField$4(this, "stockInput");
|
|
6454
|
+
__publicField$4(this, "changeRestockTimeRow");
|
|
6455
|
+
__publicField$4(this, "changeRestockTimeCheckbox");
|
|
6456
|
+
__publicField$4(this, "restockTimeChangeMethodDropdown");
|
|
6457
|
+
__publicField$4(this, "restockTimeChangeMethodInput");
|
|
6458
|
+
__publicField$4(this, "restockTimeInput");
|
|
6459
|
+
__publicField$4(this, "changeTagsRow");
|
|
6460
|
+
__publicField$4(this, "changeTagsCheckbox");
|
|
6461
|
+
__publicField$4(this, "tagsChangeMethodDropdown");
|
|
6462
|
+
__publicField$4(this, "tagsChangeMethodInput");
|
|
6463
|
+
__publicField$4(this, "tagsInput");
|
|
6464
|
+
__publicField$4(this, "changeSalesChannelRow");
|
|
6465
|
+
__publicField$4(this, "changeSalesChannelCheckbox");
|
|
6466
|
+
__publicField$4(this, "salesChannelChangeMethodDropdown");
|
|
6467
|
+
__publicField$4(this, "salesChannelChangeMethodInput");
|
|
6468
|
+
__publicField$4(this, "salesChannelInput");
|
|
6469
|
+
__publicField$4(this, "applyChangesButton");
|
|
6446
6470
|
/**
|
|
6447
6471
|
* Confirmation modal
|
|
6448
6472
|
*/
|
|
6449
|
-
__publicField$
|
|
6450
|
-
__publicField$
|
|
6451
|
-
__publicField$
|
|
6452
|
-
__publicField$
|
|
6453
|
-
__publicField$
|
|
6473
|
+
__publicField$4(this, "confirmModal");
|
|
6474
|
+
__publicField$4(this, "confirmModalApplyChangesButton");
|
|
6475
|
+
__publicField$4(this, "confirmModalLoadingSpinner");
|
|
6476
|
+
__publicField$4(this, "confirmModalSuccessHeader");
|
|
6477
|
+
__publicField$4(this, "confirmModalSuccessCloseButton");
|
|
6454
6478
|
this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
|
|
6455
6479
|
this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
|
|
6456
6480
|
this.manufacturerDropdown = this.changeManufacturerRow.locator(".sw-select__selection");
|
|
@@ -6500,42 +6524,42 @@ class ProductBulkEdit {
|
|
|
6500
6524
|
}
|
|
6501
6525
|
}
|
|
6502
6526
|
|
|
6503
|
-
var __defProp$
|
|
6504
|
-
var __defNormalProp$
|
|
6505
|
-
var __publicField$
|
|
6506
|
-
__defNormalProp$
|
|
6527
|
+
var __defProp$3 = Object.defineProperty;
|
|
6528
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6529
|
+
var __publicField$3 = (obj, key, value) => {
|
|
6530
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6507
6531
|
return value;
|
|
6508
6532
|
};
|
|
6509
6533
|
class CustomerBulkEdit {
|
|
6510
6534
|
constructor(page) {
|
|
6511
6535
|
this.page = page;
|
|
6512
6536
|
//General
|
|
6513
|
-
__publicField$
|
|
6514
|
-
__publicField$
|
|
6537
|
+
__publicField$3(this, "applyChangesButton");
|
|
6538
|
+
__publicField$3(this, "filtersResultPopoverItemList");
|
|
6515
6539
|
//Account
|
|
6516
|
-
__publicField$
|
|
6517
|
-
__publicField$
|
|
6518
|
-
__publicField$
|
|
6519
|
-
__publicField$
|
|
6520
|
-
__publicField$
|
|
6521
|
-
__publicField$
|
|
6522
|
-
__publicField$
|
|
6523
|
-
__publicField$
|
|
6540
|
+
__publicField$3(this, "changeCustomerGroupCheckbox");
|
|
6541
|
+
__publicField$3(this, "customerGroupInput");
|
|
6542
|
+
__publicField$3(this, "changeAccountStatusCheckbox");
|
|
6543
|
+
__publicField$3(this, "accountStatusInput");
|
|
6544
|
+
__publicField$3(this, "changeLanguageCheckbox");
|
|
6545
|
+
__publicField$3(this, "changeLanguageInput");
|
|
6546
|
+
__publicField$3(this, "replyToCustomerGroupRequest");
|
|
6547
|
+
__publicField$3(this, "replyToCustomerGroupRequestInput");
|
|
6524
6548
|
//Tags
|
|
6525
|
-
__publicField$
|
|
6526
|
-
__publicField$
|
|
6527
|
-
__publicField$
|
|
6549
|
+
__publicField$3(this, "changeTagsCheckbox");
|
|
6550
|
+
__publicField$3(this, "changeTypeSelect");
|
|
6551
|
+
__publicField$3(this, "enterTagsSelect");
|
|
6528
6552
|
//Custom fields
|
|
6529
|
-
__publicField$
|
|
6530
|
-
__publicField$
|
|
6531
|
-
__publicField$
|
|
6553
|
+
__publicField$3(this, "customFieldCheckbox");
|
|
6554
|
+
__publicField$3(this, "customFieldInput");
|
|
6555
|
+
__publicField$3(this, "customFieldArrowRightButton");
|
|
6532
6556
|
/**
|
|
6533
6557
|
* Confirmation modal
|
|
6534
6558
|
*/
|
|
6535
|
-
__publicField$
|
|
6536
|
-
__publicField$
|
|
6537
|
-
__publicField$
|
|
6538
|
-
__publicField$
|
|
6559
|
+
__publicField$3(this, "confirmModal");
|
|
6560
|
+
__publicField$3(this, "confirmModalApplyChangesButton");
|
|
6561
|
+
__publicField$3(this, "confirmModalSuccessHeader");
|
|
6562
|
+
__publicField$3(this, "confirmModalSuccessCloseButton");
|
|
6539
6563
|
this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
|
|
6540
6564
|
this.filtersResultPopoverItemList = page.locator(".sw-select-result-list__content").getByRole("listitem");
|
|
6541
6565
|
this.changeCustomerGroupCheckbox = page.getByRole("checkbox", { name: "Change: Customer group" });
|
|
@@ -6577,6 +6601,46 @@ class CustomerBulkEdit {
|
|
|
6577
6601
|
}
|
|
6578
6602
|
}
|
|
6579
6603
|
|
|
6604
|
+
var __defProp$2 = Object.defineProperty;
|
|
6605
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6606
|
+
var __publicField$2 = (obj, key, value) => {
|
|
6607
|
+
__defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6608
|
+
return value;
|
|
6609
|
+
};
|
|
6610
|
+
class DocumentListing {
|
|
6611
|
+
constructor(page) {
|
|
6612
|
+
this.page = page;
|
|
6613
|
+
__publicField$2(this, "addDocumentButton");
|
|
6614
|
+
__publicField$2(this, "invoiceLink");
|
|
6615
|
+
this.addDocumentButton = page.getByRole("button", { name: "Add document" });
|
|
6616
|
+
this.invoiceLink = page.getByRole("link", { name: "invoice", exact: true });
|
|
6617
|
+
}
|
|
6618
|
+
url() {
|
|
6619
|
+
return `#/sw/settings/document/index`;
|
|
6620
|
+
}
|
|
6621
|
+
}
|
|
6622
|
+
|
|
6623
|
+
var __defProp$1 = Object.defineProperty;
|
|
6624
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6625
|
+
var __publicField$1 = (obj, key, value) => {
|
|
6626
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6627
|
+
return value;
|
|
6628
|
+
};
|
|
6629
|
+
class DocumentDetail {
|
|
6630
|
+
constructor(page) {
|
|
6631
|
+
this.page = page;
|
|
6632
|
+
__publicField$1(this, "showInAccountSwitch");
|
|
6633
|
+
__publicField$1(this, "saveButton");
|
|
6634
|
+
__publicField$1(this, "documentTypeSelect");
|
|
6635
|
+
this.showInAccountSwitch = page.getByRole("checkbox", { name: 'Display document in "My' });
|
|
6636
|
+
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6637
|
+
this.documentTypeSelect = page.locator(".sw-settings-document-detail__select-type");
|
|
6638
|
+
}
|
|
6639
|
+
url(documentId) {
|
|
6640
|
+
return `#/sw/settings/document/detail/${documentId}`;
|
|
6641
|
+
}
|
|
6642
|
+
}
|
|
6643
|
+
|
|
6580
6644
|
const AdminPageObjects = {
|
|
6581
6645
|
ProductDetail,
|
|
6582
6646
|
OrderDetail,
|
|
@@ -6610,7 +6674,9 @@ const AdminPageObjects = {
|
|
|
6610
6674
|
ManufacturerListing,
|
|
6611
6675
|
ProductListing,
|
|
6612
6676
|
ProductBulkEdit,
|
|
6613
|
-
CustomerBulkEdit
|
|
6677
|
+
CustomerBulkEdit,
|
|
6678
|
+
DocumentListing,
|
|
6679
|
+
DocumentDetail
|
|
6614
6680
|
};
|
|
6615
6681
|
const test$6 = test$f.extend({
|
|
6616
6682
|
AdminProductDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
@@ -6711,6 +6777,12 @@ const test$6 = test$f.extend({
|
|
|
6711
6777
|
},
|
|
6712
6778
|
AdminCustomerBulkEdit: async ({ AdminPage }, use) => {
|
|
6713
6779
|
await use(new CustomerBulkEdit(AdminPage));
|
|
6780
|
+
},
|
|
6781
|
+
AdminDocumentListing: async ({ AdminPage }, use) => {
|
|
6782
|
+
await use(new DocumentListing(AdminPage));
|
|
6783
|
+
},
|
|
6784
|
+
AdminDocumentDetail: async ({ AdminPage }, use) => {
|
|
6785
|
+
await use(new DocumentDetail(AdminPage));
|
|
6714
6786
|
}
|
|
6715
6787
|
});
|
|
6716
6788
|
|