@shopware-ag/acceptance-test-suite 11.18.0 → 11.19.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 +97 -3
- package/dist/index.d.ts +97 -3
- package/dist/index.mjs +1167 -1008
- 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$11 = Object.defineProperty;
|
|
159
|
+
var __defNormalProp$11 = (obj, key, value) => key in obj ? __defProp$11(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
160
|
+
var __publicField$11 = (obj, key, value) => {
|
|
161
|
+
__defNormalProp$11(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$11(this, "context");
|
|
167
|
+
__publicField$11(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$11(_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$10(_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$10 = Object.defineProperty;
|
|
298
|
+
var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
299
|
+
var __publicField$10 = (obj, key, value) => {
|
|
300
|
+
__defNormalProp$10(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$10(this, "context");
|
|
306
|
+
__publicField$10(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$10(_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$_ = Object.defineProperty;
|
|
692
|
+
var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
693
|
+
var __publicField$_ = (obj, key, value) => {
|
|
694
|
+
__defNormalProp$_(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$_(this, "page");
|
|
700
|
+
__publicField$_(this, "name");
|
|
701
|
+
__publicField$_(this, "baseURL");
|
|
702
|
+
__publicField$_(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$Z = Object.defineProperty;
|
|
1040
|
+
var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1041
|
+
var __publicField$Z = (obj, key, value) => {
|
|
1042
|
+
__defNormalProp$Z(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$Z(this, "AdminApiClient");
|
|
1048
|
+
__publicField$Z(this, "IdProvider");
|
|
1049
|
+
__publicField$Z(this, "namePrefix", "Test-");
|
|
1050
|
+
__publicField$Z(this, "nameSuffix", "");
|
|
1051
|
+
__publicField$Z(this, "defaultSalesChannel");
|
|
1052
|
+
__publicField$Z(this, "defaultTaxId");
|
|
1053
|
+
__publicField$Z(this, "defaultCurrencyId");
|
|
1054
|
+
__publicField$Z(this, "defaultCategoryId");
|
|
1055
|
+
__publicField$Z(this, "defaultLanguageId");
|
|
1056
|
+
__publicField$Z(this, "defaultCountryId");
|
|
1057
|
+
__publicField$Z(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$Z(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$Z(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$Z(this, "createdRecords", []);
|
|
1078
|
+
__publicField$Z(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$Z(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$Z(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$Y = Object.defineProperty;
|
|
3257
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3258
|
+
var __publicField$Y = (obj, key, value) => {
|
|
3259
|
+
__defNormalProp$Y(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$Y(this, "workerIndex");
|
|
3265
|
+
__publicField$Y(this, "seed");
|
|
3266
3266
|
this.workerIndex = workerIndex;
|
|
3267
3267
|
this.seed = seed;
|
|
3268
3268
|
}
|
|
@@ -3343,127 +3343,87 @@ const test$8 = test$f.extend({
|
|
|
3343
3343
|
});
|
|
3344
3344
|
},
|
|
3345
3345
|
{ scope: "worker" }
|
|
3346
|
-
],
|
|
3347
|
-
/**
|
|
3348
|
-
* Hides the given page elements using `visibility: hidden`, so they become invisible
|
|
3349
|
-
* without affecting the layout (no realignment occurs).
|
|
3350
|
-
*
|
|
3351
|
-
* @param selectors - A list of CSS selectors for the elements to hide.
|
|
3352
|
-
*/
|
|
3353
|
-
HideElementsForScreenshot: [
|
|
3354
|
-
async ({}, use) => {
|
|
3355
|
-
const fn = async (page, selectors) => {
|
|
3356
|
-
if (!selectors.length)
|
|
3357
|
-
return;
|
|
3358
|
-
const css = selectors.map((selector) => `${selector} { visibility: hidden !important; }`).join("\n");
|
|
3359
|
-
await page.addStyleTag({ content: css });
|
|
3360
|
-
};
|
|
3361
|
-
await use(fn);
|
|
3362
|
-
},
|
|
3363
|
-
{ scope: "worker" }
|
|
3364
|
-
],
|
|
3365
|
-
/**
|
|
3366
|
-
* Replaces the visible text content of the selected elements with "***",
|
|
3367
|
-
* typically used to mask sensitive information (e.g. names, prices).
|
|
3368
|
-
*
|
|
3369
|
-
* @param selectors - A list of CSS selectors for the elements whose content should be replaced.
|
|
3370
|
-
*/
|
|
3371
|
-
ReplaceElementsForScreenshot: [
|
|
3372
|
-
async ({}, use) => {
|
|
3373
|
-
const fn = async (page, selectors) => {
|
|
3374
|
-
if (!selectors.length)
|
|
3375
|
-
return;
|
|
3376
|
-
await page.evaluate((selectors2) => {
|
|
3377
|
-
selectors2.forEach((selector) => {
|
|
3378
|
-
const elements = document.querySelectorAll(selector);
|
|
3379
|
-
elements.forEach((el) => {
|
|
3380
|
-
el.textContent = "***";
|
|
3381
|
-
});
|
|
3382
|
-
});
|
|
3383
|
-
}, selectors);
|
|
3384
|
-
};
|
|
3385
|
-
await use(fn);
|
|
3386
|
-
},
|
|
3387
|
-
{ scope: "worker" }
|
|
3388
3346
|
]
|
|
3389
3347
|
});
|
|
3390
3348
|
|
|
3391
|
-
var __defProp$
|
|
3392
|
-
var __defNormalProp$
|
|
3393
|
-
var __publicField$
|
|
3394
|
-
__defNormalProp$
|
|
3349
|
+
var __defProp$X = Object.defineProperty;
|
|
3350
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3351
|
+
var __publicField$X = (obj, key, value) => {
|
|
3352
|
+
__defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3395
3353
|
return value;
|
|
3396
3354
|
};
|
|
3397
3355
|
class Home {
|
|
3398
3356
|
constructor(page) {
|
|
3399
3357
|
this.page = page;
|
|
3400
|
-
__publicField$
|
|
3401
|
-
__publicField$
|
|
3402
|
-
__publicField$
|
|
3403
|
-
__publicField$
|
|
3404
|
-
__publicField$
|
|
3405
|
-
__publicField$
|
|
3358
|
+
__publicField$X(this, "categoryTitle");
|
|
3359
|
+
__publicField$X(this, "accountMenuButton");
|
|
3360
|
+
__publicField$X(this, "closeGuestSessionButton");
|
|
3361
|
+
__publicField$X(this, "productImages");
|
|
3362
|
+
__publicField$X(this, "productListItems");
|
|
3363
|
+
__publicField$X(this, "loader");
|
|
3364
|
+
__publicField$X(this, "productVariantCharacteristicsOptions");
|
|
3406
3365
|
/**
|
|
3407
3366
|
* @deprecated Use 'Header/languagesDropdown' instead
|
|
3408
3367
|
*/
|
|
3409
|
-
__publicField$
|
|
3368
|
+
__publicField$X(this, "languagesDropdown");
|
|
3410
3369
|
/**
|
|
3411
3370
|
* @deprecated Use 'Header/languagesMenuOptions' instead
|
|
3412
3371
|
*/
|
|
3413
|
-
__publicField$
|
|
3372
|
+
__publicField$X(this, "languagesMenuOptions");
|
|
3414
3373
|
/**
|
|
3415
3374
|
* @deprecated Use 'Header/currenciesDropdown' instead
|
|
3416
3375
|
*/
|
|
3417
|
-
__publicField$
|
|
3376
|
+
__publicField$X(this, "currenciesDropdown");
|
|
3418
3377
|
/**
|
|
3419
3378
|
* @deprecated Use 'Header/currenciesMenuOptions' instead
|
|
3420
3379
|
*/
|
|
3421
|
-
__publicField$
|
|
3422
|
-
__publicField$
|
|
3423
|
-
__publicField$
|
|
3424
|
-
__publicField$
|
|
3425
|
-
__publicField$
|
|
3426
|
-
__publicField$
|
|
3427
|
-
__publicField$
|
|
3428
|
-
__publicField$
|
|
3429
|
-
__publicField$
|
|
3380
|
+
__publicField$X(this, "currenciesMenuOptions");
|
|
3381
|
+
__publicField$X(this, "consentOnlyTechnicallyRequiredButton");
|
|
3382
|
+
__publicField$X(this, "consentConfigureButton");
|
|
3383
|
+
__publicField$X(this, "consentAcceptAllCookiesButton");
|
|
3384
|
+
__publicField$X(this, "consentCookiePreferences");
|
|
3385
|
+
__publicField$X(this, "consentCookiePermissionContent");
|
|
3386
|
+
__publicField$X(this, "consentDialog");
|
|
3387
|
+
__publicField$X(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3388
|
+
__publicField$X(this, "consentDialogStatisticsCheckbox");
|
|
3430
3389
|
/**
|
|
3431
3390
|
* @deprecated Use 'consentDialogMarketingCheckbox' instead
|
|
3432
3391
|
*/
|
|
3433
|
-
__publicField$
|
|
3434
|
-
__publicField$
|
|
3435
|
-
__publicField$
|
|
3436
|
-
__publicField$
|
|
3437
|
-
__publicField$
|
|
3438
|
-
__publicField$
|
|
3392
|
+
__publicField$X(this, "consentDialogMarketingdCheckbox");
|
|
3393
|
+
__publicField$X(this, "consentDialogMarketingCheckbox");
|
|
3394
|
+
__publicField$X(this, "consentDialogAcceptAllCookiesButton");
|
|
3395
|
+
__publicField$X(this, "consentDialogSaveButton");
|
|
3396
|
+
__publicField$X(this, "consentCookieBannerContainer");
|
|
3397
|
+
__publicField$X(this, "offcanvasBackdrop");
|
|
3439
3398
|
/**
|
|
3440
3399
|
* @deprecated Use 'Header/mainNavigationLink' instead
|
|
3441
3400
|
*/
|
|
3442
|
-
__publicField$
|
|
3401
|
+
__publicField$X(this, "mainNavigationLink");
|
|
3443
3402
|
/**
|
|
3444
3403
|
* @deprecated Use 'Footer/contactFormLink' instead
|
|
3445
3404
|
*/
|
|
3446
|
-
__publicField$
|
|
3405
|
+
__publicField$X(this, "contactFormLink");
|
|
3447
3406
|
//wishlist
|
|
3448
3407
|
/**
|
|
3449
3408
|
* @deprecated Use 'Header/wishlistIcon' instead
|
|
3450
3409
|
*/
|
|
3451
|
-
__publicField$
|
|
3410
|
+
__publicField$X(this, "wishlistIcon");
|
|
3452
3411
|
/**
|
|
3453
3412
|
* @deprecated Use 'Header/wishlistBasket' instead
|
|
3454
3413
|
*/
|
|
3455
|
-
__publicField$
|
|
3414
|
+
__publicField$X(this, "wishlistBasket");
|
|
3456
3415
|
//product filters
|
|
3457
|
-
__publicField$
|
|
3458
|
-
__publicField$
|
|
3459
|
-
__publicField$
|
|
3460
|
-
__publicField$
|
|
3461
|
-
__publicField$
|
|
3462
|
-
__publicField$
|
|
3463
|
-
__publicField$
|
|
3464
|
-
__publicField$
|
|
3465
|
-
__publicField$
|
|
3466
|
-
__publicField$
|
|
3416
|
+
__publicField$X(this, "filterMultiSelect");
|
|
3417
|
+
__publicField$X(this, "manufacturerFilter");
|
|
3418
|
+
__publicField$X(this, "propertyFilters");
|
|
3419
|
+
__publicField$X(this, "priceFilterButton");
|
|
3420
|
+
__publicField$X(this, "resetAllButton");
|
|
3421
|
+
__publicField$X(this, "freeShippingFilter");
|
|
3422
|
+
__publicField$X(this, "productList");
|
|
3423
|
+
__publicField$X(this, "productItemNames");
|
|
3424
|
+
__publicField$X(this, "productRatingButton");
|
|
3425
|
+
__publicField$X(this, "productRatingList");
|
|
3426
|
+
this.categoryTitle = page.locator(".cms-element-text h1");
|
|
3467
3427
|
this.accountMenuButton = page.getByLabel("Your account");
|
|
3468
3428
|
this.closeGuestSessionButton = page.locator(".account-aside-btn");
|
|
3469
3429
|
this.productImages = page.locator(".product-image-wrapper");
|
|
@@ -3617,59 +3577,59 @@ class Home {
|
|
|
3617
3577
|
}
|
|
3618
3578
|
}
|
|
3619
3579
|
|
|
3620
|
-
var __defProp$
|
|
3621
|
-
var __defNormalProp$
|
|
3622
|
-
var __publicField$
|
|
3623
|
-
__defNormalProp$
|
|
3580
|
+
var __defProp$W = Object.defineProperty;
|
|
3581
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3582
|
+
var __publicField$W = (obj, key, value) => {
|
|
3583
|
+
__defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3624
3584
|
return value;
|
|
3625
3585
|
};
|
|
3626
3586
|
let ProductDetail$1 = class ProductDetail {
|
|
3627
3587
|
constructor(page) {
|
|
3628
3588
|
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$
|
|
3589
|
+
__publicField$W(this, "addToCartButton");
|
|
3590
|
+
__publicField$W(this, "quantitySelect");
|
|
3591
|
+
__publicField$W(this, "productSingleImage");
|
|
3592
|
+
__publicField$W(this, "productSinglePrice");
|
|
3593
|
+
__publicField$W(this, "productPriceRangesRow");
|
|
3594
|
+
__publicField$W(this, "productListingPriceBadge");
|
|
3595
|
+
__publicField$W(this, "productListingPrice");
|
|
3596
|
+
__publicField$W(this, "productListingPricePercentage");
|
|
3597
|
+
__publicField$W(this, "offCanvasCartTitle");
|
|
3598
|
+
__publicField$W(this, "offCanvasCart");
|
|
3599
|
+
__publicField$W(this, "offCanvasCartGoToCheckoutButton");
|
|
3600
|
+
__publicField$W(this, "offCanvasLineItemImages");
|
|
3601
|
+
__publicField$W(this, "offCanvasSummaryTotalPrice");
|
|
3602
|
+
__publicField$W(this, "offCanvas");
|
|
3603
|
+
__publicField$W(this, "wishlistAddedButton");
|
|
3604
|
+
__publicField$W(this, "wishlistNotAddedButton");
|
|
3605
|
+
__publicField$W(this, "productDetailConfigurator");
|
|
3606
|
+
__publicField$W(this, "productDetailConfiguratorGroupTitle");
|
|
3607
|
+
__publicField$W(this, "productDetailConfiguratorOptionInputs");
|
|
3608
|
+
__publicField$W(this, "productName");
|
|
3649
3609
|
//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$
|
|
3610
|
+
__publicField$W(this, "reviewsTab");
|
|
3611
|
+
__publicField$W(this, "reviewTeaserButton");
|
|
3612
|
+
__publicField$W(this, "reviewTeaserText");
|
|
3613
|
+
__publicField$W(this, "reviewListingItems");
|
|
3614
|
+
__publicField$W(this, "reviewEmptyListingText");
|
|
3615
|
+
__publicField$W(this, "reviewLoginForm");
|
|
3616
|
+
__publicField$W(this, "forgottenPasswordLink");
|
|
3617
|
+
__publicField$W(this, "reviewForm");
|
|
3618
|
+
__publicField$W(this, "reviewRatingPoints");
|
|
3619
|
+
__publicField$W(this, "reviewRatingText");
|
|
3620
|
+
__publicField$W(this, "reviewSubmitMessage");
|
|
3621
|
+
__publicField$W(this, "reviewCounter");
|
|
3622
|
+
__publicField$W(this, "reviewItemRatingPoints");
|
|
3623
|
+
__publicField$W(this, "reviewItemTitle");
|
|
3624
|
+
__publicField$W(this, "reviewReviewTextInput");
|
|
3625
|
+
__publicField$W(this, "reviewItemContent");
|
|
3626
|
+
__publicField$W(this, "reviewLoginButton");
|
|
3627
|
+
__publicField$W(this, "reviewEmailInput");
|
|
3628
|
+
__publicField$W(this, "reviewPasswordInput");
|
|
3629
|
+
__publicField$W(this, "reviewTitleInput");
|
|
3630
|
+
__publicField$W(this, "reviewSubmitButton");
|
|
3631
|
+
__publicField$W(this, "productReviewsLink");
|
|
3632
|
+
__publicField$W(this, "productReviewRating");
|
|
3673
3633
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
3674
3634
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
3675
3635
|
this.productSingleImage = page.locator(".gallery-slider-single-image");
|
|
@@ -3734,18 +3694,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
3734
3694
|
}
|
|
3735
3695
|
};
|
|
3736
3696
|
|
|
3737
|
-
var __defProp$
|
|
3738
|
-
var __defNormalProp$
|
|
3739
|
-
var __publicField$
|
|
3740
|
-
__defNormalProp$
|
|
3697
|
+
var __defProp$V = Object.defineProperty;
|
|
3698
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3699
|
+
var __publicField$V = (obj, key, value) => {
|
|
3700
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3741
3701
|
return value;
|
|
3742
3702
|
};
|
|
3743
3703
|
class Category {
|
|
3744
3704
|
constructor(page) {
|
|
3745
3705
|
this.page = page;
|
|
3746
|
-
__publicField$
|
|
3747
|
-
__publicField$
|
|
3748
|
-
__publicField$
|
|
3706
|
+
__publicField$V(this, "sortingSelect");
|
|
3707
|
+
__publicField$V(this, "firstProductBuyButton");
|
|
3708
|
+
__publicField$V(this, "noProductsFoundAlert");
|
|
3749
3709
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
3750
3710
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
3751
3711
|
this.noProductsFoundAlert = page.getByText("No products found.");
|
|
@@ -3755,24 +3715,24 @@ class Category {
|
|
|
3755
3715
|
}
|
|
3756
3716
|
}
|
|
3757
3717
|
|
|
3758
|
-
var __defProp$
|
|
3759
|
-
var __defNormalProp$
|
|
3760
|
-
var __publicField$
|
|
3761
|
-
__defNormalProp$
|
|
3718
|
+
var __defProp$U = Object.defineProperty;
|
|
3719
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3720
|
+
var __publicField$U = (obj, key, value) => {
|
|
3721
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3762
3722
|
return value;
|
|
3763
3723
|
};
|
|
3764
3724
|
class CheckoutCart {
|
|
3765
3725
|
constructor(page) {
|
|
3766
3726
|
this.page = page;
|
|
3767
|
-
__publicField$
|
|
3768
|
-
__publicField$
|
|
3769
|
-
__publicField$
|
|
3770
|
-
__publicField$
|
|
3771
|
-
__publicField$
|
|
3772
|
-
__publicField$
|
|
3773
|
-
__publicField$
|
|
3774
|
-
__publicField$
|
|
3775
|
-
__publicField$
|
|
3727
|
+
__publicField$U(this, "headline");
|
|
3728
|
+
__publicField$U(this, "goToCheckoutButton");
|
|
3729
|
+
__publicField$U(this, "enterPromoInput");
|
|
3730
|
+
__publicField$U(this, "grandTotalPrice");
|
|
3731
|
+
__publicField$U(this, "emptyCartAlert");
|
|
3732
|
+
__publicField$U(this, "stockReachedAlert");
|
|
3733
|
+
__publicField$U(this, "cartLineItemImages");
|
|
3734
|
+
__publicField$U(this, "unitPriceInfo");
|
|
3735
|
+
__publicField$U(this, "cartQuantityNumber");
|
|
3776
3736
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3777
3737
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
3778
3738
|
this.enterPromoInput = page.getByLabel("Promo code");
|
|
@@ -3813,25 +3773,25 @@ class CheckoutCart {
|
|
|
3813
3773
|
}
|
|
3814
3774
|
}
|
|
3815
3775
|
|
|
3816
|
-
var __defProp$
|
|
3817
|
-
var __defNormalProp$
|
|
3818
|
-
var __publicField$
|
|
3819
|
-
__defNormalProp$
|
|
3776
|
+
var __defProp$T = Object.defineProperty;
|
|
3777
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3778
|
+
var __publicField$T = (obj, key, value) => {
|
|
3779
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3820
3780
|
return value;
|
|
3821
3781
|
};
|
|
3822
3782
|
class OffCanvasCart {
|
|
3823
3783
|
constructor(page) {
|
|
3824
3784
|
this.page = page;
|
|
3825
|
-
__publicField$
|
|
3826
|
-
__publicField$
|
|
3827
|
-
__publicField$
|
|
3828
|
-
__publicField$
|
|
3829
|
-
__publicField$
|
|
3830
|
-
__publicField$
|
|
3831
|
-
__publicField$
|
|
3832
|
-
__publicField$
|
|
3833
|
-
__publicField$
|
|
3834
|
-
__publicField$
|
|
3785
|
+
__publicField$T(this, "headline");
|
|
3786
|
+
__publicField$T(this, "itemCount");
|
|
3787
|
+
__publicField$T(this, "goToCheckoutButton");
|
|
3788
|
+
__publicField$T(this, "goToCartButton");
|
|
3789
|
+
__publicField$T(this, "continueShoppingButton");
|
|
3790
|
+
__publicField$T(this, "enterPromoInput");
|
|
3791
|
+
__publicField$T(this, "submitDiscountButton");
|
|
3792
|
+
__publicField$T(this, "subTotalPrice");
|
|
3793
|
+
__publicField$T(this, "shippingCosts");
|
|
3794
|
+
__publicField$T(this, "cartQuantityNumber");
|
|
3835
3795
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3836
3796
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
3837
3797
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -3877,36 +3837,36 @@ class OffCanvasCart {
|
|
|
3877
3837
|
}
|
|
3878
3838
|
}
|
|
3879
3839
|
|
|
3880
|
-
var __defProp$
|
|
3881
|
-
var __defNormalProp$
|
|
3882
|
-
var __publicField$
|
|
3883
|
-
__defNormalProp$
|
|
3840
|
+
var __defProp$S = Object.defineProperty;
|
|
3841
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3842
|
+
var __publicField$S = (obj, key, value) => {
|
|
3843
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3884
3844
|
return value;
|
|
3885
3845
|
};
|
|
3886
3846
|
class CheckoutConfirm {
|
|
3887
3847
|
constructor(page) {
|
|
3888
3848
|
this.page = page;
|
|
3889
|
-
__publicField$
|
|
3890
|
-
__publicField$
|
|
3891
|
-
__publicField$
|
|
3892
|
-
__publicField$
|
|
3893
|
-
__publicField$
|
|
3894
|
-
__publicField$
|
|
3849
|
+
__publicField$S(this, "headline");
|
|
3850
|
+
__publicField$S(this, "termsAndConditionsCheckbox");
|
|
3851
|
+
__publicField$S(this, "immediateAccessToDigitalProductCheckbox");
|
|
3852
|
+
__publicField$S(this, "grandTotalPrice");
|
|
3853
|
+
__publicField$S(this, "taxPrice");
|
|
3854
|
+
__publicField$S(this, "submitOrderButton");
|
|
3895
3855
|
/**
|
|
3896
3856
|
* Payment options
|
|
3897
3857
|
*/
|
|
3898
|
-
__publicField$
|
|
3899
|
-
__publicField$
|
|
3900
|
-
__publicField$
|
|
3858
|
+
__publicField$S(this, "paymentCashOnDelivery");
|
|
3859
|
+
__publicField$S(this, "paymentPaidInAdvance");
|
|
3860
|
+
__publicField$S(this, "paymentInvoice");
|
|
3901
3861
|
/**
|
|
3902
3862
|
* Shipping options
|
|
3903
3863
|
*/
|
|
3904
|
-
__publicField$
|
|
3905
|
-
__publicField$
|
|
3864
|
+
__publicField$S(this, "shippingStandard");
|
|
3865
|
+
__publicField$S(this, "shippingExpress");
|
|
3906
3866
|
/**
|
|
3907
3867
|
* Product details
|
|
3908
3868
|
*/
|
|
3909
|
-
__publicField$
|
|
3869
|
+
__publicField$S(this, "cartLineItemImages");
|
|
3910
3870
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
3911
3871
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
3912
3872
|
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 +3885,21 @@ class CheckoutConfirm {
|
|
|
3925
3885
|
}
|
|
3926
3886
|
}
|
|
3927
3887
|
|
|
3928
|
-
var __defProp$
|
|
3929
|
-
var __defNormalProp$
|
|
3930
|
-
var __publicField$
|
|
3931
|
-
__defNormalProp$
|
|
3888
|
+
var __defProp$R = Object.defineProperty;
|
|
3889
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3890
|
+
var __publicField$R = (obj, key, value) => {
|
|
3891
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3932
3892
|
return value;
|
|
3933
3893
|
};
|
|
3934
3894
|
class CheckoutFinish {
|
|
3935
3895
|
constructor(page) {
|
|
3936
3896
|
this.page = page;
|
|
3937
|
-
__publicField$
|
|
3938
|
-
__publicField$
|
|
3939
|
-
__publicField$
|
|
3940
|
-
__publicField$
|
|
3941
|
-
__publicField$
|
|
3942
|
-
__publicField$
|
|
3897
|
+
__publicField$R(this, "headline");
|
|
3898
|
+
__publicField$R(this, "orderNumberText");
|
|
3899
|
+
__publicField$R(this, "grandTotalPrice");
|
|
3900
|
+
__publicField$R(this, "taxPrice");
|
|
3901
|
+
__publicField$R(this, "cartLineItemImages");
|
|
3902
|
+
__publicField$R(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
3943
3903
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
3944
3904
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
3945
3905
|
this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
|
|
@@ -3968,16 +3928,16 @@ class CheckoutFinish {
|
|
|
3968
3928
|
}
|
|
3969
3929
|
}
|
|
3970
3930
|
|
|
3971
|
-
var __defProp$
|
|
3972
|
-
var __defNormalProp$
|
|
3973
|
-
var __publicField$
|
|
3974
|
-
__defNormalProp$
|
|
3931
|
+
var __defProp$Q = Object.defineProperty;
|
|
3932
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3933
|
+
var __publicField$Q = (obj, key, value) => {
|
|
3934
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3975
3935
|
return value;
|
|
3976
3936
|
};
|
|
3977
3937
|
class CheckoutRegister {
|
|
3978
3938
|
constructor(page) {
|
|
3979
3939
|
this.page = page;
|
|
3980
|
-
__publicField$
|
|
3940
|
+
__publicField$Q(this, "cartLineItemImages");
|
|
3981
3941
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3982
3942
|
}
|
|
3983
3943
|
url() {
|
|
@@ -3985,26 +3945,26 @@ class CheckoutRegister {
|
|
|
3985
3945
|
}
|
|
3986
3946
|
}
|
|
3987
3947
|
|
|
3988
|
-
var __defProp$
|
|
3989
|
-
var __defNormalProp$
|
|
3990
|
-
var __publicField$
|
|
3991
|
-
__defNormalProp$
|
|
3948
|
+
var __defProp$P = Object.defineProperty;
|
|
3949
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3950
|
+
var __publicField$P = (obj, key, value) => {
|
|
3951
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3992
3952
|
return value;
|
|
3993
3953
|
};
|
|
3994
3954
|
class Account {
|
|
3995
3955
|
constructor(page, instanceMeta) {
|
|
3996
3956
|
this.page = page;
|
|
3997
3957
|
this.instanceMeta = instanceMeta;
|
|
3998
|
-
__publicField$
|
|
3999
|
-
__publicField$
|
|
4000
|
-
__publicField$
|
|
4001
|
-
__publicField$
|
|
4002
|
-
__publicField$
|
|
4003
|
-
__publicField$
|
|
4004
|
-
__publicField$
|
|
4005
|
-
__publicField$
|
|
4006
|
-
__publicField$
|
|
4007
|
-
__publicField$
|
|
3958
|
+
__publicField$P(this, "headline");
|
|
3959
|
+
__publicField$P(this, "personalDataCardTitle");
|
|
3960
|
+
__publicField$P(this, "paymentMethodCardTitle");
|
|
3961
|
+
__publicField$P(this, "billingAddressCardTitle");
|
|
3962
|
+
__publicField$P(this, "shippingAddressCardTitle");
|
|
3963
|
+
__publicField$P(this, "newsletterCheckbox");
|
|
3964
|
+
__publicField$P(this, "newsletterRegistrationSuccessMessage");
|
|
3965
|
+
__publicField$P(this, "customerGroupRequestMessage");
|
|
3966
|
+
__publicField$P(this, "cannotDeliverToCountryAlert");
|
|
3967
|
+
__publicField$P(this, "shippingToAddressNotPossibleAlert");
|
|
4008
3968
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
4009
3969
|
this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
|
|
4010
3970
|
this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
|
|
@@ -4028,57 +3988,57 @@ class Account {
|
|
|
4028
3988
|
}
|
|
4029
3989
|
}
|
|
4030
3990
|
|
|
4031
|
-
var __defProp$
|
|
4032
|
-
var __defNormalProp$
|
|
4033
|
-
var __publicField$
|
|
4034
|
-
__defNormalProp$
|
|
3991
|
+
var __defProp$O = Object.defineProperty;
|
|
3992
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3993
|
+
var __publicField$O = (obj, key, value) => {
|
|
3994
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4035
3995
|
return value;
|
|
4036
3996
|
};
|
|
4037
3997
|
class AccountLogin {
|
|
4038
3998
|
constructor(page) {
|
|
4039
3999
|
this.page = page;
|
|
4040
|
-
__publicField$
|
|
4041
|
-
__publicField$
|
|
4042
|
-
__publicField$
|
|
4043
|
-
__publicField$
|
|
4044
|
-
__publicField$
|
|
4045
|
-
__publicField$
|
|
4046
|
-
__publicField$
|
|
4047
|
-
__publicField$
|
|
4000
|
+
__publicField$O(this, "emailInput");
|
|
4001
|
+
__publicField$O(this, "passwordInput");
|
|
4002
|
+
__publicField$O(this, "forgotPasswordLink");
|
|
4003
|
+
__publicField$O(this, "loginButton");
|
|
4004
|
+
__publicField$O(this, "logoutLink");
|
|
4005
|
+
__publicField$O(this, "successAlert");
|
|
4006
|
+
__publicField$O(this, "invalidCredentialsAlert");
|
|
4007
|
+
__publicField$O(this, "passwordUpdatedAlert");
|
|
4048
4008
|
// 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$
|
|
4009
|
+
__publicField$O(this, "personalFormArea");
|
|
4010
|
+
__publicField$O(this, "billingAddressFormArea");
|
|
4011
|
+
__publicField$O(this, "accountTypeSelect");
|
|
4012
|
+
__publicField$O(this, "salutationSelect");
|
|
4013
|
+
__publicField$O(this, "firstNameInput");
|
|
4014
|
+
__publicField$O(this, "lastNameInput");
|
|
4015
|
+
__publicField$O(this, "companyInput");
|
|
4016
|
+
__publicField$O(this, "departmentInput");
|
|
4017
|
+
__publicField$O(this, "vatRegNoInput");
|
|
4018
|
+
__publicField$O(this, "registerEmailInput");
|
|
4019
|
+
__publicField$O(this, "registerPasswordInput");
|
|
4020
|
+
__publicField$O(this, "streetAddressInput");
|
|
4021
|
+
__publicField$O(this, "cityInput");
|
|
4022
|
+
__publicField$O(this, "countryInput");
|
|
4023
|
+
__publicField$O(this, "postalCodeInput");
|
|
4024
|
+
__publicField$O(this, "registerButton");
|
|
4065
4025
|
// Inputs for reCaptcha
|
|
4066
|
-
__publicField$
|
|
4067
|
-
__publicField$
|
|
4068
|
-
__publicField$
|
|
4069
|
-
__publicField$
|
|
4070
|
-
__publicField$
|
|
4026
|
+
__publicField$O(this, "greCaptchaV2Container");
|
|
4027
|
+
__publicField$O(this, "greCaptchaV2Input");
|
|
4028
|
+
__publicField$O(this, "greCaptchaV3Input");
|
|
4029
|
+
__publicField$O(this, "greCaptchaProtectionInformation");
|
|
4030
|
+
__publicField$O(this, "greCaptchaBadge");
|
|
4071
4031
|
//Input for shipping address
|
|
4072
|
-
__publicField$
|
|
4073
|
-
__publicField$
|
|
4074
|
-
__publicField$
|
|
4075
|
-
__publicField$
|
|
4076
|
-
__publicField$
|
|
4077
|
-
__publicField$
|
|
4078
|
-
__publicField$
|
|
4079
|
-
__publicField$
|
|
4080
|
-
__publicField$
|
|
4081
|
-
__publicField$
|
|
4032
|
+
__publicField$O(this, "differentShippingAddressCheckbox");
|
|
4033
|
+
__publicField$O(this, "registerShippingAddressFormArea");
|
|
4034
|
+
__publicField$O(this, "shippingAddressSalutationSelect");
|
|
4035
|
+
__publicField$O(this, "shippingAddressFirstNameInput");
|
|
4036
|
+
__publicField$O(this, "shippingAddressLastNameInput");
|
|
4037
|
+
__publicField$O(this, "shippingAddressStreetAddressInput");
|
|
4038
|
+
__publicField$O(this, "shippingAddressCityInput");
|
|
4039
|
+
__publicField$O(this, "shippingAddressCountryInput");
|
|
4040
|
+
__publicField$O(this, "shippingAddressPostalCodeInput");
|
|
4041
|
+
__publicField$O(this, "shippingAddressStateInput");
|
|
4082
4042
|
this.emailInput = page.getByLabel("Your email address");
|
|
4083
4043
|
this.passwordInput = page.getByLabel("Your password");
|
|
4084
4044
|
this.loginButton = page.getByRole("button", { name: "Log in" });
|
|
@@ -4128,26 +4088,26 @@ class AccountLogin {
|
|
|
4128
4088
|
}
|
|
4129
4089
|
}
|
|
4130
4090
|
|
|
4131
|
-
var __defProp$
|
|
4132
|
-
var __defNormalProp$
|
|
4133
|
-
var __publicField$
|
|
4134
|
-
__defNormalProp$
|
|
4091
|
+
var __defProp$N = Object.defineProperty;
|
|
4092
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4093
|
+
var __publicField$N = (obj, key, value) => {
|
|
4094
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4135
4095
|
return value;
|
|
4136
4096
|
};
|
|
4137
4097
|
class AccountRecover {
|
|
4138
4098
|
constructor(page) {
|
|
4139
4099
|
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$
|
|
4100
|
+
__publicField$N(this, "passwordRecoveryForm");
|
|
4101
|
+
__publicField$N(this, "title");
|
|
4102
|
+
__publicField$N(this, "subtitle");
|
|
4103
|
+
__publicField$N(this, "emailInput");
|
|
4104
|
+
__publicField$N(this, "requestEmailButton");
|
|
4105
|
+
__publicField$N(this, "backButton");
|
|
4106
|
+
__publicField$N(this, "passwordResetEmailSentMessage");
|
|
4107
|
+
__publicField$N(this, "newPasswordInput");
|
|
4108
|
+
__publicField$N(this, "newPasswordConfirmInput");
|
|
4109
|
+
__publicField$N(this, "changePasswordButton");
|
|
4110
|
+
__publicField$N(this, "invalidLinkMessage");
|
|
4151
4111
|
this.passwordRecoveryForm = page.locator(".account-recover-password-form");
|
|
4152
4112
|
const cardTitle = this.passwordRecoveryForm.locator(".card-title");
|
|
4153
4113
|
this.title = cardTitle.getByText("Password recovery");
|
|
@@ -4169,36 +4129,36 @@ class AccountRecover {
|
|
|
4169
4129
|
}
|
|
4170
4130
|
}
|
|
4171
4131
|
|
|
4172
|
-
var __defProp$
|
|
4173
|
-
var __defNormalProp$
|
|
4174
|
-
var __publicField$
|
|
4175
|
-
__defNormalProp$
|
|
4132
|
+
var __defProp$M = Object.defineProperty;
|
|
4133
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4134
|
+
var __publicField$M = (obj, key, value) => {
|
|
4135
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4176
4136
|
return value;
|
|
4177
4137
|
};
|
|
4178
4138
|
class AccountProfile {
|
|
4179
4139
|
constructor(page, instanceMeta) {
|
|
4180
4140
|
this.page = page;
|
|
4181
4141
|
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$
|
|
4142
|
+
__publicField$M(this, "salutationSelect");
|
|
4143
|
+
__publicField$M(this, "firstNameInput");
|
|
4144
|
+
__publicField$M(this, "lastNameInput");
|
|
4145
|
+
__publicField$M(this, "saveProfileButton");
|
|
4146
|
+
__publicField$M(this, "changeEmailButton");
|
|
4147
|
+
__publicField$M(this, "emailAddressInput");
|
|
4148
|
+
__publicField$M(this, "emailAddressConfirmInput");
|
|
4149
|
+
__publicField$M(this, "emailConfirmPasswordInput");
|
|
4150
|
+
__publicField$M(this, "saveEmailAddressButton");
|
|
4151
|
+
__publicField$M(this, "changePasswordButton");
|
|
4152
|
+
__publicField$M(this, "newPasswordInput");
|
|
4153
|
+
__publicField$M(this, "newPasswordConfirmInput");
|
|
4154
|
+
__publicField$M(this, "currentPasswordInput");
|
|
4155
|
+
__publicField$M(this, "saveNewPasswordButton");
|
|
4156
|
+
__publicField$M(this, "loginDataEmailAddress");
|
|
4157
|
+
__publicField$M(this, "emailUpdateMessage");
|
|
4158
|
+
__publicField$M(this, "passwordUpdateMessage");
|
|
4159
|
+
__publicField$M(this, "emailValidationAlert");
|
|
4160
|
+
__publicField$M(this, "emailUpdateFailureAlert");
|
|
4161
|
+
__publicField$M(this, "passwordUpdateFailureAlert");
|
|
4202
4162
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
4203
4163
|
this.firstNameInput = page.getByLabel("First name");
|
|
4204
4164
|
this.lastNameInput = page.getByLabel("Last name");
|
|
@@ -4238,24 +4198,24 @@ class AccountProfile {
|
|
|
4238
4198
|
}
|
|
4239
4199
|
}
|
|
4240
4200
|
|
|
4241
|
-
var __defProp$
|
|
4242
|
-
var __defNormalProp$
|
|
4243
|
-
var __publicField$
|
|
4244
|
-
__defNormalProp$
|
|
4201
|
+
var __defProp$L = Object.defineProperty;
|
|
4202
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4203
|
+
var __publicField$L = (obj, key, value) => {
|
|
4204
|
+
__defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4245
4205
|
return value;
|
|
4246
4206
|
};
|
|
4247
4207
|
class AccountOrder {
|
|
4248
4208
|
constructor(page) {
|
|
4249
4209
|
this.page = page;
|
|
4250
|
-
__publicField$
|
|
4251
|
-
__publicField$
|
|
4252
|
-
__publicField$
|
|
4253
|
-
__publicField$
|
|
4254
|
-
__publicField$
|
|
4255
|
-
__publicField$
|
|
4256
|
-
__publicField$
|
|
4257
|
-
__publicField$
|
|
4258
|
-
__publicField$
|
|
4210
|
+
__publicField$L(this, "cartLineItemImages");
|
|
4211
|
+
__publicField$L(this, "orderExpandButton");
|
|
4212
|
+
__publicField$L(this, "digitalProductDownloadButton");
|
|
4213
|
+
__publicField$L(this, "dialogOrderCancel");
|
|
4214
|
+
__publicField$L(this, "dialogOrderCancelButton");
|
|
4215
|
+
__publicField$L(this, "dialogBackButton");
|
|
4216
|
+
__publicField$L(this, "orderDetails");
|
|
4217
|
+
__publicField$L(this, "invoiceHTML");
|
|
4218
|
+
__publicField$L(this, "creditItem");
|
|
4259
4219
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
4260
4220
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
4261
4221
|
this.digitalProductDownloadButton = page.getByRole("link", { name: "Download" }).first();
|
|
@@ -4306,27 +4266,27 @@ class AccountOrder {
|
|
|
4306
4266
|
}
|
|
4307
4267
|
}
|
|
4308
4268
|
|
|
4309
|
-
var __defProp$
|
|
4310
|
-
var __defNormalProp$
|
|
4311
|
-
var __publicField$
|
|
4312
|
-
__defNormalProp$
|
|
4269
|
+
var __defProp$K = Object.defineProperty;
|
|
4270
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4271
|
+
var __publicField$K = (obj, key, value) => {
|
|
4272
|
+
__defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4313
4273
|
return value;
|
|
4314
4274
|
};
|
|
4315
4275
|
class AccountAddresses {
|
|
4316
4276
|
constructor(page, instanceMeta) {
|
|
4317
4277
|
this.page = page;
|
|
4318
4278
|
this.instanceMeta = instanceMeta;
|
|
4319
|
-
__publicField$
|
|
4320
|
-
__publicField$
|
|
4321
|
-
__publicField$
|
|
4322
|
-
__publicField$
|
|
4323
|
-
__publicField$
|
|
4324
|
-
__publicField$
|
|
4325
|
-
__publicField$
|
|
4326
|
-
__publicField$
|
|
4327
|
-
__publicField$
|
|
4328
|
-
__publicField$
|
|
4329
|
-
__publicField$
|
|
4279
|
+
__publicField$K(this, "addNewAddressButton");
|
|
4280
|
+
__publicField$K(this, "editBillingAddressButton");
|
|
4281
|
+
__publicField$K(this, "editShippingAddressButton");
|
|
4282
|
+
__publicField$K(this, "useDefaultBillingAddressButton");
|
|
4283
|
+
__publicField$K(this, "useDefaultShippingAddressButton");
|
|
4284
|
+
__publicField$K(this, "deliveryNotPossibleAlert");
|
|
4285
|
+
__publicField$K(this, "availableAddresses");
|
|
4286
|
+
__publicField$K(this, "addressDropdownButton");
|
|
4287
|
+
__publicField$K(this, "addressDropdownButtons");
|
|
4288
|
+
__publicField$K(this, "availableAddressesUseAsBillingAddress");
|
|
4289
|
+
__publicField$K(this, "availableAddressesUseAsShippingAddress");
|
|
4330
4290
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
4331
4291
|
this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
|
|
4332
4292
|
this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
|
|
@@ -4348,19 +4308,19 @@ class AccountAddresses {
|
|
|
4348
4308
|
}
|
|
4349
4309
|
}
|
|
4350
4310
|
|
|
4351
|
-
var __defProp$
|
|
4352
|
-
var __defNormalProp$
|
|
4353
|
-
var __publicField$
|
|
4354
|
-
__defNormalProp$
|
|
4311
|
+
var __defProp$J = Object.defineProperty;
|
|
4312
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4313
|
+
var __publicField$J = (obj, key, value) => {
|
|
4314
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4355
4315
|
return value;
|
|
4356
4316
|
};
|
|
4357
4317
|
class AccountPayment {
|
|
4358
4318
|
constructor(page) {
|
|
4359
4319
|
this.page = page;
|
|
4360
|
-
__publicField$
|
|
4361
|
-
__publicField$
|
|
4362
|
-
__publicField$
|
|
4363
|
-
__publicField$
|
|
4320
|
+
__publicField$J(this, "cashOnDeliveryOption");
|
|
4321
|
+
__publicField$J(this, "paidInAdvanceOption");
|
|
4322
|
+
__publicField$J(this, "invoiceOption");
|
|
4323
|
+
__publicField$J(this, "changeDefaultPaymentButton");
|
|
4364
4324
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
4365
4325
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
4366
4326
|
this.invoiceOption = page.getByLabel("Invoice");
|
|
@@ -4371,17 +4331,17 @@ class AccountPayment {
|
|
|
4371
4331
|
}
|
|
4372
4332
|
}
|
|
4373
4333
|
|
|
4374
|
-
var __defProp$
|
|
4375
|
-
var __defNormalProp$
|
|
4376
|
-
var __publicField$
|
|
4377
|
-
__defNormalProp$
|
|
4334
|
+
var __defProp$I = Object.defineProperty;
|
|
4335
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4336
|
+
var __publicField$I = (obj, key, value) => {
|
|
4337
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4378
4338
|
return value;
|
|
4379
4339
|
};
|
|
4380
4340
|
class Search {
|
|
4381
4341
|
constructor(page) {
|
|
4382
4342
|
this.page = page;
|
|
4383
|
-
__publicField$
|
|
4384
|
-
__publicField$
|
|
4343
|
+
__publicField$I(this, "headline");
|
|
4344
|
+
__publicField$I(this, "productImages");
|
|
4385
4345
|
this.headline = page.locator("h1.search-headline");
|
|
4386
4346
|
this.productImages = page.locator(".product-image-wrapper");
|
|
4387
4347
|
}
|
|
@@ -4390,25 +4350,25 @@ class Search {
|
|
|
4390
4350
|
}
|
|
4391
4351
|
}
|
|
4392
4352
|
|
|
4393
|
-
var __defProp$
|
|
4394
|
-
var __defNormalProp$
|
|
4395
|
-
var __publicField$
|
|
4396
|
-
__defNormalProp$
|
|
4353
|
+
var __defProp$H = Object.defineProperty;
|
|
4354
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4355
|
+
var __publicField$H = (obj, key, value) => {
|
|
4356
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4397
4357
|
return value;
|
|
4398
4358
|
};
|
|
4399
4359
|
class SearchSuggest extends Home {
|
|
4400
4360
|
constructor(page) {
|
|
4401
4361
|
super(page);
|
|
4402
4362
|
this.page = page;
|
|
4403
|
-
__publicField$
|
|
4404
|
-
__publicField$
|
|
4405
|
-
__publicField$
|
|
4406
|
-
__publicField$
|
|
4407
|
-
__publicField$
|
|
4408
|
-
__publicField$
|
|
4409
|
-
__publicField$
|
|
4410
|
-
__publicField$
|
|
4411
|
-
__publicField$
|
|
4363
|
+
__publicField$H(this, "searchSuggestLineItemImages");
|
|
4364
|
+
__publicField$H(this, "searchInput");
|
|
4365
|
+
__publicField$H(this, "searchIcon");
|
|
4366
|
+
__publicField$H(this, "searchSuggestNoResult");
|
|
4367
|
+
__publicField$H(this, "searchSuggestLineItemName");
|
|
4368
|
+
__publicField$H(this, "searchSuggestLineItemPrice");
|
|
4369
|
+
__publicField$H(this, "searchSuggestTotalLink");
|
|
4370
|
+
__publicField$H(this, "searchResultTotal");
|
|
4371
|
+
__publicField$H(this, "searchHeadline");
|
|
4412
4372
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
4413
4373
|
this.searchInput = page.locator(".header-search-input");
|
|
4414
4374
|
this.searchIcon = page.locator(".header-search-icon");
|
|
@@ -4438,31 +4398,31 @@ class CustomRegister extends AccountLogin {
|
|
|
4438
4398
|
}
|
|
4439
4399
|
}
|
|
4440
4400
|
|
|
4441
|
-
var __defProp$
|
|
4442
|
-
var __defNormalProp$
|
|
4443
|
-
var __publicField$
|
|
4444
|
-
__defNormalProp$
|
|
4401
|
+
var __defProp$G = Object.defineProperty;
|
|
4402
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4403
|
+
var __publicField$G = (obj, key, value) => {
|
|
4404
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4445
4405
|
return value;
|
|
4446
4406
|
};
|
|
4447
4407
|
class CheckoutOrderEdit {
|
|
4448
4408
|
constructor(page) {
|
|
4449
4409
|
this.page = page;
|
|
4450
|
-
__publicField$
|
|
4451
|
-
__publicField$
|
|
4452
|
-
__publicField$
|
|
4453
|
-
__publicField$
|
|
4454
|
-
__publicField$
|
|
4410
|
+
__publicField$G(this, "completePaymentButton");
|
|
4411
|
+
__publicField$G(this, "orderCancelButton");
|
|
4412
|
+
__publicField$G(this, "dialogOrderCancel");
|
|
4413
|
+
__publicField$G(this, "dialogOrderCancelButton");
|
|
4414
|
+
__publicField$G(this, "dialogBackButton");
|
|
4455
4415
|
/**
|
|
4456
4416
|
* Payment options
|
|
4457
4417
|
*/
|
|
4458
|
-
__publicField$
|
|
4459
|
-
__publicField$
|
|
4460
|
-
__publicField$
|
|
4418
|
+
__publicField$G(this, "paymentCashOnDelivery");
|
|
4419
|
+
__publicField$G(this, "paymentPaidInAdvance");
|
|
4420
|
+
__publicField$G(this, "paymentInvoice");
|
|
4461
4421
|
/**
|
|
4462
4422
|
* Shipping options
|
|
4463
4423
|
*/
|
|
4464
|
-
__publicField$
|
|
4465
|
-
__publicField$
|
|
4424
|
+
__publicField$G(this, "shippingStandard");
|
|
4425
|
+
__publicField$G(this, "shippingExpress");
|
|
4466
4426
|
this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
|
|
4467
4427
|
this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
|
|
4468
4428
|
this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
|
|
@@ -4487,26 +4447,26 @@ class CheckoutOrderEdit {
|
|
|
4487
4447
|
}
|
|
4488
4448
|
}
|
|
4489
4449
|
|
|
4490
|
-
var __defProp$
|
|
4491
|
-
var __defNormalProp$
|
|
4492
|
-
var __publicField$
|
|
4493
|
-
__defNormalProp$
|
|
4450
|
+
var __defProp$F = Object.defineProperty;
|
|
4451
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4452
|
+
var __publicField$F = (obj, key, value) => {
|
|
4453
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4494
4454
|
return value;
|
|
4495
4455
|
};
|
|
4496
4456
|
class AccountAddressCreate {
|
|
4497
4457
|
constructor(page) {
|
|
4498
4458
|
this.page = page;
|
|
4499
|
-
__publicField$
|
|
4500
|
-
__publicField$
|
|
4501
|
-
__publicField$
|
|
4502
|
-
__publicField$
|
|
4503
|
-
__publicField$
|
|
4504
|
-
__publicField$
|
|
4505
|
-
__publicField$
|
|
4506
|
-
__publicField$
|
|
4507
|
-
__publicField$
|
|
4508
|
-
__publicField$
|
|
4509
|
-
__publicField$
|
|
4459
|
+
__publicField$F(this, "salutationDropdown");
|
|
4460
|
+
__publicField$F(this, "firstNameInput");
|
|
4461
|
+
__publicField$F(this, "lastNameInput");
|
|
4462
|
+
__publicField$F(this, "companyInput");
|
|
4463
|
+
__publicField$F(this, "departmentInput");
|
|
4464
|
+
__publicField$F(this, "streetInput");
|
|
4465
|
+
__publicField$F(this, "zipcodeInput");
|
|
4466
|
+
__publicField$F(this, "cityInput");
|
|
4467
|
+
__publicField$F(this, "countryDropdown");
|
|
4468
|
+
__publicField$F(this, "saveAddressButton");
|
|
4469
|
+
__publicField$F(this, "stateDropdown");
|
|
4510
4470
|
this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
|
|
4511
4471
|
this.firstNameInput = page.getByRole("textbox", { name: "First name" });
|
|
4512
4472
|
this.lastNameInput = page.getByRole("textbox", { name: "Last name" });
|
|
@@ -4524,19 +4484,19 @@ class AccountAddressCreate {
|
|
|
4524
4484
|
}
|
|
4525
4485
|
}
|
|
4526
4486
|
|
|
4527
|
-
var __defProp$
|
|
4528
|
-
var __defNormalProp$
|
|
4529
|
-
var __publicField$
|
|
4530
|
-
__defNormalProp$
|
|
4487
|
+
var __defProp$E = Object.defineProperty;
|
|
4488
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4489
|
+
var __publicField$E = (obj, key, value) => {
|
|
4490
|
+
__defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4531
4491
|
return value;
|
|
4532
4492
|
};
|
|
4533
4493
|
class PageNotFound {
|
|
4534
4494
|
constructor(page) {
|
|
4535
4495
|
this.page = page;
|
|
4536
|
-
__publicField$
|
|
4537
|
-
__publicField$
|
|
4538
|
-
__publicField$
|
|
4539
|
-
__publicField$
|
|
4496
|
+
__publicField$E(this, "pageNotFoundImage");
|
|
4497
|
+
__publicField$E(this, "headline");
|
|
4498
|
+
__publicField$E(this, "pageNotFoundMessage");
|
|
4499
|
+
__publicField$E(this, "backToShopButton");
|
|
4540
4500
|
this.pageNotFoundImage = page.getByAltText("Page not found");
|
|
4541
4501
|
this.headline = page.getByRole("heading", { name: "Page not found" });
|
|
4542
4502
|
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.`);
|
|
@@ -4547,10 +4507,10 @@ class PageNotFound {
|
|
|
4547
4507
|
}
|
|
4548
4508
|
}
|
|
4549
4509
|
|
|
4550
|
-
var __defProp$
|
|
4551
|
-
var __defNormalProp$
|
|
4552
|
-
var __publicField$
|
|
4553
|
-
__defNormalProp$
|
|
4510
|
+
var __defProp$D = Object.defineProperty;
|
|
4511
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4512
|
+
var __publicField$D = (obj, key, value) => {
|
|
4513
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4554
4514
|
return value;
|
|
4555
4515
|
};
|
|
4556
4516
|
class ContactForm extends Home {
|
|
@@ -4561,35 +4521,35 @@ class ContactForm extends Home {
|
|
|
4561
4521
|
/**
|
|
4562
4522
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
4563
4523
|
*/
|
|
4564
|
-
__publicField$
|
|
4524
|
+
__publicField$D(this, "contactModal");
|
|
4565
4525
|
/**
|
|
4566
4526
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
4567
4527
|
*/
|
|
4568
|
-
__publicField$
|
|
4569
|
-
__publicField$
|
|
4570
|
-
__publicField$
|
|
4571
|
-
__publicField$
|
|
4572
|
-
__publicField$
|
|
4573
|
-
__publicField$
|
|
4574
|
-
__publicField$
|
|
4575
|
-
__publicField$
|
|
4576
|
-
__publicField$
|
|
4577
|
-
__publicField$
|
|
4578
|
-
__publicField$
|
|
4579
|
-
__publicField$
|
|
4580
|
-
__publicField$
|
|
4581
|
-
__publicField$
|
|
4582
|
-
__publicField$
|
|
4528
|
+
__publicField$D(this, "contactSuccessModal");
|
|
4529
|
+
__publicField$D(this, "contactWrapper");
|
|
4530
|
+
__publicField$D(this, "salutationSelect");
|
|
4531
|
+
__publicField$D(this, "firstNameInput");
|
|
4532
|
+
__publicField$D(this, "lastNameInput");
|
|
4533
|
+
__publicField$D(this, "emailInput");
|
|
4534
|
+
__publicField$D(this, "phoneInput");
|
|
4535
|
+
__publicField$D(this, "subjectInput");
|
|
4536
|
+
__publicField$D(this, "commentInput");
|
|
4537
|
+
__publicField$D(this, "privacyPolicyCheckbox");
|
|
4538
|
+
__publicField$D(this, "submitButton");
|
|
4539
|
+
__publicField$D(this, "contactSuccessMessage");
|
|
4540
|
+
__publicField$D(this, "cardTitle");
|
|
4541
|
+
__publicField$D(this, "formFieldFeedback");
|
|
4542
|
+
__publicField$D(this, "formAlert");
|
|
4583
4543
|
/**
|
|
4584
4544
|
* Captcha locators
|
|
4585
4545
|
*/
|
|
4586
|
-
__publicField$
|
|
4587
|
-
__publicField$
|
|
4588
|
-
__publicField$
|
|
4589
|
-
__publicField$
|
|
4590
|
-
__publicField$
|
|
4591
|
-
__publicField$
|
|
4592
|
-
__publicField$
|
|
4546
|
+
__publicField$D(this, "basicCaptcha");
|
|
4547
|
+
__publicField$D(this, "basicCaptchaImage");
|
|
4548
|
+
__publicField$D(this, "basicCaptchaRefreshButton");
|
|
4549
|
+
__publicField$D(this, "basicCaptchaInput");
|
|
4550
|
+
__publicField$D(this, "greCaptchaV2Container");
|
|
4551
|
+
__publicField$D(this, "greCaptchaV2Input");
|
|
4552
|
+
__publicField$D(this, "greCaptchaProtectionInformation");
|
|
4593
4553
|
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4594
4554
|
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
4595
4555
|
this.formAlert = this.page.getByRole("alert");
|
|
@@ -4624,19 +4584,19 @@ class ContactForm extends Home {
|
|
|
4624
4584
|
}
|
|
4625
4585
|
}
|
|
4626
4586
|
|
|
4627
|
-
var __defProp$
|
|
4628
|
-
var __defNormalProp$
|
|
4629
|
-
var __publicField$
|
|
4630
|
-
__defNormalProp$
|
|
4587
|
+
var __defProp$C = Object.defineProperty;
|
|
4588
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4589
|
+
var __publicField$C = (obj, key, value) => {
|
|
4590
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4631
4591
|
return value;
|
|
4632
4592
|
};
|
|
4633
4593
|
class Wishlist extends Home {
|
|
4634
4594
|
constructor(page) {
|
|
4635
4595
|
super(page);
|
|
4636
4596
|
this.page = page;
|
|
4637
|
-
__publicField$
|
|
4638
|
-
__publicField$
|
|
4639
|
-
__publicField$
|
|
4597
|
+
__publicField$C(this, "wishListHeader");
|
|
4598
|
+
__publicField$C(this, "removeAlert");
|
|
4599
|
+
__publicField$C(this, "emptyListing");
|
|
4640
4600
|
this.wishListHeader = page.locator(".wishlist-headline");
|
|
4641
4601
|
this.removeAlert = page.locator(".alert-success");
|
|
4642
4602
|
this.emptyListing = page.locator(".wishlist-listing-empty");
|
|
@@ -4655,20 +4615,20 @@ class Wishlist extends Home {
|
|
|
4655
4615
|
}
|
|
4656
4616
|
}
|
|
4657
4617
|
|
|
4658
|
-
var __defProp$
|
|
4659
|
-
var __defNormalProp$
|
|
4660
|
-
var __publicField$
|
|
4661
|
-
__defNormalProp$
|
|
4618
|
+
var __defProp$B = Object.defineProperty;
|
|
4619
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4620
|
+
var __publicField$B = (obj, key, value) => {
|
|
4621
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4662
4622
|
return value;
|
|
4663
4623
|
};
|
|
4664
4624
|
class Footer {
|
|
4665
4625
|
constructor(page) {
|
|
4666
4626
|
this.page = page;
|
|
4667
|
-
__publicField$
|
|
4668
|
-
__publicField$
|
|
4669
|
-
__publicField$
|
|
4670
|
-
__publicField$
|
|
4671
|
-
__publicField$
|
|
4627
|
+
__publicField$B(this, "footerHeadline");
|
|
4628
|
+
__publicField$B(this, "footerContent");
|
|
4629
|
+
__publicField$B(this, "footerHotline");
|
|
4630
|
+
__publicField$B(this, "footerContactForm");
|
|
4631
|
+
__publicField$B(this, "footerContactFormLink");
|
|
4672
4632
|
this.footerHeadline = page.locator(".footer-column-headline");
|
|
4673
4633
|
this.footerContent = page.locator(".footer-column-content-inner");
|
|
4674
4634
|
this.footerHotline = page.locator(".footer-contact-hotline");
|
|
@@ -4680,23 +4640,23 @@ class Footer {
|
|
|
4680
4640
|
}
|
|
4681
4641
|
}
|
|
4682
4642
|
|
|
4683
|
-
var __defProp$
|
|
4684
|
-
var __defNormalProp$
|
|
4685
|
-
var __publicField$
|
|
4686
|
-
__defNormalProp$
|
|
4643
|
+
var __defProp$A = Object.defineProperty;
|
|
4644
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4645
|
+
var __publicField$A = (obj, key, value) => {
|
|
4646
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4687
4647
|
return value;
|
|
4688
4648
|
};
|
|
4689
4649
|
class Header {
|
|
4690
4650
|
constructor(page) {
|
|
4691
4651
|
this.page = page;
|
|
4692
|
-
__publicField$
|
|
4693
|
-
__publicField$
|
|
4694
|
-
__publicField$
|
|
4695
|
-
__publicField$
|
|
4696
|
-
__publicField$
|
|
4652
|
+
__publicField$A(this, "mainNavigationLink");
|
|
4653
|
+
__publicField$A(this, "languagesDropdown");
|
|
4654
|
+
__publicField$A(this, "languagesMenuOptions");
|
|
4655
|
+
__publicField$A(this, "currenciesDropdown");
|
|
4656
|
+
__publicField$A(this, "currenciesMenuOptions");
|
|
4697
4657
|
//wishlist
|
|
4698
|
-
__publicField$
|
|
4699
|
-
__publicField$
|
|
4658
|
+
__publicField$A(this, "wishlistIcon");
|
|
4659
|
+
__publicField$A(this, "wishlistBasket");
|
|
4700
4660
|
this.mainNavigationLink = page.locator(".main-navigation-link-text");
|
|
4701
4661
|
this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
|
|
4702
4662
|
this.languagesMenuOptions = page.locator(".top-bar-language").filter({ has: page.getByRole("list") });
|
|
@@ -4833,85 +4793,89 @@ async function getCustomFieldCardLocators(page, customFieldSetName, customFieldN
|
|
|
4833
4793
|
};
|
|
4834
4794
|
}
|
|
4835
4795
|
|
|
4836
|
-
var __defProp$
|
|
4837
|
-
var __defNormalProp$
|
|
4838
|
-
var __publicField$
|
|
4839
|
-
__defNormalProp$
|
|
4796
|
+
var __defProp$z = Object.defineProperty;
|
|
4797
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4798
|
+
var __publicField$z = (obj, key, value) => {
|
|
4799
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4840
4800
|
return value;
|
|
4841
4801
|
};
|
|
4842
4802
|
class ProductDetail {
|
|
4843
4803
|
constructor(page, instanceMeta) {
|
|
4844
4804
|
this.page = page;
|
|
4845
4805
|
this.instanceMeta = instanceMeta;
|
|
4806
|
+
__publicField$z(this, "contentView");
|
|
4807
|
+
__publicField$z(this, "productHeadline");
|
|
4846
4808
|
/**
|
|
4847
4809
|
* Save interactions
|
|
4848
4810
|
*/
|
|
4849
|
-
__publicField$
|
|
4850
|
-
__publicField$
|
|
4851
|
-
__publicField$
|
|
4811
|
+
__publicField$z(this, "savePhysicalProductButton");
|
|
4812
|
+
__publicField$z(this, "saveButtonLoadingSpinner");
|
|
4813
|
+
__publicField$z(this, "saveButtonCheckMark");
|
|
4852
4814
|
/**
|
|
4853
4815
|
* General Info
|
|
4854
4816
|
*/
|
|
4855
|
-
__publicField$
|
|
4817
|
+
__publicField$z(this, "manufacturerDropdownText");
|
|
4856
4818
|
/**
|
|
4857
4819
|
* Prices
|
|
4858
4820
|
*/
|
|
4859
|
-
__publicField$
|
|
4821
|
+
__publicField$z(this, "priceGrossInput");
|
|
4860
4822
|
/**
|
|
4861
4823
|
* Deliverability
|
|
4862
4824
|
*/
|
|
4863
|
-
__publicField$
|
|
4864
|
-
__publicField$
|
|
4825
|
+
__publicField$z(this, "stockInput");
|
|
4826
|
+
__publicField$z(this, "restockTimeInput");
|
|
4865
4827
|
/**
|
|
4866
4828
|
* Visibility
|
|
4867
4829
|
*/
|
|
4868
|
-
__publicField$
|
|
4869
|
-
__publicField$
|
|
4870
|
-
__publicField$
|
|
4830
|
+
__publicField$z(this, "activeForAllSalesChannelsToggle");
|
|
4831
|
+
__publicField$z(this, "tagsInput");
|
|
4832
|
+
__publicField$z(this, "saleChannelsInput");
|
|
4871
4833
|
/**
|
|
4872
4834
|
* Labelling
|
|
4873
4835
|
*/
|
|
4874
|
-
__publicField$
|
|
4836
|
+
__publicField$z(this, "releaseDateInput");
|
|
4875
4837
|
/**
|
|
4876
4838
|
* Media Upload interactions
|
|
4877
4839
|
*/
|
|
4878
|
-
__publicField$
|
|
4879
|
-
__publicField$
|
|
4880
|
-
__publicField$
|
|
4840
|
+
__publicField$z(this, "uploadMediaButton");
|
|
4841
|
+
__publicField$z(this, "coverImage");
|
|
4842
|
+
__publicField$z(this, "productImage");
|
|
4881
4843
|
/**
|
|
4882
4844
|
* Tabs
|
|
4883
4845
|
*/
|
|
4884
|
-
__publicField$
|
|
4885
|
-
__publicField$
|
|
4886
|
-
__publicField$
|
|
4887
|
-
__publicField$
|
|
4888
|
-
__publicField$
|
|
4889
|
-
__publicField$
|
|
4890
|
-
__publicField$
|
|
4846
|
+
__publicField$z(this, "variantsTabLink");
|
|
4847
|
+
__publicField$z(this, "specificationsTabLink");
|
|
4848
|
+
__publicField$z(this, "advancedPricingTabLink");
|
|
4849
|
+
__publicField$z(this, "layoutTabLink");
|
|
4850
|
+
__publicField$z(this, "crossSellingTabLink");
|
|
4851
|
+
__publicField$z(this, "SEOTabLink");
|
|
4852
|
+
__publicField$z(this, "reviewsTabLink");
|
|
4891
4853
|
/**
|
|
4892
4854
|
* Variants Generation
|
|
4893
4855
|
*/
|
|
4894
|
-
__publicField$
|
|
4895
|
-
__publicField$
|
|
4896
|
-
__publicField$
|
|
4897
|
-
__publicField$
|
|
4898
|
-
__publicField$
|
|
4856
|
+
__publicField$z(this, "generateVariantsButton");
|
|
4857
|
+
__publicField$z(this, "variantsModal");
|
|
4858
|
+
__publicField$z(this, "variantsModalHeadline");
|
|
4859
|
+
__publicField$z(this, "variantsNextButton");
|
|
4860
|
+
__publicField$z(this, "variantsSaveButton");
|
|
4899
4861
|
/**
|
|
4900
4862
|
* Property Selection
|
|
4901
4863
|
*/
|
|
4902
|
-
__publicField$
|
|
4903
|
-
__publicField$
|
|
4904
|
-
__publicField$
|
|
4905
|
-
__publicField$
|
|
4906
|
-
__publicField$
|
|
4907
|
-
__publicField$
|
|
4908
|
-
__publicField$
|
|
4909
|
-
__publicField$
|
|
4910
|
-
__publicField$
|
|
4864
|
+
__publicField$z(this, "propertyGroupColor");
|
|
4865
|
+
__publicField$z(this, "propertyGroupSize");
|
|
4866
|
+
__publicField$z(this, "propertyOptionGrid");
|
|
4867
|
+
__publicField$z(this, "propertyOptionColorBlue");
|
|
4868
|
+
__publicField$z(this, "propertyOptionColorRed");
|
|
4869
|
+
__publicField$z(this, "propertyOptionColorGreen");
|
|
4870
|
+
__publicField$z(this, "propertyOptionSizeSmall");
|
|
4871
|
+
__publicField$z(this, "propertyOptionSizeMedium");
|
|
4872
|
+
__publicField$z(this, "propertyOptionSizeLarge");
|
|
4911
4873
|
/**
|
|
4912
4874
|
* Cards
|
|
4913
4875
|
*/
|
|
4914
|
-
__publicField$
|
|
4876
|
+
__publicField$z(this, "customFieldCard");
|
|
4877
|
+
this.contentView = page.locator(".sw-desktop__content");
|
|
4878
|
+
this.productHeadline = page.locator(".smart-bar__header");
|
|
4915
4879
|
this.savePhysicalProductButton = page.getByRole("button", { name: "Save" });
|
|
4916
4880
|
this.saveButtonCheckMark = page.locator(".icon--regular-checkmark-xs");
|
|
4917
4881
|
this.saveButtonLoadingSpinner = page.locator("sw-loader");
|
|
@@ -4979,35 +4943,35 @@ class ProductDetail {
|
|
|
4979
4943
|
}
|
|
4980
4944
|
}
|
|
4981
4945
|
|
|
4982
|
-
var __defProp$
|
|
4983
|
-
var __defNormalProp$
|
|
4984
|
-
var __publicField$
|
|
4985
|
-
__defNormalProp$
|
|
4946
|
+
var __defProp$y = Object.defineProperty;
|
|
4947
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4948
|
+
var __publicField$y = (obj, key, value) => {
|
|
4949
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4986
4950
|
return value;
|
|
4987
4951
|
};
|
|
4988
4952
|
class OrderDetail {
|
|
4989
4953
|
constructor(page, instanceMeta) {
|
|
4990
4954
|
this.page = page;
|
|
4991
4955
|
this.instanceMeta = instanceMeta;
|
|
4992
|
-
__publicField$
|
|
4993
|
-
__publicField$
|
|
4994
|
-
__publicField$
|
|
4995
|
-
__publicField$
|
|
4996
|
-
__publicField$
|
|
4997
|
-
__publicField$
|
|
4998
|
-
__publicField$
|
|
4999
|
-
__publicField$
|
|
5000
|
-
__publicField$
|
|
5001
|
-
__publicField$
|
|
5002
|
-
__publicField$
|
|
5003
|
-
__publicField$
|
|
5004
|
-
__publicField$
|
|
4956
|
+
__publicField$y(this, "saveButton");
|
|
4957
|
+
__publicField$y(this, "dataGridContextButton");
|
|
4958
|
+
__publicField$y(this, "orderTag");
|
|
4959
|
+
__publicField$y(this, "lineItem");
|
|
4960
|
+
__publicField$y(this, "lineItemsTable");
|
|
4961
|
+
__publicField$y(this, "documentType");
|
|
4962
|
+
__publicField$y(this, "contextMenuButton");
|
|
4963
|
+
__publicField$y(this, "contextMenu");
|
|
4964
|
+
__publicField$y(this, "contextMenuSendDocument");
|
|
4965
|
+
__publicField$y(this, "sendDocumentModal");
|
|
4966
|
+
__publicField$y(this, "sendDocumentButton");
|
|
4967
|
+
__publicField$y(this, "itemsCardHeader");
|
|
4968
|
+
__publicField$y(this, "sentCheckmark");
|
|
5005
4969
|
/**
|
|
5006
4970
|
* Tabs
|
|
5007
4971
|
*/
|
|
5008
|
-
__publicField$
|
|
5009
|
-
__publicField$
|
|
5010
|
-
__publicField$
|
|
4972
|
+
__publicField$y(this, "generalTabLink");
|
|
4973
|
+
__publicField$y(this, "detailsTabLink");
|
|
4974
|
+
__publicField$y(this, "documentsTabLink");
|
|
5011
4975
|
this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
|
|
5012
4976
|
this.dataGridContextButton = page.locator(".sw-data-grid__actions-menu").and(page.getByRole("button"));
|
|
5013
4977
|
this.orderTag = page.locator(".sw-select-selection-list__item");
|
|
@@ -5037,24 +5001,24 @@ class OrderDetail {
|
|
|
5037
5001
|
}
|
|
5038
5002
|
}
|
|
5039
5003
|
|
|
5040
|
-
var __defProp$
|
|
5041
|
-
var __defNormalProp$
|
|
5042
|
-
var __publicField$
|
|
5043
|
-
__defNormalProp$
|
|
5004
|
+
var __defProp$x = Object.defineProperty;
|
|
5005
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5006
|
+
var __publicField$x = (obj, key, value) => {
|
|
5007
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5044
5008
|
return value;
|
|
5045
5009
|
};
|
|
5046
5010
|
class CustomerListing {
|
|
5047
5011
|
constructor(page) {
|
|
5048
5012
|
this.page = page;
|
|
5049
|
-
__publicField$
|
|
5050
|
-
__publicField$
|
|
5051
|
-
__publicField$
|
|
5052
|
-
__publicField$
|
|
5013
|
+
__publicField$x(this, "headline");
|
|
5014
|
+
__publicField$x(this, "addCustomerButton");
|
|
5015
|
+
__publicField$x(this, "bulkEditButton");
|
|
5016
|
+
__publicField$x(this, "deleteButton");
|
|
5053
5017
|
//Customer Bulk Edit Modal
|
|
5054
|
-
__publicField$
|
|
5055
|
-
__publicField$
|
|
5056
|
-
__publicField$
|
|
5057
|
-
__publicField$
|
|
5018
|
+
__publicField$x(this, "bulkEditModal");
|
|
5019
|
+
__publicField$x(this, "startBulkEditButton");
|
|
5020
|
+
__publicField$x(this, "cancelButton");
|
|
5021
|
+
__publicField$x(this, "modalHeaderCheckbox");
|
|
5058
5022
|
this.headline = page.getByRole("heading", { name: "Customers" });
|
|
5059
5023
|
this.addCustomerButton = page.locator(".sw-customer-list__button-create");
|
|
5060
5024
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
@@ -5115,27 +5079,27 @@ class CustomerListing {
|
|
|
5115
5079
|
}
|
|
5116
5080
|
}
|
|
5117
5081
|
|
|
5118
|
-
var __defProp$
|
|
5119
|
-
var __defNormalProp$
|
|
5120
|
-
var __publicField$
|
|
5121
|
-
__defNormalProp$
|
|
5082
|
+
var __defProp$w = Object.defineProperty;
|
|
5083
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5084
|
+
var __publicField$w = (obj, key, value) => {
|
|
5085
|
+
__defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5122
5086
|
return value;
|
|
5123
5087
|
};
|
|
5124
5088
|
class CustomerDetail {
|
|
5125
5089
|
constructor(page, instanceMeta) {
|
|
5126
5090
|
this.page = page;
|
|
5127
5091
|
this.instanceMeta = instanceMeta;
|
|
5128
|
-
__publicField$
|
|
5129
|
-
__publicField$
|
|
5130
|
-
__publicField$
|
|
5131
|
-
__publicField$
|
|
5132
|
-
__publicField$
|
|
5133
|
-
__publicField$
|
|
5134
|
-
__publicField$
|
|
5135
|
-
__publicField$
|
|
5136
|
-
__publicField$
|
|
5137
|
-
__publicField$
|
|
5138
|
-
__publicField$
|
|
5092
|
+
__publicField$w(this, "editButton");
|
|
5093
|
+
__publicField$w(this, "generalTab");
|
|
5094
|
+
__publicField$w(this, "accountCard");
|
|
5095
|
+
__publicField$w(this, "customFieldCard");
|
|
5096
|
+
__publicField$w(this, "customFieldSetTabs");
|
|
5097
|
+
__publicField$w(this, "customFieldSetTabCustomContent");
|
|
5098
|
+
__publicField$w(this, "customerGroupRequestMessage");
|
|
5099
|
+
__publicField$w(this, "customerGroupAcceptButton");
|
|
5100
|
+
__publicField$w(this, "customerGroupDeclineButton");
|
|
5101
|
+
__publicField$w(this, "tagList");
|
|
5102
|
+
__publicField$w(this, "tagItems");
|
|
5139
5103
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
5140
5104
|
this.generalTab = page.getByRole("link", { name: "General" });
|
|
5141
5105
|
this.accountCard = page.locator(".sw-customer-card");
|
|
@@ -5196,17 +5160,17 @@ class CustomerDetail {
|
|
|
5196
5160
|
}
|
|
5197
5161
|
}
|
|
5198
5162
|
|
|
5199
|
-
var __defProp$
|
|
5200
|
-
var __defNormalProp$
|
|
5201
|
-
var __publicField$
|
|
5202
|
-
__defNormalProp$
|
|
5163
|
+
var __defProp$v = Object.defineProperty;
|
|
5164
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5165
|
+
var __publicField$v = (obj, key, value) => {
|
|
5166
|
+
__defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5203
5167
|
return value;
|
|
5204
5168
|
};
|
|
5205
5169
|
class CustomerGroupListing {
|
|
5206
5170
|
constructor(page) {
|
|
5207
5171
|
this.page = page;
|
|
5208
|
-
__publicField$
|
|
5209
|
-
__publicField$
|
|
5172
|
+
__publicField$v(this, "headline");
|
|
5173
|
+
__publicField$v(this, "addCustomerGroupButton");
|
|
5210
5174
|
this.headline = page.getByRole("heading", { name: "Customer groups" });
|
|
5211
5175
|
this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
|
|
5212
5176
|
}
|
|
@@ -5228,30 +5192,30 @@ class CustomerGroupListing {
|
|
|
5228
5192
|
}
|
|
5229
5193
|
}
|
|
5230
5194
|
|
|
5231
|
-
var __defProp$
|
|
5232
|
-
var __defNormalProp$
|
|
5233
|
-
var __publicField$
|
|
5234
|
-
__defNormalProp$
|
|
5195
|
+
var __defProp$u = Object.defineProperty;
|
|
5196
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5197
|
+
var __publicField$u = (obj, key, value) => {
|
|
5198
|
+
__defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5235
5199
|
return value;
|
|
5236
5200
|
};
|
|
5237
5201
|
class CustomerGroupCreate {
|
|
5238
5202
|
constructor(page, instanceMeta) {
|
|
5239
5203
|
this.page = page;
|
|
5240
5204
|
this.instanceMeta = instanceMeta;
|
|
5241
|
-
__publicField$
|
|
5242
|
-
__publicField$
|
|
5243
|
-
__publicField$
|
|
5244
|
-
__publicField$
|
|
5245
|
-
__publicField$
|
|
5246
|
-
__publicField$
|
|
5247
|
-
__publicField$
|
|
5248
|
-
__publicField$
|
|
5249
|
-
__publicField$
|
|
5250
|
-
__publicField$
|
|
5251
|
-
__publicField$
|
|
5252
|
-
__publicField$
|
|
5253
|
-
__publicField$
|
|
5254
|
-
__publicField$
|
|
5205
|
+
__publicField$u(this, "headline");
|
|
5206
|
+
__publicField$u(this, "saveButton");
|
|
5207
|
+
__publicField$u(this, "cancelButton");
|
|
5208
|
+
__publicField$u(this, "cardTitle");
|
|
5209
|
+
__publicField$u(this, "customerGroupNameField");
|
|
5210
|
+
__publicField$u(this, "customerGroupGrossTaxDisplay");
|
|
5211
|
+
__publicField$u(this, "customerGroupNetTaxDisplay");
|
|
5212
|
+
__publicField$u(this, "customSignupFormToggle");
|
|
5213
|
+
__publicField$u(this, "signupFormTitle");
|
|
5214
|
+
__publicField$u(this, "signupFormIntroduction");
|
|
5215
|
+
__publicField$u(this, "signupFormSeoDescription");
|
|
5216
|
+
__publicField$u(this, "signupFormCompanySignupToggle");
|
|
5217
|
+
__publicField$u(this, "customerGroupSaleschannelSelection");
|
|
5218
|
+
__publicField$u(this, "customerGroupSaleschannelResultList");
|
|
5255
5219
|
this.headline = page.getByRole("heading", { name: "New customer group" });
|
|
5256
5220
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5257
5221
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
@@ -5277,10 +5241,10 @@ class CustomerGroupCreate {
|
|
|
5277
5241
|
}
|
|
5278
5242
|
}
|
|
5279
5243
|
|
|
5280
|
-
var __defProp$
|
|
5281
|
-
var __defNormalProp$
|
|
5282
|
-
var __publicField$
|
|
5283
|
-
__defNormalProp$
|
|
5244
|
+
var __defProp$t = Object.defineProperty;
|
|
5245
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5246
|
+
var __publicField$t = (obj, key, value) => {
|
|
5247
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5284
5248
|
return value;
|
|
5285
5249
|
};
|
|
5286
5250
|
class CustomerGroupDetail extends CustomerGroupCreate {
|
|
@@ -5288,10 +5252,10 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5288
5252
|
super(page, instanceMeta);
|
|
5289
5253
|
this.page = page;
|
|
5290
5254
|
this.instanceMeta = instanceMeta;
|
|
5291
|
-
__publicField$
|
|
5292
|
-
__publicField$
|
|
5293
|
-
__publicField$
|
|
5294
|
-
__publicField$
|
|
5255
|
+
__publicField$t(this, "headline");
|
|
5256
|
+
__publicField$t(this, "selectedSalesChannel");
|
|
5257
|
+
__publicField$t(this, "technicalUrl");
|
|
5258
|
+
__publicField$t(this, "saleschannelUrl");
|
|
5295
5259
|
this.headline = page.locator(".smart-bar__header");
|
|
5296
5260
|
this.selectedSalesChannel = page.locator(".sw-select-selection-list");
|
|
5297
5261
|
this.technicalUrl = page.getByLabel("Technical URL");
|
|
@@ -5302,66 +5266,66 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5302
5266
|
}
|
|
5303
5267
|
}
|
|
5304
5268
|
|
|
5305
|
-
var __defProp$
|
|
5306
|
-
var __defNormalProp$
|
|
5307
|
-
var __publicField$
|
|
5308
|
-
__defNormalProp$
|
|
5269
|
+
var __defProp$s = Object.defineProperty;
|
|
5270
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5271
|
+
var __publicField$s = (obj, key, value) => {
|
|
5272
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5309
5273
|
return value;
|
|
5310
5274
|
};
|
|
5311
5275
|
class FirstRunWizard {
|
|
5312
5276
|
constructor(page, instanceMeta) {
|
|
5313
5277
|
this.page = page;
|
|
5314
5278
|
this.instanceMeta = instanceMeta;
|
|
5315
|
-
__publicField$
|
|
5316
|
-
__publicField$
|
|
5317
|
-
__publicField$
|
|
5318
|
-
__publicField$
|
|
5319
|
-
__publicField$
|
|
5320
|
-
__publicField$
|
|
5321
|
-
__publicField$
|
|
5322
|
-
__publicField$
|
|
5323
|
-
__publicField$
|
|
5324
|
-
__publicField$
|
|
5325
|
-
__publicField$
|
|
5326
|
-
__publicField$
|
|
5327
|
-
__publicField$
|
|
5328
|
-
__publicField$
|
|
5329
|
-
__publicField$
|
|
5330
|
-
__publicField$
|
|
5331
|
-
__publicField$
|
|
5332
|
-
__publicField$
|
|
5333
|
-
__publicField$
|
|
5334
|
-
__publicField$
|
|
5335
|
-
__publicField$
|
|
5336
|
-
__publicField$
|
|
5337
|
-
__publicField$
|
|
5338
|
-
__publicField$
|
|
5279
|
+
__publicField$s(this, "nextButton");
|
|
5280
|
+
__publicField$s(this, "configureLaterButton");
|
|
5281
|
+
__publicField$s(this, "skipButton");
|
|
5282
|
+
__publicField$s(this, "finishButton");
|
|
5283
|
+
__publicField$s(this, "backButton");
|
|
5284
|
+
__publicField$s(this, "smtpServerButton");
|
|
5285
|
+
__publicField$s(this, "dataImportHeader");
|
|
5286
|
+
__publicField$s(this, "installLanguagePackButton");
|
|
5287
|
+
__publicField$s(this, "installDemoDataButton");
|
|
5288
|
+
__publicField$s(this, "installMigrationAssistantButton");
|
|
5289
|
+
__publicField$s(this, "defaultValuesHeader");
|
|
5290
|
+
__publicField$s(this, "mailerConfigurationHeader");
|
|
5291
|
+
__publicField$s(this, "payPalSetupHeader");
|
|
5292
|
+
__publicField$s(this, "extensionsHeader");
|
|
5293
|
+
__publicField$s(this, "shopwareAccountHeader");
|
|
5294
|
+
__publicField$s(this, "shopwareStoreHeader");
|
|
5295
|
+
__publicField$s(this, "doneHeader");
|
|
5296
|
+
__publicField$s(this, "frwSuccessText");
|
|
5297
|
+
__publicField$s(this, "welcomeText");
|
|
5298
|
+
__publicField$s(this, "pluginCardInfo");
|
|
5299
|
+
__publicField$s(this, "dataImportCard");
|
|
5300
|
+
__publicField$s(this, "salesChannelSelectionList");
|
|
5301
|
+
__publicField$s(this, "salesChannelSelectionMultiSelect");
|
|
5302
|
+
__publicField$s(this, "smtpServerTitle");
|
|
5339
5303
|
/**
|
|
5340
5304
|
* @deprecated - Use `smtpServerFieldInputs` instead.
|
|
5341
5305
|
*/
|
|
5342
|
-
__publicField$
|
|
5343
|
-
__publicField$
|
|
5344
|
-
__publicField$
|
|
5345
|
-
__publicField$
|
|
5346
|
-
__publicField$
|
|
5347
|
-
__publicField$
|
|
5348
|
-
__publicField$
|
|
5349
|
-
__publicField$
|
|
5350
|
-
__publicField$
|
|
5351
|
-
__publicField$
|
|
5352
|
-
__publicField$
|
|
5353
|
-
__publicField$
|
|
5354
|
-
__publicField$
|
|
5355
|
-
__publicField$
|
|
5356
|
-
__publicField$
|
|
5357
|
-
__publicField$
|
|
5358
|
-
__publicField$
|
|
5359
|
-
__publicField$
|
|
5360
|
-
__publicField$
|
|
5361
|
-
__publicField$
|
|
5362
|
-
__publicField$
|
|
5363
|
-
__publicField$
|
|
5364
|
-
__publicField$
|
|
5306
|
+
__publicField$s(this, "smtpServerFields");
|
|
5307
|
+
__publicField$s(this, "smtpServerFieldInputs");
|
|
5308
|
+
__publicField$s(this, "smtpServerHostInput");
|
|
5309
|
+
__publicField$s(this, "smtpServerPortInput");
|
|
5310
|
+
__publicField$s(this, "smtpServerUsernameInput");
|
|
5311
|
+
__publicField$s(this, "smtpServerPasswordInput");
|
|
5312
|
+
__publicField$s(this, "smtpServerEncryptionInput");
|
|
5313
|
+
__publicField$s(this, "smtpServerSenderAddressInput");
|
|
5314
|
+
__publicField$s(this, "smtpServerDeliveryAddressInput");
|
|
5315
|
+
__publicField$s(this, "smtpServerDisableEmailDeliveryCheckbox");
|
|
5316
|
+
__publicField$s(this, "payPalPaymethods");
|
|
5317
|
+
__publicField$s(this, "payPalInfoCard");
|
|
5318
|
+
__publicField$s(this, "emailAddressInputField");
|
|
5319
|
+
__publicField$s(this, "passwordInputField");
|
|
5320
|
+
__publicField$s(this, "forgotPasswordLink");
|
|
5321
|
+
__publicField$s(this, "extensionStoreHeading");
|
|
5322
|
+
__publicField$s(this, "documentationLink");
|
|
5323
|
+
__publicField$s(this, "forumLink");
|
|
5324
|
+
__publicField$s(this, "roadmapLink");
|
|
5325
|
+
__publicField$s(this, "germanRegionSelector");
|
|
5326
|
+
__publicField$s(this, "toolsSelector");
|
|
5327
|
+
__publicField$s(this, "recommendationHeader");
|
|
5328
|
+
__publicField$s(this, "toolsRecommendedPlugin");
|
|
5365
5329
|
this.nextButton = page.getByText("Next", { exact: true });
|
|
5366
5330
|
this.configureLaterButton = page.getByText("Configure later", { exact: true });
|
|
5367
5331
|
this.skipButton = page.getByText("Skip", { exact: true });
|
|
@@ -5419,23 +5383,23 @@ class FirstRunWizard {
|
|
|
5419
5383
|
}
|
|
5420
5384
|
}
|
|
5421
5385
|
|
|
5422
|
-
var __defProp$
|
|
5423
|
-
var __defNormalProp$
|
|
5424
|
-
var __publicField$
|
|
5425
|
-
__defNormalProp$
|
|
5386
|
+
var __defProp$r = Object.defineProperty;
|
|
5387
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5388
|
+
var __publicField$r = (obj, key, value) => {
|
|
5389
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5426
5390
|
return value;
|
|
5427
5391
|
};
|
|
5428
5392
|
class FlowBuilderCreate {
|
|
5429
5393
|
constructor(page) {
|
|
5430
5394
|
this.page = page;
|
|
5431
|
-
__publicField$
|
|
5432
|
-
__publicField$
|
|
5433
|
-
__publicField$
|
|
5434
|
-
__publicField$
|
|
5435
|
-
__publicField$
|
|
5436
|
-
__publicField$
|
|
5437
|
-
__publicField$
|
|
5438
|
-
__publicField$
|
|
5395
|
+
__publicField$r(this, "saveButton");
|
|
5396
|
+
__publicField$r(this, "header");
|
|
5397
|
+
__publicField$r(this, "nameField");
|
|
5398
|
+
__publicField$r(this, "flowTab");
|
|
5399
|
+
__publicField$r(this, "triggerSelectField");
|
|
5400
|
+
__publicField$r(this, "addActionField");
|
|
5401
|
+
__publicField$r(this, "smartBarHeader");
|
|
5402
|
+
__publicField$r(this, "newFlowHeader");
|
|
5439
5403
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
5440
5404
|
this.header = page.locator("h2");
|
|
5441
5405
|
this.nameField = page.locator(".sw-flow-detail-general__general-name").getByLabel("Name");
|
|
@@ -5453,29 +5417,29 @@ class FlowBuilderCreate {
|
|
|
5453
5417
|
}
|
|
5454
5418
|
}
|
|
5455
5419
|
|
|
5456
|
-
var __defProp$
|
|
5457
|
-
var __defNormalProp$
|
|
5458
|
-
var __publicField$
|
|
5459
|
-
__defNormalProp$
|
|
5420
|
+
var __defProp$q = Object.defineProperty;
|
|
5421
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5422
|
+
var __publicField$q = (obj, key, value) => {
|
|
5423
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5460
5424
|
return value;
|
|
5461
5425
|
};
|
|
5462
5426
|
class FlowBuilderListing {
|
|
5463
5427
|
constructor(page) {
|
|
5464
5428
|
this.page = page;
|
|
5465
|
-
__publicField$
|
|
5466
|
-
__publicField$
|
|
5467
|
-
__publicField$
|
|
5468
|
-
__publicField$
|
|
5469
|
-
__publicField$
|
|
5470
|
-
__publicField$
|
|
5471
|
-
__publicField$
|
|
5472
|
-
__publicField$
|
|
5473
|
-
__publicField$
|
|
5474
|
-
__publicField$
|
|
5475
|
-
__publicField$
|
|
5476
|
-
__publicField$
|
|
5477
|
-
__publicField$
|
|
5478
|
-
__publicField$
|
|
5429
|
+
__publicField$q(this, "createFlowButton");
|
|
5430
|
+
__publicField$q(this, "firstFlowName");
|
|
5431
|
+
__publicField$q(this, "firstFlowContextButton");
|
|
5432
|
+
__publicField$q(this, "flowContextMenu");
|
|
5433
|
+
__publicField$q(this, "contextMenuDownload");
|
|
5434
|
+
__publicField$q(this, "contextMenuDuplicate");
|
|
5435
|
+
__publicField$q(this, "contextMenuEdit");
|
|
5436
|
+
__publicField$q(this, "contextMenuDelete");
|
|
5437
|
+
__publicField$q(this, "flowDownloadModal");
|
|
5438
|
+
__publicField$q(this, "downloadFlowButton");
|
|
5439
|
+
__publicField$q(this, "flowDeleteButton");
|
|
5440
|
+
__publicField$q(this, "successAlert");
|
|
5441
|
+
__publicField$q(this, "successAlertMessage");
|
|
5442
|
+
__publicField$q(this, "searchBar");
|
|
5479
5443
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
5480
5444
|
this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
|
|
5481
5445
|
this.firstFlowContextButton = page.locator(".sw-data-grid__actions-menu").first();
|
|
@@ -5533,10 +5497,10 @@ class FlowBuilderTemplates extends FlowBuilderListing {
|
|
|
5533
5497
|
}
|
|
5534
5498
|
}
|
|
5535
5499
|
|
|
5536
|
-
var __defProp$
|
|
5537
|
-
var __defNormalProp$
|
|
5538
|
-
var __publicField$
|
|
5539
|
-
__defNormalProp$
|
|
5500
|
+
var __defProp$p = Object.defineProperty;
|
|
5501
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5502
|
+
var __publicField$p = (obj, key, value) => {
|
|
5503
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5540
5504
|
return value;
|
|
5541
5505
|
};
|
|
5542
5506
|
class FlowBuilderDetail extends FlowBuilderCreate {
|
|
@@ -5544,13 +5508,13 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5544
5508
|
super(page);
|
|
5545
5509
|
this.page = page;
|
|
5546
5510
|
this.instanceMeta = instanceMeta;
|
|
5547
|
-
__publicField$
|
|
5548
|
-
__publicField$
|
|
5549
|
-
__publicField$
|
|
5550
|
-
__publicField$
|
|
5551
|
-
__publicField$
|
|
5552
|
-
__publicField$
|
|
5553
|
-
__publicField$
|
|
5511
|
+
__publicField$p(this, "saveButtonLoader");
|
|
5512
|
+
__publicField$p(this, "saveButton");
|
|
5513
|
+
__publicField$p(this, "generalTab");
|
|
5514
|
+
__publicField$p(this, "flowTab");
|
|
5515
|
+
__publicField$p(this, "alertWarning");
|
|
5516
|
+
__publicField$p(this, "templateName");
|
|
5517
|
+
__publicField$p(this, "alertMessage");
|
|
5554
5518
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
5555
5519
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
5556
5520
|
this.saveButtonLoader = page.locator(".sw-button--primary").locator(".sw-button_loader");
|
|
@@ -5570,21 +5534,21 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5570
5534
|
}
|
|
5571
5535
|
}
|
|
5572
5536
|
|
|
5573
|
-
var __defProp$
|
|
5574
|
-
var __defNormalProp$
|
|
5575
|
-
var __publicField$
|
|
5576
|
-
__defNormalProp$
|
|
5537
|
+
var __defProp$o = Object.defineProperty;
|
|
5538
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5539
|
+
var __publicField$o = (obj, key, value) => {
|
|
5540
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5577
5541
|
return value;
|
|
5578
5542
|
};
|
|
5579
5543
|
class DataSharing {
|
|
5580
5544
|
constructor(page, instanceMeta) {
|
|
5581
5545
|
this.page = page;
|
|
5582
5546
|
this.instanceMeta = instanceMeta;
|
|
5583
|
-
__publicField$
|
|
5584
|
-
__publicField$
|
|
5585
|
-
__publicField$
|
|
5586
|
-
__publicField$
|
|
5587
|
-
__publicField$
|
|
5547
|
+
__publicField$o(this, "dataConsentHeadline");
|
|
5548
|
+
__publicField$o(this, "dataSharingSuccessMessageLabel");
|
|
5549
|
+
__publicField$o(this, "dataSharingAgreeButton");
|
|
5550
|
+
__publicField$o(this, "dataSharingDisableButton");
|
|
5551
|
+
__publicField$o(this, "dataSharingTermsAgreementLabel");
|
|
5588
5552
|
if (satisfies(instanceMeta.version, "<6.6.1")) {
|
|
5589
5553
|
this.dataConsentHeadline = page.locator("header.sw-usage-data-consent-banner__title");
|
|
5590
5554
|
} else {
|
|
@@ -5603,24 +5567,50 @@ class DataSharing {
|
|
|
5603
5567
|
}
|
|
5604
5568
|
}
|
|
5605
5569
|
|
|
5606
|
-
var __defProp$
|
|
5607
|
-
var __defNormalProp$
|
|
5608
|
-
var __publicField$
|
|
5609
|
-
__defNormalProp$
|
|
5570
|
+
var __defProp$n = Object.defineProperty;
|
|
5571
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5572
|
+
var __publicField$n = (obj, key, value) => {
|
|
5573
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5610
5574
|
return value;
|
|
5611
5575
|
};
|
|
5612
5576
|
class Dashboard {
|
|
5613
5577
|
constructor(page) {
|
|
5614
5578
|
this.page = page;
|
|
5615
|
-
__publicField$
|
|
5616
|
-
__publicField$
|
|
5617
|
-
__publicField$
|
|
5618
|
-
__publicField$
|
|
5619
|
-
__publicField$
|
|
5620
|
-
__publicField$
|
|
5621
|
-
__publicField$
|
|
5622
|
-
__publicField$
|
|
5579
|
+
__publicField$n(this, "contentView");
|
|
5580
|
+
__publicField$n(this, "adminMenuView");
|
|
5581
|
+
__publicField$n(this, "adminMenuCatalog");
|
|
5582
|
+
__publicField$n(this, "adminMenuOrder");
|
|
5583
|
+
__publicField$n(this, "adminMenuCustomer");
|
|
5584
|
+
__publicField$n(this, "adminMenuContent");
|
|
5585
|
+
__publicField$n(this, "adminMenuMarketing");
|
|
5586
|
+
__publicField$n(this, "adminMenuExtension");
|
|
5587
|
+
__publicField$n(this, "adminMenuUserChevron");
|
|
5588
|
+
__publicField$n(this, "adminMenuUserIcon");
|
|
5589
|
+
__publicField$n(this, "adminMenuUserName");
|
|
5590
|
+
__publicField$n(this, "welcomeHeadline");
|
|
5591
|
+
__publicField$n(this, "welcomeMessage");
|
|
5592
|
+
__publicField$n(this, "dataSharingConsentBanner");
|
|
5593
|
+
__publicField$n(this, "dataSharingAgreeButton");
|
|
5594
|
+
__publicField$n(this, "dataSharingNotAtTheMomentButton");
|
|
5595
|
+
__publicField$n(this, "dataSharingTermsAgreementLabel");
|
|
5596
|
+
__publicField$n(this, "dataSharingSettingsLink");
|
|
5597
|
+
__publicField$n(this, "dataSharingAcceptMessageText");
|
|
5598
|
+
__publicField$n(this, "dataSharingNotAtTheMomentMessageText");
|
|
5599
|
+
__publicField$n(this, "statisticsDateRange");
|
|
5600
|
+
__publicField$n(this, "statisticsChart");
|
|
5601
|
+
this.adminMenuView = page.locator(".sw-admin-menu");
|
|
5602
|
+
this.contentView = page.locator(".sw-desktop__content");
|
|
5603
|
+
this.adminMenuCatalog = page.locator(".sw-catalogue");
|
|
5604
|
+
this.adminMenuOrder = page.locator(".sw-order");
|
|
5605
|
+
this.adminMenuCustomer = page.locator(".sw-customer");
|
|
5606
|
+
this.adminMenuContent = page.locator(".sw-content");
|
|
5607
|
+
this.adminMenuMarketing = page.locator(".sw-marketing");
|
|
5608
|
+
this.adminMenuExtension = page.locator(".sw-extension");
|
|
5609
|
+
this.adminMenuUserChevron = page.locator(".sw-admin-menu__user-actions-indicator");
|
|
5610
|
+
this.adminMenuUserIcon = page.locator(".sw-avatar");
|
|
5611
|
+
this.adminMenuUserName = page.locator(".sw-admin-menu__user-name");
|
|
5623
5612
|
this.welcomeHeadline = page.locator("h1.sw-dashboard-index__welcome-title");
|
|
5613
|
+
this.welcomeMessage = page.locator(".sw-dashboard-index__welcome-message");
|
|
5624
5614
|
this.dataSharingConsentBanner = page.locator(".sw-usage-data-consent-banner");
|
|
5625
5615
|
this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
|
|
5626
5616
|
this.dataSharingNotAtTheMomentButton = page.getByRole("button", { name: "Not at the moment" });
|
|
@@ -5628,31 +5618,33 @@ class Dashboard {
|
|
|
5628
5618
|
this.dataSharingAcceptMessageText = page.getByText("Thank you for your participation!");
|
|
5629
5619
|
this.dataSharingNotAtTheMomentMessageText = page.getByText("You can at any time enter into the agreement and thus contribute to and profit from the constant evolution of our services");
|
|
5630
5620
|
this.dataSharingTermsAgreementLabel = page.getByText('By clicking "Agree", you confirm that you are authorized to enter into this agreement on behalf of your company.');
|
|
5621
|
+
this.statisticsDateRange = page.locator(".mt-card__subtitle");
|
|
5622
|
+
this.statisticsChart = page.locator(".vue-apexcharts");
|
|
5631
5623
|
}
|
|
5632
5624
|
url() {
|
|
5633
5625
|
return "#/sw/dashboard/index";
|
|
5634
5626
|
}
|
|
5635
5627
|
}
|
|
5636
5628
|
|
|
5637
|
-
var __defProp$
|
|
5638
|
-
var __defNormalProp$
|
|
5639
|
-
var __publicField$
|
|
5640
|
-
__defNormalProp$
|
|
5629
|
+
var __defProp$m = Object.defineProperty;
|
|
5630
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5631
|
+
var __publicField$m = (obj, key, value) => {
|
|
5632
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5641
5633
|
return value;
|
|
5642
5634
|
};
|
|
5643
5635
|
class ShippingListing {
|
|
5644
5636
|
constructor(page) {
|
|
5645
5637
|
this.page = page;
|
|
5646
|
-
__publicField$
|
|
5647
|
-
__publicField$
|
|
5648
|
-
__publicField$
|
|
5649
|
-
__publicField$
|
|
5650
|
-
__publicField$
|
|
5638
|
+
__publicField$m(this, "header");
|
|
5639
|
+
__publicField$m(this, "addShippingMethod");
|
|
5640
|
+
__publicField$m(this, "contextMenu");
|
|
5641
|
+
__publicField$m(this, "editButton");
|
|
5642
|
+
__publicField$m(this, "deleteButton");
|
|
5651
5643
|
//warning modal
|
|
5652
|
-
__publicField$
|
|
5653
|
-
__publicField$
|
|
5654
|
-
__publicField$
|
|
5655
|
-
__publicField$
|
|
5644
|
+
__publicField$m(this, "modal");
|
|
5645
|
+
__publicField$m(this, "modalHeader");
|
|
5646
|
+
__publicField$m(this, "modalCancelButton");
|
|
5647
|
+
__publicField$m(this, "modalDeleteButton");
|
|
5656
5648
|
this.header = page.locator(".smart-bar__header");
|
|
5657
5649
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
5658
5650
|
this.contextMenu = page.locator(".sw-data-grid-settings__trigger");
|
|
@@ -5668,19 +5660,19 @@ class ShippingListing {
|
|
|
5668
5660
|
}
|
|
5669
5661
|
}
|
|
5670
5662
|
|
|
5671
|
-
var __defProp$
|
|
5672
|
-
var __defNormalProp$
|
|
5673
|
-
var __publicField$
|
|
5674
|
-
__defNormalProp$
|
|
5663
|
+
var __defProp$l = Object.defineProperty;
|
|
5664
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5665
|
+
var __publicField$l = (obj, key, value) => {
|
|
5666
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5675
5667
|
return value;
|
|
5676
5668
|
};
|
|
5677
5669
|
class ShippingDetail {
|
|
5678
5670
|
constructor(page) {
|
|
5679
5671
|
this.page = page;
|
|
5680
|
-
__publicField$
|
|
5681
|
-
__publicField$
|
|
5682
|
-
__publicField$
|
|
5683
|
-
__publicField$
|
|
5672
|
+
__publicField$l(this, "header");
|
|
5673
|
+
__publicField$l(this, "nameField");
|
|
5674
|
+
__publicField$l(this, "availabilityRuleField");
|
|
5675
|
+
__publicField$l(this, "availabilityRuleListItem");
|
|
5684
5676
|
this.header = page.locator(".smart-bar__header");
|
|
5685
5677
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
5686
5678
|
this.availabilityRuleField = page.locator(".sw-settings-shipping-detail__top-rule").locator(".sw-entity-single-select__selection-text");
|
|
@@ -5694,19 +5686,19 @@ class ShippingDetail {
|
|
|
5694
5686
|
}
|
|
5695
5687
|
}
|
|
5696
5688
|
|
|
5697
|
-
var __defProp$
|
|
5698
|
-
var __defNormalProp$
|
|
5699
|
-
var __publicField$
|
|
5700
|
-
__defNormalProp$
|
|
5689
|
+
var __defProp$k = Object.defineProperty;
|
|
5690
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5691
|
+
var __publicField$k = (obj, key, value) => {
|
|
5692
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5701
5693
|
return value;
|
|
5702
5694
|
};
|
|
5703
5695
|
class PaymentDetail {
|
|
5704
5696
|
constructor(page) {
|
|
5705
5697
|
this.page = page;
|
|
5706
|
-
__publicField$
|
|
5707
|
-
__publicField$
|
|
5708
|
-
__publicField$
|
|
5709
|
-
__publicField$
|
|
5698
|
+
__publicField$k(this, "header");
|
|
5699
|
+
__publicField$k(this, "nameField");
|
|
5700
|
+
__publicField$k(this, "availabilityRuleField");
|
|
5701
|
+
__publicField$k(this, "availabilityRuleListItem");
|
|
5710
5702
|
this.header = page.locator(".smart-bar__header");
|
|
5711
5703
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
5712
5704
|
this.availabilityRuleField = page.locator(".sw-settings-payment-detail__field-availability-rule").locator(".sw-entity-single-select__selection-text");
|
|
@@ -5720,10 +5712,10 @@ class PaymentDetail {
|
|
|
5720
5712
|
}
|
|
5721
5713
|
}
|
|
5722
5714
|
|
|
5723
|
-
var __defProp$
|
|
5724
|
-
var __defNormalProp$
|
|
5725
|
-
var __publicField$
|
|
5726
|
-
__defNormalProp$
|
|
5715
|
+
var __defProp$j = Object.defineProperty;
|
|
5716
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5717
|
+
var __publicField$j = (obj, key, value) => {
|
|
5718
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5727
5719
|
return value;
|
|
5728
5720
|
};
|
|
5729
5721
|
class LandingPageCreate {
|
|
@@ -5732,24 +5724,24 @@ class LandingPageCreate {
|
|
|
5732
5724
|
/**
|
|
5733
5725
|
* General
|
|
5734
5726
|
*/
|
|
5735
|
-
__publicField$
|
|
5736
|
-
__publicField$
|
|
5737
|
-
__publicField$
|
|
5738
|
-
__publicField$
|
|
5739
|
-
__publicField$
|
|
5740
|
-
__publicField$
|
|
5741
|
-
__publicField$
|
|
5727
|
+
__publicField$j(this, "nameInput");
|
|
5728
|
+
__publicField$j(this, "landingPageStatus");
|
|
5729
|
+
__publicField$j(this, "salesChannelSelectionList");
|
|
5730
|
+
__publicField$j(this, "filtersResultPopoverItemList");
|
|
5731
|
+
__publicField$j(this, "saveLandingPageButton");
|
|
5732
|
+
__publicField$j(this, "loadingSpinner");
|
|
5733
|
+
__publicField$j(this, "seoUrlInput");
|
|
5742
5734
|
/**
|
|
5743
5735
|
* Layout
|
|
5744
5736
|
*/
|
|
5745
|
-
__publicField$
|
|
5746
|
-
__publicField$
|
|
5747
|
-
__publicField$
|
|
5748
|
-
__publicField$
|
|
5749
|
-
__publicField$
|
|
5750
|
-
__publicField$
|
|
5751
|
-
__publicField$
|
|
5752
|
-
__publicField$
|
|
5737
|
+
__publicField$j(this, "layoutTab");
|
|
5738
|
+
__publicField$j(this, "assignLayoutButton");
|
|
5739
|
+
__publicField$j(this, "searchLayoutInput");
|
|
5740
|
+
__publicField$j(this, "layoutItems");
|
|
5741
|
+
__publicField$j(this, "layoutSaveButton");
|
|
5742
|
+
__publicField$j(this, "layoutEmptyState");
|
|
5743
|
+
__publicField$j(this, "createNewLayoutButton");
|
|
5744
|
+
__publicField$j(this, "layoutCheckboxes");
|
|
5753
5745
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5754
5746
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
5755
5747
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5774,10 +5766,10 @@ class LandingPageCreate {
|
|
|
5774
5766
|
}
|
|
5775
5767
|
}
|
|
5776
5768
|
|
|
5777
|
-
var __defProp$
|
|
5778
|
-
var __defNormalProp$
|
|
5779
|
-
var __publicField$
|
|
5780
|
-
__defNormalProp$
|
|
5769
|
+
var __defProp$i = Object.defineProperty;
|
|
5770
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5771
|
+
var __publicField$i = (obj, key, value) => {
|
|
5772
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5781
5773
|
return value;
|
|
5782
5774
|
};
|
|
5783
5775
|
class LandingPageDetail {
|
|
@@ -5786,24 +5778,24 @@ class LandingPageDetail {
|
|
|
5786
5778
|
/**
|
|
5787
5779
|
* General
|
|
5788
5780
|
*/
|
|
5789
|
-
__publicField$
|
|
5790
|
-
__publicField$
|
|
5791
|
-
__publicField$
|
|
5792
|
-
__publicField$
|
|
5793
|
-
__publicField$
|
|
5794
|
-
__publicField$
|
|
5795
|
-
__publicField$
|
|
5781
|
+
__publicField$i(this, "nameInput");
|
|
5782
|
+
__publicField$i(this, "landingPageStatus");
|
|
5783
|
+
__publicField$i(this, "salesChannelSelectionList");
|
|
5784
|
+
__publicField$i(this, "filtersResultPopoverItemList");
|
|
5785
|
+
__publicField$i(this, "saveLandingPageButton");
|
|
5786
|
+
__publicField$i(this, "loadingSpinner");
|
|
5787
|
+
__publicField$i(this, "seoUrlInput");
|
|
5796
5788
|
/**
|
|
5797
5789
|
* Layout
|
|
5798
5790
|
*/
|
|
5799
|
-
__publicField$
|
|
5800
|
-
__publicField$
|
|
5801
|
-
__publicField$
|
|
5802
|
-
__publicField$
|
|
5803
|
-
__publicField$
|
|
5804
|
-
__publicField$
|
|
5805
|
-
__publicField$
|
|
5806
|
-
__publicField$
|
|
5791
|
+
__publicField$i(this, "layoutTab");
|
|
5792
|
+
__publicField$i(this, "layoutAssignmentCardTitle");
|
|
5793
|
+
__publicField$i(this, "layoutAssignmentCardHeadline");
|
|
5794
|
+
__publicField$i(this, "changeLayoutButton");
|
|
5795
|
+
__publicField$i(this, "editInDesignerButton");
|
|
5796
|
+
__publicField$i(this, "layoutResetButton");
|
|
5797
|
+
__publicField$i(this, "layoutAssignmentStatus");
|
|
5798
|
+
__publicField$i(this, "layoutAssignmentContentSection");
|
|
5807
5799
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5808
5800
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
5809
5801
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5827,55 +5819,69 @@ class LandingPageDetail {
|
|
|
5827
5819
|
}
|
|
5828
5820
|
}
|
|
5829
5821
|
|
|
5830
|
-
var __defProp$
|
|
5831
|
-
var __defNormalProp$
|
|
5832
|
-
var __publicField$
|
|
5833
|
-
__defNormalProp$
|
|
5822
|
+
var __defProp$h = Object.defineProperty;
|
|
5823
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5824
|
+
var __publicField$h = (obj, key, value) => {
|
|
5825
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5834
5826
|
return value;
|
|
5835
5827
|
};
|
|
5836
5828
|
class Categories {
|
|
5837
5829
|
constructor(page, instanceMeta) {
|
|
5838
5830
|
this.page = page;
|
|
5839
5831
|
this.instanceMeta = instanceMeta;
|
|
5832
|
+
/**
|
|
5833
|
+
* Visual tests
|
|
5834
|
+
*/
|
|
5835
|
+
__publicField$h(this, "contentView");
|
|
5840
5836
|
/**
|
|
5841
5837
|
* Landing pages
|
|
5842
5838
|
*/
|
|
5843
|
-
__publicField$
|
|
5844
|
-
__publicField$
|
|
5845
|
-
__publicField$
|
|
5846
|
-
__publicField$
|
|
5839
|
+
__publicField$h(this, "landingPageArea");
|
|
5840
|
+
__publicField$h(this, "landingPageHeadline");
|
|
5841
|
+
__publicField$h(this, "addLandingPageButton");
|
|
5842
|
+
__publicField$h(this, "landingPageItems");
|
|
5847
5843
|
/**
|
|
5848
5844
|
* Category tree
|
|
5849
5845
|
*/
|
|
5850
|
-
__publicField$
|
|
5851
|
-
__publicField$
|
|
5852
|
-
__publicField$
|
|
5853
|
-
__publicField$
|
|
5854
|
-
__publicField$
|
|
5855
|
-
__publicField$
|
|
5846
|
+
__publicField$h(this, "categoryTree");
|
|
5847
|
+
__publicField$h(this, "categoryMenuItemList");
|
|
5848
|
+
__publicField$h(this, "createCategoryInput");
|
|
5849
|
+
__publicField$h(this, "confirmCategoryCreationButton");
|
|
5850
|
+
__publicField$h(this, "confirmCategoryCancelButton");
|
|
5851
|
+
__publicField$h(this, "categoryItems");
|
|
5852
|
+
/**
|
|
5853
|
+
* Tabs
|
|
5854
|
+
*/
|
|
5855
|
+
__publicField$h(this, "generalTab");
|
|
5856
|
+
__publicField$h(this, "productsTab");
|
|
5857
|
+
__publicField$h(this, "layoutTab");
|
|
5858
|
+
__publicField$h(this, "seoTab");
|
|
5856
5859
|
/**
|
|
5857
5860
|
* General
|
|
5858
5861
|
*/
|
|
5859
|
-
__publicField$
|
|
5860
|
-
__publicField$
|
|
5861
|
-
__publicField$
|
|
5862
|
-
__publicField$
|
|
5863
|
-
__publicField$
|
|
5864
|
-
__publicField$
|
|
5865
|
-
__publicField$
|
|
5862
|
+
__publicField$h(this, "nameInput");
|
|
5863
|
+
__publicField$h(this, "activeCheckbox");
|
|
5864
|
+
__publicField$h(this, "categoryTypeSelectionList");
|
|
5865
|
+
__publicField$h(this, "filtersResultPopoverItemList");
|
|
5866
|
+
__publicField$h(this, "saveButton");
|
|
5867
|
+
__publicField$h(this, "loadingSpinner");
|
|
5868
|
+
__publicField$h(this, "fadingBar");
|
|
5869
|
+
__publicField$h(this, "configureHomePageButton");
|
|
5870
|
+
__publicField$h(this, "configureModalCancelButton");
|
|
5866
5871
|
/**
|
|
5867
5872
|
* Customisable link
|
|
5868
5873
|
*/
|
|
5869
|
-
__publicField$
|
|
5870
|
-
__publicField$
|
|
5871
|
-
__publicField$
|
|
5872
|
-
__publicField$
|
|
5873
|
-
__publicField$
|
|
5874
|
-
__publicField$
|
|
5875
|
-
__publicField$
|
|
5876
|
-
__publicField$
|
|
5877
|
-
__publicField$
|
|
5878
|
-
__publicField$
|
|
5874
|
+
__publicField$h(this, "entitySelectionList");
|
|
5875
|
+
__publicField$h(this, "linkTypeSelectionList");
|
|
5876
|
+
__publicField$h(this, "categorySelectionList");
|
|
5877
|
+
__publicField$h(this, "productSelectionList");
|
|
5878
|
+
__publicField$h(this, "landingPageSelectionList");
|
|
5879
|
+
__publicField$h(this, "filterResultPopoverTreeCheckboxItemList");
|
|
5880
|
+
__publicField$h(this, "openInNewTabCheckbox");
|
|
5881
|
+
__publicField$h(this, "popoverCategoryTree");
|
|
5882
|
+
__publicField$h(this, "categorySelectionListWrapper");
|
|
5883
|
+
__publicField$h(this, "productSelectionInput");
|
|
5884
|
+
this.contentView = page.locator(".sw-desktop__content");
|
|
5879
5885
|
this.landingPageArea = page.locator(".sw-category-detail__landing-page-collapse");
|
|
5880
5886
|
this.landingPageHeadline = this.landingPageArea.getByRole("heading", { name: "Landing pages" });
|
|
5881
5887
|
this.addLandingPageButton = this.landingPageArea.getByText("Add landing page");
|
|
@@ -5886,6 +5892,10 @@ class Categories {
|
|
|
5886
5892
|
this.confirmCategoryCreationButton = page.locator(".sw-confirm-field").locator(".sw-confirm-field__button--submit");
|
|
5887
5893
|
this.categoryItems = this.categoryTree.locator(".tree-link");
|
|
5888
5894
|
this.confirmCategoryCancelButton = page.locator(".sw-confirm-field").locator(".sw-confirm-field__button--cancel");
|
|
5895
|
+
this.generalTab = page.locator(".sw-tabs__content").getByText("General");
|
|
5896
|
+
this.productsTab = page.locator(".sw-tabs__content").getByText("Products");
|
|
5897
|
+
this.layoutTab = page.locator(".sw-tabs__content").getByText("Layout");
|
|
5898
|
+
this.seoTab = page.locator(".sw-tabs__content").getByText("SEO");
|
|
5889
5899
|
this.nameInput = page.getByLabel("Name");
|
|
5890
5900
|
this.activeCheckbox = page.getByRole("checkbox", { name: "Active" });
|
|
5891
5901
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
@@ -5904,6 +5914,8 @@ class Categories {
|
|
|
5904
5914
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5905
5915
|
this.loadingSpinner = page.locator(".mt-loader");
|
|
5906
5916
|
this.fadingBar = page.locator(".fade-leave-active");
|
|
5917
|
+
this.configureHomePageButton = page.getByRole("button", { name: "Configure home page" });
|
|
5918
|
+
this.configureModalCancelButton = page.locator(".sw-modal").getByRole("button", { name: "Cancel" });
|
|
5907
5919
|
}
|
|
5908
5920
|
async getLandingPageByName(landingPageName) {
|
|
5909
5921
|
return this.landingPageItems.locator(`text="${landingPageName}"`);
|
|
@@ -5919,17 +5931,17 @@ class Categories {
|
|
|
5919
5931
|
}
|
|
5920
5932
|
}
|
|
5921
5933
|
|
|
5922
|
-
var __defProp$
|
|
5923
|
-
var __defNormalProp$
|
|
5924
|
-
var __publicField$
|
|
5925
|
-
__defNormalProp$
|
|
5934
|
+
var __defProp$g = Object.defineProperty;
|
|
5935
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5936
|
+
var __publicField$g = (obj, key, value) => {
|
|
5937
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5926
5938
|
return value;
|
|
5927
5939
|
};
|
|
5928
5940
|
class CustomFieldListing {
|
|
5929
5941
|
constructor(page) {
|
|
5930
5942
|
this.page = page;
|
|
5931
|
-
__publicField$
|
|
5932
|
-
__publicField$
|
|
5943
|
+
__publicField$g(this, "addNewSetButton");
|
|
5944
|
+
__publicField$g(this, "customFieldRows");
|
|
5933
5945
|
this.addNewSetButton = page.getByText("Add new set");
|
|
5934
5946
|
this.customFieldRows = page.getByRole("row");
|
|
5935
5947
|
}
|
|
@@ -5957,22 +5969,22 @@ class CustomFieldListing {
|
|
|
5957
5969
|
}
|
|
5958
5970
|
}
|
|
5959
5971
|
|
|
5960
|
-
var __defProp$
|
|
5961
|
-
var __defNormalProp$
|
|
5962
|
-
var __publicField$
|
|
5963
|
-
__defNormalProp$
|
|
5972
|
+
var __defProp$f = Object.defineProperty;
|
|
5973
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5974
|
+
var __publicField$f = (obj, key, value) => {
|
|
5975
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5964
5976
|
return value;
|
|
5965
5977
|
};
|
|
5966
5978
|
class CustomFieldCreate {
|
|
5967
5979
|
constructor(page) {
|
|
5968
5980
|
this.page = page;
|
|
5969
|
-
__publicField$
|
|
5970
|
-
__publicField$
|
|
5971
|
-
__publicField$
|
|
5972
|
-
__publicField$
|
|
5973
|
-
__publicField$
|
|
5974
|
-
__publicField$
|
|
5975
|
-
__publicField$
|
|
5981
|
+
__publicField$f(this, "saveButton");
|
|
5982
|
+
__publicField$f(this, "cancelButton");
|
|
5983
|
+
__publicField$f(this, "technicalNameInput");
|
|
5984
|
+
__publicField$f(this, "positionInput");
|
|
5985
|
+
__publicField$f(this, "labelEnglishGBInput");
|
|
5986
|
+
__publicField$f(this, "assignToSelectionList");
|
|
5987
|
+
__publicField$f(this, "resultAssignToPopoverItemList");
|
|
5976
5988
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5977
5989
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
5978
5990
|
this.technicalNameInput = page.getByLabel("Technical name");
|
|
@@ -5997,10 +6009,10 @@ async function getSelectFieldListitem(page, selectField, listItem, instanceMeta)
|
|
|
5997
6009
|
}
|
|
5998
6010
|
}
|
|
5999
6011
|
|
|
6000
|
-
var __defProp$
|
|
6001
|
-
var __defNormalProp$
|
|
6002
|
-
var __publicField$
|
|
6003
|
-
__defNormalProp$
|
|
6012
|
+
var __defProp$e = Object.defineProperty;
|
|
6013
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6014
|
+
var __publicField$e = (obj, key, value) => {
|
|
6015
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6004
6016
|
return value;
|
|
6005
6017
|
};
|
|
6006
6018
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
@@ -6008,24 +6020,24 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6008
6020
|
super(page);
|
|
6009
6021
|
this.page = page;
|
|
6010
6022
|
this.instanceMeta = instanceMeta;
|
|
6011
|
-
__publicField$
|
|
6012
|
-
__publicField$
|
|
6013
|
-
__publicField$
|
|
6014
|
-
__publicField$
|
|
6015
|
-
__publicField$
|
|
6016
|
-
__publicField$
|
|
6017
|
-
__publicField$
|
|
6018
|
-
__publicField$
|
|
6019
|
-
__publicField$
|
|
6020
|
-
__publicField$
|
|
6021
|
-
__publicField$
|
|
6022
|
-
__publicField$
|
|
6023
|
-
__publicField$
|
|
6024
|
-
__publicField$
|
|
6025
|
-
__publicField$
|
|
6026
|
-
__publicField$
|
|
6027
|
-
__publicField$
|
|
6028
|
-
__publicField$
|
|
6023
|
+
__publicField$e(this, "newCustomFieldButton");
|
|
6024
|
+
__publicField$e(this, "customFieldEditDialog");
|
|
6025
|
+
__publicField$e(this, "newCustomFieldDialog");
|
|
6026
|
+
__publicField$e(this, "customFieldTechnicalNameInput");
|
|
6027
|
+
__publicField$e(this, "customFieldPositionInput");
|
|
6028
|
+
__publicField$e(this, "customFieldTypeSelectionList");
|
|
6029
|
+
__publicField$e(this, "customFieldModifyByStoreApiCheckbox");
|
|
6030
|
+
__publicField$e(this, "customFieldCancelButton");
|
|
6031
|
+
__publicField$e(this, "customFieldAddButton");
|
|
6032
|
+
__publicField$e(this, "customFieldEditApplyButton");
|
|
6033
|
+
__publicField$e(this, "customFieldLabelEnglishGBInput");
|
|
6034
|
+
__publicField$e(this, "customFieldPlaceholderEnglishGBInput");
|
|
6035
|
+
__publicField$e(this, "customFieldHelpTextEnglishGBInput");
|
|
6036
|
+
__publicField$e(this, "customFieldDeleteListButton");
|
|
6037
|
+
__publicField$e(this, "customFieldDeleteDialog");
|
|
6038
|
+
__publicField$e(this, "customFieldDeleteCancelButton");
|
|
6039
|
+
__publicField$e(this, "customFieldDeleteButton");
|
|
6040
|
+
__publicField$e(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
6029
6041
|
this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
|
|
6030
6042
|
this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
|
|
6031
6043
|
this.newCustomFieldDialog = page.getByRole("dialog", { name: "New custom field" });
|
|
@@ -6078,21 +6090,21 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6078
6090
|
}
|
|
6079
6091
|
}
|
|
6080
6092
|
|
|
6081
|
-
var __defProp$
|
|
6082
|
-
var __defNormalProp$
|
|
6083
|
-
var __publicField$
|
|
6084
|
-
__defNormalProp$
|
|
6093
|
+
var __defProp$d = Object.defineProperty;
|
|
6094
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6095
|
+
var __publicField$d = (obj, key, value) => {
|
|
6096
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6085
6097
|
return value;
|
|
6086
6098
|
};
|
|
6087
6099
|
class CategoryDetail {
|
|
6088
6100
|
constructor(page, instanceMeta) {
|
|
6089
6101
|
this.page = page;
|
|
6090
6102
|
this.instanceMeta = instanceMeta;
|
|
6091
|
-
__publicField$
|
|
6092
|
-
__publicField$
|
|
6093
|
-
__publicField$
|
|
6094
|
-
__publicField$
|
|
6095
|
-
__publicField$
|
|
6103
|
+
__publicField$d(this, "saveButton");
|
|
6104
|
+
__publicField$d(this, "cancelButton");
|
|
6105
|
+
__publicField$d(this, "customFieldCard");
|
|
6106
|
+
__publicField$d(this, "customFieldSetTabs");
|
|
6107
|
+
__publicField$d(this, "customFieldSetTabCustomContent");
|
|
6096
6108
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6097
6109
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6098
6110
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
@@ -6125,24 +6137,24 @@ class CategoryDetail {
|
|
|
6125
6137
|
}
|
|
6126
6138
|
}
|
|
6127
6139
|
|
|
6128
|
-
var __defProp$
|
|
6129
|
-
var __defNormalProp$
|
|
6130
|
-
var __publicField$
|
|
6131
|
-
__defNormalProp$
|
|
6140
|
+
var __defProp$c = Object.defineProperty;
|
|
6141
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6142
|
+
var __publicField$c = (obj, key, value) => {
|
|
6143
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6132
6144
|
return value;
|
|
6133
6145
|
};
|
|
6134
6146
|
class RuleCreate {
|
|
6135
6147
|
constructor(page, instanceMeta) {
|
|
6136
6148
|
this.page = page;
|
|
6137
6149
|
this.instanceMeta = instanceMeta;
|
|
6138
|
-
__publicField$
|
|
6139
|
-
__publicField$
|
|
6140
|
-
__publicField$
|
|
6141
|
-
__publicField$
|
|
6142
|
-
__publicField$
|
|
6143
|
-
__publicField$
|
|
6144
|
-
__publicField$
|
|
6145
|
-
__publicField$
|
|
6150
|
+
__publicField$c(this, "nameInput");
|
|
6151
|
+
__publicField$c(this, "priorityInput");
|
|
6152
|
+
__publicField$c(this, "conditionTypeSelectionInput");
|
|
6153
|
+
__publicField$c(this, "conditionValueSelectionInput");
|
|
6154
|
+
__publicField$c(this, "filtersResultPopoverSelectionList");
|
|
6155
|
+
__publicField$c(this, "saveButton");
|
|
6156
|
+
__publicField$c(this, "cancelButton");
|
|
6157
|
+
__publicField$c(this, "valueNotAvailableTooltip");
|
|
6146
6158
|
this.nameInput = page.getByLabel("Name");
|
|
6147
6159
|
this.priorityInput = page.getByLabel("Priority");
|
|
6148
6160
|
this.conditionTypeSelectionInput = page.locator(".sw-condition-type-select").locator(".sw-single-select__selection");
|
|
@@ -6160,10 +6172,10 @@ class RuleCreate {
|
|
|
6160
6172
|
}
|
|
6161
6173
|
}
|
|
6162
6174
|
|
|
6163
|
-
var __defProp$
|
|
6164
|
-
var __defNormalProp$
|
|
6165
|
-
var __publicField$
|
|
6166
|
-
__defNormalProp$
|
|
6175
|
+
var __defProp$b = Object.defineProperty;
|
|
6176
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6177
|
+
var __publicField$b = (obj, key, value) => {
|
|
6178
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6167
6179
|
return value;
|
|
6168
6180
|
};
|
|
6169
6181
|
class RuleDetail extends RuleCreate {
|
|
@@ -6171,24 +6183,24 @@ class RuleDetail extends RuleCreate {
|
|
|
6171
6183
|
super(page, instanceMeta);
|
|
6172
6184
|
this.page = page;
|
|
6173
6185
|
this.instanceMeta = instanceMeta;
|
|
6174
|
-
__publicField$
|
|
6175
|
-
__publicField$
|
|
6176
|
-
__publicField$
|
|
6177
|
-
__publicField$
|
|
6178
|
-
__publicField$
|
|
6179
|
-
__publicField$
|
|
6180
|
-
__publicField$
|
|
6181
|
-
__publicField$
|
|
6182
|
-
__publicField$
|
|
6183
|
-
__publicField$
|
|
6184
|
-
__publicField$
|
|
6185
|
-
__publicField$
|
|
6186
|
-
__publicField$
|
|
6187
|
-
__publicField$
|
|
6188
|
-
__publicField$
|
|
6189
|
-
__publicField$
|
|
6190
|
-
__publicField$
|
|
6191
|
-
__publicField$
|
|
6186
|
+
__publicField$b(this, "shippingMethodAvailabilityRulesCard");
|
|
6187
|
+
__publicField$b(this, "shippingMethodAvailabilityRulesCardLink");
|
|
6188
|
+
__publicField$b(this, "shippingMethodAvailabilityRulesCardTable");
|
|
6189
|
+
__publicField$b(this, "shippingMethodAvailabilityRulesCardEmptyState");
|
|
6190
|
+
__publicField$b(this, "shippingMethodAvailabilityRulesCardSearchField");
|
|
6191
|
+
__publicField$b(this, "taxProviderRulesCard");
|
|
6192
|
+
__publicField$b(this, "taxProviderRulesCardEmptyState");
|
|
6193
|
+
__publicField$b(this, "paymentMethodsAvailabilityRulesCard");
|
|
6194
|
+
__publicField$b(this, "paymentMethodsAvailabilityRulesCardEmptyState");
|
|
6195
|
+
__publicField$b(this, "paymentMethodsAvailabilityRulesCardLink");
|
|
6196
|
+
__publicField$b(this, "promotionOrderRulesCard");
|
|
6197
|
+
__publicField$b(this, "promotionOrderRulesCardEmptyState");
|
|
6198
|
+
__publicField$b(this, "promotionCustomerRulesCard");
|
|
6199
|
+
__publicField$b(this, "promotionCustomerRulesCardEmptyState");
|
|
6200
|
+
__publicField$b(this, "promotionCartRulesCard");
|
|
6201
|
+
__publicField$b(this, "promotionCartRulesCardEmptyState");
|
|
6202
|
+
__publicField$b(this, "assignmentModalAddButton");
|
|
6203
|
+
__publicField$b(this, "assignmentModalSearchField");
|
|
6192
6204
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6193
6205
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
6194
6206
|
this.shippingMethodAvailabilityRulesCardTable = page.locator(".sw-settings-rule-detail-assignments__entity-listing-shipping_method_availability_rule");
|
|
@@ -6222,16 +6234,16 @@ class RuleDetail extends RuleCreate {
|
|
|
6222
6234
|
}
|
|
6223
6235
|
}
|
|
6224
6236
|
|
|
6225
|
-
var __defProp$
|
|
6226
|
-
var __defNormalProp$
|
|
6227
|
-
var __publicField$
|
|
6228
|
-
__defNormalProp$
|
|
6237
|
+
var __defProp$a = Object.defineProperty;
|
|
6238
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6239
|
+
var __publicField$a = (obj, key, value) => {
|
|
6240
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6229
6241
|
return value;
|
|
6230
6242
|
};
|
|
6231
6243
|
class RuleListing {
|
|
6232
6244
|
constructor(page) {
|
|
6233
6245
|
this.page = page;
|
|
6234
|
-
__publicField$
|
|
6246
|
+
__publicField$a(this, "createRuleButton");
|
|
6235
6247
|
this.createRuleButton = page.getByText("Create rule");
|
|
6236
6248
|
}
|
|
6237
6249
|
url() {
|
|
@@ -6239,21 +6251,21 @@ class RuleListing {
|
|
|
6239
6251
|
}
|
|
6240
6252
|
}
|
|
6241
6253
|
|
|
6242
|
-
var __defProp$
|
|
6243
|
-
var __defNormalProp$
|
|
6244
|
-
var __publicField$
|
|
6245
|
-
__defNormalProp$
|
|
6254
|
+
var __defProp$9 = Object.defineProperty;
|
|
6255
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6256
|
+
var __publicField$9 = (obj, key, value) => {
|
|
6257
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6246
6258
|
return value;
|
|
6247
6259
|
};
|
|
6248
6260
|
class ManufacturerCreate {
|
|
6249
6261
|
constructor(page, instanceMeta) {
|
|
6250
6262
|
this.page = page;
|
|
6251
6263
|
this.instanceMeta = instanceMeta;
|
|
6252
|
-
__publicField$
|
|
6253
|
-
__publicField$
|
|
6254
|
-
__publicField$
|
|
6255
|
-
__publicField$
|
|
6256
|
-
__publicField$
|
|
6264
|
+
__publicField$9(this, "saveButton");
|
|
6265
|
+
__publicField$9(this, "cancelButton");
|
|
6266
|
+
__publicField$9(this, "nameInput");
|
|
6267
|
+
__publicField$9(this, "websiteInput");
|
|
6268
|
+
__publicField$9(this, "descriptionInput");
|
|
6257
6269
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6258
6270
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6259
6271
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -6269,17 +6281,17 @@ class ManufacturerCreate {
|
|
|
6269
6281
|
}
|
|
6270
6282
|
}
|
|
6271
6283
|
|
|
6272
|
-
var __defProp$
|
|
6273
|
-
var __defNormalProp$
|
|
6274
|
-
var __publicField$
|
|
6275
|
-
__defNormalProp$
|
|
6284
|
+
var __defProp$8 = Object.defineProperty;
|
|
6285
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6286
|
+
var __publicField$8 = (obj, key, value) => {
|
|
6287
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6276
6288
|
return value;
|
|
6277
6289
|
};
|
|
6278
6290
|
class ManufacturerListing {
|
|
6279
6291
|
constructor(page) {
|
|
6280
6292
|
this.page = page;
|
|
6281
|
-
__publicField$
|
|
6282
|
-
__publicField$
|
|
6293
|
+
__publicField$8(this, "addManufacturerButton");
|
|
6294
|
+
__publicField$8(this, "manufacturerRows");
|
|
6283
6295
|
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
6284
6296
|
this.manufacturerRows = page.getByRole("row");
|
|
6285
6297
|
}
|
|
@@ -6311,10 +6323,10 @@ class ManufacturerListing {
|
|
|
6311
6323
|
}
|
|
6312
6324
|
}
|
|
6313
6325
|
|
|
6314
|
-
var __defProp$
|
|
6315
|
-
var __defNormalProp$
|
|
6316
|
-
var __publicField$
|
|
6317
|
-
__defNormalProp$
|
|
6326
|
+
var __defProp$7 = Object.defineProperty;
|
|
6327
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6328
|
+
var __publicField$7 = (obj, key, value) => {
|
|
6329
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6318
6330
|
return value;
|
|
6319
6331
|
};
|
|
6320
6332
|
class ManufacturerDetail extends ManufacturerCreate {
|
|
@@ -6322,9 +6334,9 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6322
6334
|
super(page, instanceMeta);
|
|
6323
6335
|
this.page = page;
|
|
6324
6336
|
this.instanceMeta = instanceMeta;
|
|
6325
|
-
__publicField$
|
|
6326
|
-
__publicField$
|
|
6327
|
-
__publicField$
|
|
6337
|
+
__publicField$7(this, "customFieldCard");
|
|
6338
|
+
__publicField$7(this, "customFieldSetTabs");
|
|
6339
|
+
__publicField$7(this, "customFieldSetTabCustomContent");
|
|
6328
6340
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6329
6341
|
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
6330
6342
|
} else {
|
|
@@ -6352,10 +6364,10 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6352
6364
|
}
|
|
6353
6365
|
}
|
|
6354
6366
|
|
|
6355
|
-
var __defProp$
|
|
6356
|
-
var __defNormalProp$
|
|
6357
|
-
var __publicField$
|
|
6358
|
-
__defNormalProp$
|
|
6367
|
+
var __defProp$6 = Object.defineProperty;
|
|
6368
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6369
|
+
var __publicField$6 = (obj, key, value) => {
|
|
6370
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6359
6371
|
return value;
|
|
6360
6372
|
};
|
|
6361
6373
|
class ProductListing {
|
|
@@ -6364,13 +6376,13 @@ class ProductListing {
|
|
|
6364
6376
|
/**
|
|
6365
6377
|
* Multi selection
|
|
6366
6378
|
*/
|
|
6367
|
-
__publicField$
|
|
6368
|
-
__publicField$
|
|
6379
|
+
__publicField$6(this, "productsTable");
|
|
6380
|
+
__publicField$6(this, "bulkEditButton");
|
|
6369
6381
|
/**
|
|
6370
6382
|
* Bulk edit modal
|
|
6371
6383
|
*/
|
|
6372
|
-
__publicField$
|
|
6373
|
-
__publicField$
|
|
6384
|
+
__publicField$6(this, "bulkEditModal");
|
|
6385
|
+
__publicField$6(this, "startBulkEditButton");
|
|
6374
6386
|
this.productsTable = page.locator(".sw-data-grid__table");
|
|
6375
6387
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
6376
6388
|
this.bulkEditModal = page.locator(".sw-product-bulk-edit-modal");
|
|
@@ -6420,10 +6432,10 @@ class ProductListing {
|
|
|
6420
6432
|
}
|
|
6421
6433
|
}
|
|
6422
6434
|
|
|
6423
|
-
var __defProp$
|
|
6424
|
-
var __defNormalProp$
|
|
6425
|
-
var __publicField$
|
|
6426
|
-
__defNormalProp$
|
|
6435
|
+
var __defProp$5 = Object.defineProperty;
|
|
6436
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6437
|
+
var __publicField$5 = (obj, key, value) => {
|
|
6438
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6427
6439
|
return value;
|
|
6428
6440
|
};
|
|
6429
6441
|
class ProductBulkEdit {
|
|
@@ -6432,49 +6444,49 @@ class ProductBulkEdit {
|
|
|
6432
6444
|
/**
|
|
6433
6445
|
* Bulk edit values
|
|
6434
6446
|
*/
|
|
6435
|
-
__publicField$
|
|
6436
|
-
__publicField$
|
|
6437
|
-
__publicField$
|
|
6438
|
-
__publicField$
|
|
6439
|
-
__publicField$
|
|
6440
|
-
__publicField$
|
|
6441
|
-
__publicField$
|
|
6442
|
-
__publicField$
|
|
6443
|
-
__publicField$
|
|
6444
|
-
__publicField$
|
|
6445
|
-
__publicField$
|
|
6446
|
-
__publicField$
|
|
6447
|
-
__publicField$
|
|
6448
|
-
__publicField$
|
|
6449
|
-
__publicField$
|
|
6450
|
-
__publicField$
|
|
6451
|
-
__publicField$
|
|
6452
|
-
__publicField$
|
|
6453
|
-
__publicField$
|
|
6454
|
-
__publicField$
|
|
6455
|
-
__publicField$
|
|
6456
|
-
__publicField$
|
|
6457
|
-
__publicField$
|
|
6458
|
-
__publicField$
|
|
6459
|
-
__publicField$
|
|
6460
|
-
__publicField$
|
|
6461
|
-
__publicField$
|
|
6462
|
-
__publicField$
|
|
6463
|
-
__publicField$
|
|
6464
|
-
__publicField$
|
|
6465
|
-
__publicField$
|
|
6466
|
-
__publicField$
|
|
6467
|
-
__publicField$
|
|
6468
|
-
__publicField$
|
|
6469
|
-
__publicField$
|
|
6447
|
+
__publicField$5(this, "changeManufacturerRow");
|
|
6448
|
+
__publicField$5(this, "changeManufacturerCheckbox");
|
|
6449
|
+
__publicField$5(this, "manufacturerDropdown");
|
|
6450
|
+
__publicField$5(this, "manufacturerDropdownInput");
|
|
6451
|
+
__publicField$5(this, "manufacturerListResult");
|
|
6452
|
+
__publicField$5(this, "changeActiveRow");
|
|
6453
|
+
__publicField$5(this, "changeActiveCheckbox");
|
|
6454
|
+
__publicField$5(this, "activeToggle");
|
|
6455
|
+
__publicField$5(this, "changePriceRow");
|
|
6456
|
+
__publicField$5(this, "changePriceCheckbox");
|
|
6457
|
+
__publicField$5(this, "grossPriceInput");
|
|
6458
|
+
__publicField$5(this, "changeReleaseDateRow");
|
|
6459
|
+
__publicField$5(this, "changeReleaseDateCheckbox");
|
|
6460
|
+
__publicField$5(this, "releaseDateInput");
|
|
6461
|
+
__publicField$5(this, "changeStockRow");
|
|
6462
|
+
__publicField$5(this, "changeStockCheckbox");
|
|
6463
|
+
__publicField$5(this, "stockChangeMethodDropdown");
|
|
6464
|
+
__publicField$5(this, "stockChangeMethodInput");
|
|
6465
|
+
__publicField$5(this, "stockInput");
|
|
6466
|
+
__publicField$5(this, "changeRestockTimeRow");
|
|
6467
|
+
__publicField$5(this, "changeRestockTimeCheckbox");
|
|
6468
|
+
__publicField$5(this, "restockTimeChangeMethodDropdown");
|
|
6469
|
+
__publicField$5(this, "restockTimeChangeMethodInput");
|
|
6470
|
+
__publicField$5(this, "restockTimeInput");
|
|
6471
|
+
__publicField$5(this, "changeTagsRow");
|
|
6472
|
+
__publicField$5(this, "changeTagsCheckbox");
|
|
6473
|
+
__publicField$5(this, "tagsChangeMethodDropdown");
|
|
6474
|
+
__publicField$5(this, "tagsChangeMethodInput");
|
|
6475
|
+
__publicField$5(this, "tagsInput");
|
|
6476
|
+
__publicField$5(this, "changeSalesChannelRow");
|
|
6477
|
+
__publicField$5(this, "changeSalesChannelCheckbox");
|
|
6478
|
+
__publicField$5(this, "salesChannelChangeMethodDropdown");
|
|
6479
|
+
__publicField$5(this, "salesChannelChangeMethodInput");
|
|
6480
|
+
__publicField$5(this, "salesChannelInput");
|
|
6481
|
+
__publicField$5(this, "applyChangesButton");
|
|
6470
6482
|
/**
|
|
6471
6483
|
* Confirmation modal
|
|
6472
6484
|
*/
|
|
6473
|
-
__publicField$
|
|
6474
|
-
__publicField$
|
|
6475
|
-
__publicField$
|
|
6476
|
-
__publicField$
|
|
6477
|
-
__publicField$
|
|
6485
|
+
__publicField$5(this, "confirmModal");
|
|
6486
|
+
__publicField$5(this, "confirmModalApplyChangesButton");
|
|
6487
|
+
__publicField$5(this, "confirmModalLoadingSpinner");
|
|
6488
|
+
__publicField$5(this, "confirmModalSuccessHeader");
|
|
6489
|
+
__publicField$5(this, "confirmModalSuccessCloseButton");
|
|
6478
6490
|
this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
|
|
6479
6491
|
this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
|
|
6480
6492
|
this.manufacturerDropdown = this.changeManufacturerRow.locator(".sw-select__selection");
|
|
@@ -6524,42 +6536,42 @@ class ProductBulkEdit {
|
|
|
6524
6536
|
}
|
|
6525
6537
|
}
|
|
6526
6538
|
|
|
6527
|
-
var __defProp$
|
|
6528
|
-
var __defNormalProp$
|
|
6529
|
-
var __publicField$
|
|
6530
|
-
__defNormalProp$
|
|
6539
|
+
var __defProp$4 = Object.defineProperty;
|
|
6540
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6541
|
+
var __publicField$4 = (obj, key, value) => {
|
|
6542
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6531
6543
|
return value;
|
|
6532
6544
|
};
|
|
6533
6545
|
class CustomerBulkEdit {
|
|
6534
6546
|
constructor(page) {
|
|
6535
6547
|
this.page = page;
|
|
6536
6548
|
//General
|
|
6537
|
-
__publicField$
|
|
6538
|
-
__publicField$
|
|
6549
|
+
__publicField$4(this, "applyChangesButton");
|
|
6550
|
+
__publicField$4(this, "filtersResultPopoverItemList");
|
|
6539
6551
|
//Account
|
|
6540
|
-
__publicField$
|
|
6541
|
-
__publicField$
|
|
6542
|
-
__publicField$
|
|
6543
|
-
__publicField$
|
|
6544
|
-
__publicField$
|
|
6545
|
-
__publicField$
|
|
6546
|
-
__publicField$
|
|
6547
|
-
__publicField$
|
|
6552
|
+
__publicField$4(this, "changeCustomerGroupCheckbox");
|
|
6553
|
+
__publicField$4(this, "customerGroupInput");
|
|
6554
|
+
__publicField$4(this, "changeAccountStatusCheckbox");
|
|
6555
|
+
__publicField$4(this, "accountStatusInput");
|
|
6556
|
+
__publicField$4(this, "changeLanguageCheckbox");
|
|
6557
|
+
__publicField$4(this, "changeLanguageInput");
|
|
6558
|
+
__publicField$4(this, "replyToCustomerGroupRequest");
|
|
6559
|
+
__publicField$4(this, "replyToCustomerGroupRequestInput");
|
|
6548
6560
|
//Tags
|
|
6549
|
-
__publicField$
|
|
6550
|
-
__publicField$
|
|
6551
|
-
__publicField$
|
|
6561
|
+
__publicField$4(this, "changeTagsCheckbox");
|
|
6562
|
+
__publicField$4(this, "changeTypeSelect");
|
|
6563
|
+
__publicField$4(this, "enterTagsSelect");
|
|
6552
6564
|
//Custom fields
|
|
6553
|
-
__publicField$
|
|
6554
|
-
__publicField$
|
|
6555
|
-
__publicField$
|
|
6565
|
+
__publicField$4(this, "customFieldCheckbox");
|
|
6566
|
+
__publicField$4(this, "customFieldInput");
|
|
6567
|
+
__publicField$4(this, "customFieldArrowRightButton");
|
|
6556
6568
|
/**
|
|
6557
6569
|
* Confirmation modal
|
|
6558
6570
|
*/
|
|
6559
|
-
__publicField$
|
|
6560
|
-
__publicField$
|
|
6561
|
-
__publicField$
|
|
6562
|
-
__publicField$
|
|
6571
|
+
__publicField$4(this, "confirmModal");
|
|
6572
|
+
__publicField$4(this, "confirmModalApplyChangesButton");
|
|
6573
|
+
__publicField$4(this, "confirmModalSuccessHeader");
|
|
6574
|
+
__publicField$4(this, "confirmModalSuccessCloseButton");
|
|
6563
6575
|
this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
|
|
6564
6576
|
this.filtersResultPopoverItemList = page.locator(".sw-select-result-list__content").getByRole("listitem");
|
|
6565
6577
|
this.changeCustomerGroupCheckbox = page.getByRole("checkbox", { name: "Change: Customer group" });
|
|
@@ -6601,6 +6613,25 @@ class CustomerBulkEdit {
|
|
|
6601
6613
|
}
|
|
6602
6614
|
}
|
|
6603
6615
|
|
|
6616
|
+
var __defProp$3 = Object.defineProperty;
|
|
6617
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6618
|
+
var __publicField$3 = (obj, key, value) => {
|
|
6619
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6620
|
+
return value;
|
|
6621
|
+
};
|
|
6622
|
+
class SettingsListing {
|
|
6623
|
+
constructor(page) {
|
|
6624
|
+
this.page = page;
|
|
6625
|
+
__publicField$3(this, "contentView");
|
|
6626
|
+
__publicField$3(this, "header");
|
|
6627
|
+
this.header = page.locator(".sw-settings__content-header");
|
|
6628
|
+
this.contentView = page.locator(".sw-desktop__content");
|
|
6629
|
+
}
|
|
6630
|
+
url() {
|
|
6631
|
+
return "#/sw/settings/index/shop";
|
|
6632
|
+
}
|
|
6633
|
+
}
|
|
6634
|
+
|
|
6604
6635
|
var __defProp$2 = Object.defineProperty;
|
|
6605
6636
|
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6606
6637
|
var __publicField$2 = (obj, key, value) => {
|
|
@@ -6675,6 +6706,7 @@ const AdminPageObjects = {
|
|
|
6675
6706
|
ProductListing,
|
|
6676
6707
|
ProductBulkEdit,
|
|
6677
6708
|
CustomerBulkEdit,
|
|
6709
|
+
SettingsListing,
|
|
6678
6710
|
DocumentListing,
|
|
6679
6711
|
DocumentDetail
|
|
6680
6712
|
};
|
|
@@ -6778,6 +6810,9 @@ const test$6 = test$f.extend({
|
|
|
6778
6810
|
AdminCustomerBulkEdit: async ({ AdminPage }, use) => {
|
|
6779
6811
|
await use(new CustomerBulkEdit(AdminPage));
|
|
6780
6812
|
},
|
|
6813
|
+
AdminSettingsListing: async ({ AdminPage }, use) => {
|
|
6814
|
+
await use(new SettingsListing(AdminPage));
|
|
6815
|
+
},
|
|
6781
6816
|
AdminDocumentListing: async ({ AdminPage }, use) => {
|
|
6782
6817
|
await use(new DocumentListing(AdminPage));
|
|
6783
6818
|
},
|
|
@@ -8303,6 +8338,130 @@ const test$1 = test$f.extend({
|
|
|
8303
8338
|
]
|
|
8304
8339
|
});
|
|
8305
8340
|
|
|
8341
|
+
async function hideElements(page, selectors) {
|
|
8342
|
+
if (!selectors.length)
|
|
8343
|
+
return;
|
|
8344
|
+
const stringSelectors = selectors.filter((s) => typeof s === "string");
|
|
8345
|
+
if (stringSelectors.length) {
|
|
8346
|
+
const css = stringSelectors.map((selector) => `${selector} { visibility: hidden !important; }`).join("\n");
|
|
8347
|
+
await page.addStyleTag({ content: css });
|
|
8348
|
+
}
|
|
8349
|
+
const locatorSelectors = selectors.filter((s) => typeof s !== "string");
|
|
8350
|
+
for (const locator of locatorSelectors) {
|
|
8351
|
+
const count = await locator.count();
|
|
8352
|
+
for (let i = 0; i < count; i++) {
|
|
8353
|
+
const el = locator.nth(i);
|
|
8354
|
+
await el.evaluate((el2) => {
|
|
8355
|
+
el2.style.visibility = "hidden";
|
|
8356
|
+
});
|
|
8357
|
+
}
|
|
8358
|
+
}
|
|
8359
|
+
}
|
|
8360
|
+
async function replaceElements(page, selectors) {
|
|
8361
|
+
if (!selectors.length)
|
|
8362
|
+
return;
|
|
8363
|
+
for (const selector of selectors) {
|
|
8364
|
+
if (typeof selector === "string") {
|
|
8365
|
+
await page.evaluate((sel) => {
|
|
8366
|
+
const elements = document.querySelectorAll(sel);
|
|
8367
|
+
elements.forEach((el) => {
|
|
8368
|
+
el.textContent = "***";
|
|
8369
|
+
});
|
|
8370
|
+
}, selector);
|
|
8371
|
+
} else {
|
|
8372
|
+
const count = await selector.count();
|
|
8373
|
+
for (let i = 0; i < count; i++) {
|
|
8374
|
+
const el = selector.nth(i);
|
|
8375
|
+
await el.evaluate((el2) => {
|
|
8376
|
+
el2.textContent = "***";
|
|
8377
|
+
});
|
|
8378
|
+
}
|
|
8379
|
+
}
|
|
8380
|
+
}
|
|
8381
|
+
}
|
|
8382
|
+
const defaultOptions = {
|
|
8383
|
+
requestURL: "api/notification/message?limit=5",
|
|
8384
|
+
width: 1440,
|
|
8385
|
+
scrollableElementVertical: ".sw-card-view__content",
|
|
8386
|
+
scrollableElementHorizontal: ".sw-data-grid__wrapper",
|
|
8387
|
+
additionalHeight: 0,
|
|
8388
|
+
waitForSelector: "",
|
|
8389
|
+
contentHeight: 1080,
|
|
8390
|
+
headerHeight: 0,
|
|
8391
|
+
headerElement: ".sw-page__head-area"
|
|
8392
|
+
};
|
|
8393
|
+
async function setViewport(page, options = {}) {
|
|
8394
|
+
const config = { ...defaultOptions, ...options };
|
|
8395
|
+
await page.setViewportSize({ width: config.width, height: config.contentHeight });
|
|
8396
|
+
if (config.requestURL) {
|
|
8397
|
+
try {
|
|
8398
|
+
await page.waitForResponse((response) => response.url().includes(config.requestURL));
|
|
8399
|
+
} catch {
|
|
8400
|
+
console.warn(`[Info] Timed out waiting for API request: "${config.requestURL}".`);
|
|
8401
|
+
}
|
|
8402
|
+
}
|
|
8403
|
+
if (config.waitForSelector) {
|
|
8404
|
+
try {
|
|
8405
|
+
const locator2 = typeof config.waitForSelector === "string" ? page.locator(config.waitForSelector) : config.waitForSelector;
|
|
8406
|
+
await locator2.waitFor({ state: "visible", timeout: 1e4 });
|
|
8407
|
+
} catch {
|
|
8408
|
+
console.warn(`[Info] ${config.waitForSelector} not found or timed out.`);
|
|
8409
|
+
}
|
|
8410
|
+
}
|
|
8411
|
+
const locator = typeof config.scrollableElementVertical === "string" ? page.locator(config.scrollableElementVertical) : config.scrollableElementVertical;
|
|
8412
|
+
const scrollableElementVertical = locator;
|
|
8413
|
+
let contentHeight = config.contentHeight;
|
|
8414
|
+
if (options.contentHeight === void 0) {
|
|
8415
|
+
try {
|
|
8416
|
+
if (await scrollableElementVertical.count() > 0 && await scrollableElementVertical.isVisible()) {
|
|
8417
|
+
await scrollableElementVertical.waitFor({ state: "visible" });
|
|
8418
|
+
contentHeight = await scrollableElementVertical.evaluate((el) => el.scrollHeight);
|
|
8419
|
+
}
|
|
8420
|
+
} catch {
|
|
8421
|
+
console.warn(`[Info] No scrollable element found. Applying default height: ${config.contentHeight}.`);
|
|
8422
|
+
}
|
|
8423
|
+
}
|
|
8424
|
+
let headerHeight = config.headerHeight;
|
|
8425
|
+
if (options.contentHeight === void 0) {
|
|
8426
|
+
try {
|
|
8427
|
+
const header = page.locator(config.headerElement);
|
|
8428
|
+
if (await header.count() > 0 && await header.isVisible()) {
|
|
8429
|
+
const headerHandle = await header.elementHandle();
|
|
8430
|
+
const scrollableHandle = await scrollableElementVertical.elementHandle();
|
|
8431
|
+
if (headerHandle && scrollableHandle) {
|
|
8432
|
+
const isInside = await page.evaluate(
|
|
8433
|
+
([headerEl, containerEl]) => containerEl.contains(headerEl),
|
|
8434
|
+
[headerHandle, scrollableHandle]
|
|
8435
|
+
);
|
|
8436
|
+
if (!isInside) {
|
|
8437
|
+
headerHeight = await header.evaluate((el) => el.offsetHeight);
|
|
8438
|
+
}
|
|
8439
|
+
}
|
|
8440
|
+
}
|
|
8441
|
+
} catch {
|
|
8442
|
+
console.warn(`[Info] No header found.`);
|
|
8443
|
+
}
|
|
8444
|
+
}
|
|
8445
|
+
let contentWidth = config.width;
|
|
8446
|
+
if (options.width === void 0) {
|
|
8447
|
+
try {
|
|
8448
|
+
const locator2 = typeof config.scrollableElementHorizontal === "string" ? page.locator(config.scrollableElementHorizontal) : config.scrollableElementHorizontal;
|
|
8449
|
+
const scrollableElementHorizontal = locator2;
|
|
8450
|
+
if (await scrollableElementHorizontal.count() > 0 && await scrollableElementHorizontal.isVisible()) {
|
|
8451
|
+
contentWidth = await scrollableElementHorizontal.evaluate((el) => el.scrollWidth);
|
|
8452
|
+
} else {
|
|
8453
|
+
contentWidth = config.width;
|
|
8454
|
+
}
|
|
8455
|
+
} catch {
|
|
8456
|
+
console.warn(`[Info] No scrollable element found. Applying default width: ${config.width}.`);
|
|
8457
|
+
}
|
|
8458
|
+
}
|
|
8459
|
+
const totalHeight = contentHeight + headerHeight + config.additionalHeight;
|
|
8460
|
+
await page.setViewportSize({ width: contentWidth, height: totalHeight });
|
|
8461
|
+
console.warn(`[Info] Viewport size: width=${contentWidth}, height=${totalHeight}`);
|
|
8462
|
+
return;
|
|
8463
|
+
}
|
|
8464
|
+
|
|
8306
8465
|
const test = mergeTests(
|
|
8307
8466
|
test$8,
|
|
8308
8467
|
test$d,
|
|
@@ -8319,4 +8478,4 @@ const test = mergeTests(
|
|
|
8319
8478
|
test$3
|
|
8320
8479
|
);
|
|
8321
8480
|
|
|
8322
|
-
export { AdminPageObjects, RuleType, StorefrontPageObjects, TestDataService, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
|
|
8481
|
+
export { AdminPageObjects, RuleType, StorefrontPageObjects, TestDataService, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, setOrderStatus, setViewport, test };
|