@shopware-ag/acceptance-test-suite 11.14.0 → 11.15.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 +52 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.mjs +475 -388
- 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$_ = Object.defineProperty;
|
|
159
|
+
var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
160
|
+
var __publicField$_ = (obj, key, value) => {
|
|
161
|
+
__defNormalProp$_(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$_(this, "context");
|
|
167
|
+
__publicField$_(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$_(_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$Y(_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$Z = Object.defineProperty;
|
|
298
|
+
var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
299
|
+
var __publicField$Z = (obj, key, value) => {
|
|
300
|
+
__defNormalProp$Z(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$Z(this, "context");
|
|
306
|
+
__publicField$Z(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$Z(_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$Y = Object.defineProperty;
|
|
372
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
373
|
+
var __publicField$Y = (obj, key, value) => {
|
|
374
|
+
__defNormalProp$Y(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$Y(this, "context");
|
|
380
380
|
this.context = context;
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
@@ -687,18 +687,18 @@ const test$b = test$f.extend({
|
|
|
687
687
|
}
|
|
688
688
|
});
|
|
689
689
|
|
|
690
|
-
var __defProp$
|
|
691
|
-
var __defNormalProp$
|
|
692
|
-
var __publicField$
|
|
693
|
-
__defNormalProp$
|
|
690
|
+
var __defProp$X = Object.defineProperty;
|
|
691
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
692
|
+
var __publicField$X = (obj, key, value) => {
|
|
693
|
+
__defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
694
694
|
return value;
|
|
695
695
|
};
|
|
696
696
|
class Actor {
|
|
697
697
|
constructor(name, page, baseURL) {
|
|
698
|
-
__publicField$
|
|
699
|
-
__publicField$
|
|
700
|
-
__publicField$
|
|
701
|
-
__publicField$
|
|
698
|
+
__publicField$X(this, "page");
|
|
699
|
+
__publicField$X(this, "name");
|
|
700
|
+
__publicField$X(this, "baseURL");
|
|
701
|
+
__publicField$X(this, "expects", expect);
|
|
702
702
|
this.name = name;
|
|
703
703
|
this.page = page;
|
|
704
704
|
this.baseURL = baseURL;
|
|
@@ -1035,31 +1035,31 @@ const getPromotionWithDiscount = async (promotionId, adminApiContext) => {
|
|
|
1035
1035
|
return promotion[0];
|
|
1036
1036
|
};
|
|
1037
1037
|
|
|
1038
|
-
var __defProp$
|
|
1039
|
-
var __defNormalProp$
|
|
1040
|
-
var __publicField$
|
|
1041
|
-
__defNormalProp$
|
|
1038
|
+
var __defProp$W = Object.defineProperty;
|
|
1039
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1040
|
+
var __publicField$W = (obj, key, value) => {
|
|
1041
|
+
__defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
1042
1042
|
return value;
|
|
1043
1043
|
};
|
|
1044
1044
|
class TestDataService {
|
|
1045
1045
|
constructor(AdminApiClient, IdProvider, options) {
|
|
1046
|
-
__publicField$
|
|
1047
|
-
__publicField$
|
|
1048
|
-
__publicField$
|
|
1049
|
-
__publicField$
|
|
1050
|
-
__publicField$
|
|
1051
|
-
__publicField$
|
|
1052
|
-
__publicField$
|
|
1053
|
-
__publicField$
|
|
1054
|
-
__publicField$
|
|
1055
|
-
__publicField$
|
|
1056
|
-
__publicField$
|
|
1046
|
+
__publicField$W(this, "AdminApiClient");
|
|
1047
|
+
__publicField$W(this, "IdProvider");
|
|
1048
|
+
__publicField$W(this, "namePrefix", "Test-");
|
|
1049
|
+
__publicField$W(this, "nameSuffix", "");
|
|
1050
|
+
__publicField$W(this, "defaultSalesChannel");
|
|
1051
|
+
__publicField$W(this, "defaultTaxId");
|
|
1052
|
+
__publicField$W(this, "defaultCurrencyId");
|
|
1053
|
+
__publicField$W(this, "defaultCategoryId");
|
|
1054
|
+
__publicField$W(this, "defaultLanguageId");
|
|
1055
|
+
__publicField$W(this, "defaultCountryId");
|
|
1056
|
+
__publicField$W(this, "defaultCustomerGroupId");
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Configures if an automated cleanup of the data should be executed.
|
|
1059
1059
|
*
|
|
1060
1060
|
* @private
|
|
1061
1061
|
*/
|
|
1062
|
-
__publicField$
|
|
1062
|
+
__publicField$W(this, "shouldCleanUp", true);
|
|
1063
1063
|
/**
|
|
1064
1064
|
* Configuration of higher priority entities for the cleanup operation.
|
|
1065
1065
|
* These entities will be deleted before others.
|
|
@@ -1067,26 +1067,26 @@ class TestDataService {
|
|
|
1067
1067
|
*
|
|
1068
1068
|
* @private
|
|
1069
1069
|
*/
|
|
1070
|
-
__publicField$
|
|
1070
|
+
__publicField$W(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"]);
|
|
1071
1071
|
/**
|
|
1072
1072
|
* A registry of all created records.
|
|
1073
1073
|
*
|
|
1074
1074
|
* @private
|
|
1075
1075
|
*/
|
|
1076
|
-
__publicField$
|
|
1077
|
-
__publicField$
|
|
1076
|
+
__publicField$W(this, "createdRecords", []);
|
|
1077
|
+
__publicField$W(this, "restoreSystemConfig", {});
|
|
1078
1078
|
/**
|
|
1079
1079
|
* A registry of all created sales channel records.
|
|
1080
1080
|
*
|
|
1081
1081
|
* @private
|
|
1082
1082
|
*/
|
|
1083
|
-
__publicField$
|
|
1083
|
+
__publicField$W(this, "createdSalesChannelRecords", []);
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Function that generates combinations from n number of arrays
|
|
1086
1086
|
* with m number of elements in them.
|
|
1087
1087
|
* @param array
|
|
1088
1088
|
*/
|
|
1089
|
-
__publicField$
|
|
1089
|
+
__publicField$W(this, "combineAll", (array) => {
|
|
1090
1090
|
const result = [];
|
|
1091
1091
|
const max = array.length - 1;
|
|
1092
1092
|
const helper = (tmpArray, i) => {
|
|
@@ -3219,16 +3219,16 @@ const test$9 = test$f.extend({
|
|
|
3219
3219
|
}
|
|
3220
3220
|
});
|
|
3221
3221
|
|
|
3222
|
-
var __defProp$
|
|
3223
|
-
var __defNormalProp$
|
|
3224
|
-
var __publicField$
|
|
3225
|
-
__defNormalProp$
|
|
3222
|
+
var __defProp$V = Object.defineProperty;
|
|
3223
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3224
|
+
var __publicField$V = (obj, key, value) => {
|
|
3225
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3226
3226
|
return value;
|
|
3227
3227
|
};
|
|
3228
3228
|
class IdProvider {
|
|
3229
3229
|
constructor(workerIndex, seed) {
|
|
3230
|
-
__publicField$
|
|
3231
|
-
__publicField$
|
|
3230
|
+
__publicField$V(this, "workerIndex");
|
|
3231
|
+
__publicField$V(this, "seed");
|
|
3232
3232
|
this.workerIndex = workerIndex;
|
|
3233
3233
|
this.seed = seed;
|
|
3234
3234
|
}
|
|
@@ -3312,45 +3312,69 @@ const test$8 = test$f.extend({
|
|
|
3312
3312
|
]
|
|
3313
3313
|
});
|
|
3314
3314
|
|
|
3315
|
-
var __defProp$
|
|
3316
|
-
var __defNormalProp$
|
|
3317
|
-
var __publicField$
|
|
3318
|
-
__defNormalProp$
|
|
3315
|
+
var __defProp$U = Object.defineProperty;
|
|
3316
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3317
|
+
var __publicField$U = (obj, key, value) => {
|
|
3318
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3319
3319
|
return value;
|
|
3320
3320
|
};
|
|
3321
3321
|
class Home {
|
|
3322
3322
|
constructor(page) {
|
|
3323
3323
|
this.page = page;
|
|
3324
|
-
__publicField$
|
|
3325
|
-
__publicField$
|
|
3326
|
-
__publicField$
|
|
3327
|
-
__publicField$
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
__publicField$
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
__publicField$
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
__publicField$
|
|
3324
|
+
__publicField$U(this, "accountMenuButton");
|
|
3325
|
+
__publicField$U(this, "closeGuestSessionButton");
|
|
3326
|
+
__publicField$U(this, "productImages");
|
|
3327
|
+
__publicField$U(this, "productListItems");
|
|
3328
|
+
/**
|
|
3329
|
+
* @deprecated Use 'Header/languagesDropdown' instead
|
|
3330
|
+
*/
|
|
3331
|
+
__publicField$U(this, "languagesDropdown");
|
|
3332
|
+
/**
|
|
3333
|
+
* @deprecated Use 'Header/languagesMenuOptions' instead
|
|
3334
|
+
*/
|
|
3335
|
+
__publicField$U(this, "languagesMenuOptions");
|
|
3336
|
+
/**
|
|
3337
|
+
* @deprecated Use 'Header/currenciesDropdown' instead
|
|
3338
|
+
*/
|
|
3339
|
+
__publicField$U(this, "currenciesDropdown");
|
|
3340
|
+
/**
|
|
3341
|
+
* @deprecated Use 'Header/currenciesMenuOptions' instead
|
|
3342
|
+
*/
|
|
3343
|
+
__publicField$U(this, "currenciesMenuOptions");
|
|
3344
|
+
__publicField$U(this, "consentOnlyTechnicallyRequiredButton");
|
|
3345
|
+
__publicField$U(this, "consentConfigureButton");
|
|
3346
|
+
__publicField$U(this, "consentAcceptAllCookiesButton");
|
|
3347
|
+
__publicField$U(this, "consentCookiePreferences");
|
|
3348
|
+
__publicField$U(this, "consentCookiePermissionContent");
|
|
3349
|
+
__publicField$U(this, "consentDialog");
|
|
3350
|
+
__publicField$U(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3351
|
+
__publicField$U(this, "consentDialogStatisticsCheckbox");
|
|
3340
3352
|
/**
|
|
3341
3353
|
* @deprecated Use 'consentDialogMarketingCheckbox' instead
|
|
3342
3354
|
*/
|
|
3343
|
-
__publicField$
|
|
3344
|
-
__publicField$
|
|
3345
|
-
__publicField$
|
|
3346
|
-
__publicField$
|
|
3347
|
-
__publicField$
|
|
3348
|
-
__publicField$
|
|
3349
|
-
|
|
3350
|
-
|
|
3355
|
+
__publicField$U(this, "consentDialogMarketingdCheckbox");
|
|
3356
|
+
__publicField$U(this, "consentDialogMarketingCheckbox");
|
|
3357
|
+
__publicField$U(this, "consentDialogAcceptAllCookiesButton");
|
|
3358
|
+
__publicField$U(this, "consentDialogSaveButton");
|
|
3359
|
+
__publicField$U(this, "consentCookieBannerContainer");
|
|
3360
|
+
__publicField$U(this, "offcanvasBackdrop");
|
|
3361
|
+
/**
|
|
3362
|
+
* @deprecated Use 'Header/mainNavigationLink' instead
|
|
3363
|
+
*/
|
|
3364
|
+
__publicField$U(this, "mainNavigationLink");
|
|
3365
|
+
/**
|
|
3366
|
+
* @deprecated Use 'Footer/contactFormLink' instead
|
|
3367
|
+
*/
|
|
3368
|
+
__publicField$U(this, "contactFormLink");
|
|
3351
3369
|
//wishlist
|
|
3352
|
-
|
|
3353
|
-
|
|
3370
|
+
/**
|
|
3371
|
+
* @deprecated Use 'Header/wishlistIcon' instead
|
|
3372
|
+
*/
|
|
3373
|
+
__publicField$U(this, "wishlistIcon");
|
|
3374
|
+
/**
|
|
3375
|
+
* @deprecated Use 'Header/wishlistBasket' instead
|
|
3376
|
+
*/
|
|
3377
|
+
__publicField$U(this, "wishlistBasket");
|
|
3354
3378
|
this.accountMenuButton = page.getByLabel("Your account");
|
|
3355
3379
|
this.closeGuestSessionButton = page.locator(".account-aside-btn");
|
|
3356
3380
|
this.productImages = page.locator(".product-image-wrapper");
|
|
@@ -3483,31 +3507,31 @@ class Home {
|
|
|
3483
3507
|
}
|
|
3484
3508
|
}
|
|
3485
3509
|
|
|
3486
|
-
var __defProp$
|
|
3487
|
-
var __defNormalProp$
|
|
3488
|
-
var __publicField$
|
|
3489
|
-
__defNormalProp$
|
|
3510
|
+
var __defProp$T = Object.defineProperty;
|
|
3511
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3512
|
+
var __publicField$T = (obj, key, value) => {
|
|
3513
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3490
3514
|
return value;
|
|
3491
3515
|
};
|
|
3492
3516
|
let ProductDetail$1 = class ProductDetail {
|
|
3493
3517
|
constructor(page) {
|
|
3494
3518
|
this.page = page;
|
|
3495
|
-
__publicField$
|
|
3496
|
-
__publicField$
|
|
3497
|
-
__publicField$
|
|
3498
|
-
__publicField$
|
|
3499
|
-
__publicField$
|
|
3500
|
-
__publicField$
|
|
3501
|
-
__publicField$
|
|
3502
|
-
__publicField$
|
|
3503
|
-
__publicField$
|
|
3504
|
-
__publicField$
|
|
3505
|
-
__publicField$
|
|
3506
|
-
__publicField$
|
|
3507
|
-
__publicField$
|
|
3508
|
-
__publicField$
|
|
3509
|
-
__publicField$
|
|
3510
|
-
__publicField$
|
|
3519
|
+
__publicField$T(this, "addToCartButton");
|
|
3520
|
+
__publicField$T(this, "quantitySelect");
|
|
3521
|
+
__publicField$T(this, "productSingleImage");
|
|
3522
|
+
__publicField$T(this, "productSinglePrice");
|
|
3523
|
+
__publicField$T(this, "productPriceRangesRow");
|
|
3524
|
+
__publicField$T(this, "productListingPriceBadge");
|
|
3525
|
+
__publicField$T(this, "productListingPrice");
|
|
3526
|
+
__publicField$T(this, "productListingPricePercentage");
|
|
3527
|
+
__publicField$T(this, "offCanvasCartTitle");
|
|
3528
|
+
__publicField$T(this, "offCanvasCart");
|
|
3529
|
+
__publicField$T(this, "offCanvasCartGoToCheckoutButton");
|
|
3530
|
+
__publicField$T(this, "offCanvasLineItemImages");
|
|
3531
|
+
__publicField$T(this, "offCanvasSummaryTotalPrice");
|
|
3532
|
+
__publicField$T(this, "offCanvas");
|
|
3533
|
+
__publicField$T(this, "wishlistAddedButton");
|
|
3534
|
+
__publicField$T(this, "wishlistNotAddedButton");
|
|
3511
3535
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
3512
3536
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
3513
3537
|
this.productSingleImage = page.locator(".gallery-slider-single-image");
|
|
@@ -3534,18 +3558,18 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
3534
3558
|
}
|
|
3535
3559
|
};
|
|
3536
3560
|
|
|
3537
|
-
var __defProp$
|
|
3538
|
-
var __defNormalProp$
|
|
3539
|
-
var __publicField$
|
|
3540
|
-
__defNormalProp$
|
|
3561
|
+
var __defProp$S = Object.defineProperty;
|
|
3562
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3563
|
+
var __publicField$S = (obj, key, value) => {
|
|
3564
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3541
3565
|
return value;
|
|
3542
3566
|
};
|
|
3543
3567
|
class Category {
|
|
3544
3568
|
constructor(page) {
|
|
3545
3569
|
this.page = page;
|
|
3546
|
-
__publicField$
|
|
3547
|
-
__publicField$
|
|
3548
|
-
__publicField$
|
|
3570
|
+
__publicField$S(this, "sortingSelect");
|
|
3571
|
+
__publicField$S(this, "firstProductBuyButton");
|
|
3572
|
+
__publicField$S(this, "noProductsFoundAlert");
|
|
3549
3573
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
3550
3574
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
3551
3575
|
this.noProductsFoundAlert = page.getByText("No products found.");
|
|
@@ -3555,24 +3579,24 @@ class Category {
|
|
|
3555
3579
|
}
|
|
3556
3580
|
}
|
|
3557
3581
|
|
|
3558
|
-
var __defProp$
|
|
3559
|
-
var __defNormalProp$
|
|
3560
|
-
var __publicField$
|
|
3561
|
-
__defNormalProp$
|
|
3582
|
+
var __defProp$R = Object.defineProperty;
|
|
3583
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3584
|
+
var __publicField$R = (obj, key, value) => {
|
|
3585
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3562
3586
|
return value;
|
|
3563
3587
|
};
|
|
3564
3588
|
class CheckoutCart {
|
|
3565
3589
|
constructor(page) {
|
|
3566
3590
|
this.page = page;
|
|
3567
|
-
__publicField$
|
|
3568
|
-
__publicField$
|
|
3569
|
-
__publicField$
|
|
3570
|
-
__publicField$
|
|
3571
|
-
__publicField$
|
|
3572
|
-
__publicField$
|
|
3573
|
-
__publicField$
|
|
3574
|
-
__publicField$
|
|
3575
|
-
__publicField$
|
|
3591
|
+
__publicField$R(this, "headline");
|
|
3592
|
+
__publicField$R(this, "goToCheckoutButton");
|
|
3593
|
+
__publicField$R(this, "enterPromoInput");
|
|
3594
|
+
__publicField$R(this, "grandTotalPrice");
|
|
3595
|
+
__publicField$R(this, "emptyCartAlert");
|
|
3596
|
+
__publicField$R(this, "stockReachedAlert");
|
|
3597
|
+
__publicField$R(this, "cartLineItemImages");
|
|
3598
|
+
__publicField$R(this, "unitPriceInfo");
|
|
3599
|
+
__publicField$R(this, "cartQuantityNumber");
|
|
3576
3600
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3577
3601
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
3578
3602
|
this.enterPromoInput = page.getByLabel("Promo code");
|
|
@@ -3613,25 +3637,25 @@ class CheckoutCart {
|
|
|
3613
3637
|
}
|
|
3614
3638
|
}
|
|
3615
3639
|
|
|
3616
|
-
var __defProp$
|
|
3617
|
-
var __defNormalProp$
|
|
3618
|
-
var __publicField$
|
|
3619
|
-
__defNormalProp$
|
|
3640
|
+
var __defProp$Q = Object.defineProperty;
|
|
3641
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3642
|
+
var __publicField$Q = (obj, key, value) => {
|
|
3643
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3620
3644
|
return value;
|
|
3621
3645
|
};
|
|
3622
3646
|
class OffCanvasCart {
|
|
3623
3647
|
constructor(page) {
|
|
3624
3648
|
this.page = page;
|
|
3625
|
-
__publicField$
|
|
3626
|
-
__publicField$
|
|
3627
|
-
__publicField$
|
|
3628
|
-
__publicField$
|
|
3629
|
-
__publicField$
|
|
3630
|
-
__publicField$
|
|
3631
|
-
__publicField$
|
|
3632
|
-
__publicField$
|
|
3633
|
-
__publicField$
|
|
3634
|
-
__publicField$
|
|
3649
|
+
__publicField$Q(this, "headline");
|
|
3650
|
+
__publicField$Q(this, "itemCount");
|
|
3651
|
+
__publicField$Q(this, "goToCheckoutButton");
|
|
3652
|
+
__publicField$Q(this, "goToCartButton");
|
|
3653
|
+
__publicField$Q(this, "continueShoppingButton");
|
|
3654
|
+
__publicField$Q(this, "enterPromoInput");
|
|
3655
|
+
__publicField$Q(this, "submitDiscountButton");
|
|
3656
|
+
__publicField$Q(this, "subTotalPrice");
|
|
3657
|
+
__publicField$Q(this, "shippingCosts");
|
|
3658
|
+
__publicField$Q(this, "cartQuantityNumber");
|
|
3635
3659
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3636
3660
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
3637
3661
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -3677,36 +3701,36 @@ class OffCanvasCart {
|
|
|
3677
3701
|
}
|
|
3678
3702
|
}
|
|
3679
3703
|
|
|
3680
|
-
var __defProp$
|
|
3681
|
-
var __defNormalProp$
|
|
3682
|
-
var __publicField$
|
|
3683
|
-
__defNormalProp$
|
|
3704
|
+
var __defProp$P = Object.defineProperty;
|
|
3705
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3706
|
+
var __publicField$P = (obj, key, value) => {
|
|
3707
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3684
3708
|
return value;
|
|
3685
3709
|
};
|
|
3686
3710
|
class CheckoutConfirm {
|
|
3687
3711
|
constructor(page) {
|
|
3688
3712
|
this.page = page;
|
|
3689
|
-
__publicField$
|
|
3690
|
-
__publicField$
|
|
3691
|
-
__publicField$
|
|
3692
|
-
__publicField$
|
|
3693
|
-
__publicField$
|
|
3694
|
-
__publicField$
|
|
3713
|
+
__publicField$P(this, "headline");
|
|
3714
|
+
__publicField$P(this, "termsAndConditionsCheckbox");
|
|
3715
|
+
__publicField$P(this, "immediateAccessToDigitalProductCheckbox");
|
|
3716
|
+
__publicField$P(this, "grandTotalPrice");
|
|
3717
|
+
__publicField$P(this, "taxPrice");
|
|
3718
|
+
__publicField$P(this, "submitOrderButton");
|
|
3695
3719
|
/**
|
|
3696
3720
|
* Payment options
|
|
3697
3721
|
*/
|
|
3698
|
-
__publicField$
|
|
3699
|
-
__publicField$
|
|
3700
|
-
__publicField$
|
|
3722
|
+
__publicField$P(this, "paymentCashOnDelivery");
|
|
3723
|
+
__publicField$P(this, "paymentPaidInAdvance");
|
|
3724
|
+
__publicField$P(this, "paymentInvoice");
|
|
3701
3725
|
/**
|
|
3702
3726
|
* Shipping options
|
|
3703
3727
|
*/
|
|
3704
|
-
__publicField$
|
|
3705
|
-
__publicField$
|
|
3728
|
+
__publicField$P(this, "shippingStandard");
|
|
3729
|
+
__publicField$P(this, "shippingExpress");
|
|
3706
3730
|
/**
|
|
3707
3731
|
* Product details
|
|
3708
3732
|
*/
|
|
3709
|
-
__publicField$
|
|
3733
|
+
__publicField$P(this, "cartLineItemImages");
|
|
3710
3734
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
3711
3735
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
3712
3736
|
this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
|
|
@@ -3725,21 +3749,21 @@ class CheckoutConfirm {
|
|
|
3725
3749
|
}
|
|
3726
3750
|
}
|
|
3727
3751
|
|
|
3728
|
-
var __defProp$
|
|
3729
|
-
var __defNormalProp$
|
|
3730
|
-
var __publicField$
|
|
3731
|
-
__defNormalProp$
|
|
3752
|
+
var __defProp$O = Object.defineProperty;
|
|
3753
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3754
|
+
var __publicField$O = (obj, key, value) => {
|
|
3755
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3732
3756
|
return value;
|
|
3733
3757
|
};
|
|
3734
3758
|
class CheckoutFinish {
|
|
3735
3759
|
constructor(page) {
|
|
3736
3760
|
this.page = page;
|
|
3737
|
-
__publicField$
|
|
3738
|
-
__publicField$
|
|
3739
|
-
__publicField$
|
|
3740
|
-
__publicField$
|
|
3741
|
-
__publicField$
|
|
3742
|
-
__publicField$
|
|
3761
|
+
__publicField$O(this, "headline");
|
|
3762
|
+
__publicField$O(this, "orderNumberText");
|
|
3763
|
+
__publicField$O(this, "grandTotalPrice");
|
|
3764
|
+
__publicField$O(this, "taxPrice");
|
|
3765
|
+
__publicField$O(this, "cartLineItemImages");
|
|
3766
|
+
__publicField$O(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
3743
3767
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
3744
3768
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
3745
3769
|
this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
|
|
@@ -3768,16 +3792,16 @@ class CheckoutFinish {
|
|
|
3768
3792
|
}
|
|
3769
3793
|
}
|
|
3770
3794
|
|
|
3771
|
-
var __defProp$
|
|
3772
|
-
var __defNormalProp$
|
|
3773
|
-
var __publicField$
|
|
3774
|
-
__defNormalProp$
|
|
3795
|
+
var __defProp$N = Object.defineProperty;
|
|
3796
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3797
|
+
var __publicField$N = (obj, key, value) => {
|
|
3798
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3775
3799
|
return value;
|
|
3776
3800
|
};
|
|
3777
3801
|
class CheckoutRegister {
|
|
3778
3802
|
constructor(page) {
|
|
3779
3803
|
this.page = page;
|
|
3780
|
-
__publicField$
|
|
3804
|
+
__publicField$N(this, "cartLineItemImages");
|
|
3781
3805
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3782
3806
|
}
|
|
3783
3807
|
url() {
|
|
@@ -3785,26 +3809,26 @@ class CheckoutRegister {
|
|
|
3785
3809
|
}
|
|
3786
3810
|
}
|
|
3787
3811
|
|
|
3788
|
-
var __defProp$
|
|
3789
|
-
var __defNormalProp$
|
|
3790
|
-
var __publicField$
|
|
3791
|
-
__defNormalProp$
|
|
3812
|
+
var __defProp$M = Object.defineProperty;
|
|
3813
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3814
|
+
var __publicField$M = (obj, key, value) => {
|
|
3815
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3792
3816
|
return value;
|
|
3793
3817
|
};
|
|
3794
3818
|
class Account {
|
|
3795
3819
|
constructor(page, instanceMeta) {
|
|
3796
3820
|
this.page = page;
|
|
3797
3821
|
this.instanceMeta = instanceMeta;
|
|
3798
|
-
__publicField$
|
|
3799
|
-
__publicField$
|
|
3800
|
-
__publicField$
|
|
3801
|
-
__publicField$
|
|
3802
|
-
__publicField$
|
|
3803
|
-
__publicField$
|
|
3804
|
-
__publicField$
|
|
3805
|
-
__publicField$
|
|
3806
|
-
__publicField$
|
|
3807
|
-
__publicField$
|
|
3822
|
+
__publicField$M(this, "headline");
|
|
3823
|
+
__publicField$M(this, "personalDataCardTitle");
|
|
3824
|
+
__publicField$M(this, "paymentMethodCardTitle");
|
|
3825
|
+
__publicField$M(this, "billingAddressCardTitle");
|
|
3826
|
+
__publicField$M(this, "shippingAddressCardTitle");
|
|
3827
|
+
__publicField$M(this, "newsletterCheckbox");
|
|
3828
|
+
__publicField$M(this, "newsletterRegistrationSuccessMessage");
|
|
3829
|
+
__publicField$M(this, "customerGroupRequestMessage");
|
|
3830
|
+
__publicField$M(this, "cannotDeliverToCountryAlert");
|
|
3831
|
+
__publicField$M(this, "shippingToAddressNotPossibleAlert");
|
|
3808
3832
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
3809
3833
|
this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
|
|
3810
3834
|
this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
|
|
@@ -3828,57 +3852,57 @@ class Account {
|
|
|
3828
3852
|
}
|
|
3829
3853
|
}
|
|
3830
3854
|
|
|
3831
|
-
var __defProp$
|
|
3832
|
-
var __defNormalProp$
|
|
3833
|
-
var __publicField$
|
|
3834
|
-
__defNormalProp$
|
|
3855
|
+
var __defProp$L = Object.defineProperty;
|
|
3856
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3857
|
+
var __publicField$L = (obj, key, value) => {
|
|
3858
|
+
__defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3835
3859
|
return value;
|
|
3836
3860
|
};
|
|
3837
3861
|
class AccountLogin {
|
|
3838
3862
|
constructor(page) {
|
|
3839
3863
|
this.page = page;
|
|
3840
|
-
__publicField$
|
|
3841
|
-
__publicField$
|
|
3842
|
-
__publicField$
|
|
3843
|
-
__publicField$
|
|
3844
|
-
__publicField$
|
|
3845
|
-
__publicField$
|
|
3846
|
-
__publicField$
|
|
3847
|
-
__publicField$
|
|
3864
|
+
__publicField$L(this, "emailInput");
|
|
3865
|
+
__publicField$L(this, "passwordInput");
|
|
3866
|
+
__publicField$L(this, "forgotPasswordLink");
|
|
3867
|
+
__publicField$L(this, "loginButton");
|
|
3868
|
+
__publicField$L(this, "logoutLink");
|
|
3869
|
+
__publicField$L(this, "successAlert");
|
|
3870
|
+
__publicField$L(this, "invalidCredentialsAlert");
|
|
3871
|
+
__publicField$L(this, "passwordUpdatedAlert");
|
|
3848
3872
|
// Inputs for registration
|
|
3849
|
-
__publicField$
|
|
3850
|
-
__publicField$
|
|
3851
|
-
__publicField$
|
|
3852
|
-
__publicField$
|
|
3853
|
-
__publicField$
|
|
3854
|
-
__publicField$
|
|
3855
|
-
__publicField$
|
|
3856
|
-
__publicField$
|
|
3857
|
-
__publicField$
|
|
3858
|
-
__publicField$
|
|
3859
|
-
__publicField$
|
|
3860
|
-
__publicField$
|
|
3861
|
-
__publicField$
|
|
3862
|
-
__publicField$
|
|
3863
|
-
__publicField$
|
|
3864
|
-
__publicField$
|
|
3873
|
+
__publicField$L(this, "personalFormArea");
|
|
3874
|
+
__publicField$L(this, "billingAddressFormArea");
|
|
3875
|
+
__publicField$L(this, "accountTypeSelect");
|
|
3876
|
+
__publicField$L(this, "salutationSelect");
|
|
3877
|
+
__publicField$L(this, "firstNameInput");
|
|
3878
|
+
__publicField$L(this, "lastNameInput");
|
|
3879
|
+
__publicField$L(this, "companyInput");
|
|
3880
|
+
__publicField$L(this, "departmentInput");
|
|
3881
|
+
__publicField$L(this, "vatRegNoInput");
|
|
3882
|
+
__publicField$L(this, "registerEmailInput");
|
|
3883
|
+
__publicField$L(this, "registerPasswordInput");
|
|
3884
|
+
__publicField$L(this, "streetAddressInput");
|
|
3885
|
+
__publicField$L(this, "cityInput");
|
|
3886
|
+
__publicField$L(this, "countryInput");
|
|
3887
|
+
__publicField$L(this, "postalCodeInput");
|
|
3888
|
+
__publicField$L(this, "registerButton");
|
|
3865
3889
|
// Inputs for reCaptcha
|
|
3866
|
-
__publicField$
|
|
3867
|
-
__publicField$
|
|
3868
|
-
__publicField$
|
|
3869
|
-
__publicField$
|
|
3870
|
-
__publicField$
|
|
3890
|
+
__publicField$L(this, "greCaptchaV2Container");
|
|
3891
|
+
__publicField$L(this, "greCaptchaV2Input");
|
|
3892
|
+
__publicField$L(this, "greCaptchaV3Input");
|
|
3893
|
+
__publicField$L(this, "greCaptchaProtectionInformation");
|
|
3894
|
+
__publicField$L(this, "greCaptchaBadge");
|
|
3871
3895
|
//Input for shipping address
|
|
3872
|
-
__publicField$
|
|
3873
|
-
__publicField$
|
|
3874
|
-
__publicField$
|
|
3875
|
-
__publicField$
|
|
3876
|
-
__publicField$
|
|
3877
|
-
__publicField$
|
|
3878
|
-
__publicField$
|
|
3879
|
-
__publicField$
|
|
3880
|
-
__publicField$
|
|
3881
|
-
__publicField$
|
|
3896
|
+
__publicField$L(this, "differentShippingAddressCheckbox");
|
|
3897
|
+
__publicField$L(this, "registerShippingAddressFormArea");
|
|
3898
|
+
__publicField$L(this, "shippingAddressSalutationSelect");
|
|
3899
|
+
__publicField$L(this, "shippingAddressFirstNameInput");
|
|
3900
|
+
__publicField$L(this, "shippingAddressLastNameInput");
|
|
3901
|
+
__publicField$L(this, "shippingAddressStreetAddressInput");
|
|
3902
|
+
__publicField$L(this, "shippingAddressCityInput");
|
|
3903
|
+
__publicField$L(this, "shippingAddressCountryInput");
|
|
3904
|
+
__publicField$L(this, "shippingAddressPostalCodeInput");
|
|
3905
|
+
__publicField$L(this, "shippingAddressStateInput");
|
|
3882
3906
|
this.emailInput = page.getByLabel("Your email address");
|
|
3883
3907
|
this.passwordInput = page.getByLabel("Your password");
|
|
3884
3908
|
this.loginButton = page.getByRole("button", { name: "Log in" });
|
|
@@ -3928,26 +3952,26 @@ class AccountLogin {
|
|
|
3928
3952
|
}
|
|
3929
3953
|
}
|
|
3930
3954
|
|
|
3931
|
-
var __defProp$
|
|
3932
|
-
var __defNormalProp$
|
|
3933
|
-
var __publicField$
|
|
3934
|
-
__defNormalProp$
|
|
3955
|
+
var __defProp$K = Object.defineProperty;
|
|
3956
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3957
|
+
var __publicField$K = (obj, key, value) => {
|
|
3958
|
+
__defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3935
3959
|
return value;
|
|
3936
3960
|
};
|
|
3937
3961
|
class AccountRecover {
|
|
3938
3962
|
constructor(page) {
|
|
3939
3963
|
this.page = page;
|
|
3940
|
-
__publicField$
|
|
3941
|
-
__publicField$
|
|
3942
|
-
__publicField$
|
|
3943
|
-
__publicField$
|
|
3944
|
-
__publicField$
|
|
3945
|
-
__publicField$
|
|
3946
|
-
__publicField$
|
|
3947
|
-
__publicField$
|
|
3948
|
-
__publicField$
|
|
3949
|
-
__publicField$
|
|
3950
|
-
__publicField$
|
|
3964
|
+
__publicField$K(this, "passwordRecoveryForm");
|
|
3965
|
+
__publicField$K(this, "title");
|
|
3966
|
+
__publicField$K(this, "subtitle");
|
|
3967
|
+
__publicField$K(this, "emailInput");
|
|
3968
|
+
__publicField$K(this, "requestEmailButton");
|
|
3969
|
+
__publicField$K(this, "backButton");
|
|
3970
|
+
__publicField$K(this, "passwordResetEmailSentMessage");
|
|
3971
|
+
__publicField$K(this, "newPasswordInput");
|
|
3972
|
+
__publicField$K(this, "newPasswordConfirmInput");
|
|
3973
|
+
__publicField$K(this, "changePasswordButton");
|
|
3974
|
+
__publicField$K(this, "invalidLinkMessage");
|
|
3951
3975
|
this.passwordRecoveryForm = page.locator(".account-recover-password-form");
|
|
3952
3976
|
const cardTitle = this.passwordRecoveryForm.locator(".card-title");
|
|
3953
3977
|
this.title = cardTitle.getByText("Password recovery");
|
|
@@ -3969,36 +3993,36 @@ class AccountRecover {
|
|
|
3969
3993
|
}
|
|
3970
3994
|
}
|
|
3971
3995
|
|
|
3972
|
-
var __defProp$
|
|
3973
|
-
var __defNormalProp$
|
|
3974
|
-
var __publicField$
|
|
3975
|
-
__defNormalProp$
|
|
3996
|
+
var __defProp$J = Object.defineProperty;
|
|
3997
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3998
|
+
var __publicField$J = (obj, key, value) => {
|
|
3999
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3976
4000
|
return value;
|
|
3977
4001
|
};
|
|
3978
4002
|
class AccountProfile {
|
|
3979
4003
|
constructor(page, instanceMeta) {
|
|
3980
4004
|
this.page = page;
|
|
3981
4005
|
this.instanceMeta = instanceMeta;
|
|
3982
|
-
__publicField$
|
|
3983
|
-
__publicField$
|
|
3984
|
-
__publicField$
|
|
3985
|
-
__publicField$
|
|
3986
|
-
__publicField$
|
|
3987
|
-
__publicField$
|
|
3988
|
-
__publicField$
|
|
3989
|
-
__publicField$
|
|
3990
|
-
__publicField$
|
|
3991
|
-
__publicField$
|
|
3992
|
-
__publicField$
|
|
3993
|
-
__publicField$
|
|
3994
|
-
__publicField$
|
|
3995
|
-
__publicField$
|
|
3996
|
-
__publicField$
|
|
3997
|
-
__publicField$
|
|
3998
|
-
__publicField$
|
|
3999
|
-
__publicField$
|
|
4000
|
-
__publicField$
|
|
4001
|
-
__publicField$
|
|
4006
|
+
__publicField$J(this, "salutationSelect");
|
|
4007
|
+
__publicField$J(this, "firstNameInput");
|
|
4008
|
+
__publicField$J(this, "lastNameInput");
|
|
4009
|
+
__publicField$J(this, "saveProfileButton");
|
|
4010
|
+
__publicField$J(this, "changeEmailButton");
|
|
4011
|
+
__publicField$J(this, "emailAddressInput");
|
|
4012
|
+
__publicField$J(this, "emailAddressConfirmInput");
|
|
4013
|
+
__publicField$J(this, "emailConfirmPasswordInput");
|
|
4014
|
+
__publicField$J(this, "saveEmailAddressButton");
|
|
4015
|
+
__publicField$J(this, "changePasswordButton");
|
|
4016
|
+
__publicField$J(this, "newPasswordInput");
|
|
4017
|
+
__publicField$J(this, "newPasswordConfirmInput");
|
|
4018
|
+
__publicField$J(this, "currentPasswordInput");
|
|
4019
|
+
__publicField$J(this, "saveNewPasswordButton");
|
|
4020
|
+
__publicField$J(this, "loginDataEmailAddress");
|
|
4021
|
+
__publicField$J(this, "emailUpdateMessage");
|
|
4022
|
+
__publicField$J(this, "passwordUpdateMessage");
|
|
4023
|
+
__publicField$J(this, "emailValidationAlert");
|
|
4024
|
+
__publicField$J(this, "emailUpdateFailureAlert");
|
|
4025
|
+
__publicField$J(this, "passwordUpdateFailureAlert");
|
|
4002
4026
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
4003
4027
|
this.firstNameInput = page.getByLabel("First name");
|
|
4004
4028
|
this.lastNameInput = page.getByLabel("Last name");
|
|
@@ -4038,21 +4062,21 @@ class AccountProfile {
|
|
|
4038
4062
|
}
|
|
4039
4063
|
}
|
|
4040
4064
|
|
|
4041
|
-
var __defProp$
|
|
4042
|
-
var __defNormalProp$
|
|
4043
|
-
var __publicField$
|
|
4044
|
-
__defNormalProp$
|
|
4065
|
+
var __defProp$I = Object.defineProperty;
|
|
4066
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4067
|
+
var __publicField$I = (obj, key, value) => {
|
|
4068
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4045
4069
|
return value;
|
|
4046
4070
|
};
|
|
4047
4071
|
class AccountOrder {
|
|
4048
4072
|
constructor(page) {
|
|
4049
4073
|
this.page = page;
|
|
4050
|
-
__publicField$
|
|
4051
|
-
__publicField$
|
|
4052
|
-
__publicField$
|
|
4053
|
-
__publicField$
|
|
4054
|
-
__publicField$
|
|
4055
|
-
__publicField$
|
|
4074
|
+
__publicField$I(this, "cartLineItemImages");
|
|
4075
|
+
__publicField$I(this, "orderExpandButton");
|
|
4076
|
+
__publicField$I(this, "digitalProductDownloadButton");
|
|
4077
|
+
__publicField$I(this, "dialogOrderCancel");
|
|
4078
|
+
__publicField$I(this, "dialogOrderCancelButton");
|
|
4079
|
+
__publicField$I(this, "dialogBackButton");
|
|
4056
4080
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
4057
4081
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
4058
4082
|
this.digitalProductDownloadButton = page.getByRole("link", { name: "Download" }).first();
|
|
@@ -4100,26 +4124,26 @@ class AccountOrder {
|
|
|
4100
4124
|
}
|
|
4101
4125
|
}
|
|
4102
4126
|
|
|
4103
|
-
var __defProp$
|
|
4104
|
-
var __defNormalProp$
|
|
4105
|
-
var __publicField$
|
|
4106
|
-
__defNormalProp$
|
|
4127
|
+
var __defProp$H = Object.defineProperty;
|
|
4128
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4129
|
+
var __publicField$H = (obj, key, value) => {
|
|
4130
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4107
4131
|
return value;
|
|
4108
4132
|
};
|
|
4109
4133
|
class AccountAddresses {
|
|
4110
4134
|
constructor(page, instanceMeta) {
|
|
4111
4135
|
this.page = page;
|
|
4112
4136
|
this.instanceMeta = instanceMeta;
|
|
4113
|
-
__publicField$
|
|
4114
|
-
__publicField$
|
|
4115
|
-
__publicField$
|
|
4116
|
-
__publicField$
|
|
4117
|
-
__publicField$
|
|
4118
|
-
__publicField$
|
|
4119
|
-
__publicField$
|
|
4120
|
-
__publicField$
|
|
4121
|
-
__publicField$
|
|
4122
|
-
__publicField$
|
|
4137
|
+
__publicField$H(this, "addNewAddressButton");
|
|
4138
|
+
__publicField$H(this, "editBillingAddressButton");
|
|
4139
|
+
__publicField$H(this, "editShippingAddressButton");
|
|
4140
|
+
__publicField$H(this, "useDefaultBillingAddressButton");
|
|
4141
|
+
__publicField$H(this, "useDefaultShippingAddressButton");
|
|
4142
|
+
__publicField$H(this, "deliveryNotPossibleAlert");
|
|
4143
|
+
__publicField$H(this, "availableAddresses");
|
|
4144
|
+
__publicField$H(this, "addressDropdownButton");
|
|
4145
|
+
__publicField$H(this, "availableAddressesUseAsBillingAddress");
|
|
4146
|
+
__publicField$H(this, "availableAddressesUseAsShippingAddress");
|
|
4123
4147
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
4124
4148
|
this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
|
|
4125
4149
|
this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
|
|
@@ -4140,19 +4164,19 @@ class AccountAddresses {
|
|
|
4140
4164
|
}
|
|
4141
4165
|
}
|
|
4142
4166
|
|
|
4143
|
-
var __defProp$
|
|
4144
|
-
var __defNormalProp$
|
|
4145
|
-
var __publicField$
|
|
4146
|
-
__defNormalProp$
|
|
4167
|
+
var __defProp$G = Object.defineProperty;
|
|
4168
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4169
|
+
var __publicField$G = (obj, key, value) => {
|
|
4170
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4147
4171
|
return value;
|
|
4148
4172
|
};
|
|
4149
4173
|
class AccountPayment {
|
|
4150
4174
|
constructor(page) {
|
|
4151
4175
|
this.page = page;
|
|
4152
|
-
__publicField$
|
|
4153
|
-
__publicField$
|
|
4154
|
-
__publicField$
|
|
4155
|
-
__publicField$
|
|
4176
|
+
__publicField$G(this, "cashOnDeliveryOption");
|
|
4177
|
+
__publicField$G(this, "paidInAdvanceOption");
|
|
4178
|
+
__publicField$G(this, "invoiceOption");
|
|
4179
|
+
__publicField$G(this, "changeDefaultPaymentButton");
|
|
4156
4180
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
4157
4181
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
4158
4182
|
this.invoiceOption = page.getByLabel("Invoice");
|
|
@@ -4163,17 +4187,17 @@ class AccountPayment {
|
|
|
4163
4187
|
}
|
|
4164
4188
|
}
|
|
4165
4189
|
|
|
4166
|
-
var __defProp$
|
|
4167
|
-
var __defNormalProp$
|
|
4168
|
-
var __publicField$
|
|
4169
|
-
__defNormalProp$
|
|
4190
|
+
var __defProp$F = Object.defineProperty;
|
|
4191
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4192
|
+
var __publicField$F = (obj, key, value) => {
|
|
4193
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4170
4194
|
return value;
|
|
4171
4195
|
};
|
|
4172
4196
|
class Search {
|
|
4173
4197
|
constructor(page) {
|
|
4174
4198
|
this.page = page;
|
|
4175
|
-
__publicField$
|
|
4176
|
-
__publicField$
|
|
4199
|
+
__publicField$F(this, "headline");
|
|
4200
|
+
__publicField$F(this, "productImages");
|
|
4177
4201
|
this.headline = page.locator("h1.search-headline");
|
|
4178
4202
|
this.productImages = page.locator(".product-image-wrapper");
|
|
4179
4203
|
}
|
|
@@ -4182,25 +4206,25 @@ class Search {
|
|
|
4182
4206
|
}
|
|
4183
4207
|
}
|
|
4184
4208
|
|
|
4185
|
-
var __defProp$
|
|
4186
|
-
var __defNormalProp$
|
|
4187
|
-
var __publicField$
|
|
4188
|
-
__defNormalProp$
|
|
4209
|
+
var __defProp$E = Object.defineProperty;
|
|
4210
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4211
|
+
var __publicField$E = (obj, key, value) => {
|
|
4212
|
+
__defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4189
4213
|
return value;
|
|
4190
4214
|
};
|
|
4191
4215
|
class SearchSuggest extends Home {
|
|
4192
4216
|
constructor(page) {
|
|
4193
4217
|
super(page);
|
|
4194
4218
|
this.page = page;
|
|
4195
|
-
__publicField$
|
|
4196
|
-
__publicField$
|
|
4197
|
-
__publicField$
|
|
4198
|
-
__publicField$
|
|
4199
|
-
__publicField$
|
|
4200
|
-
__publicField$
|
|
4201
|
-
__publicField$
|
|
4202
|
-
__publicField$
|
|
4203
|
-
__publicField$
|
|
4219
|
+
__publicField$E(this, "searchSuggestLineItemImages");
|
|
4220
|
+
__publicField$E(this, "searchInput");
|
|
4221
|
+
__publicField$E(this, "searchIcon");
|
|
4222
|
+
__publicField$E(this, "searchSuggestNoResult");
|
|
4223
|
+
__publicField$E(this, "searchSuggestLineItemName");
|
|
4224
|
+
__publicField$E(this, "searchSuggestLineItemPrice");
|
|
4225
|
+
__publicField$E(this, "searchSuggestTotalLink");
|
|
4226
|
+
__publicField$E(this, "searchResultTotal");
|
|
4227
|
+
__publicField$E(this, "searchHeadline");
|
|
4204
4228
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
4205
4229
|
this.searchInput = page.locator(".header-search-input");
|
|
4206
4230
|
this.searchIcon = page.locator(".header-search-icon");
|
|
@@ -4230,31 +4254,31 @@ class CustomRegister extends AccountLogin {
|
|
|
4230
4254
|
}
|
|
4231
4255
|
}
|
|
4232
4256
|
|
|
4233
|
-
var __defProp$
|
|
4234
|
-
var __defNormalProp$
|
|
4235
|
-
var __publicField$
|
|
4236
|
-
__defNormalProp$
|
|
4257
|
+
var __defProp$D = Object.defineProperty;
|
|
4258
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4259
|
+
var __publicField$D = (obj, key, value) => {
|
|
4260
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4237
4261
|
return value;
|
|
4238
4262
|
};
|
|
4239
4263
|
class CheckoutOrderEdit {
|
|
4240
4264
|
constructor(page) {
|
|
4241
4265
|
this.page = page;
|
|
4242
|
-
__publicField$
|
|
4243
|
-
__publicField$
|
|
4244
|
-
__publicField$
|
|
4245
|
-
__publicField$
|
|
4246
|
-
__publicField$
|
|
4266
|
+
__publicField$D(this, "completePaymentButton");
|
|
4267
|
+
__publicField$D(this, "orderCancelButton");
|
|
4268
|
+
__publicField$D(this, "dialogOrderCancel");
|
|
4269
|
+
__publicField$D(this, "dialogOrderCancelButton");
|
|
4270
|
+
__publicField$D(this, "dialogBackButton");
|
|
4247
4271
|
/**
|
|
4248
4272
|
* Payment options
|
|
4249
4273
|
*/
|
|
4250
|
-
__publicField$
|
|
4251
|
-
__publicField$
|
|
4252
|
-
__publicField$
|
|
4274
|
+
__publicField$D(this, "paymentCashOnDelivery");
|
|
4275
|
+
__publicField$D(this, "paymentPaidInAdvance");
|
|
4276
|
+
__publicField$D(this, "paymentInvoice");
|
|
4253
4277
|
/**
|
|
4254
4278
|
* Shipping options
|
|
4255
4279
|
*/
|
|
4256
|
-
__publicField$
|
|
4257
|
-
__publicField$
|
|
4280
|
+
__publicField$D(this, "shippingStandard");
|
|
4281
|
+
__publicField$D(this, "shippingExpress");
|
|
4258
4282
|
this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
|
|
4259
4283
|
this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
|
|
4260
4284
|
this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
|
|
@@ -4279,26 +4303,26 @@ class CheckoutOrderEdit {
|
|
|
4279
4303
|
}
|
|
4280
4304
|
}
|
|
4281
4305
|
|
|
4282
|
-
var __defProp$
|
|
4283
|
-
var __defNormalProp$
|
|
4284
|
-
var __publicField$
|
|
4285
|
-
__defNormalProp$
|
|
4306
|
+
var __defProp$C = Object.defineProperty;
|
|
4307
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4308
|
+
var __publicField$C = (obj, key, value) => {
|
|
4309
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4286
4310
|
return value;
|
|
4287
4311
|
};
|
|
4288
4312
|
class AccountAddressCreate {
|
|
4289
4313
|
constructor(page) {
|
|
4290
4314
|
this.page = page;
|
|
4291
|
-
__publicField$
|
|
4292
|
-
__publicField$
|
|
4293
|
-
__publicField$
|
|
4294
|
-
__publicField$
|
|
4295
|
-
__publicField$
|
|
4296
|
-
__publicField$
|
|
4297
|
-
__publicField$
|
|
4298
|
-
__publicField$
|
|
4299
|
-
__publicField$
|
|
4300
|
-
__publicField$
|
|
4301
|
-
__publicField$
|
|
4315
|
+
__publicField$C(this, "salutationDropdown");
|
|
4316
|
+
__publicField$C(this, "firstNameInput");
|
|
4317
|
+
__publicField$C(this, "lastNameInput");
|
|
4318
|
+
__publicField$C(this, "companyInput");
|
|
4319
|
+
__publicField$C(this, "departmentInput");
|
|
4320
|
+
__publicField$C(this, "streetInput");
|
|
4321
|
+
__publicField$C(this, "zipcodeInput");
|
|
4322
|
+
__publicField$C(this, "cityInput");
|
|
4323
|
+
__publicField$C(this, "countryDropdown");
|
|
4324
|
+
__publicField$C(this, "saveAddressButton");
|
|
4325
|
+
__publicField$C(this, "stateDropdown");
|
|
4302
4326
|
this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
|
|
4303
4327
|
this.firstNameInput = page.getByRole("textbox", { name: "First name" });
|
|
4304
4328
|
this.lastNameInput = page.getByRole("textbox", { name: "Last name" });
|
|
@@ -4316,19 +4340,19 @@ class AccountAddressCreate {
|
|
|
4316
4340
|
}
|
|
4317
4341
|
}
|
|
4318
4342
|
|
|
4319
|
-
var __defProp$
|
|
4320
|
-
var __defNormalProp$
|
|
4321
|
-
var __publicField$
|
|
4322
|
-
__defNormalProp$
|
|
4343
|
+
var __defProp$B = Object.defineProperty;
|
|
4344
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4345
|
+
var __publicField$B = (obj, key, value) => {
|
|
4346
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4323
4347
|
return value;
|
|
4324
4348
|
};
|
|
4325
4349
|
class PageNotFound {
|
|
4326
4350
|
constructor(page) {
|
|
4327
4351
|
this.page = page;
|
|
4328
|
-
__publicField$
|
|
4329
|
-
__publicField$
|
|
4330
|
-
__publicField$
|
|
4331
|
-
__publicField$
|
|
4352
|
+
__publicField$B(this, "pageNotFoundImage");
|
|
4353
|
+
__publicField$B(this, "headline");
|
|
4354
|
+
__publicField$B(this, "pageNotFoundMessage");
|
|
4355
|
+
__publicField$B(this, "backToShopButton");
|
|
4332
4356
|
this.pageNotFoundImage = page.getByAltText("Page not found");
|
|
4333
4357
|
this.headline = page.getByRole("heading", { name: "Page not found" });
|
|
4334
4358
|
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.`);
|
|
@@ -4339,10 +4363,10 @@ class PageNotFound {
|
|
|
4339
4363
|
}
|
|
4340
4364
|
}
|
|
4341
4365
|
|
|
4342
|
-
var __defProp$
|
|
4343
|
-
var __defNormalProp$
|
|
4344
|
-
var __publicField$
|
|
4345
|
-
__defNormalProp$
|
|
4366
|
+
var __defProp$A = Object.defineProperty;
|
|
4367
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4368
|
+
var __publicField$A = (obj, key, value) => {
|
|
4369
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4346
4370
|
return value;
|
|
4347
4371
|
};
|
|
4348
4372
|
class ContactForm extends Home {
|
|
@@ -4353,35 +4377,35 @@ class ContactForm extends Home {
|
|
|
4353
4377
|
/**
|
|
4354
4378
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
4355
4379
|
*/
|
|
4356
|
-
__publicField$
|
|
4380
|
+
__publicField$A(this, "contactModal");
|
|
4357
4381
|
/**
|
|
4358
4382
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
4359
4383
|
*/
|
|
4360
|
-
__publicField$
|
|
4361
|
-
__publicField$
|
|
4362
|
-
__publicField$
|
|
4363
|
-
__publicField$
|
|
4364
|
-
__publicField$
|
|
4365
|
-
__publicField$
|
|
4366
|
-
__publicField$
|
|
4367
|
-
__publicField$
|
|
4368
|
-
__publicField$
|
|
4369
|
-
__publicField$
|
|
4370
|
-
__publicField$
|
|
4371
|
-
__publicField$
|
|
4372
|
-
__publicField$
|
|
4373
|
-
__publicField$
|
|
4374
|
-
__publicField$
|
|
4384
|
+
__publicField$A(this, "contactSuccessModal");
|
|
4385
|
+
__publicField$A(this, "contactWrapper");
|
|
4386
|
+
__publicField$A(this, "salutationSelect");
|
|
4387
|
+
__publicField$A(this, "firstNameInput");
|
|
4388
|
+
__publicField$A(this, "lastNameInput");
|
|
4389
|
+
__publicField$A(this, "emailInput");
|
|
4390
|
+
__publicField$A(this, "phoneInput");
|
|
4391
|
+
__publicField$A(this, "subjectInput");
|
|
4392
|
+
__publicField$A(this, "commentInput");
|
|
4393
|
+
__publicField$A(this, "privacyPolicyCheckbox");
|
|
4394
|
+
__publicField$A(this, "submitButton");
|
|
4395
|
+
__publicField$A(this, "contactSuccessMessage");
|
|
4396
|
+
__publicField$A(this, "cardTitle");
|
|
4397
|
+
__publicField$A(this, "formFieldFeedback");
|
|
4398
|
+
__publicField$A(this, "formAlert");
|
|
4375
4399
|
/**
|
|
4376
4400
|
* Captcha locators
|
|
4377
4401
|
*/
|
|
4378
|
-
__publicField$
|
|
4379
|
-
__publicField$
|
|
4380
|
-
__publicField$
|
|
4381
|
-
__publicField$
|
|
4382
|
-
__publicField$
|
|
4383
|
-
__publicField$
|
|
4384
|
-
__publicField$
|
|
4402
|
+
__publicField$A(this, "basicCaptcha");
|
|
4403
|
+
__publicField$A(this, "basicCaptchaImage");
|
|
4404
|
+
__publicField$A(this, "basicCaptchaRefreshButton");
|
|
4405
|
+
__publicField$A(this, "basicCaptchaInput");
|
|
4406
|
+
__publicField$A(this, "greCaptchaV2Container");
|
|
4407
|
+
__publicField$A(this, "greCaptchaV2Input");
|
|
4408
|
+
__publicField$A(this, "greCaptchaProtectionInformation");
|
|
4385
4409
|
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4386
4410
|
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
4387
4411
|
this.formAlert = this.page.getByRole("alert");
|
|
@@ -4416,19 +4440,19 @@ class ContactForm extends Home {
|
|
|
4416
4440
|
}
|
|
4417
4441
|
}
|
|
4418
4442
|
|
|
4419
|
-
var __defProp$
|
|
4420
|
-
var __defNormalProp$
|
|
4421
|
-
var __publicField$
|
|
4422
|
-
__defNormalProp$
|
|
4443
|
+
var __defProp$z = Object.defineProperty;
|
|
4444
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4445
|
+
var __publicField$z = (obj, key, value) => {
|
|
4446
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4423
4447
|
return value;
|
|
4424
4448
|
};
|
|
4425
4449
|
class Wishlist extends Home {
|
|
4426
4450
|
constructor(page) {
|
|
4427
4451
|
super(page);
|
|
4428
4452
|
this.page = page;
|
|
4429
|
-
__publicField$
|
|
4430
|
-
__publicField$
|
|
4431
|
-
__publicField$
|
|
4453
|
+
__publicField$z(this, "wishListHeader");
|
|
4454
|
+
__publicField$z(this, "removeAlert");
|
|
4455
|
+
__publicField$z(this, "emptyListing");
|
|
4432
4456
|
this.wishListHeader = page.locator(".wishlist-headline");
|
|
4433
4457
|
this.removeAlert = page.locator(".alert-success");
|
|
4434
4458
|
this.emptyListing = page.locator(".wishlist-listing-empty");
|
|
@@ -4447,6 +4471,61 @@ class Wishlist extends Home {
|
|
|
4447
4471
|
}
|
|
4448
4472
|
}
|
|
4449
4473
|
|
|
4474
|
+
var __defProp$y = Object.defineProperty;
|
|
4475
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4476
|
+
var __publicField$y = (obj, key, value) => {
|
|
4477
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4478
|
+
return value;
|
|
4479
|
+
};
|
|
4480
|
+
class Footer {
|
|
4481
|
+
constructor(page) {
|
|
4482
|
+
this.page = page;
|
|
4483
|
+
__publicField$y(this, "footerHeadline");
|
|
4484
|
+
__publicField$y(this, "footerContent");
|
|
4485
|
+
__publicField$y(this, "footerHotline");
|
|
4486
|
+
__publicField$y(this, "footerContactForm");
|
|
4487
|
+
__publicField$y(this, "footerContactFormLink");
|
|
4488
|
+
this.footerHeadline = page.locator(".footer-column-headline");
|
|
4489
|
+
this.footerContent = page.locator(".footer-column-content-inner");
|
|
4490
|
+
this.footerHotline = page.locator(".footer-contact-hotline");
|
|
4491
|
+
this.footerContactForm = page.locator(".footer-contact-form");
|
|
4492
|
+
this.footerContactFormLink = page.getByRole("link", { name: "contact form" });
|
|
4493
|
+
}
|
|
4494
|
+
url() {
|
|
4495
|
+
throw new Error("Footer does not have an own url.");
|
|
4496
|
+
}
|
|
4497
|
+
}
|
|
4498
|
+
|
|
4499
|
+
var __defProp$x = Object.defineProperty;
|
|
4500
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4501
|
+
var __publicField$x = (obj, key, value) => {
|
|
4502
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4503
|
+
return value;
|
|
4504
|
+
};
|
|
4505
|
+
class Header {
|
|
4506
|
+
constructor(page) {
|
|
4507
|
+
this.page = page;
|
|
4508
|
+
__publicField$x(this, "mainNavigationLink");
|
|
4509
|
+
__publicField$x(this, "languagesDropdown");
|
|
4510
|
+
__publicField$x(this, "languagesMenuOptions");
|
|
4511
|
+
__publicField$x(this, "currenciesDropdown");
|
|
4512
|
+
__publicField$x(this, "currenciesMenuOptions");
|
|
4513
|
+
//wishlist
|
|
4514
|
+
__publicField$x(this, "wishlistIcon");
|
|
4515
|
+
__publicField$x(this, "wishlistBasket");
|
|
4516
|
+
this.mainNavigationLink = page.locator(".main-navigation-link-text");
|
|
4517
|
+
this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
|
|
4518
|
+
this.languagesMenuOptions = page.locator(".top-bar-language").filter({ has: page.getByRole("list") });
|
|
4519
|
+
this.currenciesDropdown = page.locator(".top-bar-currency").filter({ has: page.getByRole("button") });
|
|
4520
|
+
this.currenciesMenuOptions = page.locator(".top-bar-currency").filter({ has: page.getByRole("list") });
|
|
4521
|
+
this.wishlistIcon = page.locator(".header-wishlist-icon");
|
|
4522
|
+
this.wishlistBasket = page.locator(".header-wishlist-badge");
|
|
4523
|
+
}
|
|
4524
|
+
url() {
|
|
4525
|
+
throw new Error("Header does not have an own url.");
|
|
4526
|
+
}
|
|
4527
|
+
}
|
|
4528
|
+
|
|
4450
4529
|
const StorefrontPageObjects = {
|
|
4451
4530
|
Home,
|
|
4452
4531
|
ProductDetail: ProductDetail$1,
|
|
@@ -4470,7 +4549,9 @@ const StorefrontPageObjects = {
|
|
|
4470
4549
|
CheckoutOrderEdit,
|
|
4471
4550
|
PageNotFound,
|
|
4472
4551
|
ContactForm,
|
|
4473
|
-
Wishlist
|
|
4552
|
+
Wishlist,
|
|
4553
|
+
Footer,
|
|
4554
|
+
Header
|
|
4474
4555
|
};
|
|
4475
4556
|
const test$7 = test$f.extend({
|
|
4476
4557
|
StorefrontHome: async ({ StorefrontPage }, use) => {
|
|
@@ -4541,6 +4622,12 @@ const test$7 = test$f.extend({
|
|
|
4541
4622
|
},
|
|
4542
4623
|
StorefrontWishlist: async ({ StorefrontPage }, use) => {
|
|
4543
4624
|
await use(new Wishlist(StorefrontPage));
|
|
4625
|
+
},
|
|
4626
|
+
StorefrontFooter: async ({ StorefrontPage }, use) => {
|
|
4627
|
+
await use(new Footer(StorefrontPage));
|
|
4628
|
+
},
|
|
4629
|
+
StorefrontHeader: async ({ StorefrontPage }, use) => {
|
|
4630
|
+
await use(new Header(StorefrontPage));
|
|
4544
4631
|
}
|
|
4545
4632
|
});
|
|
4546
4633
|
|