@shopware-ag/acceptance-test-suite 11.20.0 → 11.20.1
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 +83 -91
- package/dist/index.d.ts +83 -91
- package/dist/index.mjs +555 -491
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { test as test$
|
|
2
|
-
export
|
|
1
|
+
import { test as test$e, expect, request, mergeTests } from '@playwright/test';
|
|
2
|
+
export { expect, mergeTests } from '@playwright/test';
|
|
3
3
|
import { Image } from 'image-js';
|
|
4
4
|
import crypto from 'crypto';
|
|
5
5
|
import { stringify } from 'uuid';
|
|
@@ -8,7 +8,7 @@ import fs from 'fs';
|
|
|
8
8
|
import { AxeBuilder } from '@axe-core/playwright';
|
|
9
9
|
import { createHtmlReport } from 'axe-html-reporter';
|
|
10
10
|
|
|
11
|
-
const test$d = test$
|
|
11
|
+
const test$d = test$e.extend({
|
|
12
12
|
SalesChannelBaseConfig: [
|
|
13
13
|
async ({ Country, Currency, Language, PaymentMethod, ShippingMethod, SnippetSet, Tax, Theme }, use) => {
|
|
14
14
|
await use({
|
|
@@ -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$12 = Object.defineProperty;
|
|
159
|
+
var __defNormalProp$12 = (obj, key, value) => key in obj ? __defProp$12(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
160
|
+
var __publicField$12 = (obj, key, value) => {
|
|
161
|
+
__defNormalProp$12(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$12(this, "context");
|
|
167
|
+
__publicField$12(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$12(_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$11(_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$11 = Object.defineProperty;
|
|
298
|
+
var __defNormalProp$11 = (obj, key, value) => key in obj ? __defProp$11(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
299
|
+
var __publicField$11 = (obj, key, value) => {
|
|
300
|
+
__defNormalProp$11(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$11(this, "context");
|
|
306
|
+
__publicField$11(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$11(_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$10 = Object.defineProperty;
|
|
372
|
+
var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
373
|
+
var __publicField$10 = (obj, key, value) => {
|
|
374
|
+
__defNormalProp$10(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$10(this, "context");
|
|
380
380
|
this.context = context;
|
|
381
381
|
}
|
|
382
382
|
/**
|
|
@@ -482,7 +482,7 @@ class MailpitApiContext {
|
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
const test$c = test$
|
|
485
|
+
const test$c = test$e.extend({
|
|
486
486
|
AdminApiContext: [
|
|
487
487
|
async ({}, use) => {
|
|
488
488
|
const adminApiContext = await AdminApiContext.create();
|
|
@@ -569,7 +569,7 @@ const clearDelayedCache = async (adminApiContext) => {
|
|
|
569
569
|
await adminApiContext.delete("./_action/cache-delayed");
|
|
570
570
|
};
|
|
571
571
|
|
|
572
|
-
const test$b = test$
|
|
572
|
+
const test$b = test$e.extend({
|
|
573
573
|
AdminPage: async ({ IdProvider, AdminApiContext, SalesChannelBaseConfig, browser }, use) => {
|
|
574
574
|
const context = await browser.newContext({
|
|
575
575
|
baseURL: SalesChannelBaseConfig.adminUrl,
|
|
@@ -651,7 +651,7 @@ const test$b = test$f.extend({
|
|
|
651
651
|
});
|
|
652
652
|
let page;
|
|
653
653
|
if (!await isThemeCompiled(AdminApiContext, DefaultSalesChannel.url)) {
|
|
654
|
-
test$
|
|
654
|
+
test$e.slow();
|
|
655
655
|
await AdminApiContext.post(
|
|
656
656
|
`./_action/theme/${SalesChannelBaseConfig.defaultThemeId}/assign/${salesChannel.id}`
|
|
657
657
|
);
|
|
@@ -688,29 +688,29 @@ const test$b = test$f.extend({
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
691
|
-
var __defProp
|
|
692
|
-
var __defNormalProp
|
|
693
|
-
var __publicField
|
|
694
|
-
__defNormalProp
|
|
691
|
+
var __defProp$$ = Object.defineProperty;
|
|
692
|
+
var __defNormalProp$$ = (obj, key, value) => key in obj ? __defProp$$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
693
|
+
var __publicField$$ = (obj, key, value) => {
|
|
694
|
+
__defNormalProp$$(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
695
695
|
return value;
|
|
696
696
|
};
|
|
697
697
|
class Actor {
|
|
698
698
|
constructor(name, page, baseURL) {
|
|
699
|
-
__publicField
|
|
700
|
-
__publicField
|
|
701
|
-
__publicField
|
|
702
|
-
__publicField
|
|
699
|
+
__publicField$$(this, "page");
|
|
700
|
+
__publicField$$(this, "name");
|
|
701
|
+
__publicField$$(this, "baseURL");
|
|
702
|
+
__publicField$$(this, "expects", expect);
|
|
703
703
|
this.name = name;
|
|
704
704
|
this.page = page;
|
|
705
705
|
this.baseURL = baseURL;
|
|
706
706
|
}
|
|
707
707
|
async attemptsTo(task) {
|
|
708
708
|
const stepTitle = `${this.name} attempts to ${this.camelCaseToLowerCase(task.name)}`;
|
|
709
|
-
await test$
|
|
709
|
+
await test$e.step(stepTitle, async () => await task());
|
|
710
710
|
}
|
|
711
711
|
async goesTo(url, forceReload = false) {
|
|
712
712
|
const stepTitle = `${this.name} navigates to "${url}"`;
|
|
713
|
-
await test$
|
|
713
|
+
await test$e.step(stepTitle, async () => {
|
|
714
714
|
if (this.baseURL && !forceReload && url.startsWith("#")) {
|
|
715
715
|
const baseURLWithoutSlash = this.baseURL.charAt(this.baseURL.length - 1) == "/" ? this.baseURL.substr(0, this.baseURL.length - 1) : this.baseURL;
|
|
716
716
|
const fullURL = new URL(url, baseURLWithoutSlash);
|
|
@@ -737,7 +737,7 @@ class Actor {
|
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
const test$a = test$
|
|
740
|
+
const test$a = test$e.extend({
|
|
741
741
|
ShopCustomer: async ({ StorefrontPage }, use) => {
|
|
742
742
|
const shopCustomer = new Actor("Shop customer", StorefrontPage);
|
|
743
743
|
await use(shopCustomer);
|
|
@@ -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$_ = Object.defineProperty;
|
|
1040
|
+
var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1041
|
+
var __publicField$_ = (obj, key, value) => {
|
|
1042
|
+
__defNormalProp$_(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$_(this, "AdminApiClient");
|
|
1048
|
+
__publicField$_(this, "IdProvider");
|
|
1049
|
+
__publicField$_(this, "namePrefix", "Test-");
|
|
1050
|
+
__publicField$_(this, "nameSuffix", "");
|
|
1051
|
+
__publicField$_(this, "defaultSalesChannel");
|
|
1052
|
+
__publicField$_(this, "defaultTaxId");
|
|
1053
|
+
__publicField$_(this, "defaultCurrencyId");
|
|
1054
|
+
__publicField$_(this, "defaultCategoryId");
|
|
1055
|
+
__publicField$_(this, "defaultLanguageId");
|
|
1056
|
+
__publicField$_(this, "defaultCountryId");
|
|
1057
|
+
__publicField$_(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$_(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$_(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$_(this, "createdRecords", []);
|
|
1078
|
+
__publicField$_(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$_(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$_(this, "combineAll", (array) => {
|
|
1091
1091
|
const result = [];
|
|
1092
1092
|
const max = array.length - 1;
|
|
1093
1093
|
const helper = (tmpArray, i) => {
|
|
@@ -3235,7 +3235,7 @@ class TestDataService {
|
|
|
3235
3235
|
|
|
3236
3236
|
const ATS_SKIP_CLEANUP = ["1", "true"].includes(process.env["ATS_SKIP_CLEANUP"] || "");
|
|
3237
3237
|
const ATS_EXEC_CLEANUP = !ATS_SKIP_CLEANUP;
|
|
3238
|
-
const test$9 = test$
|
|
3238
|
+
const test$9 = test$e.extend({
|
|
3239
3239
|
TestDataService: async ({ AdminApiContext, IdProvider, DefaultSalesChannel, SalesChannelBaseConfig }, use) => {
|
|
3240
3240
|
const DataService = new TestDataService(AdminApiContext, IdProvider, {
|
|
3241
3241
|
defaultSalesChannel: DefaultSalesChannel.salesChannel,
|
|
@@ -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$Z = Object.defineProperty;
|
|
3257
|
+
var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3258
|
+
var __publicField$Z = (obj, key, value) => {
|
|
3259
|
+
__defNormalProp$Z(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$Z(this, "workerIndex");
|
|
3265
|
+
__publicField$Z(this, "seed");
|
|
3266
3266
|
this.workerIndex = workerIndex;
|
|
3267
3267
|
this.seed = seed;
|
|
3268
3268
|
}
|
|
@@ -3291,7 +3291,7 @@ class IdProvider {
|
|
|
3291
3291
|
}
|
|
3292
3292
|
}
|
|
3293
3293
|
|
|
3294
|
-
const test$8 = test$
|
|
3294
|
+
const test$8 = test$e.extend({
|
|
3295
3295
|
IdProvider: [
|
|
3296
3296
|
async ({}, use, workerInfo) => {
|
|
3297
3297
|
const seed = process.env.SHOPWARE_ACCESS_KEY_ID || process.env.SHOPWARE_ADMIN_PASSWORD || "test-suite";
|
|
@@ -3346,83 +3346,84 @@ const test$8 = test$f.extend({
|
|
|
3346
3346
|
]
|
|
3347
3347
|
});
|
|
3348
3348
|
|
|
3349
|
-
var __defProp$
|
|
3350
|
-
var __defNormalProp$
|
|
3351
|
-
var __publicField$
|
|
3352
|
-
__defNormalProp$
|
|
3349
|
+
var __defProp$Y = Object.defineProperty;
|
|
3350
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3351
|
+
var __publicField$Y = (obj, key, value) => {
|
|
3352
|
+
__defNormalProp$Y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3353
3353
|
return value;
|
|
3354
3354
|
};
|
|
3355
3355
|
class Home {
|
|
3356
3356
|
constructor(page) {
|
|
3357
|
-
this
|
|
3358
|
-
__publicField$
|
|
3359
|
-
__publicField$
|
|
3360
|
-
__publicField$
|
|
3361
|
-
__publicField$
|
|
3362
|
-
__publicField$
|
|
3363
|
-
__publicField$
|
|
3364
|
-
__publicField$X(this, "productVariantCharacteristicsOptions");
|
|
3357
|
+
__publicField$Y(this, "categoryTitle");
|
|
3358
|
+
__publicField$Y(this, "accountMenuButton");
|
|
3359
|
+
__publicField$Y(this, "closeGuestSessionButton");
|
|
3360
|
+
__publicField$Y(this, "productImages");
|
|
3361
|
+
__publicField$Y(this, "productListItems");
|
|
3362
|
+
__publicField$Y(this, "loader");
|
|
3363
|
+
__publicField$Y(this, "productVariantCharacteristicsOptions");
|
|
3365
3364
|
/**
|
|
3366
3365
|
* @deprecated Use 'Header/languagesDropdown' instead
|
|
3367
3366
|
*/
|
|
3368
|
-
__publicField$
|
|
3367
|
+
__publicField$Y(this, "languagesDropdown");
|
|
3369
3368
|
/**
|
|
3370
3369
|
* @deprecated Use 'Header/languagesMenuOptions' instead
|
|
3371
3370
|
*/
|
|
3372
|
-
__publicField$
|
|
3371
|
+
__publicField$Y(this, "languagesMenuOptions");
|
|
3373
3372
|
/**
|
|
3374
3373
|
* @deprecated Use 'Header/currenciesDropdown' instead
|
|
3375
3374
|
*/
|
|
3376
|
-
__publicField$
|
|
3375
|
+
__publicField$Y(this, "currenciesDropdown");
|
|
3377
3376
|
/**
|
|
3378
3377
|
* @deprecated Use 'Header/currenciesMenuOptions' instead
|
|
3379
3378
|
*/
|
|
3380
|
-
__publicField$
|
|
3381
|
-
__publicField$
|
|
3382
|
-
__publicField$
|
|
3383
|
-
__publicField$
|
|
3384
|
-
__publicField$
|
|
3385
|
-
__publicField$
|
|
3386
|
-
__publicField$
|
|
3387
|
-
__publicField$
|
|
3388
|
-
__publicField$
|
|
3379
|
+
__publicField$Y(this, "currenciesMenuOptions");
|
|
3380
|
+
__publicField$Y(this, "consentOnlyTechnicallyRequiredButton");
|
|
3381
|
+
__publicField$Y(this, "consentConfigureButton");
|
|
3382
|
+
__publicField$Y(this, "consentAcceptAllCookiesButton");
|
|
3383
|
+
__publicField$Y(this, "consentCookiePreferences");
|
|
3384
|
+
__publicField$Y(this, "consentCookiePermissionContent");
|
|
3385
|
+
__publicField$Y(this, "consentDialog");
|
|
3386
|
+
__publicField$Y(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3387
|
+
__publicField$Y(this, "consentDialogStatisticsCheckbox");
|
|
3389
3388
|
/**
|
|
3390
3389
|
* @deprecated Use 'consentDialogMarketingCheckbox' instead
|
|
3391
3390
|
*/
|
|
3392
|
-
__publicField$
|
|
3393
|
-
__publicField$
|
|
3394
|
-
__publicField$
|
|
3395
|
-
__publicField$
|
|
3396
|
-
__publicField$
|
|
3397
|
-
__publicField$
|
|
3391
|
+
__publicField$Y(this, "consentDialogMarketingdCheckbox");
|
|
3392
|
+
__publicField$Y(this, "consentDialogMarketingCheckbox");
|
|
3393
|
+
__publicField$Y(this, "consentDialogAcceptAllCookiesButton");
|
|
3394
|
+
__publicField$Y(this, "consentDialogSaveButton");
|
|
3395
|
+
__publicField$Y(this, "consentCookieBannerContainer");
|
|
3396
|
+
__publicField$Y(this, "offcanvasBackdrop");
|
|
3398
3397
|
/**
|
|
3399
3398
|
* @deprecated Use 'Header/mainNavigationLink' instead
|
|
3400
3399
|
*/
|
|
3401
|
-
__publicField$
|
|
3400
|
+
__publicField$Y(this, "mainNavigationLink");
|
|
3402
3401
|
/**
|
|
3403
3402
|
* @deprecated Use 'Footer/contactFormLink' instead
|
|
3404
3403
|
*/
|
|
3405
|
-
__publicField$
|
|
3404
|
+
__publicField$Y(this, "contactFormLink");
|
|
3406
3405
|
//wishlist
|
|
3407
3406
|
/**
|
|
3408
3407
|
* @deprecated Use 'Header/wishlistIcon' instead
|
|
3409
3408
|
*/
|
|
3410
|
-
__publicField$
|
|
3409
|
+
__publicField$Y(this, "wishlistIcon");
|
|
3411
3410
|
/**
|
|
3412
3411
|
* @deprecated Use 'Header/wishlistBasket' instead
|
|
3413
3412
|
*/
|
|
3414
|
-
__publicField$
|
|
3413
|
+
__publicField$Y(this, "wishlistBasket");
|
|
3415
3414
|
//product filters
|
|
3416
|
-
__publicField$
|
|
3417
|
-
__publicField$
|
|
3418
|
-
__publicField$
|
|
3419
|
-
__publicField$
|
|
3420
|
-
__publicField$
|
|
3421
|
-
__publicField$
|
|
3422
|
-
__publicField$
|
|
3423
|
-
__publicField$
|
|
3424
|
-
__publicField$
|
|
3425
|
-
__publicField$
|
|
3415
|
+
__publicField$Y(this, "filterMultiSelect");
|
|
3416
|
+
__publicField$Y(this, "manufacturerFilter");
|
|
3417
|
+
__publicField$Y(this, "propertyFilters");
|
|
3418
|
+
__publicField$Y(this, "priceFilterButton");
|
|
3419
|
+
__publicField$Y(this, "resetAllButton");
|
|
3420
|
+
__publicField$Y(this, "freeShippingFilter");
|
|
3421
|
+
__publicField$Y(this, "productList");
|
|
3422
|
+
__publicField$Y(this, "productItemNames");
|
|
3423
|
+
__publicField$Y(this, "productRatingButton");
|
|
3424
|
+
__publicField$Y(this, "productRatingList");
|
|
3425
|
+
__publicField$Y(this, "page");
|
|
3426
|
+
this.page = page;
|
|
3426
3427
|
this.categoryTitle = page.locator(".cms-element-text h1");
|
|
3427
3428
|
this.accountMenuButton = page.getByLabel("Your account");
|
|
3428
3429
|
this.closeGuestSessionButton = page.locator(".account-aside-btn");
|
|
@@ -3577,59 +3578,60 @@ class Home {
|
|
|
3577
3578
|
}
|
|
3578
3579
|
}
|
|
3579
3580
|
|
|
3580
|
-
var __defProp$
|
|
3581
|
-
var __defNormalProp$
|
|
3582
|
-
var __publicField$
|
|
3583
|
-
__defNormalProp$
|
|
3581
|
+
var __defProp$X = Object.defineProperty;
|
|
3582
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3583
|
+
var __publicField$X = (obj, key, value) => {
|
|
3584
|
+
__defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3584
3585
|
return value;
|
|
3585
3586
|
};
|
|
3586
3587
|
let ProductDetail$1 = class ProductDetail {
|
|
3587
3588
|
constructor(page) {
|
|
3588
|
-
this
|
|
3589
|
-
__publicField$
|
|
3590
|
-
__publicField$
|
|
3591
|
-
__publicField$
|
|
3592
|
-
__publicField$
|
|
3593
|
-
__publicField$
|
|
3594
|
-
__publicField$
|
|
3595
|
-
__publicField$
|
|
3596
|
-
__publicField$
|
|
3597
|
-
__publicField$
|
|
3598
|
-
__publicField$
|
|
3599
|
-
__publicField$
|
|
3600
|
-
__publicField$
|
|
3601
|
-
__publicField$
|
|
3602
|
-
__publicField$
|
|
3603
|
-
__publicField$
|
|
3604
|
-
__publicField$
|
|
3605
|
-
__publicField$
|
|
3606
|
-
__publicField$
|
|
3607
|
-
__publicField$
|
|
3608
|
-
__publicField$W(this, "productName");
|
|
3589
|
+
__publicField$X(this, "addToCartButton");
|
|
3590
|
+
__publicField$X(this, "quantitySelect");
|
|
3591
|
+
__publicField$X(this, "productSingleImage");
|
|
3592
|
+
__publicField$X(this, "productSinglePrice");
|
|
3593
|
+
__publicField$X(this, "productPriceRangesRow");
|
|
3594
|
+
__publicField$X(this, "productListingPriceBadge");
|
|
3595
|
+
__publicField$X(this, "productListingPrice");
|
|
3596
|
+
__publicField$X(this, "productListingPricePercentage");
|
|
3597
|
+
__publicField$X(this, "offCanvasCartTitle");
|
|
3598
|
+
__publicField$X(this, "offCanvasCart");
|
|
3599
|
+
__publicField$X(this, "offCanvasCartGoToCheckoutButton");
|
|
3600
|
+
__publicField$X(this, "offCanvasLineItemImages");
|
|
3601
|
+
__publicField$X(this, "offCanvasSummaryTotalPrice");
|
|
3602
|
+
__publicField$X(this, "offCanvas");
|
|
3603
|
+
__publicField$X(this, "wishlistAddedButton");
|
|
3604
|
+
__publicField$X(this, "wishlistNotAddedButton");
|
|
3605
|
+
__publicField$X(this, "productDetailConfigurator");
|
|
3606
|
+
__publicField$X(this, "productDetailConfiguratorGroupTitle");
|
|
3607
|
+
__publicField$X(this, "productDetailConfiguratorOptionInputs");
|
|
3608
|
+
__publicField$X(this, "productName");
|
|
3609
3609
|
//Reviews Tab
|
|
3610
|
-
__publicField$
|
|
3611
|
-
__publicField$
|
|
3612
|
-
__publicField$
|
|
3613
|
-
__publicField$
|
|
3614
|
-
__publicField$
|
|
3615
|
-
__publicField$
|
|
3616
|
-
__publicField$
|
|
3617
|
-
__publicField$
|
|
3618
|
-
__publicField$
|
|
3619
|
-
__publicField$
|
|
3620
|
-
__publicField$
|
|
3621
|
-
__publicField$
|
|
3622
|
-
__publicField$
|
|
3623
|
-
__publicField$
|
|
3624
|
-
__publicField$
|
|
3625
|
-
__publicField$
|
|
3626
|
-
__publicField$
|
|
3627
|
-
__publicField$
|
|
3628
|
-
__publicField$
|
|
3629
|
-
__publicField$
|
|
3630
|
-
__publicField$
|
|
3631
|
-
__publicField$
|
|
3632
|
-
__publicField$
|
|
3610
|
+
__publicField$X(this, "reviewsTab");
|
|
3611
|
+
__publicField$X(this, "reviewTeaserButton");
|
|
3612
|
+
__publicField$X(this, "reviewTeaserText");
|
|
3613
|
+
__publicField$X(this, "reviewListingItems");
|
|
3614
|
+
__publicField$X(this, "reviewEmptyListingText");
|
|
3615
|
+
__publicField$X(this, "reviewLoginForm");
|
|
3616
|
+
__publicField$X(this, "forgottenPasswordLink");
|
|
3617
|
+
__publicField$X(this, "reviewForm");
|
|
3618
|
+
__publicField$X(this, "reviewRatingPoints");
|
|
3619
|
+
__publicField$X(this, "reviewRatingText");
|
|
3620
|
+
__publicField$X(this, "reviewSubmitMessage");
|
|
3621
|
+
__publicField$X(this, "reviewCounter");
|
|
3622
|
+
__publicField$X(this, "reviewItemRatingPoints");
|
|
3623
|
+
__publicField$X(this, "reviewItemTitle");
|
|
3624
|
+
__publicField$X(this, "reviewReviewTextInput");
|
|
3625
|
+
__publicField$X(this, "reviewItemContent");
|
|
3626
|
+
__publicField$X(this, "reviewLoginButton");
|
|
3627
|
+
__publicField$X(this, "reviewEmailInput");
|
|
3628
|
+
__publicField$X(this, "reviewPasswordInput");
|
|
3629
|
+
__publicField$X(this, "reviewTitleInput");
|
|
3630
|
+
__publicField$X(this, "reviewSubmitButton");
|
|
3631
|
+
__publicField$X(this, "productReviewsLink");
|
|
3632
|
+
__publicField$X(this, "productReviewRating");
|
|
3633
|
+
__publicField$X(this, "page");
|
|
3634
|
+
this.page = page;
|
|
3633
3635
|
this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
|
|
3634
3636
|
this.quantitySelect = page.getByLabel("Quantity", { exact: true });
|
|
3635
3637
|
this.productSingleImage = page.locator(".gallery-slider-single-image");
|
|
@@ -3694,18 +3696,19 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
3694
3696
|
}
|
|
3695
3697
|
};
|
|
3696
3698
|
|
|
3697
|
-
var __defProp$
|
|
3698
|
-
var __defNormalProp$
|
|
3699
|
-
var __publicField$
|
|
3700
|
-
__defNormalProp$
|
|
3699
|
+
var __defProp$W = Object.defineProperty;
|
|
3700
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3701
|
+
var __publicField$W = (obj, key, value) => {
|
|
3702
|
+
__defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3701
3703
|
return value;
|
|
3702
3704
|
};
|
|
3703
3705
|
class Category {
|
|
3704
3706
|
constructor(page) {
|
|
3707
|
+
__publicField$W(this, "sortingSelect");
|
|
3708
|
+
__publicField$W(this, "firstProductBuyButton");
|
|
3709
|
+
__publicField$W(this, "noProductsFoundAlert");
|
|
3710
|
+
__publicField$W(this, "page");
|
|
3705
3711
|
this.page = page;
|
|
3706
|
-
__publicField$V(this, "sortingSelect");
|
|
3707
|
-
__publicField$V(this, "firstProductBuyButton");
|
|
3708
|
-
__publicField$V(this, "noProductsFoundAlert");
|
|
3709
3712
|
this.sortingSelect = page.getByLabel("Sorting");
|
|
3710
3713
|
this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
|
|
3711
3714
|
this.noProductsFoundAlert = page.getByText("No products found.");
|
|
@@ -3715,24 +3718,25 @@ class Category {
|
|
|
3715
3718
|
}
|
|
3716
3719
|
}
|
|
3717
3720
|
|
|
3718
|
-
var __defProp$
|
|
3719
|
-
var __defNormalProp$
|
|
3720
|
-
var __publicField$
|
|
3721
|
-
__defNormalProp$
|
|
3721
|
+
var __defProp$V = Object.defineProperty;
|
|
3722
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3723
|
+
var __publicField$V = (obj, key, value) => {
|
|
3724
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3722
3725
|
return value;
|
|
3723
3726
|
};
|
|
3724
3727
|
class CheckoutCart {
|
|
3725
3728
|
constructor(page) {
|
|
3729
|
+
__publicField$V(this, "headline");
|
|
3730
|
+
__publicField$V(this, "goToCheckoutButton");
|
|
3731
|
+
__publicField$V(this, "enterPromoInput");
|
|
3732
|
+
__publicField$V(this, "grandTotalPrice");
|
|
3733
|
+
__publicField$V(this, "emptyCartAlert");
|
|
3734
|
+
__publicField$V(this, "stockReachedAlert");
|
|
3735
|
+
__publicField$V(this, "cartLineItemImages");
|
|
3736
|
+
__publicField$V(this, "unitPriceInfo");
|
|
3737
|
+
__publicField$V(this, "cartQuantityNumber");
|
|
3738
|
+
__publicField$V(this, "page");
|
|
3726
3739
|
this.page = page;
|
|
3727
|
-
__publicField$U(this, "headline");
|
|
3728
|
-
__publicField$U(this, "goToCheckoutButton");
|
|
3729
|
-
__publicField$U(this, "enterPromoInput");
|
|
3730
|
-
__publicField$U(this, "grandTotalPrice");
|
|
3731
|
-
__publicField$U(this, "emptyCartAlert");
|
|
3732
|
-
__publicField$U(this, "stockReachedAlert");
|
|
3733
|
-
__publicField$U(this, "cartLineItemImages");
|
|
3734
|
-
__publicField$U(this, "unitPriceInfo");
|
|
3735
|
-
__publicField$U(this, "cartQuantityNumber");
|
|
3736
3740
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3737
3741
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
3738
3742
|
this.enterPromoInput = page.getByLabel("Promo code");
|
|
@@ -3773,25 +3777,26 @@ class CheckoutCart {
|
|
|
3773
3777
|
}
|
|
3774
3778
|
}
|
|
3775
3779
|
|
|
3776
|
-
var __defProp$
|
|
3777
|
-
var __defNormalProp$
|
|
3778
|
-
var __publicField$
|
|
3779
|
-
__defNormalProp$
|
|
3780
|
+
var __defProp$U = Object.defineProperty;
|
|
3781
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3782
|
+
var __publicField$U = (obj, key, value) => {
|
|
3783
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3780
3784
|
return value;
|
|
3781
3785
|
};
|
|
3782
3786
|
class OffCanvasCart {
|
|
3783
3787
|
constructor(page) {
|
|
3788
|
+
__publicField$U(this, "headline");
|
|
3789
|
+
__publicField$U(this, "itemCount");
|
|
3790
|
+
__publicField$U(this, "goToCheckoutButton");
|
|
3791
|
+
__publicField$U(this, "goToCartButton");
|
|
3792
|
+
__publicField$U(this, "continueShoppingButton");
|
|
3793
|
+
__publicField$U(this, "enterPromoInput");
|
|
3794
|
+
__publicField$U(this, "submitDiscountButton");
|
|
3795
|
+
__publicField$U(this, "subTotalPrice");
|
|
3796
|
+
__publicField$U(this, "shippingCosts");
|
|
3797
|
+
__publicField$U(this, "cartQuantityNumber");
|
|
3798
|
+
__publicField$U(this, "page");
|
|
3784
3799
|
this.page = page;
|
|
3785
|
-
__publicField$T(this, "headline");
|
|
3786
|
-
__publicField$T(this, "itemCount");
|
|
3787
|
-
__publicField$T(this, "goToCheckoutButton");
|
|
3788
|
-
__publicField$T(this, "goToCartButton");
|
|
3789
|
-
__publicField$T(this, "continueShoppingButton");
|
|
3790
|
-
__publicField$T(this, "enterPromoInput");
|
|
3791
|
-
__publicField$T(this, "submitDiscountButton");
|
|
3792
|
-
__publicField$T(this, "subTotalPrice");
|
|
3793
|
-
__publicField$T(this, "shippingCosts");
|
|
3794
|
-
__publicField$T(this, "cartQuantityNumber");
|
|
3795
3800
|
this.headline = page.getByRole("heading", { name: "Shopping cart" });
|
|
3796
3801
|
this.itemCount = page.locator(".offcanvas-cart-header-count");
|
|
3797
3802
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
@@ -3837,36 +3842,37 @@ class OffCanvasCart {
|
|
|
3837
3842
|
}
|
|
3838
3843
|
}
|
|
3839
3844
|
|
|
3840
|
-
var __defProp$
|
|
3841
|
-
var __defNormalProp$
|
|
3842
|
-
var __publicField$
|
|
3843
|
-
__defNormalProp$
|
|
3845
|
+
var __defProp$T = Object.defineProperty;
|
|
3846
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3847
|
+
var __publicField$T = (obj, key, value) => {
|
|
3848
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3844
3849
|
return value;
|
|
3845
3850
|
};
|
|
3846
3851
|
class CheckoutConfirm {
|
|
3847
3852
|
constructor(page) {
|
|
3848
|
-
this
|
|
3849
|
-
__publicField$
|
|
3850
|
-
__publicField$
|
|
3851
|
-
__publicField$
|
|
3852
|
-
__publicField$
|
|
3853
|
-
__publicField$
|
|
3854
|
-
__publicField$S(this, "submitOrderButton");
|
|
3853
|
+
__publicField$T(this, "headline");
|
|
3854
|
+
__publicField$T(this, "termsAndConditionsCheckbox");
|
|
3855
|
+
__publicField$T(this, "immediateAccessToDigitalProductCheckbox");
|
|
3856
|
+
__publicField$T(this, "grandTotalPrice");
|
|
3857
|
+
__publicField$T(this, "taxPrice");
|
|
3858
|
+
__publicField$T(this, "submitOrderButton");
|
|
3855
3859
|
/**
|
|
3856
3860
|
* Payment options
|
|
3857
3861
|
*/
|
|
3858
|
-
__publicField$
|
|
3859
|
-
__publicField$
|
|
3860
|
-
__publicField$
|
|
3862
|
+
__publicField$T(this, "paymentCashOnDelivery");
|
|
3863
|
+
__publicField$T(this, "paymentPaidInAdvance");
|
|
3864
|
+
__publicField$T(this, "paymentInvoice");
|
|
3861
3865
|
/**
|
|
3862
3866
|
* Shipping options
|
|
3863
3867
|
*/
|
|
3864
|
-
__publicField$
|
|
3865
|
-
__publicField$
|
|
3868
|
+
__publicField$T(this, "shippingStandard");
|
|
3869
|
+
__publicField$T(this, "shippingExpress");
|
|
3866
3870
|
/**
|
|
3867
3871
|
* Product details
|
|
3868
3872
|
*/
|
|
3869
|
-
__publicField$
|
|
3873
|
+
__publicField$T(this, "cartLineItemImages");
|
|
3874
|
+
__publicField$T(this, "page");
|
|
3875
|
+
this.page = page;
|
|
3870
3876
|
this.headline = page.getByRole("heading", { name: "Complete order" });
|
|
3871
3877
|
this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
|
|
3872
3878
|
this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
|
|
@@ -3885,21 +3891,22 @@ class CheckoutConfirm {
|
|
|
3885
3891
|
}
|
|
3886
3892
|
}
|
|
3887
3893
|
|
|
3888
|
-
var __defProp$
|
|
3889
|
-
var __defNormalProp$
|
|
3890
|
-
var __publicField$
|
|
3891
|
-
__defNormalProp$
|
|
3894
|
+
var __defProp$S = Object.defineProperty;
|
|
3895
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3896
|
+
var __publicField$S = (obj, key, value) => {
|
|
3897
|
+
__defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3892
3898
|
return value;
|
|
3893
3899
|
};
|
|
3894
3900
|
class CheckoutFinish {
|
|
3895
3901
|
constructor(page) {
|
|
3902
|
+
__publicField$S(this, "headline");
|
|
3903
|
+
__publicField$S(this, "orderNumberText");
|
|
3904
|
+
__publicField$S(this, "grandTotalPrice");
|
|
3905
|
+
__publicField$S(this, "taxPrice");
|
|
3906
|
+
__publicField$S(this, "cartLineItemImages");
|
|
3907
|
+
__publicField$S(this, "page");
|
|
3908
|
+
__publicField$S(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
3896
3909
|
this.page = page;
|
|
3897
|
-
__publicField$R(this, "headline");
|
|
3898
|
-
__publicField$R(this, "orderNumberText");
|
|
3899
|
-
__publicField$R(this, "grandTotalPrice");
|
|
3900
|
-
__publicField$R(this, "taxPrice");
|
|
3901
|
-
__publicField$R(this, "cartLineItemImages");
|
|
3902
|
-
__publicField$R(this, "orderNumberRegex", /Your order number: #(\d+)/);
|
|
3903
3910
|
this.headline = page.getByRole("heading", { name: "Thank you for your order" });
|
|
3904
3911
|
this.orderNumberText = page.getByText(this.orderNumberRegex);
|
|
3905
3912
|
this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
|
|
@@ -3928,16 +3935,17 @@ class CheckoutFinish {
|
|
|
3928
3935
|
}
|
|
3929
3936
|
}
|
|
3930
3937
|
|
|
3931
|
-
var __defProp$
|
|
3932
|
-
var __defNormalProp$
|
|
3933
|
-
var __publicField$
|
|
3934
|
-
__defNormalProp$
|
|
3938
|
+
var __defProp$R = Object.defineProperty;
|
|
3939
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3940
|
+
var __publicField$R = (obj, key, value) => {
|
|
3941
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3935
3942
|
return value;
|
|
3936
3943
|
};
|
|
3937
3944
|
class CheckoutRegister {
|
|
3938
3945
|
constructor(page) {
|
|
3946
|
+
__publicField$R(this, "cartLineItemImages");
|
|
3947
|
+
__publicField$R(this, "page");
|
|
3939
3948
|
this.page = page;
|
|
3940
|
-
__publicField$Q(this, "cartLineItemImages");
|
|
3941
3949
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
3942
3950
|
}
|
|
3943
3951
|
url() {
|
|
@@ -3945,26 +3953,28 @@ class CheckoutRegister {
|
|
|
3945
3953
|
}
|
|
3946
3954
|
}
|
|
3947
3955
|
|
|
3948
|
-
var __defProp$
|
|
3949
|
-
var __defNormalProp$
|
|
3950
|
-
var __publicField$
|
|
3951
|
-
__defNormalProp$
|
|
3956
|
+
var __defProp$Q = Object.defineProperty;
|
|
3957
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3958
|
+
var __publicField$Q = (obj, key, value) => {
|
|
3959
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3952
3960
|
return value;
|
|
3953
3961
|
};
|
|
3954
3962
|
class Account {
|
|
3955
3963
|
constructor(page, instanceMeta) {
|
|
3964
|
+
__publicField$Q(this, "headline");
|
|
3965
|
+
__publicField$Q(this, "personalDataCardTitle");
|
|
3966
|
+
__publicField$Q(this, "paymentMethodCardTitle");
|
|
3967
|
+
__publicField$Q(this, "billingAddressCardTitle");
|
|
3968
|
+
__publicField$Q(this, "shippingAddressCardTitle");
|
|
3969
|
+
__publicField$Q(this, "newsletterCheckbox");
|
|
3970
|
+
__publicField$Q(this, "newsletterRegistrationSuccessMessage");
|
|
3971
|
+
__publicField$Q(this, "customerGroupRequestMessage");
|
|
3972
|
+
__publicField$Q(this, "cannotDeliverToCountryAlert");
|
|
3973
|
+
__publicField$Q(this, "shippingToAddressNotPossibleAlert");
|
|
3974
|
+
__publicField$Q(this, "page");
|
|
3975
|
+
__publicField$Q(this, "instanceMeta");
|
|
3956
3976
|
this.page = page;
|
|
3957
3977
|
this.instanceMeta = instanceMeta;
|
|
3958
|
-
__publicField$P(this, "headline");
|
|
3959
|
-
__publicField$P(this, "personalDataCardTitle");
|
|
3960
|
-
__publicField$P(this, "paymentMethodCardTitle");
|
|
3961
|
-
__publicField$P(this, "billingAddressCardTitle");
|
|
3962
|
-
__publicField$P(this, "shippingAddressCardTitle");
|
|
3963
|
-
__publicField$P(this, "newsletterCheckbox");
|
|
3964
|
-
__publicField$P(this, "newsletterRegistrationSuccessMessage");
|
|
3965
|
-
__publicField$P(this, "customerGroupRequestMessage");
|
|
3966
|
-
__publicField$P(this, "cannotDeliverToCountryAlert");
|
|
3967
|
-
__publicField$P(this, "shippingToAddressNotPossibleAlert");
|
|
3968
3978
|
this.headline = page.getByRole("heading", { name: "Overview" });
|
|
3969
3979
|
this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
|
|
3970
3980
|
this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
|
|
@@ -3988,57 +3998,58 @@ class Account {
|
|
|
3988
3998
|
}
|
|
3989
3999
|
}
|
|
3990
4000
|
|
|
3991
|
-
var __defProp$
|
|
3992
|
-
var __defNormalProp$
|
|
3993
|
-
var __publicField$
|
|
3994
|
-
__defNormalProp$
|
|
4001
|
+
var __defProp$P = Object.defineProperty;
|
|
4002
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4003
|
+
var __publicField$P = (obj, key, value) => {
|
|
4004
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3995
4005
|
return value;
|
|
3996
4006
|
};
|
|
3997
4007
|
class AccountLogin {
|
|
3998
4008
|
constructor(page) {
|
|
3999
|
-
this
|
|
4000
|
-
__publicField$
|
|
4001
|
-
__publicField$
|
|
4002
|
-
__publicField$
|
|
4003
|
-
__publicField$
|
|
4004
|
-
__publicField$
|
|
4005
|
-
__publicField$
|
|
4006
|
-
__publicField$
|
|
4007
|
-
__publicField$O(this, "passwordUpdatedAlert");
|
|
4009
|
+
__publicField$P(this, "emailInput");
|
|
4010
|
+
__publicField$P(this, "passwordInput");
|
|
4011
|
+
__publicField$P(this, "forgotPasswordLink");
|
|
4012
|
+
__publicField$P(this, "loginButton");
|
|
4013
|
+
__publicField$P(this, "logoutLink");
|
|
4014
|
+
__publicField$P(this, "successAlert");
|
|
4015
|
+
__publicField$P(this, "invalidCredentialsAlert");
|
|
4016
|
+
__publicField$P(this, "passwordUpdatedAlert");
|
|
4008
4017
|
// Inputs for registration
|
|
4009
|
-
__publicField$
|
|
4010
|
-
__publicField$
|
|
4011
|
-
__publicField$
|
|
4012
|
-
__publicField$
|
|
4013
|
-
__publicField$
|
|
4014
|
-
__publicField$
|
|
4015
|
-
__publicField$
|
|
4016
|
-
__publicField$
|
|
4017
|
-
__publicField$
|
|
4018
|
-
__publicField$
|
|
4019
|
-
__publicField$
|
|
4020
|
-
__publicField$
|
|
4021
|
-
__publicField$
|
|
4022
|
-
__publicField$
|
|
4023
|
-
__publicField$
|
|
4024
|
-
__publicField$
|
|
4018
|
+
__publicField$P(this, "personalFormArea");
|
|
4019
|
+
__publicField$P(this, "billingAddressFormArea");
|
|
4020
|
+
__publicField$P(this, "accountTypeSelect");
|
|
4021
|
+
__publicField$P(this, "salutationSelect");
|
|
4022
|
+
__publicField$P(this, "firstNameInput");
|
|
4023
|
+
__publicField$P(this, "lastNameInput");
|
|
4024
|
+
__publicField$P(this, "companyInput");
|
|
4025
|
+
__publicField$P(this, "departmentInput");
|
|
4026
|
+
__publicField$P(this, "vatRegNoInput");
|
|
4027
|
+
__publicField$P(this, "registerEmailInput");
|
|
4028
|
+
__publicField$P(this, "registerPasswordInput");
|
|
4029
|
+
__publicField$P(this, "streetAddressInput");
|
|
4030
|
+
__publicField$P(this, "cityInput");
|
|
4031
|
+
__publicField$P(this, "countryInput");
|
|
4032
|
+
__publicField$P(this, "postalCodeInput");
|
|
4033
|
+
__publicField$P(this, "registerButton");
|
|
4025
4034
|
// Inputs for reCaptcha
|
|
4026
|
-
__publicField$
|
|
4027
|
-
__publicField$
|
|
4028
|
-
__publicField$
|
|
4029
|
-
__publicField$
|
|
4030
|
-
__publicField$
|
|
4035
|
+
__publicField$P(this, "greCaptchaV2Container");
|
|
4036
|
+
__publicField$P(this, "greCaptchaV2Input");
|
|
4037
|
+
__publicField$P(this, "greCaptchaV3Input");
|
|
4038
|
+
__publicField$P(this, "greCaptchaProtectionInformation");
|
|
4039
|
+
__publicField$P(this, "greCaptchaBadge");
|
|
4031
4040
|
//Input for shipping address
|
|
4032
|
-
__publicField$
|
|
4033
|
-
__publicField$
|
|
4034
|
-
__publicField$
|
|
4035
|
-
__publicField$
|
|
4036
|
-
__publicField$
|
|
4037
|
-
__publicField$
|
|
4038
|
-
__publicField$
|
|
4039
|
-
__publicField$
|
|
4040
|
-
__publicField$
|
|
4041
|
-
__publicField$
|
|
4041
|
+
__publicField$P(this, "differentShippingAddressCheckbox");
|
|
4042
|
+
__publicField$P(this, "registerShippingAddressFormArea");
|
|
4043
|
+
__publicField$P(this, "shippingAddressSalutationSelect");
|
|
4044
|
+
__publicField$P(this, "shippingAddressFirstNameInput");
|
|
4045
|
+
__publicField$P(this, "shippingAddressLastNameInput");
|
|
4046
|
+
__publicField$P(this, "shippingAddressStreetAddressInput");
|
|
4047
|
+
__publicField$P(this, "shippingAddressCityInput");
|
|
4048
|
+
__publicField$P(this, "shippingAddressCountryInput");
|
|
4049
|
+
__publicField$P(this, "shippingAddressPostalCodeInput");
|
|
4050
|
+
__publicField$P(this, "shippingAddressStateInput");
|
|
4051
|
+
__publicField$P(this, "page");
|
|
4052
|
+
this.page = page;
|
|
4042
4053
|
this.emailInput = page.getByLabel("Your email address");
|
|
4043
4054
|
this.passwordInput = page.getByLabel("Your password");
|
|
4044
4055
|
this.loginButton = page.getByRole("button", { name: "Log in" });
|
|
@@ -4088,26 +4099,27 @@ class AccountLogin {
|
|
|
4088
4099
|
}
|
|
4089
4100
|
}
|
|
4090
4101
|
|
|
4091
|
-
var __defProp$
|
|
4092
|
-
var __defNormalProp$
|
|
4093
|
-
var __publicField$
|
|
4094
|
-
__defNormalProp$
|
|
4102
|
+
var __defProp$O = Object.defineProperty;
|
|
4103
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4104
|
+
var __publicField$O = (obj, key, value) => {
|
|
4105
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4095
4106
|
return value;
|
|
4096
4107
|
};
|
|
4097
4108
|
class AccountRecover {
|
|
4098
4109
|
constructor(page) {
|
|
4110
|
+
__publicField$O(this, "passwordRecoveryForm");
|
|
4111
|
+
__publicField$O(this, "title");
|
|
4112
|
+
__publicField$O(this, "subtitle");
|
|
4113
|
+
__publicField$O(this, "emailInput");
|
|
4114
|
+
__publicField$O(this, "requestEmailButton");
|
|
4115
|
+
__publicField$O(this, "backButton");
|
|
4116
|
+
__publicField$O(this, "passwordResetEmailSentMessage");
|
|
4117
|
+
__publicField$O(this, "newPasswordInput");
|
|
4118
|
+
__publicField$O(this, "newPasswordConfirmInput");
|
|
4119
|
+
__publicField$O(this, "changePasswordButton");
|
|
4120
|
+
__publicField$O(this, "invalidLinkMessage");
|
|
4121
|
+
__publicField$O(this, "page");
|
|
4099
4122
|
this.page = page;
|
|
4100
|
-
__publicField$N(this, "passwordRecoveryForm");
|
|
4101
|
-
__publicField$N(this, "title");
|
|
4102
|
-
__publicField$N(this, "subtitle");
|
|
4103
|
-
__publicField$N(this, "emailInput");
|
|
4104
|
-
__publicField$N(this, "requestEmailButton");
|
|
4105
|
-
__publicField$N(this, "backButton");
|
|
4106
|
-
__publicField$N(this, "passwordResetEmailSentMessage");
|
|
4107
|
-
__publicField$N(this, "newPasswordInput");
|
|
4108
|
-
__publicField$N(this, "newPasswordConfirmInput");
|
|
4109
|
-
__publicField$N(this, "changePasswordButton");
|
|
4110
|
-
__publicField$N(this, "invalidLinkMessage");
|
|
4111
4123
|
this.passwordRecoveryForm = page.locator(".account-recover-password-form");
|
|
4112
4124
|
const cardTitle = this.passwordRecoveryForm.locator(".card-title");
|
|
4113
4125
|
this.title = cardTitle.getByText("Password recovery");
|
|
@@ -4129,36 +4141,38 @@ class AccountRecover {
|
|
|
4129
4141
|
}
|
|
4130
4142
|
}
|
|
4131
4143
|
|
|
4132
|
-
var __defProp$
|
|
4133
|
-
var __defNormalProp$
|
|
4134
|
-
var __publicField$
|
|
4135
|
-
__defNormalProp$
|
|
4144
|
+
var __defProp$N = Object.defineProperty;
|
|
4145
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4146
|
+
var __publicField$N = (obj, key, value) => {
|
|
4147
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4136
4148
|
return value;
|
|
4137
4149
|
};
|
|
4138
4150
|
class AccountProfile {
|
|
4139
4151
|
constructor(page, instanceMeta) {
|
|
4152
|
+
__publicField$N(this, "page");
|
|
4153
|
+
__publicField$N(this, "instanceMeta");
|
|
4154
|
+
__publicField$N(this, "salutationSelect");
|
|
4155
|
+
__publicField$N(this, "firstNameInput");
|
|
4156
|
+
__publicField$N(this, "lastNameInput");
|
|
4157
|
+
__publicField$N(this, "saveProfileButton");
|
|
4158
|
+
__publicField$N(this, "changeEmailButton");
|
|
4159
|
+
__publicField$N(this, "emailAddressInput");
|
|
4160
|
+
__publicField$N(this, "emailAddressConfirmInput");
|
|
4161
|
+
__publicField$N(this, "emailConfirmPasswordInput");
|
|
4162
|
+
__publicField$N(this, "saveEmailAddressButton");
|
|
4163
|
+
__publicField$N(this, "changePasswordButton");
|
|
4164
|
+
__publicField$N(this, "newPasswordInput");
|
|
4165
|
+
__publicField$N(this, "newPasswordConfirmInput");
|
|
4166
|
+
__publicField$N(this, "currentPasswordInput");
|
|
4167
|
+
__publicField$N(this, "saveNewPasswordButton");
|
|
4168
|
+
__publicField$N(this, "loginDataEmailAddress");
|
|
4169
|
+
__publicField$N(this, "emailUpdateMessage");
|
|
4170
|
+
__publicField$N(this, "passwordUpdateMessage");
|
|
4171
|
+
__publicField$N(this, "emailValidationAlert");
|
|
4172
|
+
__publicField$N(this, "emailUpdateFailureAlert");
|
|
4173
|
+
__publicField$N(this, "passwordUpdateFailureAlert");
|
|
4140
4174
|
this.page = page;
|
|
4141
4175
|
this.instanceMeta = instanceMeta;
|
|
4142
|
-
__publicField$M(this, "salutationSelect");
|
|
4143
|
-
__publicField$M(this, "firstNameInput");
|
|
4144
|
-
__publicField$M(this, "lastNameInput");
|
|
4145
|
-
__publicField$M(this, "saveProfileButton");
|
|
4146
|
-
__publicField$M(this, "changeEmailButton");
|
|
4147
|
-
__publicField$M(this, "emailAddressInput");
|
|
4148
|
-
__publicField$M(this, "emailAddressConfirmInput");
|
|
4149
|
-
__publicField$M(this, "emailConfirmPasswordInput");
|
|
4150
|
-
__publicField$M(this, "saveEmailAddressButton");
|
|
4151
|
-
__publicField$M(this, "changePasswordButton");
|
|
4152
|
-
__publicField$M(this, "newPasswordInput");
|
|
4153
|
-
__publicField$M(this, "newPasswordConfirmInput");
|
|
4154
|
-
__publicField$M(this, "currentPasswordInput");
|
|
4155
|
-
__publicField$M(this, "saveNewPasswordButton");
|
|
4156
|
-
__publicField$M(this, "loginDataEmailAddress");
|
|
4157
|
-
__publicField$M(this, "emailUpdateMessage");
|
|
4158
|
-
__publicField$M(this, "passwordUpdateMessage");
|
|
4159
|
-
__publicField$M(this, "emailValidationAlert");
|
|
4160
|
-
__publicField$M(this, "emailUpdateFailureAlert");
|
|
4161
|
-
__publicField$M(this, "passwordUpdateFailureAlert");
|
|
4162
4176
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
4163
4177
|
this.firstNameInput = page.getByLabel("First name");
|
|
4164
4178
|
this.lastNameInput = page.getByLabel("Last name");
|
|
@@ -4198,24 +4212,25 @@ class AccountProfile {
|
|
|
4198
4212
|
}
|
|
4199
4213
|
}
|
|
4200
4214
|
|
|
4201
|
-
var __defProp$
|
|
4202
|
-
var __defNormalProp$
|
|
4203
|
-
var __publicField$
|
|
4204
|
-
__defNormalProp$
|
|
4215
|
+
var __defProp$M = Object.defineProperty;
|
|
4216
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4217
|
+
var __publicField$M = (obj, key, value) => {
|
|
4218
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4205
4219
|
return value;
|
|
4206
4220
|
};
|
|
4207
4221
|
class AccountOrder {
|
|
4208
4222
|
constructor(page) {
|
|
4223
|
+
__publicField$M(this, "cartLineItemImages");
|
|
4224
|
+
__publicField$M(this, "orderExpandButton");
|
|
4225
|
+
__publicField$M(this, "digitalProductDownloadButton");
|
|
4226
|
+
__publicField$M(this, "dialogOrderCancel");
|
|
4227
|
+
__publicField$M(this, "dialogOrderCancelButton");
|
|
4228
|
+
__publicField$M(this, "dialogBackButton");
|
|
4229
|
+
__publicField$M(this, "orderDetails");
|
|
4230
|
+
__publicField$M(this, "invoiceHTML");
|
|
4231
|
+
__publicField$M(this, "creditItem");
|
|
4232
|
+
__publicField$M(this, "page");
|
|
4209
4233
|
this.page = page;
|
|
4210
|
-
__publicField$L(this, "cartLineItemImages");
|
|
4211
|
-
__publicField$L(this, "orderExpandButton");
|
|
4212
|
-
__publicField$L(this, "digitalProductDownloadButton");
|
|
4213
|
-
__publicField$L(this, "dialogOrderCancel");
|
|
4214
|
-
__publicField$L(this, "dialogOrderCancelButton");
|
|
4215
|
-
__publicField$L(this, "dialogBackButton");
|
|
4216
|
-
__publicField$L(this, "orderDetails");
|
|
4217
|
-
__publicField$L(this, "invoiceHTML");
|
|
4218
|
-
__publicField$L(this, "creditItem");
|
|
4219
4234
|
this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
|
|
4220
4235
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
4221
4236
|
this.digitalProductDownloadButton = page.getByRole("link", { name: "Download" }).first();
|
|
@@ -4266,27 +4281,29 @@ class AccountOrder {
|
|
|
4266
4281
|
}
|
|
4267
4282
|
}
|
|
4268
4283
|
|
|
4269
|
-
var __defProp$
|
|
4270
|
-
var __defNormalProp$
|
|
4271
|
-
var __publicField$
|
|
4272
|
-
__defNormalProp$
|
|
4284
|
+
var __defProp$L = Object.defineProperty;
|
|
4285
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4286
|
+
var __publicField$L = (obj, key, value) => {
|
|
4287
|
+
__defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4273
4288
|
return value;
|
|
4274
4289
|
};
|
|
4275
4290
|
class AccountAddresses {
|
|
4276
4291
|
constructor(page, instanceMeta) {
|
|
4292
|
+
__publicField$L(this, "addNewAddressButton");
|
|
4293
|
+
__publicField$L(this, "editBillingAddressButton");
|
|
4294
|
+
__publicField$L(this, "editShippingAddressButton");
|
|
4295
|
+
__publicField$L(this, "useDefaultBillingAddressButton");
|
|
4296
|
+
__publicField$L(this, "useDefaultShippingAddressButton");
|
|
4297
|
+
__publicField$L(this, "deliveryNotPossibleAlert");
|
|
4298
|
+
__publicField$L(this, "availableAddresses");
|
|
4299
|
+
__publicField$L(this, "addressDropdownButton");
|
|
4300
|
+
__publicField$L(this, "addressDropdownButtons");
|
|
4301
|
+
__publicField$L(this, "availableAddressesUseAsBillingAddress");
|
|
4302
|
+
__publicField$L(this, "availableAddressesUseAsShippingAddress");
|
|
4303
|
+
__publicField$L(this, "page");
|
|
4304
|
+
__publicField$L(this, "instanceMeta");
|
|
4277
4305
|
this.page = page;
|
|
4278
4306
|
this.instanceMeta = instanceMeta;
|
|
4279
|
-
__publicField$K(this, "addNewAddressButton");
|
|
4280
|
-
__publicField$K(this, "editBillingAddressButton");
|
|
4281
|
-
__publicField$K(this, "editShippingAddressButton");
|
|
4282
|
-
__publicField$K(this, "useDefaultBillingAddressButton");
|
|
4283
|
-
__publicField$K(this, "useDefaultShippingAddressButton");
|
|
4284
|
-
__publicField$K(this, "deliveryNotPossibleAlert");
|
|
4285
|
-
__publicField$K(this, "availableAddresses");
|
|
4286
|
-
__publicField$K(this, "addressDropdownButton");
|
|
4287
|
-
__publicField$K(this, "addressDropdownButtons");
|
|
4288
|
-
__publicField$K(this, "availableAddressesUseAsBillingAddress");
|
|
4289
|
-
__publicField$K(this, "availableAddressesUseAsShippingAddress");
|
|
4290
4307
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
4291
4308
|
this.editBillingAddressButton = page.getByRole("link", { name: "Edit address" }).first();
|
|
4292
4309
|
this.editShippingAddressButton = page.getByRole("link", { name: "Edit address" }).nth(1);
|
|
@@ -4308,19 +4325,20 @@ class AccountAddresses {
|
|
|
4308
4325
|
}
|
|
4309
4326
|
}
|
|
4310
4327
|
|
|
4311
|
-
var __defProp$
|
|
4312
|
-
var __defNormalProp$
|
|
4313
|
-
var __publicField$
|
|
4314
|
-
__defNormalProp$
|
|
4328
|
+
var __defProp$K = Object.defineProperty;
|
|
4329
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4330
|
+
var __publicField$K = (obj, key, value) => {
|
|
4331
|
+
__defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4315
4332
|
return value;
|
|
4316
4333
|
};
|
|
4317
4334
|
class AccountPayment {
|
|
4318
4335
|
constructor(page) {
|
|
4336
|
+
__publicField$K(this, "cashOnDeliveryOption");
|
|
4337
|
+
__publicField$K(this, "paidInAdvanceOption");
|
|
4338
|
+
__publicField$K(this, "invoiceOption");
|
|
4339
|
+
__publicField$K(this, "changeDefaultPaymentButton");
|
|
4340
|
+
__publicField$K(this, "page");
|
|
4319
4341
|
this.page = page;
|
|
4320
|
-
__publicField$J(this, "cashOnDeliveryOption");
|
|
4321
|
-
__publicField$J(this, "paidInAdvanceOption");
|
|
4322
|
-
__publicField$J(this, "invoiceOption");
|
|
4323
|
-
__publicField$J(this, "changeDefaultPaymentButton");
|
|
4324
4342
|
this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
|
|
4325
4343
|
this.paidInAdvanceOption = page.getByLabel("Paid in advance");
|
|
4326
4344
|
this.invoiceOption = page.getByLabel("Invoice");
|
|
@@ -4331,17 +4349,18 @@ class AccountPayment {
|
|
|
4331
4349
|
}
|
|
4332
4350
|
}
|
|
4333
4351
|
|
|
4334
|
-
var __defProp$
|
|
4335
|
-
var __defNormalProp$
|
|
4336
|
-
var __publicField$
|
|
4337
|
-
__defNormalProp$
|
|
4352
|
+
var __defProp$J = Object.defineProperty;
|
|
4353
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4354
|
+
var __publicField$J = (obj, key, value) => {
|
|
4355
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4338
4356
|
return value;
|
|
4339
4357
|
};
|
|
4340
4358
|
class Search {
|
|
4341
4359
|
constructor(page) {
|
|
4360
|
+
__publicField$J(this, "headline");
|
|
4361
|
+
__publicField$J(this, "productImages");
|
|
4362
|
+
__publicField$J(this, "page");
|
|
4342
4363
|
this.page = page;
|
|
4343
|
-
__publicField$I(this, "headline");
|
|
4344
|
-
__publicField$I(this, "productImages");
|
|
4345
4364
|
this.headline = page.locator("h1.search-headline");
|
|
4346
4365
|
this.productImages = page.locator(".product-image-wrapper");
|
|
4347
4366
|
}
|
|
@@ -4350,25 +4369,26 @@ class Search {
|
|
|
4350
4369
|
}
|
|
4351
4370
|
}
|
|
4352
4371
|
|
|
4353
|
-
var __defProp$
|
|
4354
|
-
var __defNormalProp$
|
|
4355
|
-
var __publicField$
|
|
4356
|
-
__defNormalProp$
|
|
4372
|
+
var __defProp$I = Object.defineProperty;
|
|
4373
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4374
|
+
var __publicField$I = (obj, key, value) => {
|
|
4375
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4357
4376
|
return value;
|
|
4358
4377
|
};
|
|
4359
4378
|
class SearchSuggest extends Home {
|
|
4360
4379
|
constructor(page) {
|
|
4361
4380
|
super(page);
|
|
4381
|
+
__publicField$I(this, "searchSuggestLineItemImages");
|
|
4382
|
+
__publicField$I(this, "searchInput");
|
|
4383
|
+
__publicField$I(this, "searchIcon");
|
|
4384
|
+
__publicField$I(this, "searchSuggestNoResult");
|
|
4385
|
+
__publicField$I(this, "searchSuggestLineItemName");
|
|
4386
|
+
__publicField$I(this, "searchSuggestLineItemPrice");
|
|
4387
|
+
__publicField$I(this, "searchSuggestTotalLink");
|
|
4388
|
+
__publicField$I(this, "searchResultTotal");
|
|
4389
|
+
__publicField$I(this, "searchHeadline");
|
|
4390
|
+
__publicField$I(this, "page");
|
|
4362
4391
|
this.page = page;
|
|
4363
|
-
__publicField$H(this, "searchSuggestLineItemImages");
|
|
4364
|
-
__publicField$H(this, "searchInput");
|
|
4365
|
-
__publicField$H(this, "searchIcon");
|
|
4366
|
-
__publicField$H(this, "searchSuggestNoResult");
|
|
4367
|
-
__publicField$H(this, "searchSuggestLineItemName");
|
|
4368
|
-
__publicField$H(this, "searchSuggestLineItemPrice");
|
|
4369
|
-
__publicField$H(this, "searchSuggestTotalLink");
|
|
4370
|
-
__publicField$H(this, "searchResultTotal");
|
|
4371
|
-
__publicField$H(this, "searchHeadline");
|
|
4372
4392
|
this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
|
|
4373
4393
|
this.searchInput = page.locator(".header-search-input");
|
|
4374
4394
|
this.searchIcon = page.locator(".header-search-icon");
|
|
@@ -4388,9 +4408,16 @@ class SearchSuggest extends Home {
|
|
|
4388
4408
|
}
|
|
4389
4409
|
}
|
|
4390
4410
|
|
|
4411
|
+
var __defProp$H = Object.defineProperty;
|
|
4412
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4413
|
+
var __publicField$H = (obj, key, value) => {
|
|
4414
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4415
|
+
return value;
|
|
4416
|
+
};
|
|
4391
4417
|
class CustomRegister extends AccountLogin {
|
|
4392
4418
|
constructor(page) {
|
|
4393
4419
|
super(page);
|
|
4420
|
+
__publicField$H(this, "page");
|
|
4394
4421
|
this.page = page;
|
|
4395
4422
|
}
|
|
4396
4423
|
url(customCustomerGroupName) {
|
|
@@ -4406,7 +4433,6 @@ var __publicField$G = (obj, key, value) => {
|
|
|
4406
4433
|
};
|
|
4407
4434
|
class CheckoutOrderEdit {
|
|
4408
4435
|
constructor(page) {
|
|
4409
|
-
this.page = page;
|
|
4410
4436
|
__publicField$G(this, "completePaymentButton");
|
|
4411
4437
|
__publicField$G(this, "orderCancelButton");
|
|
4412
4438
|
__publicField$G(this, "dialogOrderCancel");
|
|
@@ -4423,6 +4449,8 @@ class CheckoutOrderEdit {
|
|
|
4423
4449
|
*/
|
|
4424
4450
|
__publicField$G(this, "shippingStandard");
|
|
4425
4451
|
__publicField$G(this, "shippingExpress");
|
|
4452
|
+
__publicField$G(this, "page");
|
|
4453
|
+
this.page = page;
|
|
4426
4454
|
this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
|
|
4427
4455
|
this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
|
|
4428
4456
|
this.dialogOrderCancel = page.getByRole("dialog", { name: "Cancel order" });
|
|
@@ -4455,7 +4483,6 @@ var __publicField$F = (obj, key, value) => {
|
|
|
4455
4483
|
};
|
|
4456
4484
|
class AccountAddressCreate {
|
|
4457
4485
|
constructor(page) {
|
|
4458
|
-
this.page = page;
|
|
4459
4486
|
__publicField$F(this, "salutationDropdown");
|
|
4460
4487
|
__publicField$F(this, "firstNameInput");
|
|
4461
4488
|
__publicField$F(this, "lastNameInput");
|
|
@@ -4467,6 +4494,8 @@ class AccountAddressCreate {
|
|
|
4467
4494
|
__publicField$F(this, "countryDropdown");
|
|
4468
4495
|
__publicField$F(this, "saveAddressButton");
|
|
4469
4496
|
__publicField$F(this, "stateDropdown");
|
|
4497
|
+
__publicField$F(this, "page");
|
|
4498
|
+
this.page = page;
|
|
4470
4499
|
this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
|
|
4471
4500
|
this.firstNameInput = page.getByRole("textbox", { name: "First name" });
|
|
4472
4501
|
this.lastNameInput = page.getByRole("textbox", { name: "Last name" });
|
|
@@ -4492,11 +4521,12 @@ var __publicField$E = (obj, key, value) => {
|
|
|
4492
4521
|
};
|
|
4493
4522
|
class PageNotFound {
|
|
4494
4523
|
constructor(page) {
|
|
4495
|
-
this.page = page;
|
|
4496
4524
|
__publicField$E(this, "pageNotFoundImage");
|
|
4497
4525
|
__publicField$E(this, "headline");
|
|
4498
4526
|
__publicField$E(this, "pageNotFoundMessage");
|
|
4499
4527
|
__publicField$E(this, "backToShopButton");
|
|
4528
|
+
__publicField$E(this, "page");
|
|
4529
|
+
this.page = page;
|
|
4500
4530
|
this.pageNotFoundImage = page.getByAltText("Page not found");
|
|
4501
4531
|
this.headline = page.getByRole("heading", { name: "Page not found" });
|
|
4502
4532
|
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.`);
|
|
@@ -4516,8 +4546,6 @@ var __publicField$D = (obj, key, value) => {
|
|
|
4516
4546
|
class ContactForm extends Home {
|
|
4517
4547
|
constructor(page, instanceMeta) {
|
|
4518
4548
|
super(page);
|
|
4519
|
-
this.page = page;
|
|
4520
|
-
this.instanceMeta = instanceMeta;
|
|
4521
4549
|
/**
|
|
4522
4550
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
4523
4551
|
*/
|
|
@@ -4550,6 +4578,8 @@ class ContactForm extends Home {
|
|
|
4550
4578
|
__publicField$D(this, "greCaptchaV2Container");
|
|
4551
4579
|
__publicField$D(this, "greCaptchaV2Input");
|
|
4552
4580
|
__publicField$D(this, "greCaptchaProtectionInformation");
|
|
4581
|
+
__publicField$D(this, "instanceMeta");
|
|
4582
|
+
this.instanceMeta = instanceMeta;
|
|
4553
4583
|
this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
|
|
4554
4584
|
this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
|
|
4555
4585
|
this.formAlert = this.page.getByRole("alert");
|
|
@@ -4593,10 +4623,11 @@ var __publicField$C = (obj, key, value) => {
|
|
|
4593
4623
|
class Wishlist extends Home {
|
|
4594
4624
|
constructor(page) {
|
|
4595
4625
|
super(page);
|
|
4596
|
-
this.page = page;
|
|
4597
4626
|
__publicField$C(this, "wishListHeader");
|
|
4598
4627
|
__publicField$C(this, "removeAlert");
|
|
4599
4628
|
__publicField$C(this, "emptyListing");
|
|
4629
|
+
__publicField$C(this, "page");
|
|
4630
|
+
this.page = page;
|
|
4600
4631
|
this.wishListHeader = page.locator(".wishlist-headline");
|
|
4601
4632
|
this.removeAlert = page.locator(".alert-success");
|
|
4602
4633
|
this.emptyListing = page.locator(".wishlist-listing-empty");
|
|
@@ -4623,12 +4654,13 @@ var __publicField$B = (obj, key, value) => {
|
|
|
4623
4654
|
};
|
|
4624
4655
|
class Footer {
|
|
4625
4656
|
constructor(page) {
|
|
4626
|
-
this.page = page;
|
|
4627
4657
|
__publicField$B(this, "footerHeadline");
|
|
4628
4658
|
__publicField$B(this, "footerContent");
|
|
4629
4659
|
__publicField$B(this, "footerHotline");
|
|
4630
4660
|
__publicField$B(this, "footerContactForm");
|
|
4631
4661
|
__publicField$B(this, "footerContactFormLink");
|
|
4662
|
+
__publicField$B(this, "page");
|
|
4663
|
+
this.page = page;
|
|
4632
4664
|
this.footerHeadline = page.locator(".footer-column-headline");
|
|
4633
4665
|
this.footerContent = page.locator(".footer-column-content-inner");
|
|
4634
4666
|
this.footerHotline = page.locator(".footer-contact-hotline");
|
|
@@ -4648,7 +4680,6 @@ var __publicField$A = (obj, key, value) => {
|
|
|
4648
4680
|
};
|
|
4649
4681
|
class Header {
|
|
4650
4682
|
constructor(page) {
|
|
4651
|
-
this.page = page;
|
|
4652
4683
|
__publicField$A(this, "mainNavigationLink");
|
|
4653
4684
|
__publicField$A(this, "languagesDropdown");
|
|
4654
4685
|
__publicField$A(this, "languagesMenuOptions");
|
|
@@ -4657,6 +4688,8 @@ class Header {
|
|
|
4657
4688
|
//wishlist
|
|
4658
4689
|
__publicField$A(this, "wishlistIcon");
|
|
4659
4690
|
__publicField$A(this, "wishlistBasket");
|
|
4691
|
+
__publicField$A(this, "page");
|
|
4692
|
+
this.page = page;
|
|
4660
4693
|
this.mainNavigationLink = page.locator(".main-navigation-link-text");
|
|
4661
4694
|
this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
|
|
4662
4695
|
this.languagesMenuOptions = page.locator(".top-bar-language").filter({ has: page.getByRole("list") });
|
|
@@ -4697,7 +4730,7 @@ const StorefrontPageObjects = {
|
|
|
4697
4730
|
Footer,
|
|
4698
4731
|
Header
|
|
4699
4732
|
};
|
|
4700
|
-
const test$7 = test$
|
|
4733
|
+
const test$7 = test$e.extend({
|
|
4701
4734
|
StorefrontHome: async ({ StorefrontPage }, use) => {
|
|
4702
4735
|
await use(new Home(StorefrontPage));
|
|
4703
4736
|
},
|
|
@@ -4801,8 +4834,6 @@ var __publicField$z = (obj, key, value) => {
|
|
|
4801
4834
|
};
|
|
4802
4835
|
class ProductDetail {
|
|
4803
4836
|
constructor(page, instanceMeta) {
|
|
4804
|
-
this.page = page;
|
|
4805
|
-
this.instanceMeta = instanceMeta;
|
|
4806
4837
|
__publicField$z(this, "contentView");
|
|
4807
4838
|
__publicField$z(this, "productHeadline");
|
|
4808
4839
|
/**
|
|
@@ -4874,6 +4905,10 @@ class ProductDetail {
|
|
|
4874
4905
|
* Cards
|
|
4875
4906
|
*/
|
|
4876
4907
|
__publicField$z(this, "customFieldCard");
|
|
4908
|
+
__publicField$z(this, "page");
|
|
4909
|
+
__publicField$z(this, "instanceMeta");
|
|
4910
|
+
this.page = page;
|
|
4911
|
+
this.instanceMeta = instanceMeta;
|
|
4877
4912
|
this.contentView = page.locator(".sw-desktop__content");
|
|
4878
4913
|
this.productHeadline = page.locator(".smart-bar__header");
|
|
4879
4914
|
this.savePhysicalProductButton = page.getByRole("button", { name: "Save" });
|
|
@@ -4951,8 +4986,6 @@ var __publicField$y = (obj, key, value) => {
|
|
|
4951
4986
|
};
|
|
4952
4987
|
class OrderDetail {
|
|
4953
4988
|
constructor(page, instanceMeta) {
|
|
4954
|
-
this.page = page;
|
|
4955
|
-
this.instanceMeta = instanceMeta;
|
|
4956
4989
|
__publicField$y(this, "saveButton");
|
|
4957
4990
|
__publicField$y(this, "dataGridContextButton");
|
|
4958
4991
|
__publicField$y(this, "orderTag");
|
|
@@ -4972,6 +5005,10 @@ class OrderDetail {
|
|
|
4972
5005
|
__publicField$y(this, "generalTabLink");
|
|
4973
5006
|
__publicField$y(this, "detailsTabLink");
|
|
4974
5007
|
__publicField$y(this, "documentsTabLink");
|
|
5008
|
+
__publicField$y(this, "page");
|
|
5009
|
+
__publicField$y(this, "instanceMeta");
|
|
5010
|
+
this.page = page;
|
|
5011
|
+
this.instanceMeta = instanceMeta;
|
|
4975
5012
|
this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
|
|
4976
5013
|
this.dataGridContextButton = page.locator(".sw-data-grid__actions-menu").and(page.getByRole("button"));
|
|
4977
5014
|
this.orderTag = page.locator(".sw-select-selection-list__item");
|
|
@@ -5009,7 +5046,6 @@ var __publicField$x = (obj, key, value) => {
|
|
|
5009
5046
|
};
|
|
5010
5047
|
class CustomerListing {
|
|
5011
5048
|
constructor(page) {
|
|
5012
|
-
this.page = page;
|
|
5013
5049
|
__publicField$x(this, "headline");
|
|
5014
5050
|
__publicField$x(this, "addCustomerButton");
|
|
5015
5051
|
__publicField$x(this, "bulkEditButton");
|
|
@@ -5019,6 +5055,8 @@ class CustomerListing {
|
|
|
5019
5055
|
__publicField$x(this, "startBulkEditButton");
|
|
5020
5056
|
__publicField$x(this, "cancelButton");
|
|
5021
5057
|
__publicField$x(this, "modalHeaderCheckbox");
|
|
5058
|
+
__publicField$x(this, "page");
|
|
5059
|
+
this.page = page;
|
|
5022
5060
|
this.headline = page.getByRole("heading", { name: "Customers" });
|
|
5023
5061
|
this.addCustomerButton = page.locator(".sw-customer-list__button-create");
|
|
5024
5062
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
@@ -5087,8 +5125,6 @@ var __publicField$w = (obj, key, value) => {
|
|
|
5087
5125
|
};
|
|
5088
5126
|
class CustomerDetail {
|
|
5089
5127
|
constructor(page, instanceMeta) {
|
|
5090
|
-
this.page = page;
|
|
5091
|
-
this.instanceMeta = instanceMeta;
|
|
5092
5128
|
__publicField$w(this, "editButton");
|
|
5093
5129
|
__publicField$w(this, "generalTab");
|
|
5094
5130
|
__publicField$w(this, "accountCard");
|
|
@@ -5100,6 +5136,10 @@ class CustomerDetail {
|
|
|
5100
5136
|
__publicField$w(this, "customerGroupDeclineButton");
|
|
5101
5137
|
__publicField$w(this, "tagList");
|
|
5102
5138
|
__publicField$w(this, "tagItems");
|
|
5139
|
+
__publicField$w(this, "page");
|
|
5140
|
+
__publicField$w(this, "instanceMeta");
|
|
5141
|
+
this.page = page;
|
|
5142
|
+
this.instanceMeta = instanceMeta;
|
|
5103
5143
|
this.editButton = page.getByRole("button", { name: "Edit" });
|
|
5104
5144
|
this.generalTab = page.getByRole("link", { name: "General" });
|
|
5105
5145
|
this.accountCard = page.locator(".sw-customer-card");
|
|
@@ -5168,9 +5208,10 @@ var __publicField$v = (obj, key, value) => {
|
|
|
5168
5208
|
};
|
|
5169
5209
|
class CustomerGroupListing {
|
|
5170
5210
|
constructor(page) {
|
|
5171
|
-
this.page = page;
|
|
5172
5211
|
__publicField$v(this, "headline");
|
|
5173
5212
|
__publicField$v(this, "addCustomerGroupButton");
|
|
5213
|
+
__publicField$v(this, "page");
|
|
5214
|
+
this.page = page;
|
|
5174
5215
|
this.headline = page.getByRole("heading", { name: "Customer groups" });
|
|
5175
5216
|
this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
|
|
5176
5217
|
}
|
|
@@ -5200,8 +5241,6 @@ var __publicField$u = (obj, key, value) => {
|
|
|
5200
5241
|
};
|
|
5201
5242
|
class CustomerGroupCreate {
|
|
5202
5243
|
constructor(page, instanceMeta) {
|
|
5203
|
-
this.page = page;
|
|
5204
|
-
this.instanceMeta = instanceMeta;
|
|
5205
5244
|
__publicField$u(this, "headline");
|
|
5206
5245
|
__publicField$u(this, "saveButton");
|
|
5207
5246
|
__publicField$u(this, "cancelButton");
|
|
@@ -5216,6 +5255,10 @@ class CustomerGroupCreate {
|
|
|
5216
5255
|
__publicField$u(this, "signupFormCompanySignupToggle");
|
|
5217
5256
|
__publicField$u(this, "customerGroupSaleschannelSelection");
|
|
5218
5257
|
__publicField$u(this, "customerGroupSaleschannelResultList");
|
|
5258
|
+
__publicField$u(this, "page");
|
|
5259
|
+
__publicField$u(this, "instanceMeta");
|
|
5260
|
+
this.page = page;
|
|
5261
|
+
this.instanceMeta = instanceMeta;
|
|
5219
5262
|
this.headline = page.getByRole("heading", { name: "New customer group" });
|
|
5220
5263
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
5221
5264
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
@@ -5253,8 +5296,6 @@ var __publicField$t = (obj, key, value) => {
|
|
|
5253
5296
|
class CustomerGroupDetail extends CustomerGroupCreate {
|
|
5254
5297
|
constructor(page, instanceMeta) {
|
|
5255
5298
|
super(page, instanceMeta);
|
|
5256
|
-
this.page = page;
|
|
5257
|
-
this.instanceMeta = instanceMeta;
|
|
5258
5299
|
__publicField$t(this, "headline");
|
|
5259
5300
|
__publicField$t(this, "selectedSalesChannel");
|
|
5260
5301
|
__publicField$t(this, "technicalUrl");
|
|
@@ -5277,8 +5318,6 @@ var __publicField$s = (obj, key, value) => {
|
|
|
5277
5318
|
};
|
|
5278
5319
|
class FirstRunWizard {
|
|
5279
5320
|
constructor(page, instanceMeta) {
|
|
5280
|
-
this.page = page;
|
|
5281
|
-
this.instanceMeta = instanceMeta;
|
|
5282
5321
|
__publicField$s(this, "nextButton");
|
|
5283
5322
|
__publicField$s(this, "configureLaterButton");
|
|
5284
5323
|
__publicField$s(this, "skipButton");
|
|
@@ -5329,6 +5368,10 @@ class FirstRunWizard {
|
|
|
5329
5368
|
__publicField$s(this, "toolsSelector");
|
|
5330
5369
|
__publicField$s(this, "recommendationHeader");
|
|
5331
5370
|
__publicField$s(this, "toolsRecommendedPlugin");
|
|
5371
|
+
__publicField$s(this, "page");
|
|
5372
|
+
__publicField$s(this, "instanceMeta");
|
|
5373
|
+
this.page = page;
|
|
5374
|
+
this.instanceMeta = instanceMeta;
|
|
5332
5375
|
this.nextButton = page.getByText("Next", { exact: true });
|
|
5333
5376
|
this.configureLaterButton = page.getByText("Configure later", { exact: true });
|
|
5334
5377
|
this.skipButton = page.getByText("Skip", { exact: true });
|
|
@@ -5405,8 +5448,6 @@ var __publicField$r = (obj, key, value) => {
|
|
|
5405
5448
|
};
|
|
5406
5449
|
class FlowBuilderCreate {
|
|
5407
5450
|
constructor(page, instanceMeta) {
|
|
5408
|
-
this.page = page;
|
|
5409
|
-
this.instanceMeta = instanceMeta;
|
|
5410
5451
|
//header
|
|
5411
5452
|
__publicField$r(this, "saveButton");
|
|
5412
5453
|
__publicField$r(this, "header");
|
|
@@ -5448,6 +5489,10 @@ class FlowBuilderCreate {
|
|
|
5448
5489
|
__publicField$r(this, "newFlowHeader");
|
|
5449
5490
|
__publicField$r(this, "resultListItem");
|
|
5450
5491
|
__publicField$r(this, "resultList");
|
|
5492
|
+
__publicField$r(this, "page");
|
|
5493
|
+
__publicField$r(this, "instanceMeta");
|
|
5494
|
+
this.page = page;
|
|
5495
|
+
this.instanceMeta = instanceMeta;
|
|
5451
5496
|
this.saveButton = page.locator(".sw-flow-detail__save");
|
|
5452
5497
|
this.header = page.locator("h2");
|
|
5453
5498
|
this.smartBarHeader = page.locator(".smart-bar__header");
|
|
@@ -5509,7 +5554,6 @@ var __publicField$q = (obj, key, value) => {
|
|
|
5509
5554
|
};
|
|
5510
5555
|
class FlowBuilderListing {
|
|
5511
5556
|
constructor(page) {
|
|
5512
|
-
this.page = page;
|
|
5513
5557
|
__publicField$q(this, "createFlowButton");
|
|
5514
5558
|
__publicField$q(this, "firstFlowName");
|
|
5515
5559
|
__publicField$q(this, "firstFlowContextButton");
|
|
@@ -5524,6 +5568,8 @@ class FlowBuilderListing {
|
|
|
5524
5568
|
__publicField$q(this, "successAlert");
|
|
5525
5569
|
__publicField$q(this, "successAlertMessage");
|
|
5526
5570
|
__publicField$q(this, "searchBar");
|
|
5571
|
+
__publicField$q(this, "page");
|
|
5572
|
+
this.page = page;
|
|
5527
5573
|
this.createFlowButton = page.locator(".sw-flow-list__create");
|
|
5528
5574
|
this.firstFlowName = page.locator(".sw-data-grid__cell--name a").first();
|
|
5529
5575
|
this.firstFlowContextButton = page.locator(".sw-data-grid__actions-menu").first();
|
|
@@ -5564,7 +5610,6 @@ class FlowBuilderListing {
|
|
|
5564
5610
|
class FlowBuilderTemplates extends FlowBuilderListing {
|
|
5565
5611
|
constructor(page) {
|
|
5566
5612
|
super(page);
|
|
5567
|
-
this.page = page;
|
|
5568
5613
|
}
|
|
5569
5614
|
url() {
|
|
5570
5615
|
return `#/sw/flow/index/templates`;
|
|
@@ -5596,8 +5641,6 @@ var __publicField$p = (obj, key, value) => {
|
|
|
5596
5641
|
class FlowBuilderDetail extends FlowBuilderCreate {
|
|
5597
5642
|
constructor(page, instanceMeta) {
|
|
5598
5643
|
super(page, instanceMeta);
|
|
5599
|
-
this.page = page;
|
|
5600
|
-
this.instanceMeta = instanceMeta;
|
|
5601
5644
|
__publicField$p(this, "saveButtonLoader");
|
|
5602
5645
|
__publicField$p(this, "saveButton");
|
|
5603
5646
|
__publicField$p(this, "generalTab");
|
|
@@ -5643,13 +5686,15 @@ var __publicField$o = (obj, key, value) => {
|
|
|
5643
5686
|
};
|
|
5644
5687
|
class DataSharing {
|
|
5645
5688
|
constructor(page, instanceMeta) {
|
|
5646
|
-
this.page = page;
|
|
5647
|
-
this.instanceMeta = instanceMeta;
|
|
5648
5689
|
__publicField$o(this, "dataConsentHeadline");
|
|
5649
5690
|
__publicField$o(this, "dataSharingSuccessMessageLabel");
|
|
5650
5691
|
__publicField$o(this, "dataSharingAgreeButton");
|
|
5651
5692
|
__publicField$o(this, "dataSharingDisableButton");
|
|
5652
5693
|
__publicField$o(this, "dataSharingTermsAgreementLabel");
|
|
5694
|
+
__publicField$o(this, "page");
|
|
5695
|
+
__publicField$o(this, "instanceMeta");
|
|
5696
|
+
this.page = page;
|
|
5697
|
+
this.instanceMeta = instanceMeta;
|
|
5653
5698
|
if (satisfies(instanceMeta.version, "<6.6.1")) {
|
|
5654
5699
|
this.dataConsentHeadline = page.locator("header.sw-usage-data-consent-banner__title");
|
|
5655
5700
|
} else {
|
|
@@ -5676,7 +5721,6 @@ var __publicField$n = (obj, key, value) => {
|
|
|
5676
5721
|
};
|
|
5677
5722
|
class Dashboard {
|
|
5678
5723
|
constructor(page) {
|
|
5679
|
-
this.page = page;
|
|
5680
5724
|
__publicField$n(this, "contentView");
|
|
5681
5725
|
__publicField$n(this, "adminMenuView");
|
|
5682
5726
|
__publicField$n(this, "adminMenuCatalog");
|
|
@@ -5699,6 +5743,8 @@ class Dashboard {
|
|
|
5699
5743
|
__publicField$n(this, "dataSharingNotAtTheMomentMessageText");
|
|
5700
5744
|
__publicField$n(this, "statisticsDateRange");
|
|
5701
5745
|
__publicField$n(this, "statisticsChart");
|
|
5746
|
+
__publicField$n(this, "page");
|
|
5747
|
+
this.page = page;
|
|
5702
5748
|
this.adminMenuView = page.locator(".sw-admin-menu");
|
|
5703
5749
|
this.contentView = page.locator(".sw-desktop__content");
|
|
5704
5750
|
this.adminMenuCatalog = page.locator(".sw-catalogue");
|
|
@@ -5735,7 +5781,6 @@ var __publicField$m = (obj, key, value) => {
|
|
|
5735
5781
|
};
|
|
5736
5782
|
class ShippingListing {
|
|
5737
5783
|
constructor(page) {
|
|
5738
|
-
this.page = page;
|
|
5739
5784
|
__publicField$m(this, "header");
|
|
5740
5785
|
__publicField$m(this, "addShippingMethod");
|
|
5741
5786
|
__publicField$m(this, "contextMenu");
|
|
@@ -5746,6 +5791,8 @@ class ShippingListing {
|
|
|
5746
5791
|
__publicField$m(this, "modalHeader");
|
|
5747
5792
|
__publicField$m(this, "modalCancelButton");
|
|
5748
5793
|
__publicField$m(this, "modalDeleteButton");
|
|
5794
|
+
__publicField$m(this, "page");
|
|
5795
|
+
this.page = page;
|
|
5749
5796
|
this.header = page.locator(".smart-bar__header");
|
|
5750
5797
|
this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
|
|
5751
5798
|
this.contextMenu = page.locator(".sw-data-grid-settings__trigger");
|
|
@@ -5769,11 +5816,12 @@ var __publicField$l = (obj, key, value) => {
|
|
|
5769
5816
|
};
|
|
5770
5817
|
class ShippingDetail {
|
|
5771
5818
|
constructor(page) {
|
|
5772
|
-
this.page = page;
|
|
5773
5819
|
__publicField$l(this, "header");
|
|
5774
5820
|
__publicField$l(this, "nameField");
|
|
5775
5821
|
__publicField$l(this, "availabilityRuleField");
|
|
5776
5822
|
__publicField$l(this, "availabilityRuleListItem");
|
|
5823
|
+
__publicField$l(this, "page");
|
|
5824
|
+
this.page = page;
|
|
5777
5825
|
this.header = page.locator(".smart-bar__header");
|
|
5778
5826
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
5779
5827
|
this.availabilityRuleField = page.locator(".sw-settings-shipping-detail__top-rule").locator(".sw-entity-single-select__selection-text");
|
|
@@ -5795,11 +5843,12 @@ var __publicField$k = (obj, key, value) => {
|
|
|
5795
5843
|
};
|
|
5796
5844
|
class PaymentDetail {
|
|
5797
5845
|
constructor(page) {
|
|
5798
|
-
this.page = page;
|
|
5799
5846
|
__publicField$k(this, "header");
|
|
5800
5847
|
__publicField$k(this, "nameField");
|
|
5801
5848
|
__publicField$k(this, "availabilityRuleField");
|
|
5802
5849
|
__publicField$k(this, "availabilityRuleListItem");
|
|
5850
|
+
__publicField$k(this, "page");
|
|
5851
|
+
this.page = page;
|
|
5803
5852
|
this.header = page.locator(".smart-bar__header");
|
|
5804
5853
|
this.nameField = page.getByLabel("Name", { exact: true });
|
|
5805
5854
|
this.availabilityRuleField = page.locator(".sw-settings-payment-detail__field-availability-rule").locator(".sw-entity-single-select__selection-text");
|
|
@@ -5821,7 +5870,6 @@ var __publicField$j = (obj, key, value) => {
|
|
|
5821
5870
|
};
|
|
5822
5871
|
class LandingPageCreate {
|
|
5823
5872
|
constructor(page) {
|
|
5824
|
-
this.page = page;
|
|
5825
5873
|
/**
|
|
5826
5874
|
* General
|
|
5827
5875
|
*/
|
|
@@ -5843,6 +5891,8 @@ class LandingPageCreate {
|
|
|
5843
5891
|
__publicField$j(this, "layoutEmptyState");
|
|
5844
5892
|
__publicField$j(this, "createNewLayoutButton");
|
|
5845
5893
|
__publicField$j(this, "layoutCheckboxes");
|
|
5894
|
+
__publicField$j(this, "page");
|
|
5895
|
+
this.page = page;
|
|
5846
5896
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5847
5897
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
5848
5898
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5875,7 +5925,6 @@ var __publicField$i = (obj, key, value) => {
|
|
|
5875
5925
|
};
|
|
5876
5926
|
class LandingPageDetail {
|
|
5877
5927
|
constructor(page) {
|
|
5878
|
-
this.page = page;
|
|
5879
5928
|
/**
|
|
5880
5929
|
* General
|
|
5881
5930
|
*/
|
|
@@ -5897,6 +5946,8 @@ class LandingPageDetail {
|
|
|
5897
5946
|
__publicField$i(this, "layoutResetButton");
|
|
5898
5947
|
__publicField$i(this, "layoutAssignmentStatus");
|
|
5899
5948
|
__publicField$i(this, "layoutAssignmentContentSection");
|
|
5949
|
+
__publicField$i(this, "page");
|
|
5950
|
+
this.page = page;
|
|
5900
5951
|
this.loadingSpinner = page.locator(".sw-loader");
|
|
5901
5952
|
this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
|
|
5902
5953
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -5928,8 +5979,6 @@ var __publicField$h = (obj, key, value) => {
|
|
|
5928
5979
|
};
|
|
5929
5980
|
class Categories {
|
|
5930
5981
|
constructor(page, instanceMeta) {
|
|
5931
|
-
this.page = page;
|
|
5932
|
-
this.instanceMeta = instanceMeta;
|
|
5933
5982
|
/**
|
|
5934
5983
|
* Visual tests
|
|
5935
5984
|
*/
|
|
@@ -5982,6 +6031,10 @@ class Categories {
|
|
|
5982
6031
|
__publicField$h(this, "popoverCategoryTree");
|
|
5983
6032
|
__publicField$h(this, "categorySelectionListWrapper");
|
|
5984
6033
|
__publicField$h(this, "productSelectionInput");
|
|
6034
|
+
__publicField$h(this, "page");
|
|
6035
|
+
__publicField$h(this, "instanceMeta");
|
|
6036
|
+
this.page = page;
|
|
6037
|
+
this.instanceMeta = instanceMeta;
|
|
5985
6038
|
this.contentView = page.locator(".sw-desktop__content");
|
|
5986
6039
|
this.landingPageArea = page.locator(".sw-category-detail__landing-page-collapse");
|
|
5987
6040
|
this.landingPageHeadline = this.landingPageArea.getByRole("heading", { name: "Landing pages" });
|
|
@@ -6040,9 +6093,10 @@ var __publicField$g = (obj, key, value) => {
|
|
|
6040
6093
|
};
|
|
6041
6094
|
class CustomFieldListing {
|
|
6042
6095
|
constructor(page) {
|
|
6043
|
-
this.page = page;
|
|
6044
6096
|
__publicField$g(this, "addNewSetButton");
|
|
6045
6097
|
__publicField$g(this, "customFieldRows");
|
|
6098
|
+
__publicField$g(this, "page");
|
|
6099
|
+
this.page = page;
|
|
6046
6100
|
this.addNewSetButton = page.getByText("Add new set");
|
|
6047
6101
|
this.customFieldRows = page.getByRole("row");
|
|
6048
6102
|
}
|
|
@@ -6078,7 +6132,6 @@ var __publicField$f = (obj, key, value) => {
|
|
|
6078
6132
|
};
|
|
6079
6133
|
class CustomFieldCreate {
|
|
6080
6134
|
constructor(page) {
|
|
6081
|
-
this.page = page;
|
|
6082
6135
|
__publicField$f(this, "saveButton");
|
|
6083
6136
|
__publicField$f(this, "cancelButton");
|
|
6084
6137
|
__publicField$f(this, "technicalNameInput");
|
|
@@ -6086,6 +6139,8 @@ class CustomFieldCreate {
|
|
|
6086
6139
|
__publicField$f(this, "labelEnglishGBInput");
|
|
6087
6140
|
__publicField$f(this, "assignToSelectionList");
|
|
6088
6141
|
__publicField$f(this, "resultAssignToPopoverItemList");
|
|
6142
|
+
__publicField$f(this, "page");
|
|
6143
|
+
this.page = page;
|
|
6089
6144
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6090
6145
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6091
6146
|
this.technicalNameInput = page.getByLabel("Technical name");
|
|
@@ -6108,8 +6163,6 @@ var __publicField$e = (obj, key, value) => {
|
|
|
6108
6163
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
6109
6164
|
constructor(page, instanceMeta) {
|
|
6110
6165
|
super(page);
|
|
6111
|
-
this.page = page;
|
|
6112
|
-
this.instanceMeta = instanceMeta;
|
|
6113
6166
|
__publicField$e(this, "newCustomFieldButton");
|
|
6114
6167
|
__publicField$e(this, "customFieldEditDialog");
|
|
6115
6168
|
__publicField$e(this, "newCustomFieldDialog");
|
|
@@ -6128,6 +6181,8 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6128
6181
|
__publicField$e(this, "customFieldDeleteCancelButton");
|
|
6129
6182
|
__publicField$e(this, "customFieldDeleteButton");
|
|
6130
6183
|
__publicField$e(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
6184
|
+
__publicField$e(this, "instanceMeta");
|
|
6185
|
+
this.instanceMeta = instanceMeta;
|
|
6131
6186
|
this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
|
|
6132
6187
|
this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
|
|
6133
6188
|
this.newCustomFieldDialog = page.getByRole("dialog", { name: "New custom field" });
|
|
@@ -6188,13 +6243,15 @@ var __publicField$d = (obj, key, value) => {
|
|
|
6188
6243
|
};
|
|
6189
6244
|
class CategoryDetail {
|
|
6190
6245
|
constructor(page, instanceMeta) {
|
|
6191
|
-
this.page = page;
|
|
6192
|
-
this.instanceMeta = instanceMeta;
|
|
6193
6246
|
__publicField$d(this, "saveButton");
|
|
6194
6247
|
__publicField$d(this, "cancelButton");
|
|
6195
6248
|
__publicField$d(this, "customFieldCard");
|
|
6196
6249
|
__publicField$d(this, "customFieldSetTabs");
|
|
6197
6250
|
__publicField$d(this, "customFieldSetTabCustomContent");
|
|
6251
|
+
__publicField$d(this, "page");
|
|
6252
|
+
__publicField$d(this, "instanceMeta");
|
|
6253
|
+
this.page = page;
|
|
6254
|
+
this.instanceMeta = instanceMeta;
|
|
6198
6255
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6199
6256
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6200
6257
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
@@ -6235,8 +6292,6 @@ var __publicField$c = (obj, key, value) => {
|
|
|
6235
6292
|
};
|
|
6236
6293
|
class RuleCreate {
|
|
6237
6294
|
constructor(page, instanceMeta) {
|
|
6238
|
-
this.page = page;
|
|
6239
|
-
this.instanceMeta = instanceMeta;
|
|
6240
6295
|
__publicField$c(this, "nameInput");
|
|
6241
6296
|
__publicField$c(this, "priorityInput");
|
|
6242
6297
|
__publicField$c(this, "conditionTypeSelectionInput");
|
|
@@ -6245,6 +6300,10 @@ class RuleCreate {
|
|
|
6245
6300
|
__publicField$c(this, "saveButton");
|
|
6246
6301
|
__publicField$c(this, "cancelButton");
|
|
6247
6302
|
__publicField$c(this, "valueNotAvailableTooltip");
|
|
6303
|
+
__publicField$c(this, "page");
|
|
6304
|
+
__publicField$c(this, "instanceMeta");
|
|
6305
|
+
this.page = page;
|
|
6306
|
+
this.instanceMeta = instanceMeta;
|
|
6248
6307
|
this.nameInput = page.getByLabel("Name");
|
|
6249
6308
|
this.priorityInput = page.getByLabel("Priority");
|
|
6250
6309
|
this.conditionTypeSelectionInput = page.locator(".sw-condition-type-select").locator(".sw-single-select__selection");
|
|
@@ -6271,8 +6330,6 @@ var __publicField$b = (obj, key, value) => {
|
|
|
6271
6330
|
class RuleDetail extends RuleCreate {
|
|
6272
6331
|
constructor(page, instanceMeta) {
|
|
6273
6332
|
super(page, instanceMeta);
|
|
6274
|
-
this.page = page;
|
|
6275
|
-
this.instanceMeta = instanceMeta;
|
|
6276
6333
|
__publicField$b(this, "shippingMethodAvailabilityRulesCard");
|
|
6277
6334
|
__publicField$b(this, "shippingMethodAvailabilityRulesCardLink");
|
|
6278
6335
|
__publicField$b(this, "shippingMethodAvailabilityRulesCardTable");
|
|
@@ -6332,8 +6389,9 @@ var __publicField$a = (obj, key, value) => {
|
|
|
6332
6389
|
};
|
|
6333
6390
|
class RuleListing {
|
|
6334
6391
|
constructor(page) {
|
|
6335
|
-
this.page = page;
|
|
6336
6392
|
__publicField$a(this, "createRuleButton");
|
|
6393
|
+
__publicField$a(this, "page");
|
|
6394
|
+
this.page = page;
|
|
6337
6395
|
this.createRuleButton = page.getByText("Create rule");
|
|
6338
6396
|
}
|
|
6339
6397
|
url() {
|
|
@@ -6349,13 +6407,15 @@ var __publicField$9 = (obj, key, value) => {
|
|
|
6349
6407
|
};
|
|
6350
6408
|
class ManufacturerCreate {
|
|
6351
6409
|
constructor(page, instanceMeta) {
|
|
6352
|
-
this.page = page;
|
|
6353
|
-
this.instanceMeta = instanceMeta;
|
|
6354
6410
|
__publicField$9(this, "saveButton");
|
|
6355
6411
|
__publicField$9(this, "cancelButton");
|
|
6356
6412
|
__publicField$9(this, "nameInput");
|
|
6357
6413
|
__publicField$9(this, "websiteInput");
|
|
6358
6414
|
__publicField$9(this, "descriptionInput");
|
|
6415
|
+
__publicField$9(this, "page");
|
|
6416
|
+
__publicField$9(this, "instanceMeta");
|
|
6417
|
+
this.page = page;
|
|
6418
|
+
this.instanceMeta = instanceMeta;
|
|
6359
6419
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6360
6420
|
this.cancelButton = page.getByRole("button", { name: "Cancel" });
|
|
6361
6421
|
this.nameInput = page.getByLabel("Name");
|
|
@@ -6379,9 +6439,10 @@ var __publicField$8 = (obj, key, value) => {
|
|
|
6379
6439
|
};
|
|
6380
6440
|
class ManufacturerListing {
|
|
6381
6441
|
constructor(page) {
|
|
6382
|
-
this.page = page;
|
|
6383
6442
|
__publicField$8(this, "addManufacturerButton");
|
|
6384
6443
|
__publicField$8(this, "manufacturerRows");
|
|
6444
|
+
__publicField$8(this, "page");
|
|
6445
|
+
this.page = page;
|
|
6385
6446
|
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
6386
6447
|
this.manufacturerRows = page.getByRole("row");
|
|
6387
6448
|
}
|
|
@@ -6422,8 +6483,6 @@ var __publicField$7 = (obj, key, value) => {
|
|
|
6422
6483
|
class ManufacturerDetail extends ManufacturerCreate {
|
|
6423
6484
|
constructor(page, instanceMeta) {
|
|
6424
6485
|
super(page, instanceMeta);
|
|
6425
|
-
this.page = page;
|
|
6426
|
-
this.instanceMeta = instanceMeta;
|
|
6427
6486
|
__publicField$7(this, "customFieldCard");
|
|
6428
6487
|
__publicField$7(this, "customFieldSetTabs");
|
|
6429
6488
|
__publicField$7(this, "customFieldSetTabCustomContent");
|
|
@@ -6462,17 +6521,18 @@ var __publicField$6 = (obj, key, value) => {
|
|
|
6462
6521
|
};
|
|
6463
6522
|
class ProductListing {
|
|
6464
6523
|
constructor(page) {
|
|
6465
|
-
this.page = page;
|
|
6466
6524
|
/**
|
|
6467
6525
|
* Multi selection
|
|
6468
6526
|
*/
|
|
6469
6527
|
__publicField$6(this, "productsTable");
|
|
6470
6528
|
__publicField$6(this, "bulkEditButton");
|
|
6529
|
+
__publicField$6(this, "page");
|
|
6471
6530
|
/**
|
|
6472
6531
|
* Bulk edit modal
|
|
6473
6532
|
*/
|
|
6474
6533
|
__publicField$6(this, "bulkEditModal");
|
|
6475
6534
|
__publicField$6(this, "startBulkEditButton");
|
|
6535
|
+
this.page = page;
|
|
6476
6536
|
this.productsTable = page.locator(".sw-data-grid__table");
|
|
6477
6537
|
this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
|
|
6478
6538
|
this.bulkEditModal = page.locator(".sw-product-bulk-edit-modal");
|
|
@@ -6530,7 +6590,6 @@ var __publicField$5 = (obj, key, value) => {
|
|
|
6530
6590
|
};
|
|
6531
6591
|
class ProductBulkEdit {
|
|
6532
6592
|
constructor(page) {
|
|
6533
|
-
this.page = page;
|
|
6534
6593
|
/**
|
|
6535
6594
|
* Bulk edit values
|
|
6536
6595
|
*/
|
|
@@ -6577,6 +6636,8 @@ class ProductBulkEdit {
|
|
|
6577
6636
|
__publicField$5(this, "confirmModalLoadingSpinner");
|
|
6578
6637
|
__publicField$5(this, "confirmModalSuccessHeader");
|
|
6579
6638
|
__publicField$5(this, "confirmModalSuccessCloseButton");
|
|
6639
|
+
__publicField$5(this, "page");
|
|
6640
|
+
this.page = page;
|
|
6580
6641
|
this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
|
|
6581
6642
|
this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
|
|
6582
6643
|
this.manufacturerDropdown = this.changeManufacturerRow.locator(".sw-select__selection");
|
|
@@ -6634,7 +6695,6 @@ var __publicField$4 = (obj, key, value) => {
|
|
|
6634
6695
|
};
|
|
6635
6696
|
class CustomerBulkEdit {
|
|
6636
6697
|
constructor(page) {
|
|
6637
|
-
this.page = page;
|
|
6638
6698
|
//General
|
|
6639
6699
|
__publicField$4(this, "applyChangesButton");
|
|
6640
6700
|
__publicField$4(this, "filtersResultPopoverItemList");
|
|
@@ -6662,6 +6722,8 @@ class CustomerBulkEdit {
|
|
|
6662
6722
|
__publicField$4(this, "confirmModalApplyChangesButton");
|
|
6663
6723
|
__publicField$4(this, "confirmModalSuccessHeader");
|
|
6664
6724
|
__publicField$4(this, "confirmModalSuccessCloseButton");
|
|
6725
|
+
__publicField$4(this, "page");
|
|
6726
|
+
this.page = page;
|
|
6665
6727
|
this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
|
|
6666
6728
|
this.filtersResultPopoverItemList = page.locator(".sw-select-result-list__content").getByRole("listitem");
|
|
6667
6729
|
this.changeCustomerGroupCheckbox = page.getByRole("checkbox", { name: "Change: Customer group" });
|
|
@@ -6711,9 +6773,10 @@ var __publicField$3 = (obj, key, value) => {
|
|
|
6711
6773
|
};
|
|
6712
6774
|
class SettingsListing {
|
|
6713
6775
|
constructor(page) {
|
|
6714
|
-
this.page = page;
|
|
6715
6776
|
__publicField$3(this, "contentView");
|
|
6716
6777
|
__publicField$3(this, "header");
|
|
6778
|
+
__publicField$3(this, "page");
|
|
6779
|
+
this.page = page;
|
|
6717
6780
|
this.header = page.locator(".sw-settings__content-header");
|
|
6718
6781
|
this.contentView = page.locator(".sw-desktop__content");
|
|
6719
6782
|
}
|
|
@@ -6730,9 +6793,10 @@ var __publicField$2 = (obj, key, value) => {
|
|
|
6730
6793
|
};
|
|
6731
6794
|
class DocumentListing {
|
|
6732
6795
|
constructor(page) {
|
|
6733
|
-
this.page = page;
|
|
6734
6796
|
__publicField$2(this, "addDocumentButton");
|
|
6735
6797
|
__publicField$2(this, "invoiceLink");
|
|
6798
|
+
__publicField$2(this, "page");
|
|
6799
|
+
this.page = page;
|
|
6736
6800
|
this.addDocumentButton = page.getByRole("button", { name: "Add document" });
|
|
6737
6801
|
this.invoiceLink = page.getByRole("link", { name: "invoice", exact: true });
|
|
6738
6802
|
}
|
|
@@ -6749,10 +6813,11 @@ var __publicField$1 = (obj, key, value) => {
|
|
|
6749
6813
|
};
|
|
6750
6814
|
class DocumentDetail {
|
|
6751
6815
|
constructor(page) {
|
|
6752
|
-
this.page = page;
|
|
6753
6816
|
__publicField$1(this, "showInAccountSwitch");
|
|
6754
6817
|
__publicField$1(this, "saveButton");
|
|
6755
6818
|
__publicField$1(this, "documentTypeSelect");
|
|
6819
|
+
__publicField$1(this, "page");
|
|
6820
|
+
this.page = page;
|
|
6756
6821
|
this.showInAccountSwitch = page.getByRole("checkbox", { name: 'Display document in "My' });
|
|
6757
6822
|
this.saveButton = page.getByRole("button", { name: "Save" });
|
|
6758
6823
|
this.documentTypeSelect = page.locator(".sw-settings-document-detail__select-type");
|
|
@@ -6800,7 +6865,7 @@ const AdminPageObjects = {
|
|
|
6800
6865
|
DocumentListing,
|
|
6801
6866
|
DocumentDetail
|
|
6802
6867
|
};
|
|
6803
|
-
const test$6 = test$
|
|
6868
|
+
const test$6 = test$e.extend({
|
|
6804
6869
|
AdminProductDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
6805
6870
|
await use(new ProductDetail(AdminPage, InstanceMeta));
|
|
6806
6871
|
},
|
|
@@ -6911,7 +6976,7 @@ const test$6 = test$f.extend({
|
|
|
6911
6976
|
}
|
|
6912
6977
|
});
|
|
6913
6978
|
|
|
6914
|
-
const ProductData = test$
|
|
6979
|
+
const ProductData = test$e.extend({
|
|
6915
6980
|
ProductData: async ({ IdProvider, SalesChannelBaseConfig, AdminApiContext, DefaultSalesChannel }, use) => {
|
|
6916
6981
|
const { id: productId, uuid: productUuid } = IdProvider.getIdPair();
|
|
6917
6982
|
const productName = `Product_test_${productId}`;
|
|
@@ -6960,7 +7025,7 @@ const ProductData = test$f.extend({
|
|
|
6960
7025
|
}
|
|
6961
7026
|
});
|
|
6962
7027
|
|
|
6963
|
-
const CategoryData = test$
|
|
7028
|
+
const CategoryData = test$e.extend({
|
|
6964
7029
|
CategoryData: async ({ IdProvider, AdminApiContext, DefaultSalesChannel, ProductData }, use) => {
|
|
6965
7030
|
const { id: categoryId, uuid: categoryUuid } = IdProvider.getIdPair();
|
|
6966
7031
|
const categoryName = `Category-${categoryId}`;
|
|
@@ -6987,7 +7052,7 @@ const CategoryData = test$f.extend({
|
|
|
6987
7052
|
}
|
|
6988
7053
|
});
|
|
6989
7054
|
|
|
6990
|
-
const DigitalProductData = test$
|
|
7055
|
+
const DigitalProductData = test$e.extend({
|
|
6991
7056
|
DigitalProductData: async ({ ProductData, IdProvider, AdminApiContext }, use) => {
|
|
6992
7057
|
const newMediaResource = await AdminApiContext.post("./media?_response", {
|
|
6993
7058
|
data: {
|
|
@@ -7042,7 +7107,7 @@ const DigitalProductData = test$f.extend({
|
|
|
7042
7107
|
}
|
|
7043
7108
|
});
|
|
7044
7109
|
|
|
7045
|
-
const PropertiesData = test$
|
|
7110
|
+
const PropertiesData = test$e.extend({
|
|
7046
7111
|
PropertiesData: async ({ AdminApiContext }, use) => {
|
|
7047
7112
|
const propertyGroupColorResponse = await AdminApiContext.post("property-group?_response=1", {
|
|
7048
7113
|
data: {
|
|
@@ -7092,7 +7157,7 @@ const PropertiesData = test$f.extend({
|
|
|
7092
7157
|
}
|
|
7093
7158
|
});
|
|
7094
7159
|
|
|
7095
|
-
const CartWithProductData = test$
|
|
7160
|
+
const CartWithProductData = test$e.extend({
|
|
7096
7161
|
CartWithProductData: async ({ StoreApiContext, DefaultSalesChannel, ProductData }, use) => {
|
|
7097
7162
|
await StoreApiContext.login(DefaultSalesChannel.customer);
|
|
7098
7163
|
const cartResponse = await StoreApiContext.post("checkout/cart", {
|
|
@@ -7118,7 +7183,7 @@ const CartWithProductData = test$f.extend({
|
|
|
7118
7183
|
}
|
|
7119
7184
|
});
|
|
7120
7185
|
|
|
7121
|
-
const PromotionWithCodeData = test$
|
|
7186
|
+
const PromotionWithCodeData = test$e.extend({
|
|
7122
7187
|
PromotionWithCodeData: async ({ AdminApiContext, DefaultSalesChannel, IdProvider }, use) => {
|
|
7123
7188
|
const promotionCode = `${IdProvider.getIdPair().id}`;
|
|
7124
7189
|
const promotionName = `Test Promotion ${promotionCode}`;
|
|
@@ -7160,7 +7225,7 @@ const PromotionWithCodeData = test$f.extend({
|
|
|
7160
7225
|
}
|
|
7161
7226
|
});
|
|
7162
7227
|
|
|
7163
|
-
const MediaData = test$
|
|
7228
|
+
const MediaData = test$e.extend({
|
|
7164
7229
|
MediaData: async ({ AdminApiContext, IdProvider }, use) => {
|
|
7165
7230
|
const imageId = IdProvider.getIdPair().id;
|
|
7166
7231
|
const imageFilePath = `./tmp/image-${imageId}.png`;
|
|
@@ -7207,7 +7272,7 @@ const MediaData = test$f.extend({
|
|
|
7207
7272
|
}
|
|
7208
7273
|
});
|
|
7209
7274
|
|
|
7210
|
-
const OrderData = test$
|
|
7275
|
+
const OrderData = test$e.extend({
|
|
7211
7276
|
OrderData: async ({ IdProvider, AdminApiContext, SalesChannelBaseConfig, DefaultSalesChannel, ProductData }, use) => {
|
|
7212
7277
|
const requests = {
|
|
7213
7278
|
currencyEUR: getCurrency("EUR", AdminApiContext),
|
|
@@ -7424,7 +7489,7 @@ const OrderData = test$f.extend({
|
|
|
7424
7489
|
}
|
|
7425
7490
|
});
|
|
7426
7491
|
|
|
7427
|
-
const TagData = test$
|
|
7492
|
+
const TagData = test$e.extend({
|
|
7428
7493
|
TagData: async ({ IdProvider, AdminApiContext }, use) => {
|
|
7429
7494
|
const tagUUID = IdProvider.getIdPair().uuid;
|
|
7430
7495
|
const tagId = IdProvider.getIdPair().id;
|
|
@@ -7455,7 +7520,7 @@ const test$5 = mergeTests(
|
|
|
7455
7520
|
TagData
|
|
7456
7521
|
);
|
|
7457
7522
|
|
|
7458
|
-
const SaveProduct = test$
|
|
7523
|
+
const SaveProduct = test$e.extend({
|
|
7459
7524
|
SaveProduct: async ({ ShopAdmin, AdminProductDetail }, use) => {
|
|
7460
7525
|
const task = () => {
|
|
7461
7526
|
return async function SaveProduct2() {
|
|
@@ -7473,7 +7538,7 @@ const SaveProduct = test$f.extend({
|
|
|
7473
7538
|
}
|
|
7474
7539
|
});
|
|
7475
7540
|
|
|
7476
|
-
const ExpectNotification = test$
|
|
7541
|
+
const ExpectNotification = test$e.extend({
|
|
7477
7542
|
ExpectNotification: async ({ ShopAdmin, InstanceMeta }, use) => {
|
|
7478
7543
|
const task = (message, close = true) => {
|
|
7479
7544
|
return async function ExpectNotification2() {
|
|
@@ -7498,7 +7563,7 @@ const ExpectNotification = test$f.extend({
|
|
|
7498
7563
|
}
|
|
7499
7564
|
});
|
|
7500
7565
|
|
|
7501
|
-
const CreateLinkTypeCategory = test$
|
|
7566
|
+
const CreateLinkTypeCategory = test$e.extend({
|
|
7502
7567
|
CreateLinkTypeCategory: async ({ AdminCategories, AdminCategoryDetail, TestDataService }, use) => {
|
|
7503
7568
|
const task = (categoryData, categoryCustomizableLinkData, parentCategoryName) => {
|
|
7504
7569
|
return async function CreateLinkTypeCategory2() {
|
|
@@ -7552,7 +7617,7 @@ const CreateLinkTypeCategory = test$f.extend({
|
|
|
7552
7617
|
}
|
|
7553
7618
|
});
|
|
7554
7619
|
|
|
7555
|
-
const BulkEditProducts = test$
|
|
7620
|
+
const BulkEditProducts = test$e.extend({
|
|
7556
7621
|
BulkEditProducts: async ({ AdminProductBulkEdit, AdminProductListing }, use) => {
|
|
7557
7622
|
const task = (products, changes) => {
|
|
7558
7623
|
return async function BulkEditProducts2() {
|
|
@@ -7651,7 +7716,7 @@ const BulkEditProducts = test$f.extend({
|
|
|
7651
7716
|
}
|
|
7652
7717
|
});
|
|
7653
7718
|
|
|
7654
|
-
const BulkEditCustomers = test$
|
|
7719
|
+
const BulkEditCustomers = test$e.extend({
|
|
7655
7720
|
BulkEditCustomers: async ({ ShopAdmin, AdminCustomerListing, AdminCustomerBulkEdit }, use) => {
|
|
7656
7721
|
const task = (customers, accountData, tagData, customFieldData) => {
|
|
7657
7722
|
return async function BulkEditCustomers2() {
|
|
@@ -7720,17 +7785,16 @@ const BulkEditCustomers = test$f.extend({
|
|
|
7720
7785
|
}
|
|
7721
7786
|
});
|
|
7722
7787
|
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
const AssignEntitiesToRule = test$f.extend({
|
|
7788
|
+
const RuleType = {
|
|
7789
|
+
shippingAvailability: "shippingMethodAvailabilityRule",
|
|
7790
|
+
taxAvailability: "taxProviderAvailabilityRule",
|
|
7791
|
+
paymentAvailability: "paymentMethodAvailabilityRule",
|
|
7792
|
+
promotionOrder: "promotionOrderRule",
|
|
7793
|
+
promotionCustomer: "promotionCustomerRule",
|
|
7794
|
+
promotionCart: "promotionCartRule"
|
|
7795
|
+
};
|
|
7796
|
+
|
|
7797
|
+
const AssignEntitiesToRule = test$e.extend({
|
|
7734
7798
|
AssignEntitiesToRule: async ({ AdminRuleDetail }, use) => {
|
|
7735
7799
|
const task = (assignableEntities) => {
|
|
7736
7800
|
return async function AssignEntitiesToRule2() {
|
|
@@ -7771,7 +7835,7 @@ const AssignEntitiesToRule = test$f.extend({
|
|
|
7771
7835
|
}
|
|
7772
7836
|
});
|
|
7773
7837
|
|
|
7774
|
-
const CreateFlow = test$
|
|
7838
|
+
const CreateFlow = test$e.extend({
|
|
7775
7839
|
CreateFlow: async ({ AdminFlowBuilderCreate, AdminFlowBuilderDetail, AdminFlowBuilderListing, ShopAdmin, TestDataService }, use) => {
|
|
7776
7840
|
const task = (flowConfig) => {
|
|
7777
7841
|
return async function createFlow() {
|
|
@@ -7822,7 +7886,7 @@ const CreateFlow = test$f.extend({
|
|
|
7822
7886
|
}
|
|
7823
7887
|
});
|
|
7824
7888
|
|
|
7825
|
-
const LoginViaReviewsTab = test$
|
|
7889
|
+
const LoginViaReviewsTab = test$e.extend({
|
|
7826
7890
|
LoginViaReviewsTab: async ({ ShopCustomer, DefaultSalesChannel, StorefrontProductDetail }, use) => {
|
|
7827
7891
|
const task = (product, customCustomer) => {
|
|
7828
7892
|
return async function LoginViaReviewsTab2() {
|
|
@@ -7851,7 +7915,7 @@ const test$4 = mergeTests(
|
|
|
7851
7915
|
LoginViaReviewsTab
|
|
7852
7916
|
);
|
|
7853
7917
|
|
|
7854
|
-
const Login = test$
|
|
7918
|
+
const Login = test$e.extend({
|
|
7855
7919
|
Login: async ({ ShopCustomer, DefaultSalesChannel, StorefrontAccountLogin, StorefrontAccount }, use) => {
|
|
7856
7920
|
const task = (customCustomer) => {
|
|
7857
7921
|
return async function Login2() {
|
|
@@ -7867,7 +7931,7 @@ const Login = test$f.extend({
|
|
|
7867
7931
|
}
|
|
7868
7932
|
});
|
|
7869
7933
|
|
|
7870
|
-
const Logout = test$
|
|
7934
|
+
const Logout = test$e.extend({
|
|
7871
7935
|
Logout: async ({ ShopCustomer, StorefrontAccountLogin }, use) => {
|
|
7872
7936
|
const task = () => {
|
|
7873
7937
|
return async function Logout2() {
|
|
@@ -7881,7 +7945,7 @@ const Logout = test$f.extend({
|
|
|
7881
7945
|
}
|
|
7882
7946
|
});
|
|
7883
7947
|
|
|
7884
|
-
const Register = test$
|
|
7948
|
+
const Register = test$e.extend({
|
|
7885
7949
|
Register: async ({ StorefrontAccountLogin, IdProvider, TestDataService }, use) => {
|
|
7886
7950
|
let registeredEmail = "";
|
|
7887
7951
|
const defaultRegistrationData = {
|
|
@@ -7931,7 +7995,7 @@ const Register = test$f.extend({
|
|
|
7931
7995
|
}
|
|
7932
7996
|
});
|
|
7933
7997
|
|
|
7934
|
-
const RegisterGuest = test$
|
|
7998
|
+
const RegisterGuest = test$e.extend({
|
|
7935
7999
|
RegisterGuest: async ({ StorefrontAccountLogin, AdminApiContext }, use) => {
|
|
7936
8000
|
const registrationData = {
|
|
7937
8001
|
firstName: "Jeff",
|
|
@@ -7979,7 +8043,7 @@ const RegisterGuest = test$f.extend({
|
|
|
7979
8043
|
}
|
|
7980
8044
|
});
|
|
7981
8045
|
|
|
7982
|
-
const ChangeStorefrontCurrency = test$
|
|
8046
|
+
const ChangeStorefrontCurrency = test$e.extend({
|
|
7983
8047
|
ChangeStorefrontCurrency: async ({ StorefrontHome }, use) => {
|
|
7984
8048
|
const task = (isoCode) => {
|
|
7985
8049
|
return async function ChangeStorefrontCurrency2() {
|
|
@@ -7991,7 +8055,7 @@ const ChangeStorefrontCurrency = test$f.extend({
|
|
|
7991
8055
|
}
|
|
7992
8056
|
});
|
|
7993
8057
|
|
|
7994
|
-
const AddNewAddress = test$
|
|
8058
|
+
const AddNewAddress = test$e.extend({
|
|
7995
8059
|
AddNewAddress: async ({ StorefrontAccountAddresses, StorefrontAccountAddressCreate }, use) => {
|
|
7996
8060
|
const task = (address) => {
|
|
7997
8061
|
return async function AddNewAddress2() {
|
|
@@ -8014,7 +8078,7 @@ const AddNewAddress = test$f.extend({
|
|
|
8014
8078
|
}
|
|
8015
8079
|
});
|
|
8016
8080
|
|
|
8017
|
-
const AddProductToCart = test$
|
|
8081
|
+
const AddProductToCart = test$e.extend({
|
|
8018
8082
|
AddProductToCart: async ({ ShopCustomer, StorefrontProductDetail }, use) => {
|
|
8019
8083
|
const task = (ProductData, quantity = "1") => {
|
|
8020
8084
|
return async function AddProductToCart2() {
|
|
@@ -8028,7 +8092,7 @@ const AddProductToCart = test$f.extend({
|
|
|
8028
8092
|
}
|
|
8029
8093
|
});
|
|
8030
8094
|
|
|
8031
|
-
const ProceedFromProductToCheckout = test$
|
|
8095
|
+
const ProceedFromProductToCheckout = test$e.extend({
|
|
8032
8096
|
ProceedFromProductToCheckout: async ({ ShopCustomer, StorefrontProductDetail, StorefrontCheckoutConfirm }, use) => {
|
|
8033
8097
|
const task = () => {
|
|
8034
8098
|
return async function ProceedFromProductToCheckout2() {
|
|
@@ -8040,7 +8104,7 @@ const ProceedFromProductToCheckout = test$f.extend({
|
|
|
8040
8104
|
}
|
|
8041
8105
|
});
|
|
8042
8106
|
|
|
8043
|
-
const ProceedFromCartToCheckout = test$
|
|
8107
|
+
const ProceedFromCartToCheckout = test$e.extend({
|
|
8044
8108
|
ProceedFromCartToCheckout: async ({
|
|
8045
8109
|
ShopCustomer,
|
|
8046
8110
|
StorefrontCheckoutCart,
|
|
@@ -8056,7 +8120,7 @@ const ProceedFromCartToCheckout = test$f.extend({
|
|
|
8056
8120
|
}
|
|
8057
8121
|
});
|
|
8058
8122
|
|
|
8059
|
-
const ChangeProductQuantity = test$
|
|
8123
|
+
const ChangeProductQuantity = test$e.extend({
|
|
8060
8124
|
ChangeProductQuantity: async ({
|
|
8061
8125
|
ShopCustomer,
|
|
8062
8126
|
StorefrontCheckoutCart
|
|
@@ -8072,7 +8136,7 @@ const ChangeProductQuantity = test$f.extend({
|
|
|
8072
8136
|
}
|
|
8073
8137
|
});
|
|
8074
8138
|
|
|
8075
|
-
const ConfirmTermsAndConditions = test$
|
|
8139
|
+
const ConfirmTermsAndConditions = test$e.extend({
|
|
8076
8140
|
ConfirmTermsAndConditions: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8077
8141
|
const task = () => {
|
|
8078
8142
|
return async function ConfirmTermsAndConditions2() {
|
|
@@ -8084,7 +8148,7 @@ const ConfirmTermsAndConditions = test$f.extend({
|
|
|
8084
8148
|
}
|
|
8085
8149
|
});
|
|
8086
8150
|
|
|
8087
|
-
const SelectCashOnDeliveryPaymentOption = test$
|
|
8151
|
+
const SelectCashOnDeliveryPaymentOption = test$e.extend({
|
|
8088
8152
|
SelectCashOnDeliveryPaymentOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8089
8153
|
const task = () => {
|
|
8090
8154
|
return async function SelectCashOnDeliveryPaymentOption2() {
|
|
@@ -8096,7 +8160,7 @@ const SelectCashOnDeliveryPaymentOption = test$f.extend({
|
|
|
8096
8160
|
}
|
|
8097
8161
|
});
|
|
8098
8162
|
|
|
8099
|
-
const SelectInvoicePaymentOption = test$
|
|
8163
|
+
const SelectInvoicePaymentOption = test$e.extend({
|
|
8100
8164
|
SelectInvoicePaymentOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8101
8165
|
const task = () => {
|
|
8102
8166
|
return async function SelectInvoicePaymentOption2() {
|
|
@@ -8108,7 +8172,7 @@ const SelectInvoicePaymentOption = test$f.extend({
|
|
|
8108
8172
|
}
|
|
8109
8173
|
});
|
|
8110
8174
|
|
|
8111
|
-
const SelectPaidInAdvancePaymentOption = test$
|
|
8175
|
+
const SelectPaidInAdvancePaymentOption = test$e.extend({
|
|
8112
8176
|
SelectPaidInAdvancePaymentOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8113
8177
|
const task = () => {
|
|
8114
8178
|
return async function SelectPaidInAdvancePaymentOption2() {
|
|
@@ -8120,7 +8184,7 @@ const SelectPaidInAdvancePaymentOption = test$f.extend({
|
|
|
8120
8184
|
}
|
|
8121
8185
|
});
|
|
8122
8186
|
|
|
8123
|
-
const SelectStandardShippingOption = test$
|
|
8187
|
+
const SelectStandardShippingOption = test$e.extend({
|
|
8124
8188
|
SelectStandardShippingOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8125
8189
|
const task = () => {
|
|
8126
8190
|
return async function SelectStandardShippingOption2() {
|
|
@@ -8132,7 +8196,7 @@ const SelectStandardShippingOption = test$f.extend({
|
|
|
8132
8196
|
}
|
|
8133
8197
|
});
|
|
8134
8198
|
|
|
8135
|
-
const SelectExpressShippingOption = test$
|
|
8199
|
+
const SelectExpressShippingOption = test$e.extend({
|
|
8136
8200
|
SelectExpressShippingOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8137
8201
|
const task = () => {
|
|
8138
8202
|
return async function SelectExpressShippingOption2() {
|
|
@@ -8144,7 +8208,7 @@ const SelectExpressShippingOption = test$f.extend({
|
|
|
8144
8208
|
}
|
|
8145
8209
|
});
|
|
8146
8210
|
|
|
8147
|
-
const SubmitOrder = test$
|
|
8211
|
+
const SubmitOrder = test$e.extend({
|
|
8148
8212
|
SubmitOrder: async ({ ShopCustomer, StorefrontCheckoutConfirm, StorefrontCheckoutFinish }, use) => {
|
|
8149
8213
|
const task = () => {
|
|
8150
8214
|
return async function SubmitOrder2() {
|
|
@@ -8156,7 +8220,7 @@ const SubmitOrder = test$f.extend({
|
|
|
8156
8220
|
}
|
|
8157
8221
|
});
|
|
8158
8222
|
|
|
8159
|
-
const OpenSearchResultPage = test$
|
|
8223
|
+
const OpenSearchResultPage = test$e.extend({
|
|
8160
8224
|
OpenSearchResultPage: async ({ StorefrontSearch }, use) => {
|
|
8161
8225
|
const task = (searchTerm) => {
|
|
8162
8226
|
return async function OpenSearchResultPage2() {
|
|
@@ -8168,7 +8232,7 @@ const OpenSearchResultPage = test$f.extend({
|
|
|
8168
8232
|
}
|
|
8169
8233
|
});
|
|
8170
8234
|
|
|
8171
|
-
const OpenSearchSuggestPage = test$
|
|
8235
|
+
const OpenSearchSuggestPage = test$e.extend({
|
|
8172
8236
|
OpenSearchSuggestPage: async ({ StorefrontSearchSuggest }, use) => {
|
|
8173
8237
|
const task = (searchTerm) => {
|
|
8174
8238
|
return async function OpenSearchSuggestPage2() {
|
|
@@ -8180,7 +8244,7 @@ const OpenSearchSuggestPage = test$f.extend({
|
|
|
8180
8244
|
}
|
|
8181
8245
|
});
|
|
8182
8246
|
|
|
8183
|
-
const SearchForTerm = test$
|
|
8247
|
+
const SearchForTerm = test$e.extend({
|
|
8184
8248
|
SearchForTerm: async ({ StorefrontSearchSuggest }, use) => {
|
|
8185
8249
|
const task = (searchTerm) => {
|
|
8186
8250
|
return async function SearchForTerm2() {
|
|
@@ -8193,7 +8257,7 @@ const SearchForTerm = test$f.extend({
|
|
|
8193
8257
|
}
|
|
8194
8258
|
});
|
|
8195
8259
|
|
|
8196
|
-
const ValidateAccessibility = test$
|
|
8260
|
+
const ValidateAccessibility = test$e.extend({
|
|
8197
8261
|
ValidateAccessibility: async ({ ShopCustomer }, use) => {
|
|
8198
8262
|
const task = (pageName, assertViolations = true, createReport = true, ruleTags = ["wcag2a", "wcag2aa", "wcag2aaa", "wcag21a", "wcag21aa", "best-practice"], outputDir = "test-results/AccessibilityReports") => {
|
|
8199
8263
|
return async function ValidateAccessibility2() {
|
|
@@ -8222,7 +8286,7 @@ const ValidateAccessibility = test$f.extend({
|
|
|
8222
8286
|
}
|
|
8223
8287
|
});
|
|
8224
8288
|
|
|
8225
|
-
const AddProductToCartFromWishlist = test$
|
|
8289
|
+
const AddProductToCartFromWishlist = test$e.extend({
|
|
8226
8290
|
AddProductToCartFromWishlist: async ({ ShopCustomer, StorefrontWishlist, StorefrontOffCanvasCart }, use) => {
|
|
8227
8291
|
const task = (ProductData) => {
|
|
8228
8292
|
return async function AddProductToCartFromWishlist2() {
|
|
@@ -8239,7 +8303,7 @@ const AddProductToCartFromWishlist = test$f.extend({
|
|
|
8239
8303
|
await use(task);
|
|
8240
8304
|
}
|
|
8241
8305
|
});
|
|
8242
|
-
const RemoveProductFromWishlist = test$
|
|
8306
|
+
const RemoveProductFromWishlist = test$e.extend({
|
|
8243
8307
|
RemoveProductFromWishlist: async ({ StorefrontHome, StorefrontWishlist }, use) => {
|
|
8244
8308
|
const task = (ProductData) => {
|
|
8245
8309
|
return async function RemoveProductFromWishlist2() {
|
|
@@ -8251,7 +8315,7 @@ const RemoveProductFromWishlist = test$f.extend({
|
|
|
8251
8315
|
await use(task);
|
|
8252
8316
|
}
|
|
8253
8317
|
});
|
|
8254
|
-
const AddProductToWishlist = test$
|
|
8318
|
+
const AddProductToWishlist = test$e.extend({
|
|
8255
8319
|
AddProductToWishlist: async ({ StorefrontHome, ShopCustomer }, use) => {
|
|
8256
8320
|
const task = (ProductData) => {
|
|
8257
8321
|
return async function AddProductToWishlist2() {
|
|
@@ -8264,7 +8328,7 @@ const AddProductToWishlist = test$f.extend({
|
|
|
8264
8328
|
}
|
|
8265
8329
|
});
|
|
8266
8330
|
|
|
8267
|
-
const SelectProductFilterOption = test$
|
|
8331
|
+
const SelectProductFilterOption = test$e.extend({
|
|
8268
8332
|
SelectProductFilterOption: async ({ StorefrontHome }, use) => {
|
|
8269
8333
|
const task = (filterButton, optionName) => {
|
|
8270
8334
|
return async function SelectProductFilterOption2() {
|
|
@@ -8399,7 +8463,7 @@ class FeatureService {
|
|
|
8399
8463
|
}
|
|
8400
8464
|
}
|
|
8401
8465
|
|
|
8402
|
-
const test$2 = test$
|
|
8466
|
+
const test$2 = test$e.extend({
|
|
8403
8467
|
FeatureService: async ({ AdminApiContext }, use) => {
|
|
8404
8468
|
const service = new FeatureService(AdminApiContext);
|
|
8405
8469
|
await use(service);
|
|
@@ -8407,7 +8471,7 @@ const test$2 = test$f.extend({
|
|
|
8407
8471
|
}
|
|
8408
8472
|
});
|
|
8409
8473
|
|
|
8410
|
-
const test$1 = test$
|
|
8474
|
+
const test$1 = test$e.extend({
|
|
8411
8475
|
Country: [
|
|
8412
8476
|
async ({ AdminApiContext }, use) => {
|
|
8413
8477
|
const countryId = await getCountryId("de", AdminApiContext);
|