@shopware-ag/acceptance-test-suite 11.17.0 → 11.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +34 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.mjs +1057 -955
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -155,16 +155,16 @@ const test$d = test$f.extend({
|
|
|
155
155
|
]
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
var __defProp$
|
|
159
|
-
var __defNormalProp$
|
|
160
|
-
var __publicField$
|
|
161
|
-
__defNormalProp$
|
|
158
|
+
var __defProp$10 = Object.defineProperty;
|
|
159
|
+
var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
160
|
+
var __publicField$10 = (obj, key, value) => {
|
|
161
|
+
__defNormalProp$10(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
162
162
|
return value;
|
|
163
163
|
};
|
|
164
164
|
const _AdminApiContext = class _AdminApiContext {
|
|
165
165
|
constructor(context, options) {
|
|
166
|
-
__publicField$
|
|
167
|
-
__publicField$
|
|
166
|
+
__publicField$10(this, "context");
|
|
167
|
+
__publicField$10(this, "options");
|
|
168
168
|
this.context = context;
|
|
169
169
|
this.options = options;
|
|
170
170
|
}
|
|
@@ -284,7 +284,7 @@ const _AdminApiContext = class _AdminApiContext {
|
|
|
284
284
|
return response;
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
|
-
__publicField$
|
|
287
|
+
__publicField$10(_AdminApiContext, "defaultOptions", {
|
|
288
288
|
app_url: process.env["ADMIN_API_URL"] || process.env["APP_URL"],
|
|
289
289
|
client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
|
|
290
290
|
client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
|
|
@@ -294,16 +294,16 @@ __publicField$_(_AdminApiContext, "defaultOptions", {
|
|
|
294
294
|
});
|
|
295
295
|
let AdminApiContext = _AdminApiContext;
|
|
296
296
|
|
|
297
|
-
var __defProp
|
|
298
|
-
var __defNormalProp
|
|
299
|
-
var __publicField
|
|
300
|
-
__defNormalProp
|
|
297
|
+
var __defProp$$ = Object.defineProperty;
|
|
298
|
+
var __defNormalProp$$ = (obj, key, value) => key in obj ? __defProp$$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
299
|
+
var __publicField$$ = (obj, key, value) => {
|
|
300
|
+
__defNormalProp$$(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
301
301
|
return value;
|
|
302
302
|
};
|
|
303
303
|
const _StoreApiContext = class _StoreApiContext {
|
|
304
304
|
constructor(context, options) {
|
|
305
|
-
__publicField
|
|
306
|
-
__publicField
|
|
305
|
+
__publicField$$(this, "context");
|
|
306
|
+
__publicField$$(this, "options");
|
|
307
307
|
this.context = context;
|
|
308
308
|
this.options = options;
|
|
309
309
|
}
|
|
@@ -362,21 +362,21 @@ const _StoreApiContext = class _StoreApiContext {
|
|
|
362
362
|
return this.context.head(url, options);
|
|
363
363
|
}
|
|
364
364
|
};
|
|
365
|
-
__publicField
|
|
365
|
+
__publicField$$(_StoreApiContext, "defaultOptions", {
|
|
366
366
|
app_url: process.env["APP_URL"],
|
|
367
367
|
ignoreHTTPSErrors: true
|
|
368
368
|
});
|
|
369
369
|
let StoreApiContext = _StoreApiContext;
|
|
370
370
|
|
|
371
|
-
var __defProp$
|
|
372
|
-
var __defNormalProp$
|
|
373
|
-
var __publicField$
|
|
374
|
-
__defNormalProp$
|
|
371
|
+
var __defProp$_ = Object.defineProperty;
|
|
372
|
+
var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
373
|
+
var __publicField$_ = (obj, key, value) => {
|
|
374
|
+
__defNormalProp$_(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
375
375
|
return value;
|
|
376
376
|
};
|
|
377
377
|
class MailpitApiContext {
|
|
378
378
|
constructor(context) {
|
|
379
|
-
__publicField$
|
|
379
|
+
__publicField$_(this, "context");
|
|
380
380
|
this.context = context;
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
@@ -688,18 +688,18 @@ const test$b = test$f.extend({
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
691
|
-
var __defProp$
|
|
692
|
-
var __defNormalProp$
|
|
693
|
-
var __publicField$
|
|
694
|
-
__defNormalProp$
|
|
691
|
+
var __defProp$Z = Object.defineProperty;
|
|
692
|
+
var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
693
|
+
var __publicField$Z = (obj, key, value) => {
|
|
694
|
+
__defNormalProp$Z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
695
695
|
return value;
|
|
696
696
|
};
|
|
697
697
|
class Actor {
|
|
698
698
|
constructor(name, page, baseURL) {
|
|
699
|
-
__publicField$
|
|
700
|
-
__publicField$
|
|
701
|
-
__publicField$
|
|
702
|
-
__publicField$
|
|
699
|
+
__publicField$Z(this, "page");
|
|
700
|
+
__publicField$Z(this, "name");
|
|
701
|
+
__publicField$Z(this, "baseURL");
|
|
702
|
+
__publicField$Z(this, "expects", expect);
|
|
703
703
|
this.name = name;
|
|
704
704
|
this.page = page;
|
|
705
705
|
this.baseURL = baseURL;
|
|
@@ -1036,31 +1036,31 @@ const getPromotionWithDiscount = async (promotionId, adminApiContext) => {
|
|
|
1036
1036
|
return promotion[0];
|
|
1037
1037
|
};
|
|
1038
1038
|
|
|
1039
|
-
var __defProp$
|
|
1040
|
-
var __defNormalProp$
|
|
1041
|
-
var __publicField$
|
|
1042
|
-
__defNormalProp$
|
|
1039
|
+
var __defProp$Y = Object.defineProperty;
|
|
1040
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1041
|
+
var __publicField$Y = (obj, key, value) => {
|
|
1042
|
+
__defNormalProp$Y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1043
1043
|
return value;
|
|
1044
1044
|
};
|
|
1045
1045
|
class TestDataService {
|
|
1046
1046
|
constructor(AdminApiClient, IdProvider, options) {
|
|
1047
|
-
__publicField$
|
|
1048
|
-
__publicField$
|
|
1049
|
-
__publicField$
|
|
1050
|
-
__publicField$
|
|
1051
|
-
__publicField$
|
|
1052
|
-
__publicField$
|
|
1053
|
-
__publicField$
|
|
1054
|
-
__publicField$
|
|
1055
|
-
__publicField$
|
|
1056
|
-
__publicField$
|
|
1057
|
-
__publicField$
|
|
1047
|
+
__publicField$Y(this, "AdminApiClient");
|
|
1048
|
+
__publicField$Y(this, "IdProvider");
|
|
1049
|
+
__publicField$Y(this, "namePrefix", "Test-");
|
|
1050
|
+
__publicField$Y(this, "nameSuffix", "");
|
|
1051
|
+
__publicField$Y(this, "defaultSalesChannel");
|
|
1052
|
+
__publicField$Y(this, "defaultTaxId");
|
|
1053
|
+
__publicField$Y(this, "defaultCurrencyId");
|
|
1054
|
+
__publicField$Y(this, "defaultCategoryId");
|
|
1055
|
+
__publicField$Y(this, "defaultLanguageId");
|
|
1056
|
+
__publicField$Y(this, "defaultCountryId");
|
|
1057
|
+
__publicField$Y(this, "defaultCustomerGroupId");
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Configures if an automated cleanup of the data should be executed.
|
|
1060
1060
|
*
|
|
1061
1061
|
* @private
|
|
1062
1062
|
*/
|
|
1063
|
-
__publicField$
|
|
1063
|
+
__publicField$Y(this, "shouldCleanUp", true);
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Configuration of higher priority entities for the cleanup operation.
|
|
1066
1066
|
* These entities will be deleted before others.
|
|
@@ -1068,26 +1068,26 @@ class TestDataService {
|
|
|
1068
1068
|
*
|
|
1069
1069
|
* @private
|
|
1070
1070
|
*/
|
|
1071
|
-
__publicField$
|
|
1071
|
+
__publicField$Y(this, "highPriorityEntities", ["order", "product", "product_cross_selling", "landing_page", "shipping_method", "sales_channel_domain", "sales_channel_currency", "sales_channel_country", "sales_channel_payment_method", "customer"]);
|
|
1072
1072
|
/**
|
|
1073
1073
|
* A registry of all created records.
|
|
1074
1074
|
*
|
|
1075
1075
|
* @private
|
|
1076
1076
|
*/
|
|
1077
|
-
__publicField$
|
|
1078
|
-
__publicField$
|
|
1077
|
+
__publicField$Y(this, "createdRecords", []);
|
|
1078
|
+
__publicField$Y(this, "restoreSystemConfig", {});
|
|
1079
1079
|
/**
|
|
1080
1080
|
* A registry of all created sales channel records.
|
|
1081
1081
|
*
|
|
1082
1082
|
* @private
|
|
1083
1083
|
*/
|
|
1084
|
-
__publicField$
|
|
1084
|
+
__publicField$Y(this, "createdSalesChannelRecords", []);
|
|
1085
1085
|
/**
|
|
1086
1086
|
* Function that generates combinations from n number of arrays
|
|
1087
1087
|
* with m number of elements in them.
|
|
1088
1088
|
* @param array
|
|
1089
1089
|
*/
|
|
1090
|
-
__publicField$
|
|
1090
|
+
__publicField$Y(this, "combineAll", (array) => {
|
|
1091
1091
|
const result = [];
|
|
1092
1092
|
const max = array.length - 1;
|
|
1093
1093
|
const helper = (tmpArray, i) => {
|
|
@@ -3253,16 +3253,16 @@ const test$9 = test$f.extend({
|
|
|
3253
3253
|
}
|
|
3254
3254
|
});
|
|
3255
3255
|
|
|
3256
|
-
var __defProp$
|
|
3257
|
-
var __defNormalProp$
|
|
3258
|
-
var __publicField$
|
|
3259
|
-
__defNormalProp$
|
|
3256
|
+
var __defProp$X = Object.defineProperty;
|
|
3257
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3258
|
+
var __publicField$X = (obj, key, value) => {
|
|
3259
|
+
__defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3260
3260
|
return value;
|
|
3261
3261
|
};
|
|
3262
3262
|
class IdProvider {
|
|
3263
3263
|
constructor(workerIndex, seed) {
|
|
3264
|
-
__publicField$
|
|
3265
|
-
__publicField$
|
|
3264
|
+
__publicField$X(this, "workerIndex");
|
|
3265
|
+
__publicField$X(this, "seed");
|
|
3266
3266
|
this.workerIndex = workerIndex;
|
|
3267
3267
|
this.seed = seed;
|
|
3268
3268
|
}
|
|
@@ -3344,96 +3344,126 @@ const test$8 = test$f.extend({
|
|
|
3344
3344
|
},
|
|
3345
3345
|
{ scope: "worker" }
|
|
3346
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
|
+
*/
|
|
3347
3353
|
HideElementsForScreenshot: [
|
|
3348
3354
|
async ({}, use) => {
|
|
3349
3355
|
const fn = async (page, selectors) => {
|
|
3350
3356
|
if (!selectors.length)
|
|
3351
3357
|
return;
|
|
3352
|
-
const css = selectors.map((selector) => `${selector} {
|
|
3358
|
+
const css = selectors.map((selector) => `${selector} { visibility: hidden !important; }`).join("\n");
|
|
3353
3359
|
await page.addStyleTag({ content: css });
|
|
3354
3360
|
};
|
|
3355
3361
|
await use(fn);
|
|
3356
3362
|
},
|
|
3357
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" }
|
|
3358
3388
|
]
|
|
3359
3389
|
});
|
|
3360
3390
|
|
|
3361
|
-
var __defProp$
|
|
3362
|
-
var __defNormalProp$
|
|
3363
|
-
var __publicField$
|
|
3364
|
-
__defNormalProp$
|
|
3391
|
+
var __defProp$W = Object.defineProperty;
|
|
3392
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3393
|
+
var __publicField$W = (obj, key, value) => {
|
|
3394
|
+
__defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3365
3395
|
return value;
|
|
3366
3396
|
};
|
|
3367
3397
|
class Home {
|
|
3368
3398
|
constructor(page) {
|
|
3369
3399
|
this.page = page;
|
|
3370
|
-
__publicField$
|
|
3371
|
-
__publicField$
|
|
3372
|
-
__publicField$
|
|
3373
|
-
__publicField$
|
|
3374
|
-
__publicField$
|
|
3375
|
-
__publicField$
|
|
3400
|
+
__publicField$W(this, "accountMenuButton");
|
|
3401
|
+
__publicField$W(this, "closeGuestSessionButton");
|
|
3402
|
+
__publicField$W(this, "productImages");
|
|
3403
|
+
__publicField$W(this, "productListItems");
|
|
3404
|
+
__publicField$W(this, "loader");
|
|
3405
|
+
__publicField$W(this, "productVariantCharacteristicsOptions");
|
|
3376
3406
|
/**
|
|
3377
3407
|
* @deprecated Use 'Header/languagesDropdown' instead
|
|
3378
3408
|
*/
|
|
3379
|
-
__publicField$
|
|
3409
|
+
__publicField$W(this, "languagesDropdown");
|
|
3380
3410
|
/**
|
|
3381
3411
|
* @deprecated Use 'Header/languagesMenuOptions' instead
|
|
3382
3412
|
*/
|
|
3383
|
-
__publicField$
|
|
3413
|
+
__publicField$W(this, "languagesMenuOptions");
|
|
3384
3414
|
/**
|
|
3385
3415
|
* @deprecated Use 'Header/currenciesDropdown' instead
|
|
3386
3416
|
*/
|
|
3387
|
-
__publicField$
|
|
3417
|
+
__publicField$W(this, "currenciesDropdown");
|
|
3388
3418
|
/**
|
|
3389
3419
|
* @deprecated Use 'Header/currenciesMenuOptions' instead
|
|
3390
3420
|
*/
|
|
3391
|
-
__publicField$
|
|
3392
|
-
__publicField$
|
|
3393
|
-
__publicField$
|
|
3394
|
-
__publicField$
|
|
3395
|
-
__publicField$
|
|
3396
|
-
__publicField$
|
|
3397
|
-
__publicField$
|
|
3398
|
-
__publicField$
|
|
3399
|
-
__publicField$
|
|
3421
|
+
__publicField$W(this, "currenciesMenuOptions");
|
|
3422
|
+
__publicField$W(this, "consentOnlyTechnicallyRequiredButton");
|
|
3423
|
+
__publicField$W(this, "consentConfigureButton");
|
|
3424
|
+
__publicField$W(this, "consentAcceptAllCookiesButton");
|
|
3425
|
+
__publicField$W(this, "consentCookiePreferences");
|
|
3426
|
+
__publicField$W(this, "consentCookiePermissionContent");
|
|
3427
|
+
__publicField$W(this, "consentDialog");
|
|
3428
|
+
__publicField$W(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3429
|
+
__publicField$W(this, "consentDialogStatisticsCheckbox");
|
|
3400
3430
|
/**
|
|
3401
3431
|
* @deprecated Use 'consentDialogMarketingCheckbox' instead
|
|
3402
3432
|
*/
|
|
3403
|
-
__publicField$
|
|
3404
|
-
__publicField$
|
|
3405
|
-
__publicField$
|
|
3406
|
-
__publicField$
|
|
3407
|
-
__publicField$
|
|
3408
|
-
__publicField$
|
|
3433
|
+
__publicField$W(this, "consentDialogMarketingdCheckbox");
|
|
3434
|
+
__publicField$W(this, "consentDialogMarketingCheckbox");
|
|
3435
|
+
__publicField$W(this, "consentDialogAcceptAllCookiesButton");
|
|
3436
|
+
__publicField$W(this, "consentDialogSaveButton");
|
|
3437
|
+
__publicField$W(this, "consentCookieBannerContainer");
|
|
3438
|
+
__publicField$W(this, "offcanvasBackdrop");
|
|
3409
3439
|
/**
|
|
3410
3440
|
* @deprecated Use 'Header/mainNavigationLink' instead
|
|
3411
3441
|
*/
|
|
3412
|
-
__publicField$
|
|
3442
|
+
__publicField$W(this, "mainNavigationLink");
|
|
3413
3443
|
/**
|
|
3414
3444
|
* @deprecated Use 'Footer/contactFormLink' instead
|
|
3415
3445
|
*/
|
|
3416
|
-
__publicField$
|
|
3446
|
+
__publicField$W(this, "contactFormLink");
|
|
3417
3447
|
//wishlist
|
|
3418
3448
|
/**
|
|
3419
3449
|
* @deprecated Use 'Header/wishlistIcon' instead
|
|
3420
3450
|
*/
|
|
3421
|
-
__publicField$
|
|
3451
|
+
__publicField$W(this, "wishlistIcon");
|
|
3422
3452
|
/**
|
|
3423
3453
|
* @deprecated Use 'Header/wishlistBasket' instead
|
|
3424
3454
|
*/
|
|
3425
|
-
__publicField$
|
|
3455
|
+
__publicField$W(this, "wishlistBasket");
|
|
3426
3456
|
//product filters
|
|
3427
|
-
__publicField$
|
|
3428
|
-
__publicField$
|
|
3429
|
-
__publicField$
|
|
3430
|
-
__publicField$
|
|
3431
|
-
__publicField$
|
|
3432
|
-
__publicField$
|
|
3433
|
-
__publicField$
|
|
3434
|
-
__publicField$
|
|
3435
|
-
__publicField$
|
|
3436
|
-
__publicField$
|
|
3457
|
+
__publicField$W(this, "filterMultiSelect");
|
|
3458
|
+
__publicField$W(this, "manufacturerFilter");
|
|
3459
|
+
__publicField$W(this, "propertyFilters");
|
|
3460
|
+
__publicField$W(this, "priceFilterButton");
|
|
3461
|
+
__publicField$W(this, "resetAllButton");
|
|
3462
|
+
__publicField$W(this, "freeShippingFilter");
|
|
3463
|
+
__publicField$W(this, "productList");
|
|
3464
|
+
__publicField$W(this, "productItemNames");
|
|
3465
|
+
__publicField$W(this, "productRatingButton");
|
|
3466
|
+
__publicField$W(this, "productRatingList");
|
|
3437
3467
|
this.accountMenuButton = page.getByLabel("Your account");
|
|
3438
3468
|
this.closeGuestSessionButton = page.locator(".account-aside-btn");
|
|
3439
3469
|
this.productImages = page.locator(".product-image-wrapper");
|
|
@@ -3587,59 +3617,59 @@ class Home {
|
|
|
3587
3617
|
}
|
|
3588
3618
|
}
|
|
3589
3619
|
|
|
3590
|
-
var __defProp$
|
|
3591
|
-
var __defNormalProp$
|
|
3592
|
-
var __publicField$
|
|
3593
|
-
__defNormalProp$
|
|
3620
|
+
var __defProp$V = Object.defineProperty;
|
|
3621
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3622
|
+
var __publicField$V = (obj, key, value) => {
|
|
3623
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3594
3624
|
return value;
|
|
3595
3625
|
};
|
|
3596
3626
|
let ProductDetail$1 = class ProductDetail {
|
|
3597
3627
|
constructor(page) {
|
|
3598
3628
|
this.page = page;
|
|
3599
|
-
__publicField$
|
|
3600
|
-
__publicField$
|
|
3601
|
-
__publicField$
|
|
3602
|
-
__publicField$
|
|
3603
|
-
__publicField$
|
|
3604
|
-
__publicField$
|
|
3605
|
-
__publicField$
|
|
3606
|
-
__publicField$
|
|
3607
|
-
__publicField$
|
|
3608
|
-
__publicField$
|
|
3609
|
-
__publicField$
|
|
3610
|
-
__publicField$
|
|
3611
|
-
__publicField$
|
|
3612
|
-
__publicField$
|
|
3613
|
-
__publicField$
|
|
3614
|
-
__publicField$
|
|
3615
|
-
__publicField$
|
|
3616
|
-
__publicField$
|
|
3617
|
-
__publicField$
|
|
3618
|
-
__publicField$
|
|
3629
|
+
__publicField$V(this, "addToCartButton");
|
|
3630
|
+
__publicField$V(this, "quantitySelect");
|
|
3631
|
+
__publicField$V(this, "productSingleImage");
|
|
3632
|
+
__publicField$V(this, "productSinglePrice");
|
|
3633
|
+
__publicField$V(this, "productPriceRangesRow");
|
|
3634
|
+
__publicField$V(this, "productListingPriceBadge");
|
|
3635
|
+
__publicField$V(this, "productListingPrice");
|
|
3636
|
+
__publicField$V(this, "productListingPricePercentage");
|
|
3637
|
+
__publicField$V(this, "offCanvasCartTitle");
|
|
3638
|
+
__publicField$V(this, "offCanvasCart");
|
|
3639
|
+
__publicField$V(this, "offCanvasCartGoToCheckoutButton");
|
|
3640
|
+
__publicField$V(this, "offCanvasLineItemImages");
|
|
3641
|
+
__publicField$V(this, "offCanvasSummaryTotalPrice");
|
|
3642
|
+
__publicField$V(this, "offCanvas");
|
|
3643
|
+
__publicField$V(this, "wishlistAddedButton");
|
|
3644
|
+
__publicField$V(this, "wishlistNotAddedButton");
|
|
3645
|
+
__publicField$V(this, "productDetailConfigurator");
|
|
3646
|
+
__publicField$V(this, "productDetailConfiguratorGroupTitle");
|
|
3647
|
+
__publicField$V(this, "productDetailConfiguratorOptionInputs");
|
|
3648
|
+
__publicField$V(this, "productName");
|
|
3619
3649
|
//Reviews Tab
|
|
3620
|
-
__publicField$
|
|
3621
|
-
__publicField$
|
|
3622
|
-
__publicField$
|
|
3623
|
-
__publicField$
|
|
3624
|
-
__publicField$
|
|
3625
|
-
__publicField$
|
|
3626
|
-
__publicField$
|
|
3627
|
-
__publicField$
|
|
3628
|
-
__publicField$
|
|
3629
|
-
__publicField$
|
|
3630
|
-
__publicField$
|
|
3631
|
-
__publicField$
|
|
3632
|
-
__publicField$
|
|
3633
|
-
__publicField$
|
|
3634
|
-
__publicField$
|
|
3635
|
-
__publicField$
|
|
3636
|
-
__publicField$
|
|
3637
|
-
__publicField$
|
|
3638
|
-
__publicField$
|
|
3639
|
-
__publicField$
|
|
3640
|
-
__publicField$
|
|
3641
|
-
__publicField$
|
|
3642
|
-
__publicField$
|
|
3650
|
+
__publicField$V(this, "reviewsTab");
|
|
3651
|
+
__publicField$V(this, "reviewTeaserButton");
|
|
3652
|
+
__publicField$V(this, "reviewTeaserText");
|
|
3653
|
+
__publicField$V(this, "reviewListingItems");
|
|
3654
|
+
__publicField$V(this, "reviewEmptyListingText");
|
|
3655
|
+
__publicField$V(this, "reviewLoginForm");
|
|
3656
|
+
__publicField$V(this, "forgottenPasswordLink");
|
|
3657
|
+
__publicField$V(this, "reviewForm");
|
|
3658
|
+
__publicField$V(this, "reviewRatingPoints");
|
|
3659
|
+
__publicField$V(this, "reviewRatingText");
|
|
3660
|
+
__publicField$V(this, "reviewSubmitMessage");
|
|
3661
|
+
__publicField$V(this, "reviewCounter");
|
|
3662
|
+
__publicField$V(this, "reviewItemRatingPoints");
|
|
3663
|
+
__publicField$V(this, "reviewItemTitle");
|
|
3664
|
+
__publicField$V(this, "reviewReviewTextInput");
|
|
3665
|
+
__publicField$V(this, "reviewItemContent");
|
|
3666
|
+
__publicField$V(this, "reviewLoginButton");
|
|
3667
|
+
__publicField$V(this, "reviewEmailInput");
|
|
3668
|
+
__publicField$V(this, "reviewPasswordInput");
|
|
3669
|
+
__publicField$V(this, "reviewTitleInput");
|
|
3670
|
+
__publicField$V(this, "reviewSubmitButton");
|
|
3671
|
+
__publicField$V(this, "productReviewsLink");
|
|
3672
|
+
__publicField$V(this, "productReviewRating");
|
|
3643
3673
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
3644
3674
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
3645
3675
|
this.productSingleImage = page.locator(".gallery-slider-single-image");
|
|
@@ -3704,18 +3734,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
3704
3734
|
}
|
|
3705
3735
|
};
|
|
3706
3736
|
|
|
3707
|
-
var __defProp$
|
|
3708
|
-
var __defNormalProp$
|
|
3709
|
-
var __publicField$
|
|
3710
|
-
__defNormalProp$
|
|
3737
|
+
var __defProp$U = Object.defineProperty;
|
|
3738
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3739
|
+
var __publicField$U = (obj, key, value) => {
|
|
3740
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3711
3741
|
return value;
|
|
3712
3742
|
};
|
|
3713
3743
|
class Category {
|
|
3714
3744
|
constructor(page) {
|
|
3715
3745
|
this.page = page;
|
|
3716
|
-
__publicField$
|
|
3717
|
-
__publicField$
|
|
3718
|
-
__publicField$
|
|
3746
|
+
__publicField$U(this, "sortingSelect");
|
|
3747
|
+
__publicField$U(this, "firstProductBuyButton");
|
|
3748
|
+
__publicField$U(this, "noProductsFoundAlert");
|
|
3719
3749
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
3720
3750
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
3721
3751
|
this.noProductsFoundAlert = page.getByText("No products found.");
|
|
@@ -3725,24 +3755,24 @@ class Category {
|
|
|
3725
3755
|
}
|
|
3726
3756
|
}
|
|
3727
3757
|
|
|
3728
|
-
var __defProp$
|
|
3729
|
-
var __defNormalProp$
|
|
3730
|
-
var __publicField$
|
|
3731
|
-
__defNormalProp$
|
|
3758
|
+
var __defProp$T = Object.defineProperty;
|
|
3759
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3760
|
+
var __publicField$T = (obj, key, value) => {
|
|
3761
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3732
3762
|
return value;
|
|
3733
3763
|
};
|
|
3734
3764
|
class CheckoutCart {
|
|
3735
3765
|
constructor(page) {
|
|
3736
3766
|
this.page = page;
|
|
3737
|
-
__publicField$
|
|
3738
|
-
__publicField$
|
|
3739
|
-
__publicField$
|
|
3740
|
-
__publicField$
|
|
3741
|
-
__publicField$
|
|
3742
|
-
__publicField$
|
|
3743
|
-
__publicField$
|
|
3744
|
-
__publicField$
|
|
3745
|
-
__publicField$
|
|
3767
|
+
__publicField$T(this, "headline");
|
|
3768
|
+
__publicField$T(this, "goToCheckoutButton");
|
|
3769
|
+
__publicField$T(this, "enterPromoInput");
|
|
3770
|
+
__publicField$T(this, "grandTotalPrice");
|
|
3771
|
+
__publicField$T(this, "emptyCartAlert");
|
|
3772
|
+
__publicField$T(this, "stockReachedAlert");
|
|
3773
|
+
__publicField$T(this, "cartLineItemImages");
|
|
3774
|
+
__publicField$T(this, "unitPriceInfo");
|
|
3775
|
+
__publicField$T(this, "cartQuantityNumber");
|
|
3746
3776
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3747
3777
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
3748
3778
|
this.enterPromoInput = page.getByLabel("Promo code");
|
|
@@ -3783,25 +3813,25 @@ class CheckoutCart {
|
|
|
3783
3813
|
}
|
|
3784
3814
|
}
|
|
3785
3815
|
|
|
3786
|
-
var __defProp$
|
|
3787
|
-
var __defNormalProp$
|
|
3788
|
-
var __publicField$
|
|
3789
|
-
__defNormalProp$
|
|
3816
|
+
var __defProp$S = Object.defineProperty;
|
|
3817
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3818
|
+
var __publicField$S = (obj, key, value) => {
|
|
3819
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3790
3820
|
return value;
|
|
3791
3821
|
};
|
|
3792
3822
|
class OffCanvasCart {
|
|
3793
3823
|
constructor(page) {
|
|
3794
3824
|
this.page = page;
|
|
3795
|
-
__publicField$
|
|
3796
|
-
__publicField$
|
|
3797
|
-
__publicField$
|
|
3798
|
-
__publicField$
|
|
3799
|
-
__publicField$
|
|
3800
|
-
__publicField$
|
|
3801
|
-
__publicField$
|
|
3802
|
-
__publicField$
|
|
3803
|
-
__publicField$
|
|
3804
|
-
__publicField$
|
|
3825
|
+
__publicField$S(this, "headline");
|
|
3826
|
+
__publicField$S(this, "itemCount");
|
|
3827
|
+
__publicField$S(this, "goToCheckoutButton");
|
|
3828
|
+
__publicField$S(this, "goToCartButton");
|
|
3829
|
+
__publicField$S(this, "continueShoppingButton");
|
|
3830
|
+
__publicField$S(this, "enterPromoInput");
|
|
3831
|
+
__publicField$S(this, "submitDiscountButton");
|
|
3832
|
+
__publicField$S(this, "subTotalPrice");
|
|
3833
|
+
__publicField$S(this, "shippingCosts");
|
|
3834
|
+
__publicField$S(this, "cartQuantityNumber");
|
|
3805
3835
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3806
3836
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
3807
3837
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -3847,36 +3877,36 @@ class OffCanvasCart {
|
|
|
3847
3877
|
}
|
|
3848
3878
|
}
|
|
3849
3879
|
|
|
3850
|
-
var __defProp$
|
|
3851
|
-
var __defNormalProp$
|
|
3852
|
-
var __publicField$
|
|
3853
|
-
__defNormalProp$
|
|
3880
|
+
var __defProp$R = Object.defineProperty;
|
|
3881
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3882
|
+
var __publicField$R = (obj, key, value) => {
|
|
3883
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3854
3884
|
return value;
|
|
3855
3885
|
};
|
|
3856
3886
|
class CheckoutConfirm {
|
|
3857
3887
|
constructor(page) {
|
|
3858
3888
|
this.page = page;
|
|
3859
|
-
__publicField$
|
|
3860
|
-
__publicField$
|
|
3861
|
-
__publicField$
|
|
3862
|
-
__publicField$
|
|
3863
|
-
__publicField$
|
|
3864
|
-
__publicField$
|
|
3889
|
+
__publicField$R(this, "headline");
|
|
3890
|
+
__publicField$R(this, "termsAndConditionsCheckbox");
|
|
3891
|
+
__publicField$R(this, "immediateAccessToDigitalProductCheckbox");
|
|
3892
|
+
__publicField$R(this, "grandTotalPrice");
|
|
3893
|
+
__publicField$R(this, "taxPrice");
|
|
3894
|
+
__publicField$R(this, "submitOrderButton");
|
|
3865
3895
|
/**
|
|
3866
3896
|
* Payment options
|
|
3867
3897
|
*/
|
|
3868
|
-
__publicField$
|
|
3869
|
-
__publicField$
|
|
3870
|
-
__publicField$
|
|
3898
|
+
__publicField$R(this, "paymentCashOnDelivery");
|
|
3899
|
+
__publicField$R(this, "paymentPaidInAdvance");
|
|
3900
|
+
__publicField$R(this, "paymentInvoice");
|
|
3871
3901
|
/**
|
|
3872
3902
|
* Shipping options
|
|
3873
3903
|
*/
|
|
3874
|
-
__publicField$
|
|
3875
|
-
__publicField$
|
|
3904
|
+
__publicField$R(this, "shippingStandard");
|
|
3905
|
+
__publicField$R(this, "shippingExpress");
|
|
3876
3906
|
/**
|
|
3877
3907
|
* Product details
|
|
3878
3908
|
*/
|
|
3879
|
-
__publicField$
|
|
3909
|
+
__publicField$R(this, "cartLineItemImages");
|
|
3880
3910
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
3881
3911
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
3882
3912
|
this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
|
|
@@ -3895,21 +3925,21 @@ class CheckoutConfirm {
|
|
|
3895
3925
|
}
|
|
3896
3926
|
}
|
|
3897
3927
|
|
|
3898
|
-
var __defProp$
|
|
3899
|
-
var __defNormalProp$
|
|
3900
|
-
var __publicField$
|
|
3901
|
-
__defNormalProp$
|
|
3928
|
+
var __defProp$Q = Object.defineProperty;
|
|
3929
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3930
|
+
var __publicField$Q = (obj, key, value) => {
|
|
3931
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3902
3932
|
return value;
|
|
3903
3933
|
};
|
|
3904
3934
|
class CheckoutFinish {
|
|
3905
3935
|
constructor(page) {
|
|
3906
3936
|
this.page = page;
|
|
3907
|
-
__publicField$
|
|
3908
|
-
__publicField$
|
|
3909
|
-
__publicField$
|
|
3910
|
-
__publicField$
|
|
3911
|
-
__publicField$
|
|
3912
|
-
__publicField$
|
|
3937
|
+
__publicField$Q(this, "headline");
|
|
3938
|
+
__publicField$Q(this, "orderNumberText");
|
|
3939
|
+
__publicField$Q(this, "grandTotalPrice");
|
|
3940
|
+
__publicField$Q(this, "taxPrice");
|
|
3941
|
+
__publicField$Q(this, "cartLineItemImages");
|
|
3942
|
+
__publicField$Q(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
3913
3943
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
3914
3944
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
3915
3945
|
this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
|
|
@@ -3938,16 +3968,16 @@ class CheckoutFinish {
|
|
|
3938
3968
|
}
|
|
3939
3969
|
}
|
|
3940
3970
|
|
|
3941
|
-
var __defProp$
|
|
3942
|
-
var __defNormalProp$
|
|
3943
|
-
var __publicField$
|
|
3944
|
-
__defNormalProp$
|
|
3971
|
+
var __defProp$P = Object.defineProperty;
|
|
3972
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3973
|
+
var __publicField$P = (obj, key, value) => {
|
|
3974
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3945
3975
|
return value;
|
|
3946
3976
|
};
|
|
3947
3977
|
class CheckoutRegister {
|
|
3948
3978
|
constructor(page) {
|
|
3949
3979
|
this.page = page;
|
|
3950
|
-
__publicField$
|
|
3980
|
+
__publicField$P(this, "cartLineItemImages");
|
|
3951
3981
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3952
3982
|
}
|
|
3953
3983
|
url() {
|
|
@@ -3955,26 +3985,26 @@ class CheckoutRegister {
|
|
|
3955
3985
|
}
|
|
3956
3986
|
}
|
|
3957
3987
|
|
|
3958
|
-
var __defProp$
|
|
3959
|
-
var __defNormalProp$
|
|
3960
|
-
var __publicField$
|
|
3961
|
-
__defNormalProp$
|
|
3988
|
+
var __defProp$O = Object.defineProperty;
|
|
3989
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3990
|
+
var __publicField$O = (obj, key, value) => {
|
|
3991
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3962
3992
|
return value;
|
|
3963
3993
|
};
|
|
3964
3994
|
class Account {
|
|
3965
3995
|
constructor(page, instanceMeta) {
|
|
3966
3996
|
this.page = page;
|
|
3967
3997
|
this.instanceMeta = instanceMeta;
|
|
3968
|
-
__publicField$
|
|
3969
|
-
__publicField$
|
|
3970
|
-
__publicField$
|
|
3971
|
-
__publicField$
|
|
3972
|
-
__publicField$
|
|
3973
|
-
__publicField$
|
|
3974
|
-
__publicField$
|
|
3975
|
-
__publicField$
|
|
3976
|
-
__publicField$
|
|
3977
|
-
__publicField$
|
|
3998
|
+
__publicField$O(this, "headline");
|
|
3999
|
+
__publicField$O(this, "personalDataCardTitle");
|
|
4000
|
+
__publicField$O(this, "paymentMethodCardTitle");
|
|
4001
|
+
__publicField$O(this, "billingAddressCardTitle");
|
|
4002
|
+
__publicField$O(this, "shippingAddressCardTitle");
|
|
4003
|
+
__publicField$O(this, "newsletterCheckbox");
|
|
4004
|
+
__publicField$O(this, "newsletterRegistrationSuccessMessage");
|
|
4005
|
+
__publicField$O(this, "customerGroupRequestMessage");
|
|
4006
|
+
__publicField$O(this, "cannotDeliverToCountryAlert");
|
|
4007
|
+
__publicField$O(this, "shippingToAddressNotPossibleAlert");
|
|
3978
4008
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
3979
4009
|
this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
|
|
3980
4010
|
this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
|
|
@@ -3998,57 +4028,57 @@ class Account {
|
|
|
3998
4028
|
}
|
|
3999
4029
|
}
|
|
4000
4030
|
|
|
4001
|
-
var __defProp$
|
|
4002
|
-
var __defNormalProp$
|
|
4003
|
-
var __publicField$
|
|
4004
|
-
__defNormalProp$
|
|
4031
|
+
var __defProp$N = Object.defineProperty;
|
|
4032
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4033
|
+
var __publicField$N = (obj, key, value) => {
|
|
4034
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4005
4035
|
return value;
|
|
4006
4036
|
};
|
|
4007
4037
|
class AccountLogin {
|
|
4008
4038
|
constructor(page) {
|
|
4009
4039
|
this.page = page;
|
|
4010
|
-
__publicField$
|
|
4011
|
-
__publicField$
|
|
4012
|
-
__publicField$
|
|
4013
|
-
__publicField$
|
|
4014
|
-
__publicField$
|
|
4015
|
-
__publicField$
|
|
4016
|
-
__publicField$
|
|
4017
|
-
__publicField$
|
|
4040
|
+
__publicField$N(this, "emailInput");
|
|
4041
|
+
__publicField$N(this, "passwordInput");
|
|
4042
|
+
__publicField$N(this, "forgotPasswordLink");
|
|
4043
|
+
__publicField$N(this, "loginButton");
|
|
4044
|
+
__publicField$N(this, "logoutLink");
|
|
4045
|
+
__publicField$N(this, "successAlert");
|
|
4046
|
+
__publicField$N(this, "invalidCredentialsAlert");
|
|
4047
|
+
__publicField$N(this, "passwordUpdatedAlert");
|
|
4018
4048
|
// Inputs for registration
|
|
4019
|
-
__publicField$
|
|
4020
|
-
__publicField$
|
|
4021
|
-
__publicField$
|
|
4022
|
-
__publicField$
|
|
4023
|
-
__publicField$
|
|
4024
|
-
__publicField$
|
|
4025
|
-
__publicField$
|
|
4026
|
-
__publicField$
|
|
4027
|
-
__publicField$
|
|
4028
|
-
__publicField$
|
|
4029
|
-
__publicField$
|
|
4030
|
-
__publicField$
|
|
4031
|
-
__publicField$
|
|
4032
|
-
__publicField$
|
|
4033
|
-
__publicField$
|
|
4034
|
-
__publicField$
|
|
4049
|
+
__publicField$N(this, "personalFormArea");
|
|
4050
|
+
__publicField$N(this, "billingAddressFormArea");
|
|
4051
|
+
__publicField$N(this, "accountTypeSelect");
|
|
4052
|
+
__publicField$N(this, "salutationSelect");
|
|
4053
|
+
__publicField$N(this, "firstNameInput");
|
|
4054
|
+
__publicField$N(this, "lastNameInput");
|
|
4055
|
+
__publicField$N(this, "companyInput");
|
|
4056
|
+
__publicField$N(this, "departmentInput");
|
|
4057
|
+
__publicField$N(this, "vatRegNoInput");
|
|
4058
|
+
__publicField$N(this, "registerEmailInput");
|
|
4059
|
+
__publicField$N(this, "registerPasswordInput");
|
|
4060
|
+
__publicField$N(this, "streetAddressInput");
|
|
4061
|
+
__publicField$N(this, "cityInput");
|
|
4062
|
+
__publicField$N(this, "countryInput");
|
|
4063
|
+
__publicField$N(this, "postalCodeInput");
|
|
4064
|
+
__publicField$N(this, "registerButton");
|
|
4035
4065
|
// Inputs for reCaptcha
|
|
4036
|
-
__publicField$
|
|
4037
|
-
__publicField$
|
|
4038
|
-
__publicField$
|
|
4039
|
-
__publicField$
|
|
4040
|
-
__publicField$
|
|
4066
|
+
__publicField$N(this, "greCaptchaV2Container");
|
|
4067
|
+
__publicField$N(this, "greCaptchaV2Input");
|
|
4068
|
+
__publicField$N(this, "greCaptchaV3Input");
|
|
4069
|
+
__publicField$N(this, "greCaptchaProtectionInformation");
|
|
4070
|
+
__publicField$N(this, "greCaptchaBadge");
|
|
4041
4071
|
//Input for shipping address
|
|
4042
|
-
__publicField$
|
|
4043
|
-
__publicField$
|
|
4044
|
-
__publicField$
|
|
4045
|
-
__publicField$
|
|
4046
|
-
__publicField$
|
|
4047
|
-
__publicField$
|
|
4048
|
-
__publicField$
|
|
4049
|
-
__publicField$
|
|
4050
|
-
__publicField$
|
|
4051
|
-
__publicField$
|
|
4072
|
+
__publicField$N(this, "differentShippingAddressCheckbox");
|
|
4073
|
+
__publicField$N(this, "registerShippingAddressFormArea");
|
|
4074
|
+
__publicField$N(this, "shippingAddressSalutationSelect");
|
|
4075
|
+
__publicField$N(this, "shippingAddressFirstNameInput");
|
|
4076
|
+
__publicField$N(this, "shippingAddressLastNameInput");
|
|
4077
|
+
__publicField$N(this, "shippingAddressStreetAddressInput");
|
|
4078
|
+
__publicField$N(this, "shippingAddressCityInput");
|
|
4079
|
+
__publicField$N(this, "shippingAddressCountryInput");
|
|
4080
|
+
__publicField$N(this, "shippingAddressPostalCodeInput");
|
|
4081
|
+
__publicField$N(this, "shippingAddressStateInput");
|
|
4052
4082
|
this.emailInput = page.getByLabel("Your email address");
|
|
4053
4083
|
this.passwordInput = page.getByLabel("Your password");
|
|
4054
4084
|
this.loginButton = page.getByRole("button", { name: "Log in" });
|
|
@@ -4098,26 +4128,26 @@ class AccountLogin {
|
|
|
4098
4128
|
}
|
|
4099
4129
|
}
|
|
4100
4130
|
|
|
4101
|
-
var __defProp$
|
|
4102
|
-
var __defNormalProp$
|
|
4103
|
-
var __publicField$
|
|
4104
|
-
__defNormalProp$
|
|
4131
|
+
var __defProp$M = Object.defineProperty;
|
|
4132
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4133
|
+
var __publicField$M = (obj, key, value) => {
|
|
4134
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4105
4135
|
return value;
|
|
4106
4136
|
};
|
|
4107
4137
|
class AccountRecover {
|
|
4108
4138
|
constructor(page) {
|
|
4109
4139
|
this.page = page;
|
|
4110
|
-
__publicField$
|
|
4111
|
-
__publicField$
|
|
4112
|
-
__publicField$
|
|
4113
|
-
__publicField$
|
|
4114
|
-
__publicField$
|
|
4115
|
-
__publicField$
|
|
4116
|
-
__publicField$
|
|
4117
|
-
__publicField$
|
|
4118
|
-
__publicField$
|
|
4119
|
-
__publicField$
|
|
4120
|
-
__publicField$
|
|
4140
|
+
__publicField$M(this, "passwordRecoveryForm");
|
|
4141
|
+
__publicField$M(this, "title");
|
|
4142
|
+
__publicField$M(this, "subtitle");
|
|
4143
|
+
__publicField$M(this, "emailInput");
|
|
4144
|
+
__publicField$M(this, "requestEmailButton");
|
|
4145
|
+
__publicField$M(this, "backButton");
|
|
4146
|
+
__publicField$M(this, "passwordResetEmailSentMessage");
|
|
4147
|
+
__publicField$M(this, "newPasswordInput");
|
|
4148
|
+
__publicField$M(this, "newPasswordConfirmInput");
|
|
4149
|
+
__publicField$M(this, "changePasswordButton");
|
|
4150
|
+
__publicField$M(this, "invalidLinkMessage");
|
|
4121
4151
|
this.passwordRecoveryForm = page.locator(".account-recover-password-form");
|
|
4122
4152
|
const cardTitle = this.passwordRecoveryForm.locator(".card-title");
|
|
4123
4153
|
this.title = cardTitle.getByText("Password recovery");
|
|
@@ -4139,36 +4169,36 @@ class AccountRecover {
|
|
|
4139
4169
|
}
|
|
4140
4170
|
}
|
|
4141
4171
|
|
|
4142
|
-
var __defProp$
|
|
4143
|
-
var __defNormalProp$
|
|
4144
|
-
var __publicField$
|
|
4145
|
-
__defNormalProp$
|
|
4172
|
+
var __defProp$L = Object.defineProperty;
|
|
4173
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4174
|
+
var __publicField$L = (obj, key, value) => {
|
|
4175
|
+
__defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4146
4176
|
return value;
|
|
4147
4177
|
};
|
|
4148
4178
|
class AccountProfile {
|
|
4149
4179
|
constructor(page, instanceMeta) {
|
|
4150
4180
|
this.page = page;
|
|
4151
4181
|
this.instanceMeta = instanceMeta;
|
|
4152
|
-
__publicField$
|
|
4153
|
-
__publicField$
|
|
4154
|
-
__publicField$
|
|
4155
|
-
__publicField$
|
|
4156
|
-
__publicField$
|
|
4157
|
-
__publicField$
|
|
4158
|
-
__publicField$
|
|
4159
|
-
__publicField$
|
|
4160
|
-
__publicField$
|
|
4161
|
-
__publicField$
|
|
4162
|
-
__publicField$
|
|
4163
|
-
__publicField$
|
|
4164
|
-
__publicField$
|
|
4165
|
-
__publicField$
|
|
4166
|
-
__publicField$
|
|
4167
|
-
__publicField$
|
|
4168
|
-
__publicField$
|
|
4169
|
-
__publicField$
|
|
4170
|
-
__publicField$
|
|
4171
|
-
__publicField$
|
|
4182
|
+
__publicField$L(this, "salutationSelect");
|
|
4183
|
+
__publicField$L(this, "firstNameInput");
|
|
4184
|
+
__publicField$L(this, "lastNameInput");
|
|
4185
|
+
__publicField$L(this, "saveProfileButton");
|
|
4186
|
+
__publicField$L(this, "changeEmailButton");
|
|
4187
|
+
__publicField$L(this, "emailAddressInput");
|
|
4188
|
+
__publicField$L(this, "emailAddressConfirmInput");
|
|
4189
|
+
__publicField$L(this, "emailConfirmPasswordInput");
|
|
4190
|
+
__publicField$L(this, "saveEmailAddressButton");
|
|
4191
|
+
__publicField$L(this, "changePasswordButton");
|
|
4192
|
+
__publicField$L(this, "newPasswordInput");
|
|
4193
|
+
__publicField$L(this, "newPasswordConfirmInput");
|
|
4194
|
+
__publicField$L(this, "currentPasswordInput");
|
|
4195
|
+
__publicField$L(this, "saveNewPasswordButton");
|
|
4196
|
+
__publicField$L(this, "loginDataEmailAddress");
|
|
4197
|
+
__publicField$L(this, "emailUpdateMessage");
|
|
4198
|
+
__publicField$L(this, "passwordUpdateMessage");
|
|
4199
|
+
__publicField$L(this, "emailValidationAlert");
|
|
4200
|
+
__publicField$L(this, "emailUpdateFailureAlert");
|
|
4201
|
+
__publicField$L(this, "passwordUpdateFailureAlert");
|
|
4172
4202
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
4173
4203
|
this.firstNameInput = page.getByLabel("First name");
|
|
4174
4204
|
this.lastNameInput = page.getByLabel("Last name");
|
|
@@ -4208,27 +4238,33 @@ class AccountProfile {
|
|
|
4208
4238
|
}
|
|
4209
4239
|
}
|
|
4210
4240
|
|
|
4211
|
-
var __defProp$
|
|
4212
|
-
var __defNormalProp$
|
|
4213
|
-
var __publicField$
|
|
4214
|
-
__defNormalProp$
|
|
4241
|
+
var __defProp$K = Object.defineProperty;
|
|
4242
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4243
|
+
var __publicField$K = (obj, key, value) => {
|
|
4244
|
+
__defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4215
4245
|
return value;
|
|
4216
4246
|
};
|
|
4217
4247
|
class AccountOrder {
|
|
4218
4248
|
constructor(page) {
|
|
4219
4249
|
this.page = page;
|
|
4220
|
-
__publicField$
|
|
4221
|
-
__publicField$
|
|
4222
|
-
__publicField$
|
|
4223
|
-
__publicField$
|
|
4224
|
-
__publicField$
|
|
4225
|
-
__publicField$
|
|
4250
|
+
__publicField$K(this, "cartLineItemImages");
|
|
4251
|
+
__publicField$K(this, "orderExpandButton");
|
|
4252
|
+
__publicField$K(this, "digitalProductDownloadButton");
|
|
4253
|
+
__publicField$K(this, "dialogOrderCancel");
|
|
4254
|
+
__publicField$K(this, "dialogOrderCancelButton");
|
|
4255
|
+
__publicField$K(this, "dialogBackButton");
|
|
4256
|
+
__publicField$K(this, "orderDetails");
|
|
4257
|
+
__publicField$K(this, "invoiceHTML");
|
|
4258
|
+
__publicField$K(this, "creditItem");
|
|
4226
4259
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
4227
4260
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
4228
4261
|
this.digitalProductDownloadButton = page.getByRole("link", { name: "Download" }).first();
|
|
4229
4262
|
this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
|
|
4230
4263
|
this.dialogOrderCancelButton = this.dialogOrderCancel.getByRole("button", { name: "Cancel order" });
|
|
4231
4264
|
this.dialogBackButton = this.dialogOrderCancel.getByRole("button", { name: "Back" });
|
|
4265
|
+
this.orderDetails = page.locator(".order-item-detail");
|
|
4266
|
+
this.invoiceHTML = page.getByRole("link", { name: ".html" });
|
|
4267
|
+
this.creditItem = page.locator('.line-item:has-text("CreditItem")');
|
|
4232
4268
|
}
|
|
4233
4269
|
async getOrderByOrderNumber(orderNumber) {
|
|
4234
4270
|
const orderItem = this.page.getByRole("listitem").getByLabel(`Order number ${orderNumber}`);
|
|
@@ -4270,27 +4306,27 @@ class AccountOrder {
|
|
|
4270
4306
|
}
|
|
4271
4307
|
}
|
|
4272
4308
|
|
|
4273
|
-
var __defProp$
|
|
4274
|
-
var __defNormalProp$
|
|
4275
|
-
var __publicField$
|
|
4276
|
-
__defNormalProp$
|
|
4309
|
+
var __defProp$J = Object.defineProperty;
|
|
4310
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4311
|
+
var __publicField$J = (obj, key, value) => {
|
|
4312
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4277
4313
|
return value;
|
|
4278
4314
|
};
|
|
4279
4315
|
class AccountAddresses {
|
|
4280
4316
|
constructor(page, instanceMeta) {
|
|
4281
4317
|
this.page = page;
|
|
4282
4318
|
this.instanceMeta = instanceMeta;
|
|
4283
|
-
__publicField$
|
|
4284
|
-
__publicField$
|
|
4285
|
-
__publicField$
|
|
4286
|
-
__publicField$
|
|
4287
|
-
__publicField$
|
|
4288
|
-
__publicField$
|
|
4289
|
-
__publicField$
|
|
4290
|
-
__publicField$
|
|
4291
|
-
__publicField$
|
|
4292
|
-
__publicField$
|
|
4293
|
-
__publicField$
|
|
4319
|
+
__publicField$J(this, "addNewAddressButton");
|
|
4320
|
+
__publicField$J(this, "editBillingAddressButton");
|
|
4321
|
+
__publicField$J(this, "editShippingAddressButton");
|
|
4322
|
+
__publicField$J(this, "useDefaultBillingAddressButton");
|
|
4323
|
+
__publicField$J(this, "useDefaultShippingAddressButton");
|
|
4324
|
+
__publicField$J(this, "deliveryNotPossibleAlert");
|
|
4325
|
+
__publicField$J(this, "availableAddresses");
|
|
4326
|
+
__publicField$J(this, "addressDropdownButton");
|
|
4327
|
+
__publicField$J(this, "addressDropdownButtons");
|
|
4328
|
+
__publicField$J(this, "availableAddressesUseAsBillingAddress");
|
|
4329
|
+
__publicField$J(this, "availableAddressesUseAsShippingAddress");
|
|
4294
4330
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
4295
4331
|
this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
|
|
4296
4332
|
this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
|
|
@@ -4312,19 +4348,19 @@ class AccountAddresses {
|
|
|
4312
4348
|
}
|
|
4313
4349
|
}
|
|
4314
4350
|
|
|
4315
|
-
var __defProp$
|
|
4316
|
-
var __defNormalProp$
|
|
4317
|
-
var __publicField$
|
|
4318
|
-
__defNormalProp$
|
|
4351
|
+
var __defProp$I = Object.defineProperty;
|
|
4352
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4353
|
+
var __publicField$I = (obj, key, value) => {
|
|
4354
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4319
4355
|
return value;
|
|
4320
4356
|
};
|
|
4321
4357
|
class AccountPayment {
|
|
4322
4358
|
constructor(page) {
|
|
4323
4359
|
this.page = page;
|
|
4324
|
-
__publicField$
|
|
4325
|
-
__publicField$
|
|
4326
|
-
__publicField$
|
|
4327
|
-
__publicField$
|
|
4360
|
+
__publicField$I(this, "cashOnDeliveryOption");
|
|
4361
|
+
__publicField$I(this, "paidInAdvanceOption");
|
|
4362
|
+
__publicField$I(this, "invoiceOption");
|
|
4363
|
+
__publicField$I(this, "changeDefaultPaymentButton");
|
|
4328
4364
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
4329
4365
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
4330
4366
|
this.invoiceOption = page.getByLabel("Invoice");
|
|
@@ -4335,17 +4371,17 @@ class AccountPayment {
|
|
|
4335
4371
|
}
|
|
4336
4372
|
}
|
|
4337
4373
|
|
|
4338
|
-
var __defProp$
|
|
4339
|
-
var __defNormalProp$
|
|
4340
|
-
var __publicField$
|
|
4341
|
-
__defNormalProp$
|
|
4374
|
+
var __defProp$H = Object.defineProperty;
|
|
4375
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4376
|
+
var __publicField$H = (obj, key, value) => {
|
|
4377
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4342
4378
|
return value;
|
|
4343
4379
|
};
|
|
4344
4380
|
class Search {
|
|
4345
4381
|
constructor(page) {
|
|
4346
4382
|
this.page = page;
|
|
4347
|
-
__publicField$
|
|
4348
|
-
__publicField$
|
|
4383
|
+
__publicField$H(this, "headline");
|
|
4384
|
+
__publicField$H(this, "productImages");
|
|
4349
4385
|
this.headline = page.locator("h1.search-headline");
|
|
4350
4386
|
this.productImages = page.locator(".product-image-wrapper");
|
|
4351
4387
|
}
|
|
@@ -4354,25 +4390,25 @@ class Search {
|
|
|
4354
4390
|
}
|
|
4355
4391
|
}
|
|
4356
4392
|
|
|
4357
|
-
var __defProp$
|
|
4358
|
-
var __defNormalProp$
|
|
4359
|
-
var __publicField$
|
|
4360
|
-
__defNormalProp$
|
|
4393
|
+
var __defProp$G = Object.defineProperty;
|
|
4394
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4395
|
+
var __publicField$G = (obj, key, value) => {
|
|
4396
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4361
4397
|
return value;
|
|
4362
4398
|
};
|
|
4363
4399
|
class SearchSuggest extends Home {
|
|
4364
4400
|
constructor(page) {
|
|
4365
4401
|
super(page);
|
|
4366
4402
|
this.page = page;
|
|
4367
|
-
__publicField$
|
|
4368
|
-
__publicField$
|
|
4369
|
-
__publicField$
|
|
4370
|
-
__publicField$
|
|
4371
|
-
__publicField$
|
|
4372
|
-
__publicField$
|
|
4373
|
-
__publicField$
|
|
4374
|
-
__publicField$
|
|
4375
|
-
__publicField$
|
|
4403
|
+
__publicField$G(this, "searchSuggestLineItemImages");
|
|
4404
|
+
__publicField$G(this, "searchInput");
|
|
4405
|
+
__publicField$G(this, "searchIcon");
|
|
4406
|
+
__publicField$G(this, "searchSuggestNoResult");
|
|
4407
|
+
__publicField$G(this, "searchSuggestLineItemName");
|
|
4408
|
+
__publicField$G(this, "searchSuggestLineItemPrice");
|
|
4409
|
+
__publicField$G(this, "searchSuggestTotalLink");
|
|
4410
|
+
__publicField$G(this, "searchResultTotal");
|
|
4411
|
+
__publicField$G(this, "searchHeadline");
|
|
4376
4412
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
4377
4413
|
this.searchInput = page.locator(".header-search-input");
|
|
4378
4414
|
this.searchIcon = page.locator(".header-search-icon");
|
|
@@ -4402,31 +4438,31 @@ class CustomRegister extends AccountLogin {
|
|
|
4402
4438
|
}
|
|
4403
4439
|
}
|
|
4404
4440
|
|
|
4405
|
-
var __defProp$
|
|
4406
|
-
var __defNormalProp$
|
|
4407
|
-
var __publicField$
|
|
4408
|
-
__defNormalProp$
|
|
4441
|
+
var __defProp$F = Object.defineProperty;
|
|
4442
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4443
|
+
var __publicField$F = (obj, key, value) => {
|
|
4444
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4409
4445
|
return value;
|
|
4410
4446
|
};
|
|
4411
4447
|
class CheckoutOrderEdit {
|
|
4412
4448
|
constructor(page) {
|
|
4413
4449
|
this.page = page;
|
|
4414
|
-
__publicField$
|
|
4415
|
-
__publicField$
|
|
4416
|
-
__publicField$
|
|
4417
|
-
__publicField$
|
|
4418
|
-
__publicField$
|
|
4450
|
+
__publicField$F(this, "completePaymentButton");
|
|
4451
|
+
__publicField$F(this, "orderCancelButton");
|
|
4452
|
+
__publicField$F(this, "dialogOrderCancel");
|
|
4453
|
+
__publicField$F(this, "dialogOrderCancelButton");
|
|
4454
|
+
__publicField$F(this, "dialogBackButton");
|
|
4419
4455
|
/**
|
|
4420
4456
|
* Payment options
|
|
4421
4457
|
*/
|
|
4422
|
-
__publicField$
|
|
4423
|
-
__publicField$
|
|
4424
|
-
__publicField$
|
|
4458
|
+
__publicField$F(this, "paymentCashOnDelivery");
|
|
4459
|
+
__publicField$F(this, "paymentPaidInAdvance");
|
|
4460
|
+
__publicField$F(this, "paymentInvoice");
|
|
4425
4461
|
/**
|
|
4426
4462
|
* Shipping options
|
|
4427
4463
|
*/
|
|
4428
|
-
__publicField$
|
|
4429
|
-
__publicField$
|
|
4464
|
+
__publicField$F(this, "shippingStandard");
|
|
4465
|
+
__publicField$F(this, "shippingExpress");
|
|
4430
4466
|
this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
|
|
4431
4467
|
this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
|
|
4432
4468
|
this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
|
|
@@ -4451,26 +4487,26 @@ class CheckoutOrderEdit {
|
|
|
4451
4487
|
}
|
|
4452
4488
|
}
|
|
4453
4489
|
|
|
4454
|
-
var __defProp$
|
|
4455
|
-
var __defNormalProp$
|
|
4456
|
-
var __publicField$
|
|
4457
|
-
__defNormalProp$
|
|
4490
|
+
var __defProp$E = Object.defineProperty;
|
|
4491
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4492
|
+
var __publicField$E = (obj, key, value) => {
|
|
4493
|
+
__defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4458
4494
|
return value;
|
|
4459
4495
|
};
|
|
4460
4496
|
class AccountAddressCreate {
|
|
4461
4497
|
constructor(page) {
|
|
4462
4498
|
this.page = page;
|
|
4463
|
-
__publicField$
|
|
4464
|
-
__publicField$
|
|
4465
|
-
__publicField$
|
|
4466
|
-
__publicField$
|
|
4467
|
-
__publicField$
|
|
4468
|
-
__publicField$
|
|
4469
|
-
__publicField$
|
|
4470
|
-
__publicField$
|
|
4471
|
-
__publicField$
|
|
4472
|
-
__publicField$
|
|
4473
|
-
__publicField$
|
|
4499
|
+
__publicField$E(this, "salutationDropdown");
|
|
4500
|
+
__publicField$E(this, "firstNameInput");
|
|
4501
|
+
__publicField$E(this, "lastNameInput");
|
|
4502
|
+
__publicField$E(this, "companyInput");
|
|
4503
|
+
__publicField$E(this, "departmentInput");
|
|
4504
|
+
__publicField$E(this, "streetInput");
|
|
4505
|
+
__publicField$E(this, "zipcodeInput");
|
|
4506
|
+
__publicField$E(this, "cityInput");
|
|
4507
|
+
__publicField$E(this, "countryDropdown");
|
|
4508
|
+
__publicField$E(this, "saveAddressButton");
|
|
4509
|
+
__publicField$E(this, "stateDropdown");
|
|
4474
4510
|
this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
|
|
4475
4511
|
this.firstNameInput = page.getByRole("textbox", { name: "First name" });
|
|
4476
4512
|
this.lastNameInput = page.getByRole("textbox", { name: "Last name" });
|
|
@@ -4488,19 +4524,19 @@ class AccountAddressCreate {
|
|
|
4488
4524
|
}
|
|
4489
4525
|
}
|
|
4490
4526
|
|
|
4491
|
-
var __defProp$
|
|
4492
|
-
var __defNormalProp$
|
|
4493
|
-
var __publicField$
|
|
4494
|
-
__defNormalProp$
|
|
4527
|
+
var __defProp$D = Object.defineProperty;
|
|
4528
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4529
|
+
var __publicField$D = (obj, key, value) => {
|
|
4530
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4495
4531
|
return value;
|
|
4496
4532
|
};
|
|
4497
4533
|
class PageNotFound {
|
|
4498
4534
|
constructor(page) {
|
|
4499
4535
|
this.page = page;
|
|
4500
|
-
__publicField$
|
|
4501
|
-
__publicField$
|
|
4502
|
-
__publicField$
|
|
4503
|
-
__publicField$
|
|
4536
|
+
__publicField$D(this, "pageNotFoundImage");
|
|
4537
|
+
__publicField$D(this, "headline");
|
|
4538
|
+
__publicField$D(this, "pageNotFoundMessage");
|
|
4539
|
+
__publicField$D(this, "backToShopButton");
|
|
4504
4540
|
this.pageNotFoundImage = page.getByAltText("Page not found");
|
|
4505
4541
|
this.headline = page.getByRole("heading", { name: "Page not found" });
|
|
4506
4542
|
this.pageNotFoundMessage = page.getByText(`We are sorry, the page you're looking for could not be found. It may no longer exist or may have been moved.`);
|
|
@@ -4511,10 +4547,10 @@ class PageNotFound {
|
|
|
4511
4547
|
}
|
|
4512
4548
|
}
|
|
4513
4549
|
|
|
4514
|
-
var __defProp$
|
|
4515
|
-
var __defNormalProp$
|
|
4516
|
-
var __publicField$
|
|
4517
|
-
__defNormalProp$
|
|
4550
|
+
var __defProp$C = Object.defineProperty;
|
|
4551
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4552
|
+
var __publicField$C = (obj, key, value) => {
|
|
4553
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4518
4554
|
return value;
|
|
4519
4555
|
};
|
|
4520
4556
|
class ContactForm extends Home {
|
|
@@ -4525,35 +4561,35 @@ class ContactForm extends Home {
|
|
|
4525
4561
|
/**
|
|
4526
4562
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
4527
4563
|
*/
|
|
4528
|
-
__publicField$
|
|
4564
|
+
__publicField$C(this, "contactModal");
|
|
4529
4565
|
/**
|
|
4530
4566
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
4531
4567
|
*/
|
|
4532
|
-
__publicField$
|
|
4533
|
-
__publicField$
|
|
4534
|
-
__publicField$
|
|
4535
|
-
__publicField$
|
|
4536
|
-
__publicField$
|
|
4537
|
-
__publicField$
|
|
4538
|
-
__publicField$
|
|
4539
|
-
__publicField$
|
|
4540
|
-
__publicField$
|
|
4541
|
-
__publicField$
|
|
4542
|
-
__publicField$
|
|
4543
|
-
__publicField$
|
|
4544
|
-
__publicField$
|
|
4545
|
-
__publicField$
|
|
4546
|
-
__publicField$
|
|
4568
|
+
__publicField$C(this, "contactSuccessModal");
|
|
4569
|
+
__publicField$C(this, "contactWrapper");
|
|
4570
|
+
__publicField$C(this, "salutationSelect");
|
|
4571
|
+
__publicField$C(this, "firstNameInput");
|
|
4572
|
+
__publicField$C(this, "lastNameInput");
|
|
4573
|
+
__publicField$C(this, "emailInput");
|
|
4574
|
+
__publicField$C(this, "phoneInput");
|
|
4575
|
+
__publicField$C(this, "subjectInput");
|
|
4576
|
+
__publicField$C(this, "commentInput");
|
|
4577
|
+
__publicField$C(this, "privacyPolicyCheckbox");
|
|
4578
|
+
__publicField$C(this, "submitButton");
|
|
4579
|
+
__publicField$C(this, "contactSuccessMessage");
|
|
4580
|
+
__publicField$C(this, "cardTitle");
|
|
4581
|
+
__publicField$C(this, "formFieldFeedback");
|
|
4582
|
+
__publicField$C(this, "formAlert");
|
|
4547
4583
|
/**
|
|
4548
4584
|
* Captcha locators
|
|
4549
4585
|
*/
|
|
4550
|
-
__publicField$
|
|
4551
|
-
__publicField$
|
|
4552
|
-
__publicField$
|
|
4553
|
-
__publicField$
|
|
4554
|
-
__publicField$
|
|
4555
|
-
__publicField$
|
|
4556
|
-
__publicField$
|
|
4586
|
+
__publicField$C(this, "basicCaptcha");
|
|
4587
|
+
__publicField$C(this, "basicCaptchaImage");
|
|
4588
|
+
__publicField$C(this, "basicCaptchaRefreshButton");
|
|
4589
|
+
__publicField$C(this, "basicCaptchaInput");
|
|
4590
|
+
__publicField$C(this, "greCaptchaV2Container");
|
|
4591
|
+
__publicField$C(this, "greCaptchaV2Input");
|
|
4592
|
+
__publicField$C(this, "greCaptchaProtectionInformation");
|
|
4557
4593
|
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4558
4594
|
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
4559
4595
|
this.formAlert = this.page.getByRole("alert");
|
|
@@ -4588,19 +4624,19 @@ class ContactForm extends Home {
|
|
|
4588
4624
|
}
|
|
4589
4625
|
}
|
|
4590
4626
|
|
|
4591
|
-
var __defProp$
|
|
4592
|
-
var __defNormalProp$
|
|
4593
|
-
var __publicField$
|
|
4594
|
-
__defNormalProp$
|
|
4627
|
+
var __defProp$B = Object.defineProperty;
|
|
4628
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4629
|
+
var __publicField$B = (obj, key, value) => {
|
|
4630
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4595
4631
|
return value;
|
|
4596
4632
|
};
|
|
4597
4633
|
class Wishlist extends Home {
|
|
4598
4634
|
constructor(page) {
|
|
4599
4635
|
super(page);
|
|
4600
4636
|
this.page = page;
|
|
4601
|
-
__publicField$
|
|
4602
|
-
__publicField$
|
|
4603
|
-
__publicField$
|
|
4637
|
+
__publicField$B(this, "wishListHeader");
|
|
4638
|
+
__publicField$B(this, "removeAlert");
|
|
4639
|
+
__publicField$B(this, "emptyListing");
|
|
4604
4640
|
this.wishListHeader = page.locator(".wishlist-headline");
|
|
4605
4641
|
this.removeAlert = page.locator(".alert-success");
|
|
4606
4642
|
this.emptyListing = page.locator(".wishlist-listing-empty");
|
|
@@ -4619,20 +4655,20 @@ class Wishlist extends Home {
|
|
|
4619
4655
|
}
|
|
4620
4656
|
}
|
|
4621
4657
|
|
|
4622
|
-
var __defProp$
|
|
4623
|
-
var __defNormalProp$
|
|
4624
|
-
var __publicField$
|
|
4625
|
-
__defNormalProp$
|
|
4658
|
+
var __defProp$A = Object.defineProperty;
|
|
4659
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4660
|
+
var __publicField$A = (obj, key, value) => {
|
|
4661
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4626
4662
|
return value;
|
|
4627
4663
|
};
|
|
4628
4664
|
class Footer {
|
|
4629
4665
|
constructor(page) {
|
|
4630
4666
|
this.page = page;
|
|
4631
|
-
__publicField$
|
|
4632
|
-
__publicField$
|
|
4633
|
-
__publicField$
|
|
4634
|
-
__publicField$
|
|
4635
|
-
__publicField$
|
|
4667
|
+
__publicField$A(this, "footerHeadline");
|
|
4668
|
+
__publicField$A(this, "footerContent");
|
|
4669
|
+
__publicField$A(this, "footerHotline");
|
|
4670
|
+
__publicField$A(this, "footerContactForm");
|
|
4671
|
+
__publicField$A(this, "footerContactFormLink");
|
|
4636
4672
|
this.footerHeadline = page.locator(".footer-column-headline");
|
|
4637
4673
|
this.footerContent = page.locator(".footer-column-content-inner");
|
|
4638
4674
|
this.footerHotline = page.locator(".footer-contact-hotline");
|
|
@@ -4644,23 +4680,23 @@ class Footer {
|
|
|
4644
4680
|
}
|
|
4645
4681
|
}
|
|
4646
4682
|
|
|
4647
|
-
var __defProp$
|
|
4648
|
-
var __defNormalProp$
|
|
4649
|
-
var __publicField$
|
|
4650
|
-
__defNormalProp$
|
|
4683
|
+
var __defProp$z = Object.defineProperty;
|
|
4684
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4685
|
+
var __publicField$z = (obj, key, value) => {
|
|
4686
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4651
4687
|
return value;
|
|
4652
4688
|
};
|
|
4653
4689
|
class Header {
|
|
4654
4690
|
constructor(page) {
|
|
4655
4691
|
this.page = page;
|
|
4656
|
-
__publicField$
|
|
4657
|
-
__publicField$
|
|
4658
|
-
__publicField$
|
|
4659
|
-
__publicField$
|
|
4660
|
-
__publicField$
|
|
4692
|
+
__publicField$z(this, "mainNavigationLink");
|
|
4693
|
+
__publicField$z(this, "languagesDropdown");
|
|
4694
|
+
__publicField$z(this, "languagesMenuOptions");
|
|
4695
|
+
__publicField$z(this, "currenciesDropdown");
|
|
4696
|
+
__publicField$z(this, "currenciesMenuOptions");
|
|
4661
4697
|
//wishlist
|
|
4662
|
-
__publicField$
|
|
4663
|
-
__publicField$
|
|
4698
|
+
__publicField$z(this, "wishlistIcon");
|
|
4699
|
+
__publicField$z(this, "wishlistBasket");
|
|
4664
4700
|
this.mainNavigationLink = page.locator(".main-navigation-link-text");
|
|
4665
4701
|
this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
|
|
4666
4702
|
this.languagesMenuOptions = page.locator(".top-bar-language").filter({ has: page.getByRole("list") });
|
|
@@ -4797,10 +4833,10 @@ async function getCustomFieldCardLocators(page, customFieldSetName, customFieldN
|
|
|
4797
4833
|
};
|
|
4798
4834
|
}
|
|
4799
4835
|
|
|
4800
|
-
var __defProp$
|
|
4801
|
-
var __defNormalProp$
|
|
4802
|
-
var __publicField$
|
|
4803
|
-
__defNormalProp$
|
|
4836
|
+
var __defProp$y = Object.defineProperty;
|
|
4837
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4838
|
+
var __publicField$y = (obj, key, value) => {
|
|
4839
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4804
4840
|
return value;
|
|
4805
4841
|
};
|
|
4806
4842
|
class ProductDetail {
|
|
@@ -4810,72 +4846,72 @@ class ProductDetail {
|
|
|
4810
4846
|
/**
|
|
4811
4847
|
* Save interactions
|
|
4812
4848
|
*/
|
|
4813
|
-
__publicField$
|
|
4814
|
-
__publicField$
|
|
4815
|
-
__publicField$
|
|
4849
|
+
__publicField$y(this, "savePhysicalProductButton");
|
|
4850
|
+
__publicField$y(this, "saveButtonLoadingSpinner");
|
|
4851
|
+
__publicField$y(this, "saveButtonCheckMark");
|
|
4816
4852
|
/**
|
|
4817
4853
|
* General Info
|
|
4818
4854
|
*/
|
|
4819
|
-
__publicField$
|
|
4855
|
+
__publicField$y(this, "manufacturerDropdownText");
|
|
4820
4856
|
/**
|
|
4821
4857
|
* Prices
|
|
4822
4858
|
*/
|
|
4823
|
-
__publicField$
|
|
4859
|
+
__publicField$y(this, "priceGrossInput");
|
|
4824
4860
|
/**
|
|
4825
4861
|
* Deliverability
|
|
4826
4862
|
*/
|
|
4827
|
-
__publicField$
|
|
4828
|
-
__publicField$
|
|
4863
|
+
__publicField$y(this, "stockInput");
|
|
4864
|
+
__publicField$y(this, "restockTimeInput");
|
|
4829
4865
|
/**
|
|
4830
4866
|
* Visibility
|
|
4831
4867
|
*/
|
|
4832
|
-
__publicField$
|
|
4833
|
-
__publicField$
|
|
4834
|
-
__publicField$
|
|
4868
|
+
__publicField$y(this, "activeForAllSalesChannelsToggle");
|
|
4869
|
+
__publicField$y(this, "tagsInput");
|
|
4870
|
+
__publicField$y(this, "saleChannelsInput");
|
|
4835
4871
|
/**
|
|
4836
4872
|
* Labelling
|
|
4837
4873
|
*/
|
|
4838
|
-
__publicField$
|
|
4874
|
+
__publicField$y(this, "releaseDateInput");
|
|
4839
4875
|
/**
|
|
4840
4876
|
* Media Upload interactions
|
|
4841
4877
|
*/
|
|
4842
|
-
__publicField$
|
|
4843
|
-
__publicField$
|
|
4844
|
-
__publicField$
|
|
4878
|
+
__publicField$y(this, "uploadMediaButton");
|
|
4879
|
+
__publicField$y(this, "coverImage");
|
|
4880
|
+
__publicField$y(this, "productImage");
|
|
4845
4881
|
/**
|
|
4846
4882
|
* Tabs
|
|
4847
4883
|
*/
|
|
4848
|
-
__publicField$
|
|
4849
|
-
__publicField$
|
|
4850
|
-
__publicField$
|
|
4851
|
-
__publicField$
|
|
4852
|
-
__publicField$
|
|
4853
|
-
__publicField$
|
|
4854
|
-
__publicField$
|
|
4884
|
+
__publicField$y(this, "variantsTabLink");
|
|
4885
|
+
__publicField$y(this, "specificationsTabLink");
|
|
4886
|
+
__publicField$y(this, "advancedPricingTabLink");
|
|
4887
|
+
__publicField$y(this, "layoutTabLink");
|
|
4888
|
+
__publicField$y(this, "crossSellingTabLink");
|
|
4889
|
+
__publicField$y(this, "SEOTabLink");
|
|
4890
|
+
__publicField$y(this, "reviewsTabLink");
|
|
4855
4891
|
/**
|
|
4856
4892
|
* Variants Generation
|
|
4857
4893
|
*/
|
|
4858
|
-
__publicField$
|
|
4859
|
-
__publicField$
|
|
4860
|
-
__publicField$
|
|
4861
|
-
__publicField$
|
|
4862
|
-
__publicField$
|
|
4894
|
+
__publicField$y(this, "generateVariantsButton");
|
|
4895
|
+
__publicField$y(this, "variantsModal");
|
|
4896
|
+
__publicField$y(this, "variantsModalHeadline");
|
|
4897
|
+
__publicField$y(this, "variantsNextButton");
|
|
4898
|
+
__publicField$y(this, "variantsSaveButton");
|
|
4863
4899
|
/**
|
|
4864
4900
|
* Property Selection
|
|
4865
4901
|
*/
|
|
4866
|
-
__publicField$
|
|
4867
|
-
__publicField$
|
|
4868
|
-
__publicField$
|
|
4869
|
-
__publicField$
|
|
4870
|
-
__publicField$
|
|
4871
|
-
__publicField$
|
|
4872
|
-
__publicField$
|
|
4873
|
-
__publicField$
|
|
4874
|
-
__publicField$
|
|
4902
|
+
__publicField$y(this, "propertyGroupColor");
|
|
4903
|
+
__publicField$y(this, "propertyGroupSize");
|
|
4904
|
+
__publicField$y(this, "propertyOptionGrid");
|
|
4905
|
+
__publicField$y(this, "propertyOptionColorBlue");
|
|
4906
|
+
__publicField$y(this, "propertyOptionColorRed");
|
|
4907
|
+
__publicField$y(this, "propertyOptionColorGreen");
|
|
4908
|
+
__publicField$y(this, "propertyOptionSizeSmall");
|
|
4909
|
+
__publicField$y(this, "propertyOptionSizeMedium");
|
|
4910
|
+
__publicField$y(this, "propertyOptionSizeLarge");
|
|
4875
4911
|
/**
|
|
4876
4912
|
* Cards
|
|
4877
4913
|
*/
|
|
4878
|
-
__publicField$
|
|
4914
|
+
__publicField$y(this, "customFieldCard");
|
|
4879
4915
|
this.savePhysicalProductButton = page.getByRole("button", { name: "Save" });
|
|
4880
4916
|
this.saveButtonCheckMark = page.locator(".icon--regular-checkmark-xs");
|
|
4881
4917
|
this.saveButtonLoadingSpinner = page.locator("sw-loader");
|
|
@@ -4943,29 +4979,47 @@ class ProductDetail {
|
|
|
4943
4979
|
}
|
|
4944
4980
|
}
|
|
4945
4981
|
|
|
4946
|
-
var __defProp$
|
|
4947
|
-
var __defNormalProp$
|
|
4948
|
-
var __publicField$
|
|
4949
|
-
__defNormalProp$
|
|
4982
|
+
var __defProp$x = Object.defineProperty;
|
|
4983
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4984
|
+
var __publicField$x = (obj, key, value) => {
|
|
4985
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4950
4986
|
return value;
|
|
4951
4987
|
};
|
|
4952
4988
|
class OrderDetail {
|
|
4953
4989
|
constructor(page, instanceMeta) {
|
|
4954
4990
|
this.page = page;
|
|
4955
4991
|
this.instanceMeta = instanceMeta;
|
|
4956
|
-
__publicField$
|
|
4957
|
-
__publicField$
|
|
4958
|
-
__publicField$
|
|
4959
|
-
__publicField$
|
|
4992
|
+
__publicField$x(this, "saveButton");
|
|
4993
|
+
__publicField$x(this, "dataGridContextButton");
|
|
4994
|
+
__publicField$x(this, "orderTag");
|
|
4995
|
+
__publicField$x(this, "lineItem");
|
|
4996
|
+
__publicField$x(this, "lineItemsTable");
|
|
4997
|
+
__publicField$x(this, "documentType");
|
|
4998
|
+
__publicField$x(this, "contextMenuButton");
|
|
4999
|
+
__publicField$x(this, "contextMenu");
|
|
5000
|
+
__publicField$x(this, "contextMenuSendDocument");
|
|
5001
|
+
__publicField$x(this, "sendDocumentModal");
|
|
5002
|
+
__publicField$x(this, "sendDocumentButton");
|
|
5003
|
+
__publicField$x(this, "itemsCardHeader");
|
|
5004
|
+
__publicField$x(this, "sentCheckmark");
|
|
4960
5005
|
/**
|
|
4961
5006
|
* Tabs
|
|
4962
5007
|
*/
|
|
4963
|
-
__publicField$
|
|
4964
|
-
__publicField$
|
|
4965
|
-
__publicField$
|
|
5008
|
+
__publicField$x(this, "generalTabLink");
|
|
5009
|
+
__publicField$x(this, "detailsTabLink");
|
|
5010
|
+
__publicField$x(this, "documentsTabLink");
|
|
4966
5011
|
this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
|
|
4967
5012
|
this.dataGridContextButton = page.locator(".sw-data-grid__actions-menu").and(page.getByRole("button"));
|
|
4968
5013
|
this.orderTag = page.locator(".sw-select-selection-list__item");
|
|
5014
|
+
this.lineItem = page.locator(".sw-data-grid__row");
|
|
5015
|
+
this.lineItemsTable = page.locator(".sw-data-grid__table");
|
|
5016
|
+
this.documentType = page.locator(".sw-data-grid__cell--documentType-name");
|
|
5017
|
+
this.contextMenu = page.locator(".sw-context-menu");
|
|
5018
|
+
this.contextMenuSendDocument = this.contextMenu.getByText("Send document");
|
|
5019
|
+
this.contextMenuButton = page.getByLabel("Open actions menu");
|
|
5020
|
+
this.sendDocumentModal = page.locator(".sw-order-send-document-modal");
|
|
5021
|
+
this.sendDocumentButton = page.getByRole("button").getByText("Send document");
|
|
5022
|
+
this.sentCheckmark = page.locator(".icon--regular-checkmark-xs");
|
|
4969
5023
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
4970
5024
|
this.itemsCardHeader = page.locator(".sw-card__header").getByText("Items");
|
|
4971
5025
|
} else {
|
|
@@ -4983,24 +5037,24 @@ class OrderDetail {
|
|
|
4983
5037
|
}
|
|
4984
5038
|
}
|
|
4985
5039
|
|
|
4986
|
-
var __defProp$
|
|
4987
|
-
var __defNormalProp$
|
|
4988
|
-
var __publicField$
|
|
4989
|
-
__defNormalProp$
|
|
5040
|
+
var __defProp$w = Object.defineProperty;
|
|
5041
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5042
|
+
var __publicField$w = (obj, key, value) => {
|
|
5043
|
+
__defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4990
5044
|
return value;
|
|
4991
5045
|
};
|
|
4992
5046
|
class CustomerListing {
|
|
4993
5047
|
constructor(page) {
|
|
4994
5048
|
this.page = page;
|
|
4995
|
-
__publicField$
|
|
4996
|
-
__publicField$
|
|
4997
|
-
__publicField$
|
|
4998
|
-
__publicField$
|
|
5049
|
+
__publicField$w(this, "headline");
|
|
5050
|
+
__publicField$w(this, "addCustomerButton");
|
|
5051
|
+
__publicField$w(this, "bulkEditButton");
|
|
5052
|
+
__publicField$w(this, "deleteButton");
|
|
4999
5053
|
//Customer Bulk Edit Modal
|
|
5000
|
-
__publicField$
|
|
5001
|
-
__publicField$
|
|
5002
|
-
__publicField$
|
|
5003
|
-
__publicField$
|
|
5054
|
+
__publicField$w(this, "bulkEditModal");
|
|
5055
|
+
__publicField$w(this, "startBulkEditButton");
|
|
5056
|
+
__publicField$w(this, "cancelButton");
|
|
5057
|
+
__publicField$w(this, "modalHeaderCheckbox");
|
|
5004
5058
|
this.headline = page.getByRole("heading", { name: "Customers" });
|
|
5005
5059
|
this.addCustomerButton = page.locator(".sw-customer-list__button-create");
|
|
5006
5060
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
@@ -5061,27 +5115,27 @@ class CustomerListing {
|
|
|
5061
5115
|
}
|
|
5062
5116
|
}
|
|
5063
5117
|
|
|
5064
|
-
var __defProp$
|
|
5065
|
-
var __defNormalProp$
|
|
5066
|
-
var __publicField$
|
|
5067
|
-
__defNormalProp$
|
|
5118
|
+
var __defProp$v = Object.defineProperty;
|
|
5119
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5120
|
+
var __publicField$v = (obj, key, value) => {
|
|
5121
|
+
__defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5068
5122
|
return value;
|
|
5069
5123
|
};
|
|
5070
5124
|
class CustomerDetail {
|
|
5071
5125
|
constructor(page, instanceMeta) {
|
|
5072
5126
|
this.page = page;
|
|
5073
5127
|
this.instanceMeta = instanceMeta;
|
|
5074
|
-
__publicField$
|
|
5075
|
-
__publicField$
|
|
5076
|
-
__publicField$
|
|
5077
|
-
__publicField$
|
|
5078
|
-
__publicField$
|
|
5079
|
-
__publicField$
|
|
5080
|
-
__publicField$
|
|
5081
|
-
__publicField$
|
|
5082
|
-
__publicField$
|
|
5083
|
-
__publicField$
|
|
5084
|
-
__publicField$
|
|
5128
|
+
__publicField$v(this, "editButton");
|
|
5129
|
+
__publicField$v(this, "generalTab");
|
|
5130
|
+
__publicField$v(this, "accountCard");
|
|
5131
|
+
__publicField$v(this, "customFieldCard");
|
|
5132
|
+
__publicField$v(this, "customFieldSetTabs");
|
|
5133
|
+
__publicField$v(this, "customFieldSetTabCustomContent");
|
|
5134
|
+
__publicField$v(this, "customerGroupRequestMessage");
|
|
5135
|
+
__publicField$v(this, "customerGroupAcceptButton");
|
|
5136
|
+
__publicField$v(this, "customerGroupDeclineButton");
|
|
5137
|
+
__publicField$v(this, "tagList");
|
|
5138
|
+
__publicField$v(this, "tagItems");
|
|
5085
5139
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
5086
5140
|
this.generalTab = page.getByRole("link", { name: "General" });
|
|
5087
5141
|
this.accountCard = page.locator(".sw-customer-card");
|
|
@@ -5142,17 +5196,17 @@ class CustomerDetail {
|
|
|
5142
5196
|
}
|
|
5143
5197
|
}
|
|
5144
5198
|
|
|
5145
|
-
var __defProp$
|
|
5146
|
-
var __defNormalProp$
|
|
5147
|
-
var __publicField$
|
|
5148
|
-
__defNormalProp$
|
|
5199
|
+
var __defProp$u = Object.defineProperty;
|
|
5200
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5201
|
+
var __publicField$u = (obj, key, value) => {
|
|
5202
|
+
__defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5149
5203
|
return value;
|
|
5150
5204
|
};
|
|
5151
5205
|
class CustomerGroupListing {
|
|
5152
5206
|
constructor(page) {
|
|
5153
5207
|
this.page = page;
|
|
5154
|
-
__publicField$
|
|
5155
|
-
__publicField$
|
|
5208
|
+
__publicField$u(this, "headline");
|
|
5209
|
+
__publicField$u(this, "addCustomerGroupButton");
|
|
5156
5210
|
this.headline = page.getByRole("heading", { name: "Customer groups" });
|
|
5157
5211
|
this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
|
|
5158
5212
|
}
|
|
@@ -5174,30 +5228,30 @@ class CustomerGroupListing {
|
|
|
5174
5228
|
}
|
|
5175
5229
|
}
|
|
5176
5230
|
|
|
5177
|
-
var __defProp$
|
|
5178
|
-
var __defNormalProp$
|
|
5179
|
-
var __publicField$
|
|
5180
|
-
__defNormalProp$
|
|
5231
|
+
var __defProp$t = Object.defineProperty;
|
|
5232
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5233
|
+
var __publicField$t = (obj, key, value) => {
|
|
5234
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5181
5235
|
return value;
|
|
5182
5236
|
};
|
|
5183
5237
|
class CustomerGroupCreate {
|
|
5184
5238
|
constructor(page, instanceMeta) {
|
|
5185
5239
|
this.page = page;
|
|
5186
5240
|
this.instanceMeta = instanceMeta;
|
|
5187
|
-
__publicField$
|
|
5188
|
-
__publicField$
|
|
5189
|
-
__publicField$
|
|
5190
|
-
__publicField$
|
|
5191
|
-
__publicField$
|
|
5192
|
-
__publicField$
|
|
5193
|
-
__publicField$
|
|
5194
|
-
__publicField$
|
|
5195
|
-
__publicField$
|
|
5196
|
-
__publicField$
|
|
5197
|
-
__publicField$
|
|
5198
|
-
__publicField$
|
|
5199
|
-
__publicField$
|
|
5200
|
-
__publicField$
|
|
5241
|
+
__publicField$t(this, "headline");
|
|
5242
|
+
__publicField$t(this, "saveButton");
|
|
5243
|
+
__publicField$t(this, "cancelButton");
|
|
5244
|
+
__publicField$t(this, "cardTitle");
|
|
5245
|
+
__publicField$t(this, "customerGroupNameField");
|
|
5246
|
+
__publicField$t(this, "customerGroupGrossTaxDisplay");
|
|
5247
|
+
__publicField$t(this, "customerGroupNetTaxDisplay");
|
|
5248
|
+
__publicField$t(this, "customSignupFormToggle");
|
|
5249
|
+
__publicField$t(this, "signupFormTitle");
|
|
5250
|
+
__publicField$t(this, "signupFormIntroduction");
|
|
5251
|
+
__publicField$t(this, "signupFormSeoDescription");
|
|
5252
|
+
__publicField$t(this, "signupFormCompanySignupToggle");
|
|
5253
|
+
__publicField$t(this, "customerGroupSaleschannelSelection");
|
|
5254
|
+
__publicField$t(this, "customerGroupSaleschannelResultList");
|
|
5201
5255
|
this.headline = page.getByRole("heading", { name: "New customer group" });
|
|
5202
5256
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5203
5257
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
@@ -5223,10 +5277,10 @@ class CustomerGroupCreate {
|
|
|
5223
5277
|
}
|
|
5224
5278
|
}
|
|
5225
5279
|
|
|
5226
|
-
var __defProp$
|
|
5227
|
-
var __defNormalProp$
|
|
5228
|
-
var __publicField$
|
|
5229
|
-
__defNormalProp$
|
|
5280
|
+
var __defProp$s = Object.defineProperty;
|
|
5281
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5282
|
+
var __publicField$s = (obj, key, value) => {
|
|
5283
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5230
5284
|
return value;
|
|
5231
5285
|
};
|
|
5232
5286
|
class CustomerGroupDetail extends CustomerGroupCreate {
|
|
@@ -5234,10 +5288,10 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5234
5288
|
super(page, instanceMeta);
|
|
5235
5289
|
this.page = page;
|
|
5236
5290
|
this.instanceMeta = instanceMeta;
|
|
5237
|
-
__publicField$
|
|
5238
|
-
__publicField$
|
|
5239
|
-
__publicField$
|
|
5240
|
-
__publicField$
|
|
5291
|
+
__publicField$s(this, "headline");
|
|
5292
|
+
__publicField$s(this, "selectedSalesChannel");
|
|
5293
|
+
__publicField$s(this, "technicalUrl");
|
|
5294
|
+
__publicField$s(this, "saleschannelUrl");
|
|
5241
5295
|
this.headline = page.locator(".smart-bar__header");
|
|
5242
5296
|
this.selectedSalesChannel = page.locator(".sw-select-selection-list");
|
|
5243
5297
|
this.technicalUrl = page.getByLabel("Technical URL");
|
|
@@ -5248,66 +5302,66 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5248
5302
|
}
|
|
5249
5303
|
}
|
|
5250
5304
|
|
|
5251
|
-
var __defProp$
|
|
5252
|
-
var __defNormalProp$
|
|
5253
|
-
var __publicField$
|
|
5254
|
-
__defNormalProp$
|
|
5305
|
+
var __defProp$r = Object.defineProperty;
|
|
5306
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5307
|
+
var __publicField$r = (obj, key, value) => {
|
|
5308
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5255
5309
|
return value;
|
|
5256
5310
|
};
|
|
5257
5311
|
class FirstRunWizard {
|
|
5258
5312
|
constructor(page, instanceMeta) {
|
|
5259
5313
|
this.page = page;
|
|
5260
5314
|
this.instanceMeta = instanceMeta;
|
|
5261
|
-
__publicField$
|
|
5262
|
-
__publicField$
|
|
5263
|
-
__publicField$
|
|
5264
|
-
__publicField$
|
|
5265
|
-
__publicField$
|
|
5266
|
-
__publicField$
|
|
5267
|
-
__publicField$
|
|
5268
|
-
__publicField$
|
|
5269
|
-
__publicField$
|
|
5270
|
-
__publicField$
|
|
5271
|
-
__publicField$
|
|
5272
|
-
__publicField$
|
|
5273
|
-
__publicField$
|
|
5274
|
-
__publicField$
|
|
5275
|
-
__publicField$
|
|
5276
|
-
__publicField$
|
|
5277
|
-
__publicField$
|
|
5278
|
-
__publicField$
|
|
5279
|
-
__publicField$
|
|
5280
|
-
__publicField$
|
|
5281
|
-
__publicField$
|
|
5282
|
-
__publicField$
|
|
5283
|
-
__publicField$
|
|
5284
|
-
__publicField$
|
|
5315
|
+
__publicField$r(this, "nextButton");
|
|
5316
|
+
__publicField$r(this, "configureLaterButton");
|
|
5317
|
+
__publicField$r(this, "skipButton");
|
|
5318
|
+
__publicField$r(this, "finishButton");
|
|
5319
|
+
__publicField$r(this, "backButton");
|
|
5320
|
+
__publicField$r(this, "smtpServerButton");
|
|
5321
|
+
__publicField$r(this, "dataImportHeader");
|
|
5322
|
+
__publicField$r(this, "installLanguagePackButton");
|
|
5323
|
+
__publicField$r(this, "installDemoDataButton");
|
|
5324
|
+
__publicField$r(this, "installMigrationAssistantButton");
|
|
5325
|
+
__publicField$r(this, "defaultValuesHeader");
|
|
5326
|
+
__publicField$r(this, "mailerConfigurationHeader");
|
|
5327
|
+
__publicField$r(this, "payPalSetupHeader");
|
|
5328
|
+
__publicField$r(this, "extensionsHeader");
|
|
5329
|
+
__publicField$r(this, "shopwareAccountHeader");
|
|
5330
|
+
__publicField$r(this, "shopwareStoreHeader");
|
|
5331
|
+
__publicField$r(this, "doneHeader");
|
|
5332
|
+
__publicField$r(this, "frwSuccessText");
|
|
5333
|
+
__publicField$r(this, "welcomeText");
|
|
5334
|
+
__publicField$r(this, "pluginCardInfo");
|
|
5335
|
+
__publicField$r(this, "dataImportCard");
|
|
5336
|
+
__publicField$r(this, "salesChannelSelectionList");
|
|
5337
|
+
__publicField$r(this, "salesChannelSelectionMultiSelect");
|
|
5338
|
+
__publicField$r(this, "smtpServerTitle");
|
|
5285
5339
|
/**
|
|
5286
5340
|
* @deprecated - Use `smtpServerFieldInputs` instead.
|
|
5287
5341
|
*/
|
|
5288
|
-
__publicField$
|
|
5289
|
-
__publicField$
|
|
5290
|
-
__publicField$
|
|
5291
|
-
__publicField$
|
|
5292
|
-
__publicField$
|
|
5293
|
-
__publicField$
|
|
5294
|
-
__publicField$
|
|
5295
|
-
__publicField$
|
|
5296
|
-
__publicField$
|
|
5297
|
-
__publicField$
|
|
5298
|
-
__publicField$
|
|
5299
|
-
__publicField$
|
|
5300
|
-
__publicField$
|
|
5301
|
-
__publicField$
|
|
5302
|
-
__publicField$
|
|
5303
|
-
__publicField$
|
|
5304
|
-
__publicField$
|
|
5305
|
-
__publicField$
|
|
5306
|
-
__publicField$
|
|
5307
|
-
__publicField$
|
|
5308
|
-
__publicField$
|
|
5309
|
-
__publicField$
|
|
5310
|
-
__publicField$
|
|
5342
|
+
__publicField$r(this, "smtpServerFields");
|
|
5343
|
+
__publicField$r(this, "smtpServerFieldInputs");
|
|
5344
|
+
__publicField$r(this, "smtpServerHostInput");
|
|
5345
|
+
__publicField$r(this, "smtpServerPortInput");
|
|
5346
|
+
__publicField$r(this, "smtpServerUsernameInput");
|
|
5347
|
+
__publicField$r(this, "smtpServerPasswordInput");
|
|
5348
|
+
__publicField$r(this, "smtpServerEncryptionInput");
|
|
5349
|
+
__publicField$r(this, "smtpServerSenderAddressInput");
|
|
5350
|
+
__publicField$r(this, "smtpServerDeliveryAddressInput");
|
|
5351
|
+
__publicField$r(this, "smtpServerDisableEmailDeliveryCheckbox");
|
|
5352
|
+
__publicField$r(this, "payPalPaymethods");
|
|
5353
|
+
__publicField$r(this, "payPalInfoCard");
|
|
5354
|
+
__publicField$r(this, "emailAddressInputField");
|
|
5355
|
+
__publicField$r(this, "passwordInputField");
|
|
5356
|
+
__publicField$r(this, "forgotPasswordLink");
|
|
5357
|
+
__publicField$r(this, "extensionStoreHeading");
|
|
5358
|
+
__publicField$r(this, "documentationLink");
|
|
5359
|
+
__publicField$r(this, "forumLink");
|
|
5360
|
+
__publicField$r(this, "roadmapLink");
|
|
5361
|
+
__publicField$r(this, "germanRegionSelector");
|
|
5362
|
+
__publicField$r(this, "toolsSelector");
|
|
5363
|
+
__publicField$r(this, "recommendationHeader");
|
|
5364
|
+
__publicField$r(this, "toolsRecommendedPlugin");
|
|
5311
5365
|
this.nextButton = page.getByText("Next", { exact: true });
|
|
5312
5366
|
this.configureLaterButton = page.getByText("Configure later", { exact: true });
|
|
5313
5367
|
this.skipButton = page.getByText("Skip", { exact: true });
|
|
@@ -5365,23 +5419,23 @@ class FirstRunWizard {
|
|
|
5365
5419
|
}
|
|
5366
5420
|
}
|
|
5367
5421
|
|
|
5368
|
-
var __defProp$
|
|
5369
|
-
var __defNormalProp$
|
|
5370
|
-
var __publicField$
|
|
5371
|
-
__defNormalProp$
|
|
5422
|
+
var __defProp$q = Object.defineProperty;
|
|
5423
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5424
|
+
var __publicField$q = (obj, key, value) => {
|
|
5425
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5372
5426
|
return value;
|
|
5373
5427
|
};
|
|
5374
5428
|
class FlowBuilderCreate {
|
|
5375
5429
|
constructor(page) {
|
|
5376
5430
|
this.page = page;
|
|
5377
|
-
__publicField$
|
|
5378
|
-
__publicField$
|
|
5379
|
-
__publicField$
|
|
5380
|
-
__publicField$
|
|
5381
|
-
__publicField$
|
|
5382
|
-
__publicField$
|
|
5383
|
-
__publicField$
|
|
5384
|
-
__publicField$
|
|
5431
|
+
__publicField$q(this, "saveButton");
|
|
5432
|
+
__publicField$q(this, "header");
|
|
5433
|
+
__publicField$q(this, "nameField");
|
|
5434
|
+
__publicField$q(this, "flowTab");
|
|
5435
|
+
__publicField$q(this, "triggerSelectField");
|
|
5436
|
+
__publicField$q(this, "addActionField");
|
|
5437
|
+
__publicField$q(this, "smartBarHeader");
|
|
5438
|
+
__publicField$q(this, "newFlowHeader");
|
|
5385
5439
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
5386
5440
|
this.header = page.locator("h2");
|
|
5387
5441
|
this.nameField = page.locator(".sw-flow-detail-general__general-name").getByLabel("Name");
|
|
@@ -5399,29 +5453,29 @@ class FlowBuilderCreate {
|
|
|
5399
5453
|
}
|
|
5400
5454
|
}
|
|
5401
5455
|
|
|
5402
|
-
var __defProp$
|
|
5403
|
-
var __defNormalProp$
|
|
5404
|
-
var __publicField$
|
|
5405
|
-
__defNormalProp$
|
|
5456
|
+
var __defProp$p = Object.defineProperty;
|
|
5457
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5458
|
+
var __publicField$p = (obj, key, value) => {
|
|
5459
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5406
5460
|
return value;
|
|
5407
5461
|
};
|
|
5408
5462
|
class FlowBuilderListing {
|
|
5409
5463
|
constructor(page) {
|
|
5410
5464
|
this.page = page;
|
|
5411
|
-
__publicField$
|
|
5412
|
-
__publicField$
|
|
5413
|
-
__publicField$
|
|
5414
|
-
__publicField$
|
|
5415
|
-
__publicField$
|
|
5416
|
-
__publicField$
|
|
5417
|
-
__publicField$
|
|
5418
|
-
__publicField$
|
|
5419
|
-
__publicField$
|
|
5420
|
-
__publicField$
|
|
5421
|
-
__publicField$
|
|
5422
|
-
__publicField$
|
|
5423
|
-
__publicField$
|
|
5424
|
-
__publicField$
|
|
5465
|
+
__publicField$p(this, "createFlowButton");
|
|
5466
|
+
__publicField$p(this, "firstFlowName");
|
|
5467
|
+
__publicField$p(this, "firstFlowContextButton");
|
|
5468
|
+
__publicField$p(this, "flowContextMenu");
|
|
5469
|
+
__publicField$p(this, "contextMenuDownload");
|
|
5470
|
+
__publicField$p(this, "contextMenuDuplicate");
|
|
5471
|
+
__publicField$p(this, "contextMenuEdit");
|
|
5472
|
+
__publicField$p(this, "contextMenuDelete");
|
|
5473
|
+
__publicField$p(this, "flowDownloadModal");
|
|
5474
|
+
__publicField$p(this, "downloadFlowButton");
|
|
5475
|
+
__publicField$p(this, "flowDeleteButton");
|
|
5476
|
+
__publicField$p(this, "successAlert");
|
|
5477
|
+
__publicField$p(this, "successAlertMessage");
|
|
5478
|
+
__publicField$p(this, "searchBar");
|
|
5425
5479
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
5426
5480
|
this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
|
|
5427
5481
|
this.firstFlowContextButton = page.locator(".sw-data-grid__actions-menu").first();
|
|
@@ -5479,10 +5533,10 @@ class FlowBuilderTemplates extends FlowBuilderListing {
|
|
|
5479
5533
|
}
|
|
5480
5534
|
}
|
|
5481
5535
|
|
|
5482
|
-
var __defProp$
|
|
5483
|
-
var __defNormalProp$
|
|
5484
|
-
var __publicField$
|
|
5485
|
-
__defNormalProp$
|
|
5536
|
+
var __defProp$o = Object.defineProperty;
|
|
5537
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5538
|
+
var __publicField$o = (obj, key, value) => {
|
|
5539
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5486
5540
|
return value;
|
|
5487
5541
|
};
|
|
5488
5542
|
class FlowBuilderDetail extends FlowBuilderCreate {
|
|
@@ -5490,13 +5544,13 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5490
5544
|
super(page);
|
|
5491
5545
|
this.page = page;
|
|
5492
5546
|
this.instanceMeta = instanceMeta;
|
|
5493
|
-
__publicField$
|
|
5494
|
-
__publicField$
|
|
5495
|
-
__publicField$
|
|
5496
|
-
__publicField$
|
|
5497
|
-
__publicField$
|
|
5498
|
-
__publicField$
|
|
5499
|
-
__publicField$
|
|
5547
|
+
__publicField$o(this, "saveButtonLoader");
|
|
5548
|
+
__publicField$o(this, "saveButton");
|
|
5549
|
+
__publicField$o(this, "generalTab");
|
|
5550
|
+
__publicField$o(this, "flowTab");
|
|
5551
|
+
__publicField$o(this, "alertWarning");
|
|
5552
|
+
__publicField$o(this, "templateName");
|
|
5553
|
+
__publicField$o(this, "alertMessage");
|
|
5500
5554
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
5501
5555
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
5502
5556
|
this.saveButtonLoader = page.locator(".sw-button--primary").locator(".sw-button_loader");
|
|
@@ -5516,21 +5570,21 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5516
5570
|
}
|
|
5517
5571
|
}
|
|
5518
5572
|
|
|
5519
|
-
var __defProp$
|
|
5520
|
-
var __defNormalProp$
|
|
5521
|
-
var __publicField$
|
|
5522
|
-
__defNormalProp$
|
|
5573
|
+
var __defProp$n = Object.defineProperty;
|
|
5574
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5575
|
+
var __publicField$n = (obj, key, value) => {
|
|
5576
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5523
5577
|
return value;
|
|
5524
5578
|
};
|
|
5525
5579
|
class DataSharing {
|
|
5526
5580
|
constructor(page, instanceMeta) {
|
|
5527
5581
|
this.page = page;
|
|
5528
5582
|
this.instanceMeta = instanceMeta;
|
|
5529
|
-
__publicField$
|
|
5530
|
-
__publicField$
|
|
5531
|
-
__publicField$
|
|
5532
|
-
__publicField$
|
|
5533
|
-
__publicField$
|
|
5583
|
+
__publicField$n(this, "dataConsentHeadline");
|
|
5584
|
+
__publicField$n(this, "dataSharingSuccessMessageLabel");
|
|
5585
|
+
__publicField$n(this, "dataSharingAgreeButton");
|
|
5586
|
+
__publicField$n(this, "dataSharingDisableButton");
|
|
5587
|
+
__publicField$n(this, "dataSharingTermsAgreementLabel");
|
|
5534
5588
|
if (satisfies(instanceMeta.version, "<6.6.1")) {
|
|
5535
5589
|
this.dataConsentHeadline = page.locator("header.sw-usage-data-consent-banner__title");
|
|
5536
5590
|
} else {
|
|
@@ -5549,23 +5603,23 @@ class DataSharing {
|
|
|
5549
5603
|
}
|
|
5550
5604
|
}
|
|
5551
5605
|
|
|
5552
|
-
var __defProp$
|
|
5553
|
-
var __defNormalProp$
|
|
5554
|
-
var __publicField$
|
|
5555
|
-
__defNormalProp$
|
|
5606
|
+
var __defProp$m = Object.defineProperty;
|
|
5607
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5608
|
+
var __publicField$m = (obj, key, value) => {
|
|
5609
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5556
5610
|
return value;
|
|
5557
5611
|
};
|
|
5558
5612
|
class Dashboard {
|
|
5559
5613
|
constructor(page) {
|
|
5560
5614
|
this.page = page;
|
|
5561
|
-
__publicField$
|
|
5562
|
-
__publicField$
|
|
5563
|
-
__publicField$
|
|
5564
|
-
__publicField$
|
|
5565
|
-
__publicField$
|
|
5566
|
-
__publicField$
|
|
5567
|
-
__publicField$
|
|
5568
|
-
__publicField$
|
|
5615
|
+
__publicField$m(this, "welcomeHeadline");
|
|
5616
|
+
__publicField$m(this, "dataSharingConsentBanner");
|
|
5617
|
+
__publicField$m(this, "dataSharingAgreeButton");
|
|
5618
|
+
__publicField$m(this, "dataSharingNotAtTheMomentButton");
|
|
5619
|
+
__publicField$m(this, "dataSharingTermsAgreementLabel");
|
|
5620
|
+
__publicField$m(this, "dataSharingSettingsLink");
|
|
5621
|
+
__publicField$m(this, "dataSharingAcceptMessageText");
|
|
5622
|
+
__publicField$m(this, "dataSharingNotAtTheMomentMessageText");
|
|
5569
5623
|
this.welcomeHeadline = page.locator("h1.sw-dashboard-index__welcome-title");
|
|
5570
5624
|
this.dataSharingConsentBanner = page.locator(".sw-usage-data-consent-banner");
|
|
5571
5625
|
this.dataSharingAgreeButton = page.getByRole("button", { name: "Agree" });
|
|
@@ -5580,25 +5634,25 @@ class Dashboard {
|
|
|
5580
5634
|
}
|
|
5581
5635
|
}
|
|
5582
5636
|
|
|
5583
|
-
var __defProp$
|
|
5584
|
-
var __defNormalProp$
|
|
5585
|
-
var __publicField$
|
|
5586
|
-
__defNormalProp$
|
|
5637
|
+
var __defProp$l = Object.defineProperty;
|
|
5638
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5639
|
+
var __publicField$l = (obj, key, value) => {
|
|
5640
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5587
5641
|
return value;
|
|
5588
5642
|
};
|
|
5589
5643
|
class ShippingListing {
|
|
5590
5644
|
constructor(page) {
|
|
5591
5645
|
this.page = page;
|
|
5592
|
-
__publicField$
|
|
5593
|
-
__publicField$
|
|
5594
|
-
__publicField$
|
|
5595
|
-
__publicField$
|
|
5596
|
-
__publicField$
|
|
5646
|
+
__publicField$l(this, "header");
|
|
5647
|
+
__publicField$l(this, "addShippingMethod");
|
|
5648
|
+
__publicField$l(this, "contextMenu");
|
|
5649
|
+
__publicField$l(this, "editButton");
|
|
5650
|
+
__publicField$l(this, "deleteButton");
|
|
5597
5651
|
//warning modal
|
|
5598
|
-
__publicField$
|
|
5599
|
-
__publicField$
|
|
5600
|
-
__publicField$
|
|
5601
|
-
__publicField$
|
|
5652
|
+
__publicField$l(this, "modal");
|
|
5653
|
+
__publicField$l(this, "modalHeader");
|
|
5654
|
+
__publicField$l(this, "modalCancelButton");
|
|
5655
|
+
__publicField$l(this, "modalDeleteButton");
|
|
5602
5656
|
this.header = page.locator(".smart-bar__header");
|
|
5603
5657
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
5604
5658
|
this.contextMenu = page.locator(".sw-data-grid-settings__trigger");
|
|
@@ -5614,19 +5668,19 @@ class ShippingListing {
|
|
|
5614
5668
|
}
|
|
5615
5669
|
}
|
|
5616
5670
|
|
|
5617
|
-
var __defProp$
|
|
5618
|
-
var __defNormalProp$
|
|
5619
|
-
var __publicField$
|
|
5620
|
-
__defNormalProp$
|
|
5671
|
+
var __defProp$k = Object.defineProperty;
|
|
5672
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5673
|
+
var __publicField$k = (obj, key, value) => {
|
|
5674
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5621
5675
|
return value;
|
|
5622
5676
|
};
|
|
5623
5677
|
class ShippingDetail {
|
|
5624
5678
|
constructor(page) {
|
|
5625
5679
|
this.page = page;
|
|
5626
|
-
__publicField$
|
|
5627
|
-
__publicField$
|
|
5628
|
-
__publicField$
|
|
5629
|
-
__publicField$
|
|
5680
|
+
__publicField$k(this, "header");
|
|
5681
|
+
__publicField$k(this, "nameField");
|
|
5682
|
+
__publicField$k(this, "availabilityRuleField");
|
|
5683
|
+
__publicField$k(this, "availabilityRuleListItem");
|
|
5630
5684
|
this.header = page.locator(".smart-bar__header");
|
|
5631
5685
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
5632
5686
|
this.availabilityRuleField = page.locator(".sw-settings-shipping-detail__top-rule").locator(".sw-entity-single-select__selection-text");
|
|
@@ -5640,19 +5694,19 @@ class ShippingDetail {
|
|
|
5640
5694
|
}
|
|
5641
5695
|
}
|
|
5642
5696
|
|
|
5643
|
-
var __defProp$
|
|
5644
|
-
var __defNormalProp$
|
|
5645
|
-
var __publicField$
|
|
5646
|
-
__defNormalProp$
|
|
5697
|
+
var __defProp$j = Object.defineProperty;
|
|
5698
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5699
|
+
var __publicField$j = (obj, key, value) => {
|
|
5700
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5647
5701
|
return value;
|
|
5648
5702
|
};
|
|
5649
5703
|
class PaymentDetail {
|
|
5650
5704
|
constructor(page) {
|
|
5651
5705
|
this.page = page;
|
|
5652
|
-
__publicField$
|
|
5653
|
-
__publicField$
|
|
5654
|
-
__publicField$
|
|
5655
|
-
__publicField$
|
|
5706
|
+
__publicField$j(this, "header");
|
|
5707
|
+
__publicField$j(this, "nameField");
|
|
5708
|
+
__publicField$j(this, "availabilityRuleField");
|
|
5709
|
+
__publicField$j(this, "availabilityRuleListItem");
|
|
5656
5710
|
this.header = page.locator(".smart-bar__header");
|
|
5657
5711
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
5658
5712
|
this.availabilityRuleField = page.locator(".sw-settings-payment-detail__field-availability-rule").locator(".sw-entity-single-select__selection-text");
|
|
@@ -5666,10 +5720,10 @@ class PaymentDetail {
|
|
|
5666
5720
|
}
|
|
5667
5721
|
}
|
|
5668
5722
|
|
|
5669
|
-
var __defProp$
|
|
5670
|
-
var __defNormalProp$
|
|
5671
|
-
var __publicField$
|
|
5672
|
-
__defNormalProp$
|
|
5723
|
+
var __defProp$i = Object.defineProperty;
|
|
5724
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5725
|
+
var __publicField$i = (obj, key, value) => {
|
|
5726
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5673
5727
|
return value;
|
|
5674
5728
|
};
|
|
5675
5729
|
class LandingPageCreate {
|
|
@@ -5678,24 +5732,24 @@ class LandingPageCreate {
|
|
|
5678
5732
|
/**
|
|
5679
5733
|
* General
|
|
5680
5734
|
*/
|
|
5681
|
-
__publicField$
|
|
5682
|
-
__publicField$
|
|
5683
|
-
__publicField$
|
|
5684
|
-
__publicField$
|
|
5685
|
-
__publicField$
|
|
5686
|
-
__publicField$
|
|
5687
|
-
__publicField$
|
|
5735
|
+
__publicField$i(this, "nameInput");
|
|
5736
|
+
__publicField$i(this, "landingPageStatus");
|
|
5737
|
+
__publicField$i(this, "salesChannelSelectionList");
|
|
5738
|
+
__publicField$i(this, "filtersResultPopoverItemList");
|
|
5739
|
+
__publicField$i(this, "saveLandingPageButton");
|
|
5740
|
+
__publicField$i(this, "loadingSpinner");
|
|
5741
|
+
__publicField$i(this, "seoUrlInput");
|
|
5688
5742
|
/**
|
|
5689
5743
|
* Layout
|
|
5690
5744
|
*/
|
|
5691
|
-
__publicField$
|
|
5692
|
-
__publicField$
|
|
5693
|
-
__publicField$
|
|
5694
|
-
__publicField$
|
|
5695
|
-
__publicField$
|
|
5696
|
-
__publicField$
|
|
5697
|
-
__publicField$
|
|
5698
|
-
__publicField$
|
|
5745
|
+
__publicField$i(this, "layoutTab");
|
|
5746
|
+
__publicField$i(this, "assignLayoutButton");
|
|
5747
|
+
__publicField$i(this, "searchLayoutInput");
|
|
5748
|
+
__publicField$i(this, "layoutItems");
|
|
5749
|
+
__publicField$i(this, "layoutSaveButton");
|
|
5750
|
+
__publicField$i(this, "layoutEmptyState");
|
|
5751
|
+
__publicField$i(this, "createNewLayoutButton");
|
|
5752
|
+
__publicField$i(this, "layoutCheckboxes");
|
|
5699
5753
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5700
5754
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
5701
5755
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5720,10 +5774,10 @@ class LandingPageCreate {
|
|
|
5720
5774
|
}
|
|
5721
5775
|
}
|
|
5722
5776
|
|
|
5723
|
-
var __defProp$
|
|
5724
|
-
var __defNormalProp$
|
|
5725
|
-
var __publicField$
|
|
5726
|
-
__defNormalProp$
|
|
5777
|
+
var __defProp$h = Object.defineProperty;
|
|
5778
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5779
|
+
var __publicField$h = (obj, key, value) => {
|
|
5780
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5727
5781
|
return value;
|
|
5728
5782
|
};
|
|
5729
5783
|
class LandingPageDetail {
|
|
@@ -5732,24 +5786,24 @@ class LandingPageDetail {
|
|
|
5732
5786
|
/**
|
|
5733
5787
|
* General
|
|
5734
5788
|
*/
|
|
5735
|
-
__publicField$
|
|
5736
|
-
__publicField$
|
|
5737
|
-
__publicField$
|
|
5738
|
-
__publicField$
|
|
5739
|
-
__publicField$
|
|
5740
|
-
__publicField$
|
|
5741
|
-
__publicField$
|
|
5789
|
+
__publicField$h(this, "nameInput");
|
|
5790
|
+
__publicField$h(this, "landingPageStatus");
|
|
5791
|
+
__publicField$h(this, "salesChannelSelectionList");
|
|
5792
|
+
__publicField$h(this, "filtersResultPopoverItemList");
|
|
5793
|
+
__publicField$h(this, "saveLandingPageButton");
|
|
5794
|
+
__publicField$h(this, "loadingSpinner");
|
|
5795
|
+
__publicField$h(this, "seoUrlInput");
|
|
5742
5796
|
/**
|
|
5743
5797
|
* Layout
|
|
5744
5798
|
*/
|
|
5745
|
-
__publicField$
|
|
5746
|
-
__publicField$
|
|
5747
|
-
__publicField$
|
|
5748
|
-
__publicField$
|
|
5749
|
-
__publicField$
|
|
5750
|
-
__publicField$
|
|
5751
|
-
__publicField$
|
|
5752
|
-
__publicField$
|
|
5799
|
+
__publicField$h(this, "layoutTab");
|
|
5800
|
+
__publicField$h(this, "layoutAssignmentCardTitle");
|
|
5801
|
+
__publicField$h(this, "layoutAssignmentCardHeadline");
|
|
5802
|
+
__publicField$h(this, "changeLayoutButton");
|
|
5803
|
+
__publicField$h(this, "editInDesignerButton");
|
|
5804
|
+
__publicField$h(this, "layoutResetButton");
|
|
5805
|
+
__publicField$h(this, "layoutAssignmentStatus");
|
|
5806
|
+
__publicField$h(this, "layoutAssignmentContentSection");
|
|
5753
5807
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5754
5808
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
5755
5809
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5773,10 +5827,10 @@ class LandingPageDetail {
|
|
|
5773
5827
|
}
|
|
5774
5828
|
}
|
|
5775
5829
|
|
|
5776
|
-
var __defProp$
|
|
5777
|
-
var __defNormalProp$
|
|
5778
|
-
var __publicField$
|
|
5779
|
-
__defNormalProp$
|
|
5830
|
+
var __defProp$g = Object.defineProperty;
|
|
5831
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5832
|
+
var __publicField$g = (obj, key, value) => {
|
|
5833
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5780
5834
|
return value;
|
|
5781
5835
|
};
|
|
5782
5836
|
class Categories {
|
|
@@ -5786,42 +5840,42 @@ class Categories {
|
|
|
5786
5840
|
/**
|
|
5787
5841
|
* Landing pages
|
|
5788
5842
|
*/
|
|
5789
|
-
__publicField$
|
|
5790
|
-
__publicField$
|
|
5791
|
-
__publicField$
|
|
5792
|
-
__publicField$
|
|
5843
|
+
__publicField$g(this, "landingPageArea");
|
|
5844
|
+
__publicField$g(this, "landingPageHeadline");
|
|
5845
|
+
__publicField$g(this, "addLandingPageButton");
|
|
5846
|
+
__publicField$g(this, "landingPageItems");
|
|
5793
5847
|
/**
|
|
5794
5848
|
* Category tree
|
|
5795
5849
|
*/
|
|
5796
|
-
__publicField$
|
|
5797
|
-
__publicField$
|
|
5798
|
-
__publicField$
|
|
5799
|
-
__publicField$
|
|
5800
|
-
__publicField$
|
|
5801
|
-
__publicField$
|
|
5850
|
+
__publicField$g(this, "categoryTree");
|
|
5851
|
+
__publicField$g(this, "categoryMenuItemList");
|
|
5852
|
+
__publicField$g(this, "createCategoryInput");
|
|
5853
|
+
__publicField$g(this, "confirmCategoryCreationButton");
|
|
5854
|
+
__publicField$g(this, "confirmCategoryCancelButton");
|
|
5855
|
+
__publicField$g(this, "categoryItems");
|
|
5802
5856
|
/**
|
|
5803
5857
|
* General
|
|
5804
5858
|
*/
|
|
5805
|
-
__publicField$
|
|
5806
|
-
__publicField$
|
|
5807
|
-
__publicField$
|
|
5808
|
-
__publicField$
|
|
5809
|
-
__publicField$
|
|
5810
|
-
__publicField$
|
|
5811
|
-
__publicField$
|
|
5859
|
+
__publicField$g(this, "nameInput");
|
|
5860
|
+
__publicField$g(this, "activeCheckbox");
|
|
5861
|
+
__publicField$g(this, "categoryTypeSelectionList");
|
|
5862
|
+
__publicField$g(this, "filtersResultPopoverItemList");
|
|
5863
|
+
__publicField$g(this, "saveButton");
|
|
5864
|
+
__publicField$g(this, "loadingSpinner");
|
|
5865
|
+
__publicField$g(this, "fadingBar");
|
|
5812
5866
|
/**
|
|
5813
5867
|
* Customisable link
|
|
5814
5868
|
*/
|
|
5815
|
-
__publicField$
|
|
5816
|
-
__publicField$
|
|
5817
|
-
__publicField$
|
|
5818
|
-
__publicField$
|
|
5819
|
-
__publicField$
|
|
5820
|
-
__publicField$
|
|
5821
|
-
__publicField$
|
|
5822
|
-
__publicField$
|
|
5823
|
-
__publicField$
|
|
5824
|
-
__publicField$
|
|
5869
|
+
__publicField$g(this, "entitySelectionList");
|
|
5870
|
+
__publicField$g(this, "linkTypeSelectionList");
|
|
5871
|
+
__publicField$g(this, "categorySelectionList");
|
|
5872
|
+
__publicField$g(this, "productSelectionList");
|
|
5873
|
+
__publicField$g(this, "landingPageSelectionList");
|
|
5874
|
+
__publicField$g(this, "filterResultPopoverTreeCheckboxItemList");
|
|
5875
|
+
__publicField$g(this, "openInNewTabCheckbox");
|
|
5876
|
+
__publicField$g(this, "popoverCategoryTree");
|
|
5877
|
+
__publicField$g(this, "categorySelectionListWrapper");
|
|
5878
|
+
__publicField$g(this, "productSelectionInput");
|
|
5825
5879
|
this.landingPageArea = page.locator(".sw-category-detail__landing-page-collapse");
|
|
5826
5880
|
this.landingPageHeadline = this.landingPageArea.getByRole("heading", { name: "Landing pages" });
|
|
5827
5881
|
this.addLandingPageButton = this.landingPageArea.getByText("Add landing page");
|
|
@@ -5865,17 +5919,17 @@ class Categories {
|
|
|
5865
5919
|
}
|
|
5866
5920
|
}
|
|
5867
5921
|
|
|
5868
|
-
var __defProp$
|
|
5869
|
-
var __defNormalProp$
|
|
5870
|
-
var __publicField$
|
|
5871
|
-
__defNormalProp$
|
|
5922
|
+
var __defProp$f = Object.defineProperty;
|
|
5923
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5924
|
+
var __publicField$f = (obj, key, value) => {
|
|
5925
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5872
5926
|
return value;
|
|
5873
5927
|
};
|
|
5874
5928
|
class CustomFieldListing {
|
|
5875
5929
|
constructor(page) {
|
|
5876
5930
|
this.page = page;
|
|
5877
|
-
__publicField$
|
|
5878
|
-
__publicField$
|
|
5931
|
+
__publicField$f(this, "addNewSetButton");
|
|
5932
|
+
__publicField$f(this, "customFieldRows");
|
|
5879
5933
|
this.addNewSetButton = page.getByText("Add new set");
|
|
5880
5934
|
this.customFieldRows = page.getByRole("row");
|
|
5881
5935
|
}
|
|
@@ -5903,22 +5957,22 @@ class CustomFieldListing {
|
|
|
5903
5957
|
}
|
|
5904
5958
|
}
|
|
5905
5959
|
|
|
5906
|
-
var __defProp$
|
|
5907
|
-
var __defNormalProp$
|
|
5908
|
-
var __publicField$
|
|
5909
|
-
__defNormalProp$
|
|
5960
|
+
var __defProp$e = Object.defineProperty;
|
|
5961
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5962
|
+
var __publicField$e = (obj, key, value) => {
|
|
5963
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5910
5964
|
return value;
|
|
5911
5965
|
};
|
|
5912
5966
|
class CustomFieldCreate {
|
|
5913
5967
|
constructor(page) {
|
|
5914
5968
|
this.page = page;
|
|
5915
|
-
__publicField$
|
|
5916
|
-
__publicField$
|
|
5917
|
-
__publicField$
|
|
5918
|
-
__publicField$
|
|
5919
|
-
__publicField$
|
|
5920
|
-
__publicField$
|
|
5921
|
-
__publicField$
|
|
5969
|
+
__publicField$e(this, "saveButton");
|
|
5970
|
+
__publicField$e(this, "cancelButton");
|
|
5971
|
+
__publicField$e(this, "technicalNameInput");
|
|
5972
|
+
__publicField$e(this, "positionInput");
|
|
5973
|
+
__publicField$e(this, "labelEnglishGBInput");
|
|
5974
|
+
__publicField$e(this, "assignToSelectionList");
|
|
5975
|
+
__publicField$e(this, "resultAssignToPopoverItemList");
|
|
5922
5976
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5923
5977
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
5924
5978
|
this.technicalNameInput = page.getByLabel("Technical name");
|
|
@@ -5943,10 +5997,10 @@ async function getSelectFieldListitem(page, selectField, listItem, instanceMeta)
|
|
|
5943
5997
|
}
|
|
5944
5998
|
}
|
|
5945
5999
|
|
|
5946
|
-
var __defProp$
|
|
5947
|
-
var __defNormalProp$
|
|
5948
|
-
var __publicField$
|
|
5949
|
-
__defNormalProp$
|
|
6000
|
+
var __defProp$d = Object.defineProperty;
|
|
6001
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6002
|
+
var __publicField$d = (obj, key, value) => {
|
|
6003
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5950
6004
|
return value;
|
|
5951
6005
|
};
|
|
5952
6006
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
@@ -5954,24 +6008,24 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
5954
6008
|
super(page);
|
|
5955
6009
|
this.page = page;
|
|
5956
6010
|
this.instanceMeta = instanceMeta;
|
|
5957
|
-
__publicField$
|
|
5958
|
-
__publicField$
|
|
5959
|
-
__publicField$
|
|
5960
|
-
__publicField$
|
|
5961
|
-
__publicField$
|
|
5962
|
-
__publicField$
|
|
5963
|
-
__publicField$
|
|
5964
|
-
__publicField$
|
|
5965
|
-
__publicField$
|
|
5966
|
-
__publicField$
|
|
5967
|
-
__publicField$
|
|
5968
|
-
__publicField$
|
|
5969
|
-
__publicField$
|
|
5970
|
-
__publicField$
|
|
5971
|
-
__publicField$
|
|
5972
|
-
__publicField$
|
|
5973
|
-
__publicField$
|
|
5974
|
-
__publicField$
|
|
6011
|
+
__publicField$d(this, "newCustomFieldButton");
|
|
6012
|
+
__publicField$d(this, "customFieldEditDialog");
|
|
6013
|
+
__publicField$d(this, "newCustomFieldDialog");
|
|
6014
|
+
__publicField$d(this, "customFieldTechnicalNameInput");
|
|
6015
|
+
__publicField$d(this, "customFieldPositionInput");
|
|
6016
|
+
__publicField$d(this, "customFieldTypeSelectionList");
|
|
6017
|
+
__publicField$d(this, "customFieldModifyByStoreApiCheckbox");
|
|
6018
|
+
__publicField$d(this, "customFieldCancelButton");
|
|
6019
|
+
__publicField$d(this, "customFieldAddButton");
|
|
6020
|
+
__publicField$d(this, "customFieldEditApplyButton");
|
|
6021
|
+
__publicField$d(this, "customFieldLabelEnglishGBInput");
|
|
6022
|
+
__publicField$d(this, "customFieldPlaceholderEnglishGBInput");
|
|
6023
|
+
__publicField$d(this, "customFieldHelpTextEnglishGBInput");
|
|
6024
|
+
__publicField$d(this, "customFieldDeleteListButton");
|
|
6025
|
+
__publicField$d(this, "customFieldDeleteDialog");
|
|
6026
|
+
__publicField$d(this, "customFieldDeleteCancelButton");
|
|
6027
|
+
__publicField$d(this, "customFieldDeleteButton");
|
|
6028
|
+
__publicField$d(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
5975
6029
|
this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
|
|
5976
6030
|
this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
|
|
5977
6031
|
this.newCustomFieldDialog = page.getByRole("dialog", { name: "New custom field" });
|
|
@@ -6024,21 +6078,21 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6024
6078
|
}
|
|
6025
6079
|
}
|
|
6026
6080
|
|
|
6027
|
-
var __defProp$
|
|
6028
|
-
var __defNormalProp$
|
|
6029
|
-
var __publicField$
|
|
6030
|
-
__defNormalProp$
|
|
6081
|
+
var __defProp$c = Object.defineProperty;
|
|
6082
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6083
|
+
var __publicField$c = (obj, key, value) => {
|
|
6084
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6031
6085
|
return value;
|
|
6032
6086
|
};
|
|
6033
6087
|
class CategoryDetail {
|
|
6034
6088
|
constructor(page, instanceMeta) {
|
|
6035
6089
|
this.page = page;
|
|
6036
6090
|
this.instanceMeta = instanceMeta;
|
|
6037
|
-
__publicField$
|
|
6038
|
-
__publicField$
|
|
6039
|
-
__publicField$
|
|
6040
|
-
__publicField$
|
|
6041
|
-
__publicField$
|
|
6091
|
+
__publicField$c(this, "saveButton");
|
|
6092
|
+
__publicField$c(this, "cancelButton");
|
|
6093
|
+
__publicField$c(this, "customFieldCard");
|
|
6094
|
+
__publicField$c(this, "customFieldSetTabs");
|
|
6095
|
+
__publicField$c(this, "customFieldSetTabCustomContent");
|
|
6042
6096
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6043
6097
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6044
6098
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
@@ -6071,24 +6125,24 @@ class CategoryDetail {
|
|
|
6071
6125
|
}
|
|
6072
6126
|
}
|
|
6073
6127
|
|
|
6074
|
-
var __defProp$
|
|
6075
|
-
var __defNormalProp$
|
|
6076
|
-
var __publicField$
|
|
6077
|
-
__defNormalProp$
|
|
6128
|
+
var __defProp$b = Object.defineProperty;
|
|
6129
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6130
|
+
var __publicField$b = (obj, key, value) => {
|
|
6131
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6078
6132
|
return value;
|
|
6079
6133
|
};
|
|
6080
6134
|
class RuleCreate {
|
|
6081
6135
|
constructor(page, instanceMeta) {
|
|
6082
6136
|
this.page = page;
|
|
6083
6137
|
this.instanceMeta = instanceMeta;
|
|
6084
|
-
__publicField$
|
|
6085
|
-
__publicField$
|
|
6086
|
-
__publicField$
|
|
6087
|
-
__publicField$
|
|
6088
|
-
__publicField$
|
|
6089
|
-
__publicField$
|
|
6090
|
-
__publicField$
|
|
6091
|
-
__publicField$
|
|
6138
|
+
__publicField$b(this, "nameInput");
|
|
6139
|
+
__publicField$b(this, "priorityInput");
|
|
6140
|
+
__publicField$b(this, "conditionTypeSelectionInput");
|
|
6141
|
+
__publicField$b(this, "conditionValueSelectionInput");
|
|
6142
|
+
__publicField$b(this, "filtersResultPopoverSelectionList");
|
|
6143
|
+
__publicField$b(this, "saveButton");
|
|
6144
|
+
__publicField$b(this, "cancelButton");
|
|
6145
|
+
__publicField$b(this, "valueNotAvailableTooltip");
|
|
6092
6146
|
this.nameInput = page.getByLabel("Name");
|
|
6093
6147
|
this.priorityInput = page.getByLabel("Priority");
|
|
6094
6148
|
this.conditionTypeSelectionInput = page.locator(".sw-condition-type-select").locator(".sw-single-select__selection");
|
|
@@ -6106,10 +6160,10 @@ class RuleCreate {
|
|
|
6106
6160
|
}
|
|
6107
6161
|
}
|
|
6108
6162
|
|
|
6109
|
-
var __defProp$
|
|
6110
|
-
var __defNormalProp$
|
|
6111
|
-
var __publicField$
|
|
6112
|
-
__defNormalProp$
|
|
6163
|
+
var __defProp$a = Object.defineProperty;
|
|
6164
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6165
|
+
var __publicField$a = (obj, key, value) => {
|
|
6166
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6113
6167
|
return value;
|
|
6114
6168
|
};
|
|
6115
6169
|
class RuleDetail extends RuleCreate {
|
|
@@ -6117,24 +6171,24 @@ class RuleDetail extends RuleCreate {
|
|
|
6117
6171
|
super(page, instanceMeta);
|
|
6118
6172
|
this.page = page;
|
|
6119
6173
|
this.instanceMeta = instanceMeta;
|
|
6120
|
-
__publicField$
|
|
6121
|
-
__publicField$
|
|
6122
|
-
__publicField$
|
|
6123
|
-
__publicField$
|
|
6124
|
-
__publicField$
|
|
6125
|
-
__publicField$
|
|
6126
|
-
__publicField$
|
|
6127
|
-
__publicField$
|
|
6128
|
-
__publicField$
|
|
6129
|
-
__publicField$
|
|
6130
|
-
__publicField$
|
|
6131
|
-
__publicField$
|
|
6132
|
-
__publicField$
|
|
6133
|
-
__publicField$
|
|
6134
|
-
__publicField$
|
|
6135
|
-
__publicField$
|
|
6136
|
-
__publicField$
|
|
6137
|
-
__publicField$
|
|
6174
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCard");
|
|
6175
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCardLink");
|
|
6176
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCardTable");
|
|
6177
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCardEmptyState");
|
|
6178
|
+
__publicField$a(this, "shippingMethodAvailabilityRulesCardSearchField");
|
|
6179
|
+
__publicField$a(this, "taxProviderRulesCard");
|
|
6180
|
+
__publicField$a(this, "taxProviderRulesCardEmptyState");
|
|
6181
|
+
__publicField$a(this, "paymentMethodsAvailabilityRulesCard");
|
|
6182
|
+
__publicField$a(this, "paymentMethodsAvailabilityRulesCardEmptyState");
|
|
6183
|
+
__publicField$a(this, "paymentMethodsAvailabilityRulesCardLink");
|
|
6184
|
+
__publicField$a(this, "promotionOrderRulesCard");
|
|
6185
|
+
__publicField$a(this, "promotionOrderRulesCardEmptyState");
|
|
6186
|
+
__publicField$a(this, "promotionCustomerRulesCard");
|
|
6187
|
+
__publicField$a(this, "promotionCustomerRulesCardEmptyState");
|
|
6188
|
+
__publicField$a(this, "promotionCartRulesCard");
|
|
6189
|
+
__publicField$a(this, "promotionCartRulesCardEmptyState");
|
|
6190
|
+
__publicField$a(this, "assignmentModalAddButton");
|
|
6191
|
+
__publicField$a(this, "assignmentModalSearchField");
|
|
6138
6192
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6139
6193
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
6140
6194
|
this.shippingMethodAvailabilityRulesCardTable = page.locator(".sw-settings-rule-detail-assignments__entity-listing-shipping_method_availability_rule");
|
|
@@ -6168,16 +6222,16 @@ class RuleDetail extends RuleCreate {
|
|
|
6168
6222
|
}
|
|
6169
6223
|
}
|
|
6170
6224
|
|
|
6171
|
-
var __defProp$
|
|
6172
|
-
var __defNormalProp$
|
|
6173
|
-
var __publicField$
|
|
6174
|
-
__defNormalProp$
|
|
6225
|
+
var __defProp$9 = Object.defineProperty;
|
|
6226
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6227
|
+
var __publicField$9 = (obj, key, value) => {
|
|
6228
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6175
6229
|
return value;
|
|
6176
6230
|
};
|
|
6177
6231
|
class RuleListing {
|
|
6178
6232
|
constructor(page) {
|
|
6179
6233
|
this.page = page;
|
|
6180
|
-
__publicField$
|
|
6234
|
+
__publicField$9(this, "createRuleButton");
|
|
6181
6235
|
this.createRuleButton = page.getByText("Create rule");
|
|
6182
6236
|
}
|
|
6183
6237
|
url() {
|
|
@@ -6185,21 +6239,21 @@ class RuleListing {
|
|
|
6185
6239
|
}
|
|
6186
6240
|
}
|
|
6187
6241
|
|
|
6188
|
-
var __defProp$
|
|
6189
|
-
var __defNormalProp$
|
|
6190
|
-
var __publicField$
|
|
6191
|
-
__defNormalProp$
|
|
6242
|
+
var __defProp$8 = Object.defineProperty;
|
|
6243
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6244
|
+
var __publicField$8 = (obj, key, value) => {
|
|
6245
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6192
6246
|
return value;
|
|
6193
6247
|
};
|
|
6194
6248
|
class ManufacturerCreate {
|
|
6195
6249
|
constructor(page, instanceMeta) {
|
|
6196
6250
|
this.page = page;
|
|
6197
6251
|
this.instanceMeta = instanceMeta;
|
|
6198
|
-
__publicField$
|
|
6199
|
-
__publicField$
|
|
6200
|
-
__publicField$
|
|
6201
|
-
__publicField$
|
|
6202
|
-
__publicField$
|
|
6252
|
+
__publicField$8(this, "saveButton");
|
|
6253
|
+
__publicField$8(this, "cancelButton");
|
|
6254
|
+
__publicField$8(this, "nameInput");
|
|
6255
|
+
__publicField$8(this, "websiteInput");
|
|
6256
|
+
__publicField$8(this, "descriptionInput");
|
|
6203
6257
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6204
6258
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6205
6259
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -6215,17 +6269,17 @@ class ManufacturerCreate {
|
|
|
6215
6269
|
}
|
|
6216
6270
|
}
|
|
6217
6271
|
|
|
6218
|
-
var __defProp$
|
|
6219
|
-
var __defNormalProp$
|
|
6220
|
-
var __publicField$
|
|
6221
|
-
__defNormalProp$
|
|
6272
|
+
var __defProp$7 = Object.defineProperty;
|
|
6273
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6274
|
+
var __publicField$7 = (obj, key, value) => {
|
|
6275
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6222
6276
|
return value;
|
|
6223
6277
|
};
|
|
6224
6278
|
class ManufacturerListing {
|
|
6225
6279
|
constructor(page) {
|
|
6226
6280
|
this.page = page;
|
|
6227
|
-
__publicField$
|
|
6228
|
-
__publicField$
|
|
6281
|
+
__publicField$7(this, "addManufacturerButton");
|
|
6282
|
+
__publicField$7(this, "manufacturerRows");
|
|
6229
6283
|
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
6230
6284
|
this.manufacturerRows = page.getByRole("row");
|
|
6231
6285
|
}
|
|
@@ -6257,10 +6311,10 @@ class ManufacturerListing {
|
|
|
6257
6311
|
}
|
|
6258
6312
|
}
|
|
6259
6313
|
|
|
6260
|
-
var __defProp$
|
|
6261
|
-
var __defNormalProp$
|
|
6262
|
-
var __publicField$
|
|
6263
|
-
__defNormalProp$
|
|
6314
|
+
var __defProp$6 = Object.defineProperty;
|
|
6315
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6316
|
+
var __publicField$6 = (obj, key, value) => {
|
|
6317
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6264
6318
|
return value;
|
|
6265
6319
|
};
|
|
6266
6320
|
class ManufacturerDetail extends ManufacturerCreate {
|
|
@@ -6268,9 +6322,9 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6268
6322
|
super(page, instanceMeta);
|
|
6269
6323
|
this.page = page;
|
|
6270
6324
|
this.instanceMeta = instanceMeta;
|
|
6271
|
-
__publicField$
|
|
6272
|
-
__publicField$
|
|
6273
|
-
__publicField$
|
|
6325
|
+
__publicField$6(this, "customFieldCard");
|
|
6326
|
+
__publicField$6(this, "customFieldSetTabs");
|
|
6327
|
+
__publicField$6(this, "customFieldSetTabCustomContent");
|
|
6274
6328
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6275
6329
|
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
6276
6330
|
} else {
|
|
@@ -6298,10 +6352,10 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6298
6352
|
}
|
|
6299
6353
|
}
|
|
6300
6354
|
|
|
6301
|
-
var __defProp$
|
|
6302
|
-
var __defNormalProp$
|
|
6303
|
-
var __publicField$
|
|
6304
|
-
__defNormalProp$
|
|
6355
|
+
var __defProp$5 = Object.defineProperty;
|
|
6356
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6357
|
+
var __publicField$5 = (obj, key, value) => {
|
|
6358
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6305
6359
|
return value;
|
|
6306
6360
|
};
|
|
6307
6361
|
class ProductListing {
|
|
@@ -6310,13 +6364,13 @@ class ProductListing {
|
|
|
6310
6364
|
/**
|
|
6311
6365
|
* Multi selection
|
|
6312
6366
|
*/
|
|
6313
|
-
__publicField$
|
|
6314
|
-
__publicField$
|
|
6367
|
+
__publicField$5(this, "productsTable");
|
|
6368
|
+
__publicField$5(this, "bulkEditButton");
|
|
6315
6369
|
/**
|
|
6316
6370
|
* Bulk edit modal
|
|
6317
6371
|
*/
|
|
6318
|
-
__publicField$
|
|
6319
|
-
__publicField$
|
|
6372
|
+
__publicField$5(this, "bulkEditModal");
|
|
6373
|
+
__publicField$5(this, "startBulkEditButton");
|
|
6320
6374
|
this.productsTable = page.locator(".sw-data-grid__table");
|
|
6321
6375
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
6322
6376
|
this.bulkEditModal = page.locator(".sw-product-bulk-edit-modal");
|
|
@@ -6366,10 +6420,10 @@ class ProductListing {
|
|
|
6366
6420
|
}
|
|
6367
6421
|
}
|
|
6368
6422
|
|
|
6369
|
-
var __defProp$
|
|
6370
|
-
var __defNormalProp$
|
|
6371
|
-
var __publicField$
|
|
6372
|
-
__defNormalProp$
|
|
6423
|
+
var __defProp$4 = Object.defineProperty;
|
|
6424
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6425
|
+
var __publicField$4 = (obj, key, value) => {
|
|
6426
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6373
6427
|
return value;
|
|
6374
6428
|
};
|
|
6375
6429
|
class ProductBulkEdit {
|
|
@@ -6378,49 +6432,49 @@ class ProductBulkEdit {
|
|
|
6378
6432
|
/**
|
|
6379
6433
|
* Bulk edit values
|
|
6380
6434
|
*/
|
|
6381
|
-
__publicField$
|
|
6382
|
-
__publicField$
|
|
6383
|
-
__publicField$
|
|
6384
|
-
__publicField$
|
|
6385
|
-
__publicField$
|
|
6386
|
-
__publicField$
|
|
6387
|
-
__publicField$
|
|
6388
|
-
__publicField$
|
|
6389
|
-
__publicField$
|
|
6390
|
-
__publicField$
|
|
6391
|
-
__publicField$
|
|
6392
|
-
__publicField$
|
|
6393
|
-
__publicField$
|
|
6394
|
-
__publicField$
|
|
6395
|
-
__publicField$
|
|
6396
|
-
__publicField$
|
|
6397
|
-
__publicField$
|
|
6398
|
-
__publicField$
|
|
6399
|
-
__publicField$
|
|
6400
|
-
__publicField$
|
|
6401
|
-
__publicField$
|
|
6402
|
-
__publicField$
|
|
6403
|
-
__publicField$
|
|
6404
|
-
__publicField$
|
|
6405
|
-
__publicField$
|
|
6406
|
-
__publicField$
|
|
6407
|
-
__publicField$
|
|
6408
|
-
__publicField$
|
|
6409
|
-
__publicField$
|
|
6410
|
-
__publicField$
|
|
6411
|
-
__publicField$
|
|
6412
|
-
__publicField$
|
|
6413
|
-
__publicField$
|
|
6414
|
-
__publicField$
|
|
6415
|
-
__publicField$
|
|
6435
|
+
__publicField$4(this, "changeManufacturerRow");
|
|
6436
|
+
__publicField$4(this, "changeManufacturerCheckbox");
|
|
6437
|
+
__publicField$4(this, "manufacturerDropdown");
|
|
6438
|
+
__publicField$4(this, "manufacturerDropdownInput");
|
|
6439
|
+
__publicField$4(this, "manufacturerListResult");
|
|
6440
|
+
__publicField$4(this, "changeActiveRow");
|
|
6441
|
+
__publicField$4(this, "changeActiveCheckbox");
|
|
6442
|
+
__publicField$4(this, "activeToggle");
|
|
6443
|
+
__publicField$4(this, "changePriceRow");
|
|
6444
|
+
__publicField$4(this, "changePriceCheckbox");
|
|
6445
|
+
__publicField$4(this, "grossPriceInput");
|
|
6446
|
+
__publicField$4(this, "changeReleaseDateRow");
|
|
6447
|
+
__publicField$4(this, "changeReleaseDateCheckbox");
|
|
6448
|
+
__publicField$4(this, "releaseDateInput");
|
|
6449
|
+
__publicField$4(this, "changeStockRow");
|
|
6450
|
+
__publicField$4(this, "changeStockCheckbox");
|
|
6451
|
+
__publicField$4(this, "stockChangeMethodDropdown");
|
|
6452
|
+
__publicField$4(this, "stockChangeMethodInput");
|
|
6453
|
+
__publicField$4(this, "stockInput");
|
|
6454
|
+
__publicField$4(this, "changeRestockTimeRow");
|
|
6455
|
+
__publicField$4(this, "changeRestockTimeCheckbox");
|
|
6456
|
+
__publicField$4(this, "restockTimeChangeMethodDropdown");
|
|
6457
|
+
__publicField$4(this, "restockTimeChangeMethodInput");
|
|
6458
|
+
__publicField$4(this, "restockTimeInput");
|
|
6459
|
+
__publicField$4(this, "changeTagsRow");
|
|
6460
|
+
__publicField$4(this, "changeTagsCheckbox");
|
|
6461
|
+
__publicField$4(this, "tagsChangeMethodDropdown");
|
|
6462
|
+
__publicField$4(this, "tagsChangeMethodInput");
|
|
6463
|
+
__publicField$4(this, "tagsInput");
|
|
6464
|
+
__publicField$4(this, "changeSalesChannelRow");
|
|
6465
|
+
__publicField$4(this, "changeSalesChannelCheckbox");
|
|
6466
|
+
__publicField$4(this, "salesChannelChangeMethodDropdown");
|
|
6467
|
+
__publicField$4(this, "salesChannelChangeMethodInput");
|
|
6468
|
+
__publicField$4(this, "salesChannelInput");
|
|
6469
|
+
__publicField$4(this, "applyChangesButton");
|
|
6416
6470
|
/**
|
|
6417
6471
|
* Confirmation modal
|
|
6418
6472
|
*/
|
|
6419
|
-
__publicField$
|
|
6420
|
-
__publicField$
|
|
6421
|
-
__publicField$
|
|
6422
|
-
__publicField$
|
|
6423
|
-
__publicField$
|
|
6473
|
+
__publicField$4(this, "confirmModal");
|
|
6474
|
+
__publicField$4(this, "confirmModalApplyChangesButton");
|
|
6475
|
+
__publicField$4(this, "confirmModalLoadingSpinner");
|
|
6476
|
+
__publicField$4(this, "confirmModalSuccessHeader");
|
|
6477
|
+
__publicField$4(this, "confirmModalSuccessCloseButton");
|
|
6424
6478
|
this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
|
|
6425
6479
|
this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
|
|
6426
6480
|
this.manufacturerDropdown = this.changeManufacturerRow.locator(".sw-select__selection");
|
|
@@ -6470,42 +6524,42 @@ class ProductBulkEdit {
|
|
|
6470
6524
|
}
|
|
6471
6525
|
}
|
|
6472
6526
|
|
|
6473
|
-
var __defProp$
|
|
6474
|
-
var __defNormalProp$
|
|
6475
|
-
var __publicField$
|
|
6476
|
-
__defNormalProp$
|
|
6527
|
+
var __defProp$3 = Object.defineProperty;
|
|
6528
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6529
|
+
var __publicField$3 = (obj, key, value) => {
|
|
6530
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6477
6531
|
return value;
|
|
6478
6532
|
};
|
|
6479
6533
|
class CustomerBulkEdit {
|
|
6480
6534
|
constructor(page) {
|
|
6481
6535
|
this.page = page;
|
|
6482
6536
|
//General
|
|
6483
|
-
__publicField$
|
|
6484
|
-
__publicField$
|
|
6537
|
+
__publicField$3(this, "applyChangesButton");
|
|
6538
|
+
__publicField$3(this, "filtersResultPopoverItemList");
|
|
6485
6539
|
//Account
|
|
6486
|
-
__publicField$
|
|
6487
|
-
__publicField$
|
|
6488
|
-
__publicField$
|
|
6489
|
-
__publicField$
|
|
6490
|
-
__publicField$
|
|
6491
|
-
__publicField$
|
|
6492
|
-
__publicField$
|
|
6493
|
-
__publicField$
|
|
6540
|
+
__publicField$3(this, "changeCustomerGroupCheckbox");
|
|
6541
|
+
__publicField$3(this, "customerGroupInput");
|
|
6542
|
+
__publicField$3(this, "changeAccountStatusCheckbox");
|
|
6543
|
+
__publicField$3(this, "accountStatusInput");
|
|
6544
|
+
__publicField$3(this, "changeLanguageCheckbox");
|
|
6545
|
+
__publicField$3(this, "changeLanguageInput");
|
|
6546
|
+
__publicField$3(this, "replyToCustomerGroupRequest");
|
|
6547
|
+
__publicField$3(this, "replyToCustomerGroupRequestInput");
|
|
6494
6548
|
//Tags
|
|
6495
|
-
__publicField$
|
|
6496
|
-
__publicField$
|
|
6497
|
-
__publicField$
|
|
6549
|
+
__publicField$3(this, "changeTagsCheckbox");
|
|
6550
|
+
__publicField$3(this, "changeTypeSelect");
|
|
6551
|
+
__publicField$3(this, "enterTagsSelect");
|
|
6498
6552
|
//Custom fields
|
|
6499
|
-
__publicField$
|
|
6500
|
-
__publicField$
|
|
6501
|
-
__publicField$
|
|
6553
|
+
__publicField$3(this, "customFieldCheckbox");
|
|
6554
|
+
__publicField$3(this, "customFieldInput");
|
|
6555
|
+
__publicField$3(this, "customFieldArrowRightButton");
|
|
6502
6556
|
/**
|
|
6503
6557
|
* Confirmation modal
|
|
6504
6558
|
*/
|
|
6505
|
-
__publicField$
|
|
6506
|
-
__publicField$
|
|
6507
|
-
__publicField$
|
|
6508
|
-
__publicField$
|
|
6559
|
+
__publicField$3(this, "confirmModal");
|
|
6560
|
+
__publicField$3(this, "confirmModalApplyChangesButton");
|
|
6561
|
+
__publicField$3(this, "confirmModalSuccessHeader");
|
|
6562
|
+
__publicField$3(this, "confirmModalSuccessCloseButton");
|
|
6509
6563
|
this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
|
|
6510
6564
|
this.filtersResultPopoverItemList = page.locator(".sw-select-result-list__content").getByRole("listitem");
|
|
6511
6565
|
this.changeCustomerGroupCheckbox = page.getByRole("checkbox", { name: "Change: Customer group" });
|
|
@@ -6547,6 +6601,46 @@ class CustomerBulkEdit {
|
|
|
6547
6601
|
}
|
|
6548
6602
|
}
|
|
6549
6603
|
|
|
6604
|
+
var __defProp$2 = Object.defineProperty;
|
|
6605
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6606
|
+
var __publicField$2 = (obj, key, value) => {
|
|
6607
|
+
__defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6608
|
+
return value;
|
|
6609
|
+
};
|
|
6610
|
+
class DocumentListing {
|
|
6611
|
+
constructor(page) {
|
|
6612
|
+
this.page = page;
|
|
6613
|
+
__publicField$2(this, "addDocumentButton");
|
|
6614
|
+
__publicField$2(this, "invoiceLink");
|
|
6615
|
+
this.addDocumentButton = page.getByRole("button", { name: "Add document" });
|
|
6616
|
+
this.invoiceLink = page.getByRole("link", { name: "invoice", exact: true });
|
|
6617
|
+
}
|
|
6618
|
+
url() {
|
|
6619
|
+
return `#/sw/settings/document/index`;
|
|
6620
|
+
}
|
|
6621
|
+
}
|
|
6622
|
+
|
|
6623
|
+
var __defProp$1 = Object.defineProperty;
|
|
6624
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6625
|
+
var __publicField$1 = (obj, key, value) => {
|
|
6626
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6627
|
+
return value;
|
|
6628
|
+
};
|
|
6629
|
+
class DocumentDetail {
|
|
6630
|
+
constructor(page) {
|
|
6631
|
+
this.page = page;
|
|
6632
|
+
__publicField$1(this, "showInAccountSwitch");
|
|
6633
|
+
__publicField$1(this, "saveButton");
|
|
6634
|
+
__publicField$1(this, "documentTypeSelect");
|
|
6635
|
+
this.showInAccountSwitch = page.getByRole("checkbox", { name: 'Display document in "My' });
|
|
6636
|
+
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6637
|
+
this.documentTypeSelect = page.locator(".sw-settings-document-detail__select-type");
|
|
6638
|
+
}
|
|
6639
|
+
url(documentId) {
|
|
6640
|
+
return `#/sw/settings/document/detail/${documentId}`;
|
|
6641
|
+
}
|
|
6642
|
+
}
|
|
6643
|
+
|
|
6550
6644
|
const AdminPageObjects = {
|
|
6551
6645
|
ProductDetail,
|
|
6552
6646
|
OrderDetail,
|
|
@@ -6580,7 +6674,9 @@ const AdminPageObjects = {
|
|
|
6580
6674
|
ManufacturerListing,
|
|
6581
6675
|
ProductListing,
|
|
6582
6676
|
ProductBulkEdit,
|
|
6583
|
-
CustomerBulkEdit
|
|
6677
|
+
CustomerBulkEdit,
|
|
6678
|
+
DocumentListing,
|
|
6679
|
+
DocumentDetail
|
|
6584
6680
|
};
|
|
6585
6681
|
const test$6 = test$f.extend({
|
|
6586
6682
|
AdminProductDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
@@ -6681,6 +6777,12 @@ const test$6 = test$f.extend({
|
|
|
6681
6777
|
},
|
|
6682
6778
|
AdminCustomerBulkEdit: async ({ AdminPage }, use) => {
|
|
6683
6779
|
await use(new CustomerBulkEdit(AdminPage));
|
|
6780
|
+
},
|
|
6781
|
+
AdminDocumentListing: async ({ AdminPage }, use) => {
|
|
6782
|
+
await use(new DocumentListing(AdminPage));
|
|
6783
|
+
},
|
|
6784
|
+
AdminDocumentDetail: async ({ AdminPage }, use) => {
|
|
6785
|
+
await use(new DocumentDetail(AdminPage));
|
|
6684
6786
|
}
|
|
6685
6787
|
});
|
|
6686
6788
|
|