@shopware-ag/acceptance-test-suite 11.20.0 → 11.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +160 -93
- package/dist/index.d.ts +160 -93
- package/dist/index.mjs +1407 -1143
- 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$15 = Object.defineProperty;
|
|
159
|
+
var __defNormalProp$15 = (obj, key, value) => key in obj ? __defProp$15(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
160
|
+
var __publicField$15 = (obj, key, value) => {
|
|
161
|
+
__defNormalProp$15(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$15(this, "context");
|
|
167
|
+
__publicField$15(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$15(_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$14 = Object.defineProperty;
|
|
298
|
+
var __defNormalProp$14 = (obj, key, value) => key in obj ? __defProp$14(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
299
|
+
var __publicField$14 = (obj, key, value) => {
|
|
300
|
+
__defNormalProp$14(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$14(this, "context");
|
|
306
|
+
__publicField$14(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$14(_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$13 = Object.defineProperty;
|
|
372
|
+
var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$13(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
373
|
+
var __publicField$13 = (obj, key, value) => {
|
|
374
|
+
__defNormalProp$13(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$13(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$12 = Object.defineProperty;
|
|
692
|
+
var __defNormalProp$12 = (obj, key, value) => key in obj ? __defProp$12(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
693
|
+
var __publicField$12 = (obj, key, value) => {
|
|
694
|
+
__defNormalProp$12(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$12(this, "page");
|
|
700
|
+
__publicField$12(this, "name");
|
|
701
|
+
__publicField$12(this, "baseURL");
|
|
702
|
+
__publicField$12(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$11 = Object.defineProperty;
|
|
1040
|
+
var __defNormalProp$11 = (obj, key, value) => key in obj ? __defProp$11(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1041
|
+
var __publicField$11 = (obj, key, value) => {
|
|
1042
|
+
__defNormalProp$11(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$11(this, "AdminApiClient");
|
|
1048
|
+
__publicField$11(this, "IdProvider");
|
|
1049
|
+
__publicField$11(this, "namePrefix", "Test-");
|
|
1050
|
+
__publicField$11(this, "nameSuffix", "");
|
|
1051
|
+
__publicField$11(this, "defaultSalesChannel");
|
|
1052
|
+
__publicField$11(this, "defaultTaxId");
|
|
1053
|
+
__publicField$11(this, "defaultCurrencyId");
|
|
1054
|
+
__publicField$11(this, "defaultCategoryId");
|
|
1055
|
+
__publicField$11(this, "defaultLanguageId");
|
|
1056
|
+
__publicField$11(this, "defaultCountryId");
|
|
1057
|
+
__publicField$11(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$11(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$11(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$11(this, "createdRecords", []);
|
|
1078
|
+
__publicField$11(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$11(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$11(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$10 = Object.defineProperty;
|
|
3257
|
+
var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3258
|
+
var __publicField$10 = (obj, key, value) => {
|
|
3259
|
+
__defNormalProp$10(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$10(this, "workerIndex");
|
|
3265
|
+
__publicField$10(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$$ = Object.defineProperty;
|
|
3350
|
+
var __defNormalProp$$ = (obj, key, value) => key in obj ? __defProp$$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3351
|
+
var __publicField$$ = (obj, key, value) => {
|
|
3352
|
+
__defNormalProp$$(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$$(this, "categoryTitle");
|
|
3358
|
+
__publicField$$(this, "accountMenuButton");
|
|
3359
|
+
__publicField$$(this, "closeGuestSessionButton");
|
|
3360
|
+
__publicField$$(this, "productImages");
|
|
3361
|
+
__publicField$$(this, "productListItems");
|
|
3362
|
+
__publicField$$(this, "loader");
|
|
3363
|
+
__publicField$$(this, "productVariantCharacteristicsOptions");
|
|
3365
3364
|
/**
|
|
3366
3365
|
* @deprecated Use 'Header/languagesDropdown' instead
|
|
3367
3366
|
*/
|
|
3368
|
-
__publicField
|
|
3367
|
+
__publicField$$(this, "languagesDropdown");
|
|
3369
3368
|
/**
|
|
3370
3369
|
* @deprecated Use 'Header/languagesMenuOptions' instead
|
|
3371
3370
|
*/
|
|
3372
|
-
__publicField
|
|
3371
|
+
__publicField$$(this, "languagesMenuOptions");
|
|
3373
3372
|
/**
|
|
3374
3373
|
* @deprecated Use 'Header/currenciesDropdown' instead
|
|
3375
3374
|
*/
|
|
3376
|
-
__publicField
|
|
3375
|
+
__publicField$$(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$$(this, "currenciesMenuOptions");
|
|
3380
|
+
__publicField$$(this, "consentOnlyTechnicallyRequiredButton");
|
|
3381
|
+
__publicField$$(this, "consentConfigureButton");
|
|
3382
|
+
__publicField$$(this, "consentAcceptAllCookiesButton");
|
|
3383
|
+
__publicField$$(this, "consentCookiePreferences");
|
|
3384
|
+
__publicField$$(this, "consentCookiePermissionContent");
|
|
3385
|
+
__publicField$$(this, "consentDialog");
|
|
3386
|
+
__publicField$$(this, "consentDialogTechnicallyRequiredCheckbox");
|
|
3387
|
+
__publicField$$(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$$(this, "consentDialogMarketingdCheckbox");
|
|
3392
|
+
__publicField$$(this, "consentDialogMarketingCheckbox");
|
|
3393
|
+
__publicField$$(this, "consentDialogAcceptAllCookiesButton");
|
|
3394
|
+
__publicField$$(this, "consentDialogSaveButton");
|
|
3395
|
+
__publicField$$(this, "consentCookieBannerContainer");
|
|
3396
|
+
__publicField$$(this, "offcanvasBackdrop");
|
|
3398
3397
|
/**
|
|
3399
3398
|
* @deprecated Use 'Header/mainNavigationLink' instead
|
|
3400
3399
|
*/
|
|
3401
|
-
__publicField
|
|
3400
|
+
__publicField$$(this, "mainNavigationLink");
|
|
3402
3401
|
/**
|
|
3403
3402
|
* @deprecated Use 'Footer/contactFormLink' instead
|
|
3404
3403
|
*/
|
|
3405
|
-
__publicField
|
|
3404
|
+
__publicField$$(this, "contactFormLink");
|
|
3406
3405
|
//wishlist
|
|
3407
3406
|
/**
|
|
3408
3407
|
* @deprecated Use 'Header/wishlistIcon' instead
|
|
3409
3408
|
*/
|
|
3410
|
-
__publicField
|
|
3409
|
+
__publicField$$(this, "wishlistIcon");
|
|
3411
3410
|
/**
|
|
3412
3411
|
* @deprecated Use 'Header/wishlistBasket' instead
|
|
3413
3412
|
*/
|
|
3414
|
-
__publicField
|
|
3413
|
+
__publicField$$(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$$(this, "filterMultiSelect");
|
|
3416
|
+
__publicField$$(this, "manufacturerFilter");
|
|
3417
|
+
__publicField$$(this, "propertyFilters");
|
|
3418
|
+
__publicField$$(this, "priceFilterButton");
|
|
3419
|
+
__publicField$$(this, "resetAllButton");
|
|
3420
|
+
__publicField$$(this, "freeShippingFilter");
|
|
3421
|
+
__publicField$$(this, "productList");
|
|
3422
|
+
__publicField$$(this, "productItemNames");
|
|
3423
|
+
__publicField$$(this, "productRatingButton");
|
|
3424
|
+
__publicField$$(this, "productRatingList");
|
|
3425
|
+
__publicField$$(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$_ = Object.defineProperty;
|
|
3582
|
+
var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3583
|
+
var __publicField$_ = (obj, key, value) => {
|
|
3584
|
+
__defNormalProp$_(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$_(this, "addToCartButton");
|
|
3590
|
+
__publicField$_(this, "quantitySelect");
|
|
3591
|
+
__publicField$_(this, "productSingleImage");
|
|
3592
|
+
__publicField$_(this, "productSinglePrice");
|
|
3593
|
+
__publicField$_(this, "productPriceRangesRow");
|
|
3594
|
+
__publicField$_(this, "productListingPriceBadge");
|
|
3595
|
+
__publicField$_(this, "productListingPrice");
|
|
3596
|
+
__publicField$_(this, "productListingPricePercentage");
|
|
3597
|
+
__publicField$_(this, "offCanvasCartTitle");
|
|
3598
|
+
__publicField$_(this, "offCanvasCart");
|
|
3599
|
+
__publicField$_(this, "offCanvasCartGoToCheckoutButton");
|
|
3600
|
+
__publicField$_(this, "offCanvasLineItemImages");
|
|
3601
|
+
__publicField$_(this, "offCanvasSummaryTotalPrice");
|
|
3602
|
+
__publicField$_(this, "offCanvas");
|
|
3603
|
+
__publicField$_(this, "wishlistAddedButton");
|
|
3604
|
+
__publicField$_(this, "wishlistNotAddedButton");
|
|
3605
|
+
__publicField$_(this, "productDetailConfigurator");
|
|
3606
|
+
__publicField$_(this, "productDetailConfiguratorGroupTitle");
|
|
3607
|
+
__publicField$_(this, "productDetailConfiguratorOptionInputs");
|
|
3608
|
+
__publicField$_(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$_(this, "reviewsTab");
|
|
3611
|
+
__publicField$_(this, "reviewTeaserButton");
|
|
3612
|
+
__publicField$_(this, "reviewTeaserText");
|
|
3613
|
+
__publicField$_(this, "reviewListingItems");
|
|
3614
|
+
__publicField$_(this, "reviewEmptyListingText");
|
|
3615
|
+
__publicField$_(this, "reviewLoginForm");
|
|
3616
|
+
__publicField$_(this, "forgottenPasswordLink");
|
|
3617
|
+
__publicField$_(this, "reviewForm");
|
|
3618
|
+
__publicField$_(this, "reviewRatingPoints");
|
|
3619
|
+
__publicField$_(this, "reviewRatingText");
|
|
3620
|
+
__publicField$_(this, "reviewSubmitMessage");
|
|
3621
|
+
__publicField$_(this, "reviewCounter");
|
|
3622
|
+
__publicField$_(this, "reviewItemRatingPoints");
|
|
3623
|
+
__publicField$_(this, "reviewItemTitle");
|
|
3624
|
+
__publicField$_(this, "reviewReviewTextInput");
|
|
3625
|
+
__publicField$_(this, "reviewItemContent");
|
|
3626
|
+
__publicField$_(this, "reviewLoginButton");
|
|
3627
|
+
__publicField$_(this, "reviewEmailInput");
|
|
3628
|
+
__publicField$_(this, "reviewPasswordInput");
|
|
3629
|
+
__publicField$_(this, "reviewTitleInput");
|
|
3630
|
+
__publicField$_(this, "reviewSubmitButton");
|
|
3631
|
+
__publicField$_(this, "productReviewsLink");
|
|
3632
|
+
__publicField$_(this, "productReviewRating");
|
|
3633
|
+
__publicField$_(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$Z = Object.defineProperty;
|
|
3700
|
+
var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3701
|
+
var __publicField$Z = (obj, key, value) => {
|
|
3702
|
+
__defNormalProp$Z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3701
3703
|
return value;
|
|
3702
3704
|
};
|
|
3703
3705
|
class Category {
|
|
3704
3706
|
constructor(page) {
|
|
3707
|
+
__publicField$Z(this, "sortingSelect");
|
|
3708
|
+
__publicField$Z(this, "firstProductBuyButton");
|
|
3709
|
+
__publicField$Z(this, "noProductsFoundAlert");
|
|
3710
|
+
__publicField$Z(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$Y = Object.defineProperty;
|
|
3722
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3723
|
+
var __publicField$Y = (obj, key, value) => {
|
|
3724
|
+
__defNormalProp$Y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3722
3725
|
return value;
|
|
3723
3726
|
};
|
|
3724
3727
|
class CheckoutCart {
|
|
3725
3728
|
constructor(page) {
|
|
3729
|
+
__publicField$Y(this, "headline");
|
|
3730
|
+
__publicField$Y(this, "goToCheckoutButton");
|
|
3731
|
+
__publicField$Y(this, "enterPromoInput");
|
|
3732
|
+
__publicField$Y(this, "grandTotalPrice");
|
|
3733
|
+
__publicField$Y(this, "emptyCartAlert");
|
|
3734
|
+
__publicField$Y(this, "stockReachedAlert");
|
|
3735
|
+
__publicField$Y(this, "cartLineItemImages");
|
|
3736
|
+
__publicField$Y(this, "unitPriceInfo");
|
|
3737
|
+
__publicField$Y(this, "cartQuantityNumber");
|
|
3738
|
+
__publicField$Y(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$X = Object.defineProperty;
|
|
3781
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3782
|
+
var __publicField$X = (obj, key, value) => {
|
|
3783
|
+
__defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3780
3784
|
return value;
|
|
3781
3785
|
};
|
|
3782
3786
|
class OffCanvasCart {
|
|
3783
3787
|
constructor(page) {
|
|
3788
|
+
__publicField$X(this, "headline");
|
|
3789
|
+
__publicField$X(this, "itemCount");
|
|
3790
|
+
__publicField$X(this, "goToCheckoutButton");
|
|
3791
|
+
__publicField$X(this, "goToCartButton");
|
|
3792
|
+
__publicField$X(this, "continueShoppingButton");
|
|
3793
|
+
__publicField$X(this, "enterPromoInput");
|
|
3794
|
+
__publicField$X(this, "submitDiscountButton");
|
|
3795
|
+
__publicField$X(this, "subTotalPrice");
|
|
3796
|
+
__publicField$X(this, "shippingCosts");
|
|
3797
|
+
__publicField$X(this, "cartQuantityNumber");
|
|
3798
|
+
__publicField$X(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$W = Object.defineProperty;
|
|
3846
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3847
|
+
var __publicField$W = (obj, key, value) => {
|
|
3848
|
+
__defNormalProp$W(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$W(this, "headline");
|
|
3854
|
+
__publicField$W(this, "termsAndConditionsCheckbox");
|
|
3855
|
+
__publicField$W(this, "immediateAccessToDigitalProductCheckbox");
|
|
3856
|
+
__publicField$W(this, "grandTotalPrice");
|
|
3857
|
+
__publicField$W(this, "taxPrice");
|
|
3858
|
+
__publicField$W(this, "submitOrderButton");
|
|
3855
3859
|
/**
|
|
3856
3860
|
* Payment options
|
|
3857
3861
|
*/
|
|
3858
|
-
__publicField$
|
|
3859
|
-
__publicField$
|
|
3860
|
-
__publicField$
|
|
3862
|
+
__publicField$W(this, "paymentCashOnDelivery");
|
|
3863
|
+
__publicField$W(this, "paymentPaidInAdvance");
|
|
3864
|
+
__publicField$W(this, "paymentInvoice");
|
|
3861
3865
|
/**
|
|
3862
3866
|
* Shipping options
|
|
3863
3867
|
*/
|
|
3864
|
-
__publicField$
|
|
3865
|
-
__publicField$
|
|
3868
|
+
__publicField$W(this, "shippingStandard");
|
|
3869
|
+
__publicField$W(this, "shippingExpress");
|
|
3866
3870
|
/**
|
|
3867
3871
|
* Product details
|
|
3868
3872
|
*/
|
|
3869
|
-
__publicField$
|
|
3873
|
+
__publicField$W(this, "cartLineItemImages");
|
|
3874
|
+
__publicField$W(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$V = Object.defineProperty;
|
|
3895
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3896
|
+
var __publicField$V = (obj, key, value) => {
|
|
3897
|
+
__defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3892
3898
|
return value;
|
|
3893
3899
|
};
|
|
3894
3900
|
class CheckoutFinish {
|
|
3895
3901
|
constructor(page) {
|
|
3902
|
+
__publicField$V(this, "headline");
|
|
3903
|
+
__publicField$V(this, "orderNumberText");
|
|
3904
|
+
__publicField$V(this, "grandTotalPrice");
|
|
3905
|
+
__publicField$V(this, "taxPrice");
|
|
3906
|
+
__publicField$V(this, "cartLineItemImages");
|
|
3907
|
+
__publicField$V(this, "page");
|
|
3908
|
+
__publicField$V(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$U = Object.defineProperty;
|
|
3939
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3940
|
+
var __publicField$U = (obj, key, value) => {
|
|
3941
|
+
__defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3935
3942
|
return value;
|
|
3936
3943
|
};
|
|
3937
3944
|
class CheckoutRegister {
|
|
3938
3945
|
constructor(page) {
|
|
3946
|
+
__publicField$U(this, "cartLineItemImages");
|
|
3947
|
+
__publicField$U(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$T = Object.defineProperty;
|
|
3957
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3958
|
+
var __publicField$T = (obj, key, value) => {
|
|
3959
|
+
__defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
3952
3960
|
return value;
|
|
3953
3961
|
};
|
|
3954
3962
|
class Account {
|
|
3955
3963
|
constructor(page, instanceMeta) {
|
|
3964
|
+
__publicField$T(this, "headline");
|
|
3965
|
+
__publicField$T(this, "personalDataCardTitle");
|
|
3966
|
+
__publicField$T(this, "paymentMethodCardTitle");
|
|
3967
|
+
__publicField$T(this, "billingAddressCardTitle");
|
|
3968
|
+
__publicField$T(this, "shippingAddressCardTitle");
|
|
3969
|
+
__publicField$T(this, "newsletterCheckbox");
|
|
3970
|
+
__publicField$T(this, "newsletterRegistrationSuccessMessage");
|
|
3971
|
+
__publicField$T(this, "customerGroupRequestMessage");
|
|
3972
|
+
__publicField$T(this, "cannotDeliverToCountryAlert");
|
|
3973
|
+
__publicField$T(this, "shippingToAddressNotPossibleAlert");
|
|
3974
|
+
__publicField$T(this, "page");
|
|
3975
|
+
__publicField$T(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$S = Object.defineProperty;
|
|
4002
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4003
|
+
var __publicField$S = (obj, key, value) => {
|
|
4004
|
+
__defNormalProp$S(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$S(this, "emailInput");
|
|
4010
|
+
__publicField$S(this, "passwordInput");
|
|
4011
|
+
__publicField$S(this, "forgotPasswordLink");
|
|
4012
|
+
__publicField$S(this, "loginButton");
|
|
4013
|
+
__publicField$S(this, "logoutLink");
|
|
4014
|
+
__publicField$S(this, "successAlert");
|
|
4015
|
+
__publicField$S(this, "invalidCredentialsAlert");
|
|
4016
|
+
__publicField$S(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$S(this, "personalFormArea");
|
|
4019
|
+
__publicField$S(this, "billingAddressFormArea");
|
|
4020
|
+
__publicField$S(this, "accountTypeSelect");
|
|
4021
|
+
__publicField$S(this, "salutationSelect");
|
|
4022
|
+
__publicField$S(this, "firstNameInput");
|
|
4023
|
+
__publicField$S(this, "lastNameInput");
|
|
4024
|
+
__publicField$S(this, "companyInput");
|
|
4025
|
+
__publicField$S(this, "departmentInput");
|
|
4026
|
+
__publicField$S(this, "vatRegNoInput");
|
|
4027
|
+
__publicField$S(this, "registerEmailInput");
|
|
4028
|
+
__publicField$S(this, "registerPasswordInput");
|
|
4029
|
+
__publicField$S(this, "streetAddressInput");
|
|
4030
|
+
__publicField$S(this, "cityInput");
|
|
4031
|
+
__publicField$S(this, "countryInput");
|
|
4032
|
+
__publicField$S(this, "postalCodeInput");
|
|
4033
|
+
__publicField$S(this, "registerButton");
|
|
4025
4034
|
// Inputs for reCaptcha
|
|
4026
|
-
__publicField$
|
|
4027
|
-
__publicField$
|
|
4028
|
-
__publicField$
|
|
4029
|
-
__publicField$
|
|
4030
|
-
__publicField$
|
|
4035
|
+
__publicField$S(this, "greCaptchaV2Container");
|
|
4036
|
+
__publicField$S(this, "greCaptchaV2Input");
|
|
4037
|
+
__publicField$S(this, "greCaptchaV3Input");
|
|
4038
|
+
__publicField$S(this, "greCaptchaProtectionInformation");
|
|
4039
|
+
__publicField$S(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$S(this, "differentShippingAddressCheckbox");
|
|
4042
|
+
__publicField$S(this, "registerShippingAddressFormArea");
|
|
4043
|
+
__publicField$S(this, "shippingAddressSalutationSelect");
|
|
4044
|
+
__publicField$S(this, "shippingAddressFirstNameInput");
|
|
4045
|
+
__publicField$S(this, "shippingAddressLastNameInput");
|
|
4046
|
+
__publicField$S(this, "shippingAddressStreetAddressInput");
|
|
4047
|
+
__publicField$S(this, "shippingAddressCityInput");
|
|
4048
|
+
__publicField$S(this, "shippingAddressCountryInput");
|
|
4049
|
+
__publicField$S(this, "shippingAddressPostalCodeInput");
|
|
4050
|
+
__publicField$S(this, "shippingAddressStateInput");
|
|
4051
|
+
__publicField$S(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$R = Object.defineProperty;
|
|
4103
|
+
var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4104
|
+
var __publicField$R = (obj, key, value) => {
|
|
4105
|
+
__defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4095
4106
|
return value;
|
|
4096
4107
|
};
|
|
4097
4108
|
class AccountRecover {
|
|
4098
4109
|
constructor(page) {
|
|
4110
|
+
__publicField$R(this, "passwordRecoveryForm");
|
|
4111
|
+
__publicField$R(this, "title");
|
|
4112
|
+
__publicField$R(this, "subtitle");
|
|
4113
|
+
__publicField$R(this, "emailInput");
|
|
4114
|
+
__publicField$R(this, "requestEmailButton");
|
|
4115
|
+
__publicField$R(this, "backButton");
|
|
4116
|
+
__publicField$R(this, "passwordResetEmailSentMessage");
|
|
4117
|
+
__publicField$R(this, "newPasswordInput");
|
|
4118
|
+
__publicField$R(this, "newPasswordConfirmInput");
|
|
4119
|
+
__publicField$R(this, "changePasswordButton");
|
|
4120
|
+
__publicField$R(this, "invalidLinkMessage");
|
|
4121
|
+
__publicField$R(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$Q = Object.defineProperty;
|
|
4145
|
+
var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4146
|
+
var __publicField$Q = (obj, key, value) => {
|
|
4147
|
+
__defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4136
4148
|
return value;
|
|
4137
4149
|
};
|
|
4138
4150
|
class AccountProfile {
|
|
4139
4151
|
constructor(page, instanceMeta) {
|
|
4152
|
+
__publicField$Q(this, "page");
|
|
4153
|
+
__publicField$Q(this, "instanceMeta");
|
|
4154
|
+
__publicField$Q(this, "salutationSelect");
|
|
4155
|
+
__publicField$Q(this, "firstNameInput");
|
|
4156
|
+
__publicField$Q(this, "lastNameInput");
|
|
4157
|
+
__publicField$Q(this, "saveProfileButton");
|
|
4158
|
+
__publicField$Q(this, "changeEmailButton");
|
|
4159
|
+
__publicField$Q(this, "emailAddressInput");
|
|
4160
|
+
__publicField$Q(this, "emailAddressConfirmInput");
|
|
4161
|
+
__publicField$Q(this, "emailConfirmPasswordInput");
|
|
4162
|
+
__publicField$Q(this, "saveEmailAddressButton");
|
|
4163
|
+
__publicField$Q(this, "changePasswordButton");
|
|
4164
|
+
__publicField$Q(this, "newPasswordInput");
|
|
4165
|
+
__publicField$Q(this, "newPasswordConfirmInput");
|
|
4166
|
+
__publicField$Q(this, "currentPasswordInput");
|
|
4167
|
+
__publicField$Q(this, "saveNewPasswordButton");
|
|
4168
|
+
__publicField$Q(this, "loginDataEmailAddress");
|
|
4169
|
+
__publicField$Q(this, "emailUpdateMessage");
|
|
4170
|
+
__publicField$Q(this, "passwordUpdateMessage");
|
|
4171
|
+
__publicField$Q(this, "emailValidationAlert");
|
|
4172
|
+
__publicField$Q(this, "emailUpdateFailureAlert");
|
|
4173
|
+
__publicField$Q(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$P = Object.defineProperty;
|
|
4216
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4217
|
+
var __publicField$P = (obj, key, value) => {
|
|
4218
|
+
__defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4205
4219
|
return value;
|
|
4206
4220
|
};
|
|
4207
4221
|
class AccountOrder {
|
|
4208
4222
|
constructor(page) {
|
|
4223
|
+
__publicField$P(this, "cartLineItemImages");
|
|
4224
|
+
__publicField$P(this, "orderExpandButton");
|
|
4225
|
+
__publicField$P(this, "digitalProductDownloadButton");
|
|
4226
|
+
__publicField$P(this, "dialogOrderCancel");
|
|
4227
|
+
__publicField$P(this, "dialogOrderCancelButton");
|
|
4228
|
+
__publicField$P(this, "dialogBackButton");
|
|
4229
|
+
__publicField$P(this, "orderDetails");
|
|
4230
|
+
__publicField$P(this, "invoiceHTML");
|
|
4231
|
+
__publicField$P(this, "creditItem");
|
|
4232
|
+
__publicField$P(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$O = Object.defineProperty;
|
|
4285
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4286
|
+
var __publicField$O = (obj, key, value) => {
|
|
4287
|
+
__defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4273
4288
|
return value;
|
|
4274
4289
|
};
|
|
4275
4290
|
class AccountAddresses {
|
|
4276
4291
|
constructor(page, instanceMeta) {
|
|
4292
|
+
__publicField$O(this, "addNewAddressButton");
|
|
4293
|
+
__publicField$O(this, "editBillingAddressButton");
|
|
4294
|
+
__publicField$O(this, "editShippingAddressButton");
|
|
4295
|
+
__publicField$O(this, "useDefaultBillingAddressButton");
|
|
4296
|
+
__publicField$O(this, "useDefaultShippingAddressButton");
|
|
4297
|
+
__publicField$O(this, "deliveryNotPossibleAlert");
|
|
4298
|
+
__publicField$O(this, "availableAddresses");
|
|
4299
|
+
__publicField$O(this, "addressDropdownButton");
|
|
4300
|
+
__publicField$O(this, "addressDropdownButtons");
|
|
4301
|
+
__publicField$O(this, "availableAddressesUseAsBillingAddress");
|
|
4302
|
+
__publicField$O(this, "availableAddressesUseAsShippingAddress");
|
|
4303
|
+
__publicField$O(this, "page");
|
|
4304
|
+
__publicField$O(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$N = Object.defineProperty;
|
|
4329
|
+
var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4330
|
+
var __publicField$N = (obj, key, value) => {
|
|
4331
|
+
__defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4315
4332
|
return value;
|
|
4316
4333
|
};
|
|
4317
4334
|
class AccountPayment {
|
|
4318
4335
|
constructor(page) {
|
|
4336
|
+
__publicField$N(this, "cashOnDeliveryOption");
|
|
4337
|
+
__publicField$N(this, "paidInAdvanceOption");
|
|
4338
|
+
__publicField$N(this, "invoiceOption");
|
|
4339
|
+
__publicField$N(this, "changeDefaultPaymentButton");
|
|
4340
|
+
__publicField$N(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$M = Object.defineProperty;
|
|
4353
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4354
|
+
var __publicField$M = (obj, key, value) => {
|
|
4355
|
+
__defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4338
4356
|
return value;
|
|
4339
4357
|
};
|
|
4340
4358
|
class Search {
|
|
4341
4359
|
constructor(page) {
|
|
4360
|
+
__publicField$M(this, "headline");
|
|
4361
|
+
__publicField$M(this, "productImages");
|
|
4362
|
+
__publicField$M(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$L = Object.defineProperty;
|
|
4373
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4374
|
+
var __publicField$L = (obj, key, value) => {
|
|
4375
|
+
__defNormalProp$L(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$L(this, "searchSuggestLineItemImages");
|
|
4382
|
+
__publicField$L(this, "searchInput");
|
|
4383
|
+
__publicField$L(this, "searchIcon");
|
|
4384
|
+
__publicField$L(this, "searchSuggestNoResult");
|
|
4385
|
+
__publicField$L(this, "searchSuggestLineItemName");
|
|
4386
|
+
__publicField$L(this, "searchSuggestLineItemPrice");
|
|
4387
|
+
__publicField$L(this, "searchSuggestTotalLink");
|
|
4388
|
+
__publicField$L(this, "searchResultTotal");
|
|
4389
|
+
__publicField$L(this, "searchHeadline");
|
|
4390
|
+
__publicField$L(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$K = Object.defineProperty;
|
|
4412
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4413
|
+
var __publicField$K = (obj, key, value) => {
|
|
4414
|
+
__defNormalProp$K(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$K(this, "page");
|
|
4394
4421
|
this.page = page;
|
|
4395
4422
|
}
|
|
4396
4423
|
url(customCustomerGroupName) {
|
|
@@ -4398,31 +4425,32 @@ class CustomRegister extends AccountLogin {
|
|
|
4398
4425
|
}
|
|
4399
4426
|
}
|
|
4400
4427
|
|
|
4401
|
-
var __defProp$
|
|
4402
|
-
var __defNormalProp$
|
|
4403
|
-
var __publicField$
|
|
4404
|
-
__defNormalProp$
|
|
4428
|
+
var __defProp$J = Object.defineProperty;
|
|
4429
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4430
|
+
var __publicField$J = (obj, key, value) => {
|
|
4431
|
+
__defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4405
4432
|
return value;
|
|
4406
4433
|
};
|
|
4407
4434
|
class CheckoutOrderEdit {
|
|
4408
4435
|
constructor(page) {
|
|
4409
|
-
this
|
|
4410
|
-
__publicField$
|
|
4411
|
-
__publicField$
|
|
4412
|
-
__publicField$
|
|
4413
|
-
__publicField$
|
|
4414
|
-
__publicField$G(this, "dialogBackButton");
|
|
4436
|
+
__publicField$J(this, "completePaymentButton");
|
|
4437
|
+
__publicField$J(this, "orderCancelButton");
|
|
4438
|
+
__publicField$J(this, "dialogOrderCancel");
|
|
4439
|
+
__publicField$J(this, "dialogOrderCancelButton");
|
|
4440
|
+
__publicField$J(this, "dialogBackButton");
|
|
4415
4441
|
/**
|
|
4416
4442
|
* Payment options
|
|
4417
4443
|
*/
|
|
4418
|
-
__publicField$
|
|
4419
|
-
__publicField$
|
|
4420
|
-
__publicField$
|
|
4444
|
+
__publicField$J(this, "paymentCashOnDelivery");
|
|
4445
|
+
__publicField$J(this, "paymentPaidInAdvance");
|
|
4446
|
+
__publicField$J(this, "paymentInvoice");
|
|
4421
4447
|
/**
|
|
4422
4448
|
* Shipping options
|
|
4423
4449
|
*/
|
|
4424
|
-
__publicField$
|
|
4425
|
-
__publicField$
|
|
4450
|
+
__publicField$J(this, "shippingStandard");
|
|
4451
|
+
__publicField$J(this, "shippingExpress");
|
|
4452
|
+
__publicField$J(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" });
|
|
@@ -4447,26 +4475,27 @@ class CheckoutOrderEdit {
|
|
|
4447
4475
|
}
|
|
4448
4476
|
}
|
|
4449
4477
|
|
|
4450
|
-
var __defProp$
|
|
4451
|
-
var __defNormalProp$
|
|
4452
|
-
var __publicField$
|
|
4453
|
-
__defNormalProp$
|
|
4478
|
+
var __defProp$I = Object.defineProperty;
|
|
4479
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4480
|
+
var __publicField$I = (obj, key, value) => {
|
|
4481
|
+
__defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4454
4482
|
return value;
|
|
4455
4483
|
};
|
|
4456
4484
|
class AccountAddressCreate {
|
|
4457
4485
|
constructor(page) {
|
|
4486
|
+
__publicField$I(this, "salutationDropdown");
|
|
4487
|
+
__publicField$I(this, "firstNameInput");
|
|
4488
|
+
__publicField$I(this, "lastNameInput");
|
|
4489
|
+
__publicField$I(this, "companyInput");
|
|
4490
|
+
__publicField$I(this, "departmentInput");
|
|
4491
|
+
__publicField$I(this, "streetInput");
|
|
4492
|
+
__publicField$I(this, "zipcodeInput");
|
|
4493
|
+
__publicField$I(this, "cityInput");
|
|
4494
|
+
__publicField$I(this, "countryDropdown");
|
|
4495
|
+
__publicField$I(this, "saveAddressButton");
|
|
4496
|
+
__publicField$I(this, "stateDropdown");
|
|
4497
|
+
__publicField$I(this, "page");
|
|
4458
4498
|
this.page = page;
|
|
4459
|
-
__publicField$F(this, "salutationDropdown");
|
|
4460
|
-
__publicField$F(this, "firstNameInput");
|
|
4461
|
-
__publicField$F(this, "lastNameInput");
|
|
4462
|
-
__publicField$F(this, "companyInput");
|
|
4463
|
-
__publicField$F(this, "departmentInput");
|
|
4464
|
-
__publicField$F(this, "streetInput");
|
|
4465
|
-
__publicField$F(this, "zipcodeInput");
|
|
4466
|
-
__publicField$F(this, "cityInput");
|
|
4467
|
-
__publicField$F(this, "countryDropdown");
|
|
4468
|
-
__publicField$F(this, "saveAddressButton");
|
|
4469
|
-
__publicField$F(this, "stateDropdown");
|
|
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" });
|
|
@@ -4484,19 +4513,20 @@ class AccountAddressCreate {
|
|
|
4484
4513
|
}
|
|
4485
4514
|
}
|
|
4486
4515
|
|
|
4487
|
-
var __defProp$
|
|
4488
|
-
var __defNormalProp$
|
|
4489
|
-
var __publicField$
|
|
4490
|
-
__defNormalProp$
|
|
4516
|
+
var __defProp$H = Object.defineProperty;
|
|
4517
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4518
|
+
var __publicField$H = (obj, key, value) => {
|
|
4519
|
+
__defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4491
4520
|
return value;
|
|
4492
4521
|
};
|
|
4493
4522
|
class PageNotFound {
|
|
4494
4523
|
constructor(page) {
|
|
4524
|
+
__publicField$H(this, "pageNotFoundImage");
|
|
4525
|
+
__publicField$H(this, "headline");
|
|
4526
|
+
__publicField$H(this, "pageNotFoundMessage");
|
|
4527
|
+
__publicField$H(this, "backToShopButton");
|
|
4528
|
+
__publicField$H(this, "page");
|
|
4495
4529
|
this.page = page;
|
|
4496
|
-
__publicField$E(this, "pageNotFoundImage");
|
|
4497
|
-
__publicField$E(this, "headline");
|
|
4498
|
-
__publicField$E(this, "pageNotFoundMessage");
|
|
4499
|
-
__publicField$E(this, "backToShopButton");
|
|
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.`);
|
|
@@ -4507,49 +4537,49 @@ class PageNotFound {
|
|
|
4507
4537
|
}
|
|
4508
4538
|
}
|
|
4509
4539
|
|
|
4510
|
-
var __defProp$
|
|
4511
|
-
var __defNormalProp$
|
|
4512
|
-
var __publicField$
|
|
4513
|
-
__defNormalProp$
|
|
4540
|
+
var __defProp$G = Object.defineProperty;
|
|
4541
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4542
|
+
var __publicField$G = (obj, key, value) => {
|
|
4543
|
+
__defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4514
4544
|
return value;
|
|
4515
4545
|
};
|
|
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
|
*/
|
|
4524
|
-
__publicField$
|
|
4552
|
+
__publicField$G(this, "contactModal");
|
|
4525
4553
|
/**
|
|
4526
4554
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
|
|
4527
4555
|
*/
|
|
4528
|
-
__publicField$
|
|
4529
|
-
__publicField$
|
|
4530
|
-
__publicField$
|
|
4531
|
-
__publicField$
|
|
4532
|
-
__publicField$
|
|
4533
|
-
__publicField$
|
|
4534
|
-
__publicField$
|
|
4535
|
-
__publicField$
|
|
4536
|
-
__publicField$
|
|
4537
|
-
__publicField$
|
|
4538
|
-
__publicField$
|
|
4539
|
-
__publicField$
|
|
4540
|
-
__publicField$
|
|
4541
|
-
__publicField$
|
|
4542
|
-
__publicField$
|
|
4556
|
+
__publicField$G(this, "contactSuccessModal");
|
|
4557
|
+
__publicField$G(this, "contactWrapper");
|
|
4558
|
+
__publicField$G(this, "salutationSelect");
|
|
4559
|
+
__publicField$G(this, "firstNameInput");
|
|
4560
|
+
__publicField$G(this, "lastNameInput");
|
|
4561
|
+
__publicField$G(this, "emailInput");
|
|
4562
|
+
__publicField$G(this, "phoneInput");
|
|
4563
|
+
__publicField$G(this, "subjectInput");
|
|
4564
|
+
__publicField$G(this, "commentInput");
|
|
4565
|
+
__publicField$G(this, "privacyPolicyCheckbox");
|
|
4566
|
+
__publicField$G(this, "submitButton");
|
|
4567
|
+
__publicField$G(this, "contactSuccessMessage");
|
|
4568
|
+
__publicField$G(this, "cardTitle");
|
|
4569
|
+
__publicField$G(this, "formFieldFeedback");
|
|
4570
|
+
__publicField$G(this, "formAlert");
|
|
4543
4571
|
/**
|
|
4544
4572
|
* Captcha locators
|
|
4545
4573
|
*/
|
|
4546
|
-
__publicField$
|
|
4547
|
-
__publicField$
|
|
4548
|
-
__publicField$
|
|
4549
|
-
__publicField$
|
|
4550
|
-
__publicField$
|
|
4551
|
-
__publicField$
|
|
4552
|
-
__publicField$
|
|
4574
|
+
__publicField$G(this, "basicCaptcha");
|
|
4575
|
+
__publicField$G(this, "basicCaptchaImage");
|
|
4576
|
+
__publicField$G(this, "basicCaptchaRefreshButton");
|
|
4577
|
+
__publicField$G(this, "basicCaptchaInput");
|
|
4578
|
+
__publicField$G(this, "greCaptchaV2Container");
|
|
4579
|
+
__publicField$G(this, "greCaptchaV2Input");
|
|
4580
|
+
__publicField$G(this, "greCaptchaProtectionInformation");
|
|
4581
|
+
__publicField$G(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");
|
|
@@ -4584,19 +4614,20 @@ class ContactForm extends Home {
|
|
|
4584
4614
|
}
|
|
4585
4615
|
}
|
|
4586
4616
|
|
|
4587
|
-
var __defProp$
|
|
4588
|
-
var __defNormalProp$
|
|
4589
|
-
var __publicField$
|
|
4590
|
-
__defNormalProp$
|
|
4617
|
+
var __defProp$F = Object.defineProperty;
|
|
4618
|
+
var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4619
|
+
var __publicField$F = (obj, key, value) => {
|
|
4620
|
+
__defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4591
4621
|
return value;
|
|
4592
4622
|
};
|
|
4593
4623
|
class Wishlist extends Home {
|
|
4594
4624
|
constructor(page) {
|
|
4595
4625
|
super(page);
|
|
4626
|
+
__publicField$F(this, "wishListHeader");
|
|
4627
|
+
__publicField$F(this, "removeAlert");
|
|
4628
|
+
__publicField$F(this, "emptyListing");
|
|
4629
|
+
__publicField$F(this, "page");
|
|
4596
4630
|
this.page = page;
|
|
4597
|
-
__publicField$C(this, "wishListHeader");
|
|
4598
|
-
__publicField$C(this, "removeAlert");
|
|
4599
|
-
__publicField$C(this, "emptyListing");
|
|
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");
|
|
@@ -4615,20 +4646,21 @@ class Wishlist extends Home {
|
|
|
4615
4646
|
}
|
|
4616
4647
|
}
|
|
4617
4648
|
|
|
4618
|
-
var __defProp$
|
|
4619
|
-
var __defNormalProp$
|
|
4620
|
-
var __publicField$
|
|
4621
|
-
__defNormalProp$
|
|
4649
|
+
var __defProp$E = Object.defineProperty;
|
|
4650
|
+
var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4651
|
+
var __publicField$E = (obj, key, value) => {
|
|
4652
|
+
__defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4622
4653
|
return value;
|
|
4623
4654
|
};
|
|
4624
4655
|
class Footer {
|
|
4625
4656
|
constructor(page) {
|
|
4657
|
+
__publicField$E(this, "footerHeadline");
|
|
4658
|
+
__publicField$E(this, "footerContent");
|
|
4659
|
+
__publicField$E(this, "footerHotline");
|
|
4660
|
+
__publicField$E(this, "footerContactForm");
|
|
4661
|
+
__publicField$E(this, "footerContactFormLink");
|
|
4662
|
+
__publicField$E(this, "page");
|
|
4626
4663
|
this.page = page;
|
|
4627
|
-
__publicField$B(this, "footerHeadline");
|
|
4628
|
-
__publicField$B(this, "footerContent");
|
|
4629
|
-
__publicField$B(this, "footerHotline");
|
|
4630
|
-
__publicField$B(this, "footerContactForm");
|
|
4631
|
-
__publicField$B(this, "footerContactFormLink");
|
|
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");
|
|
@@ -4640,23 +4672,24 @@ class Footer {
|
|
|
4640
4672
|
}
|
|
4641
4673
|
}
|
|
4642
4674
|
|
|
4643
|
-
var __defProp$
|
|
4644
|
-
var __defNormalProp$
|
|
4645
|
-
var __publicField$
|
|
4646
|
-
__defNormalProp$
|
|
4675
|
+
var __defProp$D = Object.defineProperty;
|
|
4676
|
+
var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4677
|
+
var __publicField$D = (obj, key, value) => {
|
|
4678
|
+
__defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4647
4679
|
return value;
|
|
4648
4680
|
};
|
|
4649
4681
|
class Header {
|
|
4650
4682
|
constructor(page) {
|
|
4651
|
-
this
|
|
4652
|
-
__publicField$
|
|
4653
|
-
__publicField$
|
|
4654
|
-
__publicField$
|
|
4655
|
-
__publicField$
|
|
4656
|
-
__publicField$A(this, "currenciesMenuOptions");
|
|
4683
|
+
__publicField$D(this, "mainNavigationLink");
|
|
4684
|
+
__publicField$D(this, "languagesDropdown");
|
|
4685
|
+
__publicField$D(this, "languagesMenuOptions");
|
|
4686
|
+
__publicField$D(this, "currenciesDropdown");
|
|
4687
|
+
__publicField$D(this, "currenciesMenuOptions");
|
|
4657
4688
|
//wishlist
|
|
4658
|
-
__publicField$
|
|
4659
|
-
__publicField$
|
|
4689
|
+
__publicField$D(this, "wishlistIcon");
|
|
4690
|
+
__publicField$D(this, "wishlistBasket");
|
|
4691
|
+
__publicField$D(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
|
},
|
|
@@ -4793,87 +4826,89 @@ async function getCustomFieldCardLocators(page, customFieldSetName, customFieldN
|
|
|
4793
4826
|
};
|
|
4794
4827
|
}
|
|
4795
4828
|
|
|
4796
|
-
var __defProp$
|
|
4797
|
-
var __defNormalProp$
|
|
4798
|
-
var __publicField$
|
|
4799
|
-
__defNormalProp$
|
|
4800
|
-
return value;
|
|
4829
|
+
var __defProp$C = Object.defineProperty;
|
|
4830
|
+
var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4831
|
+
var __publicField$C = (obj, key, value) => {
|
|
4832
|
+
__defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4833
|
+
return value;
|
|
4801
4834
|
};
|
|
4802
4835
|
class ProductDetail {
|
|
4803
4836
|
constructor(page, instanceMeta) {
|
|
4804
|
-
this
|
|
4805
|
-
this
|
|
4806
|
-
__publicField$z(this, "contentView");
|
|
4807
|
-
__publicField$z(this, "productHeadline");
|
|
4837
|
+
__publicField$C(this, "contentView");
|
|
4838
|
+
__publicField$C(this, "productHeadline");
|
|
4808
4839
|
/**
|
|
4809
4840
|
* Save interactions
|
|
4810
4841
|
*/
|
|
4811
|
-
__publicField$
|
|
4812
|
-
__publicField$
|
|
4813
|
-
__publicField$
|
|
4842
|
+
__publicField$C(this, "savePhysicalProductButton");
|
|
4843
|
+
__publicField$C(this, "saveButtonLoadingSpinner");
|
|
4844
|
+
__publicField$C(this, "saveButtonCheckMark");
|
|
4814
4845
|
/**
|
|
4815
4846
|
* General Info
|
|
4816
4847
|
*/
|
|
4817
|
-
__publicField$
|
|
4848
|
+
__publicField$C(this, "manufacturerDropdownText");
|
|
4818
4849
|
/**
|
|
4819
4850
|
* Prices
|
|
4820
4851
|
*/
|
|
4821
|
-
__publicField$
|
|
4852
|
+
__publicField$C(this, "priceGrossInput");
|
|
4822
4853
|
/**
|
|
4823
4854
|
* Deliverability
|
|
4824
4855
|
*/
|
|
4825
|
-
__publicField$
|
|
4826
|
-
__publicField$
|
|
4856
|
+
__publicField$C(this, "stockInput");
|
|
4857
|
+
__publicField$C(this, "restockTimeInput");
|
|
4827
4858
|
/**
|
|
4828
4859
|
* Visibility
|
|
4829
4860
|
*/
|
|
4830
|
-
__publicField$
|
|
4831
|
-
__publicField$
|
|
4832
|
-
__publicField$
|
|
4861
|
+
__publicField$C(this, "activeForAllSalesChannelsToggle");
|
|
4862
|
+
__publicField$C(this, "tagsInput");
|
|
4863
|
+
__publicField$C(this, "saleChannelsInput");
|
|
4833
4864
|
/**
|
|
4834
4865
|
* Labelling
|
|
4835
4866
|
*/
|
|
4836
|
-
__publicField$
|
|
4867
|
+
__publicField$C(this, "releaseDateInput");
|
|
4837
4868
|
/**
|
|
4838
4869
|
* Media Upload interactions
|
|
4839
4870
|
*/
|
|
4840
|
-
__publicField$
|
|
4841
|
-
__publicField$
|
|
4842
|
-
__publicField$
|
|
4871
|
+
__publicField$C(this, "uploadMediaButton");
|
|
4872
|
+
__publicField$C(this, "coverImage");
|
|
4873
|
+
__publicField$C(this, "productImage");
|
|
4843
4874
|
/**
|
|
4844
4875
|
* Tabs
|
|
4845
4876
|
*/
|
|
4846
|
-
__publicField$
|
|
4847
|
-
__publicField$
|
|
4848
|
-
__publicField$
|
|
4849
|
-
__publicField$
|
|
4850
|
-
__publicField$
|
|
4851
|
-
__publicField$
|
|
4852
|
-
__publicField$
|
|
4877
|
+
__publicField$C(this, "variantsTabLink");
|
|
4878
|
+
__publicField$C(this, "specificationsTabLink");
|
|
4879
|
+
__publicField$C(this, "advancedPricingTabLink");
|
|
4880
|
+
__publicField$C(this, "layoutTabLink");
|
|
4881
|
+
__publicField$C(this, "crossSellingTabLink");
|
|
4882
|
+
__publicField$C(this, "SEOTabLink");
|
|
4883
|
+
__publicField$C(this, "reviewsTabLink");
|
|
4853
4884
|
/**
|
|
4854
4885
|
* Variants Generation
|
|
4855
4886
|
*/
|
|
4856
|
-
__publicField$
|
|
4857
|
-
__publicField$
|
|
4858
|
-
__publicField$
|
|
4859
|
-
__publicField$
|
|
4860
|
-
__publicField$
|
|
4887
|
+
__publicField$C(this, "generateVariantsButton");
|
|
4888
|
+
__publicField$C(this, "variantsModal");
|
|
4889
|
+
__publicField$C(this, "variantsModalHeadline");
|
|
4890
|
+
__publicField$C(this, "variantsNextButton");
|
|
4891
|
+
__publicField$C(this, "variantsSaveButton");
|
|
4861
4892
|
/**
|
|
4862
4893
|
* Property Selection
|
|
4863
4894
|
*/
|
|
4864
|
-
__publicField$
|
|
4865
|
-
__publicField$
|
|
4866
|
-
__publicField$
|
|
4867
|
-
__publicField$
|
|
4868
|
-
__publicField$
|
|
4869
|
-
__publicField$
|
|
4870
|
-
__publicField$
|
|
4871
|
-
__publicField$
|
|
4872
|
-
__publicField$
|
|
4895
|
+
__publicField$C(this, "propertyGroupColor");
|
|
4896
|
+
__publicField$C(this, "propertyGroupSize");
|
|
4897
|
+
__publicField$C(this, "propertyOptionGrid");
|
|
4898
|
+
__publicField$C(this, "propertyOptionColorBlue");
|
|
4899
|
+
__publicField$C(this, "propertyOptionColorRed");
|
|
4900
|
+
__publicField$C(this, "propertyOptionColorGreen");
|
|
4901
|
+
__publicField$C(this, "propertyOptionSizeSmall");
|
|
4902
|
+
__publicField$C(this, "propertyOptionSizeMedium");
|
|
4903
|
+
__publicField$C(this, "propertyOptionSizeLarge");
|
|
4873
4904
|
/**
|
|
4874
4905
|
* Cards
|
|
4875
4906
|
*/
|
|
4876
|
-
__publicField$
|
|
4907
|
+
__publicField$C(this, "customFieldCard");
|
|
4908
|
+
__publicField$C(this, "page");
|
|
4909
|
+
__publicField$C(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" });
|
|
@@ -4943,35 +4978,37 @@ class ProductDetail {
|
|
|
4943
4978
|
}
|
|
4944
4979
|
}
|
|
4945
4980
|
|
|
4946
|
-
var __defProp$
|
|
4947
|
-
var __defNormalProp$
|
|
4948
|
-
var __publicField$
|
|
4949
|
-
__defNormalProp$
|
|
4981
|
+
var __defProp$B = Object.defineProperty;
|
|
4982
|
+
var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4983
|
+
var __publicField$B = (obj, key, value) => {
|
|
4984
|
+
__defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4950
4985
|
return value;
|
|
4951
4986
|
};
|
|
4952
4987
|
class OrderDetail {
|
|
4953
4988
|
constructor(page, instanceMeta) {
|
|
4954
|
-
this
|
|
4955
|
-
this
|
|
4956
|
-
__publicField$
|
|
4957
|
-
__publicField$
|
|
4958
|
-
__publicField$
|
|
4959
|
-
__publicField$
|
|
4960
|
-
__publicField$
|
|
4961
|
-
__publicField$
|
|
4962
|
-
__publicField$
|
|
4963
|
-
__publicField$
|
|
4964
|
-
__publicField$
|
|
4965
|
-
__publicField$
|
|
4966
|
-
__publicField$
|
|
4967
|
-
__publicField$y(this, "itemsCardHeader");
|
|
4968
|
-
__publicField$y(this, "sentCheckmark");
|
|
4989
|
+
__publicField$B(this, "saveButton");
|
|
4990
|
+
__publicField$B(this, "dataGridContextButton");
|
|
4991
|
+
__publicField$B(this, "orderTag");
|
|
4992
|
+
__publicField$B(this, "lineItem");
|
|
4993
|
+
__publicField$B(this, "lineItemsTable");
|
|
4994
|
+
__publicField$B(this, "documentType");
|
|
4995
|
+
__publicField$B(this, "contextMenuButton");
|
|
4996
|
+
__publicField$B(this, "contextMenu");
|
|
4997
|
+
__publicField$B(this, "contextMenuSendDocument");
|
|
4998
|
+
__publicField$B(this, "sendDocumentModal");
|
|
4999
|
+
__publicField$B(this, "sendDocumentButton");
|
|
5000
|
+
__publicField$B(this, "itemsCardHeader");
|
|
5001
|
+
__publicField$B(this, "sentCheckmark");
|
|
4969
5002
|
/**
|
|
4970
5003
|
* Tabs
|
|
4971
5004
|
*/
|
|
4972
|
-
__publicField$
|
|
4973
|
-
__publicField$
|
|
4974
|
-
__publicField$
|
|
5005
|
+
__publicField$B(this, "generalTabLink");
|
|
5006
|
+
__publicField$B(this, "detailsTabLink");
|
|
5007
|
+
__publicField$B(this, "documentsTabLink");
|
|
5008
|
+
__publicField$B(this, "page");
|
|
5009
|
+
__publicField$B(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");
|
|
@@ -5001,24 +5038,25 @@ class OrderDetail {
|
|
|
5001
5038
|
}
|
|
5002
5039
|
}
|
|
5003
5040
|
|
|
5004
|
-
var __defProp$
|
|
5005
|
-
var __defNormalProp$
|
|
5006
|
-
var __publicField$
|
|
5007
|
-
__defNormalProp$
|
|
5041
|
+
var __defProp$A = Object.defineProperty;
|
|
5042
|
+
var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5043
|
+
var __publicField$A = (obj, key, value) => {
|
|
5044
|
+
__defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5008
5045
|
return value;
|
|
5009
5046
|
};
|
|
5010
5047
|
class CustomerListing {
|
|
5011
5048
|
constructor(page) {
|
|
5012
|
-
this
|
|
5013
|
-
__publicField$
|
|
5014
|
-
__publicField$
|
|
5015
|
-
__publicField$
|
|
5016
|
-
__publicField$x(this, "deleteButton");
|
|
5049
|
+
__publicField$A(this, "headline");
|
|
5050
|
+
__publicField$A(this, "addCustomerButton");
|
|
5051
|
+
__publicField$A(this, "bulkEditButton");
|
|
5052
|
+
__publicField$A(this, "deleteButton");
|
|
5017
5053
|
//Customer Bulk Edit Modal
|
|
5018
|
-
__publicField$
|
|
5019
|
-
__publicField$
|
|
5020
|
-
__publicField$
|
|
5021
|
-
__publicField$
|
|
5054
|
+
__publicField$A(this, "bulkEditModal");
|
|
5055
|
+
__publicField$A(this, "startBulkEditButton");
|
|
5056
|
+
__publicField$A(this, "cancelButton");
|
|
5057
|
+
__publicField$A(this, "modalHeaderCheckbox");
|
|
5058
|
+
__publicField$A(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" });
|
|
@@ -5079,27 +5117,29 @@ class CustomerListing {
|
|
|
5079
5117
|
}
|
|
5080
5118
|
}
|
|
5081
5119
|
|
|
5082
|
-
var __defProp$
|
|
5083
|
-
var __defNormalProp$
|
|
5084
|
-
var __publicField$
|
|
5085
|
-
__defNormalProp$
|
|
5120
|
+
var __defProp$z = Object.defineProperty;
|
|
5121
|
+
var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5122
|
+
var __publicField$z = (obj, key, value) => {
|
|
5123
|
+
__defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5086
5124
|
return value;
|
|
5087
5125
|
};
|
|
5088
5126
|
class CustomerDetail {
|
|
5089
5127
|
constructor(page, instanceMeta) {
|
|
5128
|
+
__publicField$z(this, "editButton");
|
|
5129
|
+
__publicField$z(this, "generalTab");
|
|
5130
|
+
__publicField$z(this, "accountCard");
|
|
5131
|
+
__publicField$z(this, "customFieldCard");
|
|
5132
|
+
__publicField$z(this, "customFieldSetTabs");
|
|
5133
|
+
__publicField$z(this, "customFieldSetTabCustomContent");
|
|
5134
|
+
__publicField$z(this, "customerGroupRequestMessage");
|
|
5135
|
+
__publicField$z(this, "customerGroupAcceptButton");
|
|
5136
|
+
__publicField$z(this, "customerGroupDeclineButton");
|
|
5137
|
+
__publicField$z(this, "tagList");
|
|
5138
|
+
__publicField$z(this, "tagItems");
|
|
5139
|
+
__publicField$z(this, "page");
|
|
5140
|
+
__publicField$z(this, "instanceMeta");
|
|
5090
5141
|
this.page = page;
|
|
5091
5142
|
this.instanceMeta = instanceMeta;
|
|
5092
|
-
__publicField$w(this, "editButton");
|
|
5093
|
-
__publicField$w(this, "generalTab");
|
|
5094
|
-
__publicField$w(this, "accountCard");
|
|
5095
|
-
__publicField$w(this, "customFieldCard");
|
|
5096
|
-
__publicField$w(this, "customFieldSetTabs");
|
|
5097
|
-
__publicField$w(this, "customFieldSetTabCustomContent");
|
|
5098
|
-
__publicField$w(this, "customerGroupRequestMessage");
|
|
5099
|
-
__publicField$w(this, "customerGroupAcceptButton");
|
|
5100
|
-
__publicField$w(this, "customerGroupDeclineButton");
|
|
5101
|
-
__publicField$w(this, "tagList");
|
|
5102
|
-
__publicField$w(this, "tagItems");
|
|
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");
|
|
@@ -5160,17 +5200,18 @@ class CustomerDetail {
|
|
|
5160
5200
|
}
|
|
5161
5201
|
}
|
|
5162
5202
|
|
|
5163
|
-
var __defProp$
|
|
5164
|
-
var __defNormalProp$
|
|
5165
|
-
var __publicField$
|
|
5166
|
-
__defNormalProp$
|
|
5203
|
+
var __defProp$y = Object.defineProperty;
|
|
5204
|
+
var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5205
|
+
var __publicField$y = (obj, key, value) => {
|
|
5206
|
+
__defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5167
5207
|
return value;
|
|
5168
5208
|
};
|
|
5169
5209
|
class CustomerGroupListing {
|
|
5170
5210
|
constructor(page) {
|
|
5211
|
+
__publicField$y(this, "headline");
|
|
5212
|
+
__publicField$y(this, "addCustomerGroupButton");
|
|
5213
|
+
__publicField$y(this, "page");
|
|
5171
5214
|
this.page = page;
|
|
5172
|
-
__publicField$v(this, "headline");
|
|
5173
|
-
__publicField$v(this, "addCustomerGroupButton");
|
|
5174
5215
|
this.headline = page.getByRole("heading", { name: "Customer groups" });
|
|
5175
5216
|
this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
|
|
5176
5217
|
}
|
|
@@ -5192,30 +5233,32 @@ class CustomerGroupListing {
|
|
|
5192
5233
|
}
|
|
5193
5234
|
}
|
|
5194
5235
|
|
|
5195
|
-
var __defProp$
|
|
5196
|
-
var __defNormalProp$
|
|
5197
|
-
var __publicField$
|
|
5198
|
-
__defNormalProp$
|
|
5236
|
+
var __defProp$x = Object.defineProperty;
|
|
5237
|
+
var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5238
|
+
var __publicField$x = (obj, key, value) => {
|
|
5239
|
+
__defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5199
5240
|
return value;
|
|
5200
5241
|
};
|
|
5201
5242
|
class CustomerGroupCreate {
|
|
5202
5243
|
constructor(page, instanceMeta) {
|
|
5244
|
+
__publicField$x(this, "headline");
|
|
5245
|
+
__publicField$x(this, "saveButton");
|
|
5246
|
+
__publicField$x(this, "cancelButton");
|
|
5247
|
+
__publicField$x(this, "cardTitle");
|
|
5248
|
+
__publicField$x(this, "customerGroupNameField");
|
|
5249
|
+
__publicField$x(this, "customerGroupGrossTaxDisplay");
|
|
5250
|
+
__publicField$x(this, "customerGroupNetTaxDisplay");
|
|
5251
|
+
__publicField$x(this, "customSignupFormToggle");
|
|
5252
|
+
__publicField$x(this, "signupFormTitle");
|
|
5253
|
+
__publicField$x(this, "signupFormIntroduction");
|
|
5254
|
+
__publicField$x(this, "signupFormSeoDescription");
|
|
5255
|
+
__publicField$x(this, "signupFormCompanySignupToggle");
|
|
5256
|
+
__publicField$x(this, "customerGroupSaleschannelSelection");
|
|
5257
|
+
__publicField$x(this, "customerGroupSaleschannelResultList");
|
|
5258
|
+
__publicField$x(this, "page");
|
|
5259
|
+
__publicField$x(this, "instanceMeta");
|
|
5203
5260
|
this.page = page;
|
|
5204
5261
|
this.instanceMeta = instanceMeta;
|
|
5205
|
-
__publicField$u(this, "headline");
|
|
5206
|
-
__publicField$u(this, "saveButton");
|
|
5207
|
-
__publicField$u(this, "cancelButton");
|
|
5208
|
-
__publicField$u(this, "cardTitle");
|
|
5209
|
-
__publicField$u(this, "customerGroupNameField");
|
|
5210
|
-
__publicField$u(this, "customerGroupGrossTaxDisplay");
|
|
5211
|
-
__publicField$u(this, "customerGroupNetTaxDisplay");
|
|
5212
|
-
__publicField$u(this, "customSignupFormToggle");
|
|
5213
|
-
__publicField$u(this, "signupFormTitle");
|
|
5214
|
-
__publicField$u(this, "signupFormIntroduction");
|
|
5215
|
-
__publicField$u(this, "signupFormSeoDescription");
|
|
5216
|
-
__publicField$u(this, "signupFormCompanySignupToggle");
|
|
5217
|
-
__publicField$u(this, "customerGroupSaleschannelSelection");
|
|
5218
|
-
__publicField$u(this, "customerGroupSaleschannelResultList");
|
|
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" });
|
|
@@ -5244,21 +5287,19 @@ class CustomerGroupCreate {
|
|
|
5244
5287
|
}
|
|
5245
5288
|
}
|
|
5246
5289
|
|
|
5247
|
-
var __defProp$
|
|
5248
|
-
var __defNormalProp$
|
|
5249
|
-
var __publicField$
|
|
5250
|
-
__defNormalProp$
|
|
5290
|
+
var __defProp$w = Object.defineProperty;
|
|
5291
|
+
var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5292
|
+
var __publicField$w = (obj, key, value) => {
|
|
5293
|
+
__defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5251
5294
|
return value;
|
|
5252
5295
|
};
|
|
5253
5296
|
class CustomerGroupDetail extends CustomerGroupCreate {
|
|
5254
5297
|
constructor(page, instanceMeta) {
|
|
5255
5298
|
super(page, instanceMeta);
|
|
5256
|
-
this
|
|
5257
|
-
this
|
|
5258
|
-
__publicField$
|
|
5259
|
-
__publicField$
|
|
5260
|
-
__publicField$t(this, "technicalUrl");
|
|
5261
|
-
__publicField$t(this, "saleschannelUrl");
|
|
5299
|
+
__publicField$w(this, "headline");
|
|
5300
|
+
__publicField$w(this, "selectedSalesChannel");
|
|
5301
|
+
__publicField$w(this, "technicalUrl");
|
|
5302
|
+
__publicField$w(this, "saleschannelUrl");
|
|
5262
5303
|
this.headline = page.locator(".smart-bar__header");
|
|
5263
5304
|
this.selectedSalesChannel = page.locator(".sw-select-selection-list");
|
|
5264
5305
|
this.technicalUrl = page.getByLabel("Technical URL");
|
|
@@ -5269,66 +5310,68 @@ class CustomerGroupDetail extends CustomerGroupCreate {
|
|
|
5269
5310
|
}
|
|
5270
5311
|
}
|
|
5271
5312
|
|
|
5272
|
-
var __defProp$
|
|
5273
|
-
var __defNormalProp$
|
|
5274
|
-
var __publicField$
|
|
5275
|
-
__defNormalProp$
|
|
5313
|
+
var __defProp$v = Object.defineProperty;
|
|
5314
|
+
var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5315
|
+
var __publicField$v = (obj, key, value) => {
|
|
5316
|
+
__defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5276
5317
|
return value;
|
|
5277
5318
|
};
|
|
5278
5319
|
class FirstRunWizard {
|
|
5279
5320
|
constructor(page, instanceMeta) {
|
|
5280
|
-
this
|
|
5281
|
-
this
|
|
5282
|
-
__publicField$
|
|
5283
|
-
__publicField$
|
|
5284
|
-
__publicField$
|
|
5285
|
-
__publicField$
|
|
5286
|
-
__publicField$
|
|
5287
|
-
__publicField$
|
|
5288
|
-
__publicField$
|
|
5289
|
-
__publicField$
|
|
5290
|
-
__publicField$
|
|
5291
|
-
__publicField$
|
|
5292
|
-
__publicField$
|
|
5293
|
-
__publicField$
|
|
5294
|
-
__publicField$
|
|
5295
|
-
__publicField$
|
|
5296
|
-
__publicField$
|
|
5297
|
-
__publicField$
|
|
5298
|
-
__publicField$
|
|
5299
|
-
__publicField$
|
|
5300
|
-
__publicField$
|
|
5301
|
-
__publicField$
|
|
5302
|
-
__publicField$
|
|
5303
|
-
__publicField$
|
|
5304
|
-
__publicField$s(this, "salesChannelSelectionMultiSelect");
|
|
5305
|
-
__publicField$s(this, "smtpServerTitle");
|
|
5321
|
+
__publicField$v(this, "nextButton");
|
|
5322
|
+
__publicField$v(this, "configureLaterButton");
|
|
5323
|
+
__publicField$v(this, "skipButton");
|
|
5324
|
+
__publicField$v(this, "finishButton");
|
|
5325
|
+
__publicField$v(this, "backButton");
|
|
5326
|
+
__publicField$v(this, "smtpServerButton");
|
|
5327
|
+
__publicField$v(this, "dataImportHeader");
|
|
5328
|
+
__publicField$v(this, "installLanguagePackButton");
|
|
5329
|
+
__publicField$v(this, "installDemoDataButton");
|
|
5330
|
+
__publicField$v(this, "installMigrationAssistantButton");
|
|
5331
|
+
__publicField$v(this, "defaultValuesHeader");
|
|
5332
|
+
__publicField$v(this, "mailerConfigurationHeader");
|
|
5333
|
+
__publicField$v(this, "payPalSetupHeader");
|
|
5334
|
+
__publicField$v(this, "extensionsHeader");
|
|
5335
|
+
__publicField$v(this, "shopwareAccountHeader");
|
|
5336
|
+
__publicField$v(this, "shopwareStoreHeader");
|
|
5337
|
+
__publicField$v(this, "doneHeader");
|
|
5338
|
+
__publicField$v(this, "frwSuccessText");
|
|
5339
|
+
__publicField$v(this, "welcomeText");
|
|
5340
|
+
__publicField$v(this, "pluginCardInfo");
|
|
5341
|
+
__publicField$v(this, "dataImportCard");
|
|
5342
|
+
__publicField$v(this, "salesChannelSelectionList");
|
|
5343
|
+
__publicField$v(this, "salesChannelSelectionMultiSelect");
|
|
5344
|
+
__publicField$v(this, "smtpServerTitle");
|
|
5306
5345
|
/**
|
|
5307
5346
|
* @deprecated - Use `smtpServerFieldInputs` instead.
|
|
5308
5347
|
*/
|
|
5309
|
-
__publicField$
|
|
5310
|
-
__publicField$
|
|
5311
|
-
__publicField$
|
|
5312
|
-
__publicField$
|
|
5313
|
-
__publicField$
|
|
5314
|
-
__publicField$
|
|
5315
|
-
__publicField$
|
|
5316
|
-
__publicField$
|
|
5317
|
-
__publicField$
|
|
5318
|
-
__publicField$
|
|
5319
|
-
__publicField$
|
|
5320
|
-
__publicField$
|
|
5321
|
-
__publicField$
|
|
5322
|
-
__publicField$
|
|
5323
|
-
__publicField$
|
|
5324
|
-
__publicField$
|
|
5325
|
-
__publicField$
|
|
5326
|
-
__publicField$
|
|
5327
|
-
__publicField$
|
|
5328
|
-
__publicField$
|
|
5329
|
-
__publicField$
|
|
5330
|
-
__publicField$
|
|
5331
|
-
__publicField$
|
|
5348
|
+
__publicField$v(this, "smtpServerFields");
|
|
5349
|
+
__publicField$v(this, "smtpServerFieldInputs");
|
|
5350
|
+
__publicField$v(this, "smtpServerHostInput");
|
|
5351
|
+
__publicField$v(this, "smtpServerPortInput");
|
|
5352
|
+
__publicField$v(this, "smtpServerUsernameInput");
|
|
5353
|
+
__publicField$v(this, "smtpServerPasswordInput");
|
|
5354
|
+
__publicField$v(this, "smtpServerEncryptionInput");
|
|
5355
|
+
__publicField$v(this, "smtpServerSenderAddressInput");
|
|
5356
|
+
__publicField$v(this, "smtpServerDeliveryAddressInput");
|
|
5357
|
+
__publicField$v(this, "smtpServerDisableEmailDeliveryCheckbox");
|
|
5358
|
+
__publicField$v(this, "payPalPaymethods");
|
|
5359
|
+
__publicField$v(this, "payPalInfoCard");
|
|
5360
|
+
__publicField$v(this, "emailAddressInputField");
|
|
5361
|
+
__publicField$v(this, "passwordInputField");
|
|
5362
|
+
__publicField$v(this, "forgotPasswordLink");
|
|
5363
|
+
__publicField$v(this, "extensionStoreHeading");
|
|
5364
|
+
__publicField$v(this, "documentationLink");
|
|
5365
|
+
__publicField$v(this, "forumLink");
|
|
5366
|
+
__publicField$v(this, "roadmapLink");
|
|
5367
|
+
__publicField$v(this, "germanRegionSelector");
|
|
5368
|
+
__publicField$v(this, "toolsSelector");
|
|
5369
|
+
__publicField$v(this, "recommendationHeader");
|
|
5370
|
+
__publicField$v(this, "toolsRecommendedPlugin");
|
|
5371
|
+
__publicField$v(this, "page");
|
|
5372
|
+
__publicField$v(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 });
|
|
@@ -5397,57 +5440,59 @@ async function getSelectFieldListitem(page, selectField, listItem, instanceMeta)
|
|
|
5397
5440
|
}
|
|
5398
5441
|
}
|
|
5399
5442
|
|
|
5400
|
-
var __defProp$
|
|
5401
|
-
var __defNormalProp$
|
|
5402
|
-
var __publicField$
|
|
5403
|
-
__defNormalProp$
|
|
5443
|
+
var __defProp$u = Object.defineProperty;
|
|
5444
|
+
var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5445
|
+
var __publicField$u = (obj, key, value) => {
|
|
5446
|
+
__defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5404
5447
|
return value;
|
|
5405
5448
|
};
|
|
5406
5449
|
class FlowBuilderCreate {
|
|
5407
5450
|
constructor(page, instanceMeta) {
|
|
5408
|
-
this.page = page;
|
|
5409
|
-
this.instanceMeta = instanceMeta;
|
|
5410
5451
|
//header
|
|
5411
|
-
__publicField$
|
|
5412
|
-
__publicField$
|
|
5413
|
-
__publicField$
|
|
5452
|
+
__publicField$u(this, "saveButton");
|
|
5453
|
+
__publicField$u(this, "header");
|
|
5454
|
+
__publicField$u(this, "smartBarHeader");
|
|
5414
5455
|
//tabs
|
|
5415
|
-
__publicField$
|
|
5416
|
-
__publicField$
|
|
5456
|
+
__publicField$u(this, "generalTab");
|
|
5457
|
+
__publicField$u(this, "flowTab");
|
|
5417
5458
|
//../general
|
|
5418
|
-
__publicField$
|
|
5419
|
-
__publicField$
|
|
5420
|
-
__publicField$
|
|
5421
|
-
__publicField$
|
|
5459
|
+
__publicField$u(this, "nameField");
|
|
5460
|
+
__publicField$u(this, "descriptionField");
|
|
5461
|
+
__publicField$u(this, "priorityField");
|
|
5462
|
+
__publicField$u(this, "activeSwitch");
|
|
5422
5463
|
//../flow
|
|
5423
|
-
__publicField$
|
|
5424
|
-
__publicField$
|
|
5425
|
-
__publicField$
|
|
5426
|
-
__publicField$
|
|
5427
|
-
__publicField$
|
|
5428
|
-
__publicField$
|
|
5429
|
-
__publicField$
|
|
5430
|
-
__publicField$
|
|
5431
|
-
__publicField$
|
|
5432
|
-
__publicField$
|
|
5433
|
-
__publicField$
|
|
5434
|
-
__publicField$
|
|
5435
|
-
__publicField$
|
|
5436
|
-
__publicField$
|
|
5437
|
-
__publicField$
|
|
5438
|
-
__publicField$
|
|
5439
|
-
__publicField$
|
|
5440
|
-
__publicField$
|
|
5441
|
-
__publicField$
|
|
5442
|
-
__publicField$
|
|
5443
|
-
__publicField$
|
|
5444
|
-
__publicField$
|
|
5445
|
-
__publicField$
|
|
5446
|
-
__publicField$
|
|
5447
|
-
__publicField$
|
|
5448
|
-
__publicField$
|
|
5449
|
-
__publicField$
|
|
5450
|
-
__publicField$
|
|
5464
|
+
__publicField$u(this, "triggerSelectField");
|
|
5465
|
+
__publicField$u(this, "modalAddButton");
|
|
5466
|
+
__publicField$u(this, "sequenceSelectorConditionButton");
|
|
5467
|
+
__publicField$u(this, "conditionSelectField");
|
|
5468
|
+
__publicField$u(this, "sequenceSelectorActionButton");
|
|
5469
|
+
__publicField$u(this, "actionSelectField");
|
|
5470
|
+
__publicField$u(this, "selectFieldResultList");
|
|
5471
|
+
__publicField$u(this, "trueBlock");
|
|
5472
|
+
__publicField$u(this, "trueBlockAddConditionButton");
|
|
5473
|
+
__publicField$u(this, "trueBlockAddActionButton");
|
|
5474
|
+
__publicField$u(this, "trueBlockActionSelectField");
|
|
5475
|
+
__publicField$u(this, "trueBlockActionDescription");
|
|
5476
|
+
__publicField$u(this, "mailSendModal");
|
|
5477
|
+
__publicField$u(this, "mailSendModalTemplateSelectField");
|
|
5478
|
+
__publicField$u(this, "falseBlock");
|
|
5479
|
+
__publicField$u(this, "falseBlockAddConditionButton");
|
|
5480
|
+
__publicField$u(this, "falseBlockAddActionButton");
|
|
5481
|
+
__publicField$u(this, "falseBlockActionSelectField");
|
|
5482
|
+
__publicField$u(this, "falseBlockActionDescription");
|
|
5483
|
+
__publicField$u(this, "tagModal");
|
|
5484
|
+
__publicField$u(this, "tagModalTagsSelectField");
|
|
5485
|
+
__publicField$u(this, "delayCard");
|
|
5486
|
+
__publicField$u(this, "conditionRule");
|
|
5487
|
+
__publicField$u(this, "sequenceSeparator");
|
|
5488
|
+
__publicField$u(this, "addActionField");
|
|
5489
|
+
__publicField$u(this, "newFlowHeader");
|
|
5490
|
+
__publicField$u(this, "resultListItem");
|
|
5491
|
+
__publicField$u(this, "resultList");
|
|
5492
|
+
__publicField$u(this, "page");
|
|
5493
|
+
__publicField$u(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");
|
|
@@ -5501,29 +5546,30 @@ class FlowBuilderCreate {
|
|
|
5501
5546
|
}
|
|
5502
5547
|
}
|
|
5503
5548
|
|
|
5504
|
-
var __defProp$
|
|
5505
|
-
var __defNormalProp$
|
|
5506
|
-
var __publicField$
|
|
5507
|
-
__defNormalProp$
|
|
5549
|
+
var __defProp$t = Object.defineProperty;
|
|
5550
|
+
var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5551
|
+
var __publicField$t = (obj, key, value) => {
|
|
5552
|
+
__defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5508
5553
|
return value;
|
|
5509
5554
|
};
|
|
5510
5555
|
class FlowBuilderListing {
|
|
5511
5556
|
constructor(page) {
|
|
5557
|
+
__publicField$t(this, "createFlowButton");
|
|
5558
|
+
__publicField$t(this, "firstFlowName");
|
|
5559
|
+
__publicField$t(this, "firstFlowContextButton");
|
|
5560
|
+
__publicField$t(this, "flowContextMenu");
|
|
5561
|
+
__publicField$t(this, "contextMenuDownload");
|
|
5562
|
+
__publicField$t(this, "contextMenuDuplicate");
|
|
5563
|
+
__publicField$t(this, "contextMenuEdit");
|
|
5564
|
+
__publicField$t(this, "contextMenuDelete");
|
|
5565
|
+
__publicField$t(this, "flowDownloadModal");
|
|
5566
|
+
__publicField$t(this, "downloadFlowButton");
|
|
5567
|
+
__publicField$t(this, "flowDeleteButton");
|
|
5568
|
+
__publicField$t(this, "successAlert");
|
|
5569
|
+
__publicField$t(this, "successAlertMessage");
|
|
5570
|
+
__publicField$t(this, "searchBar");
|
|
5571
|
+
__publicField$t(this, "page");
|
|
5512
5572
|
this.page = page;
|
|
5513
|
-
__publicField$q(this, "createFlowButton");
|
|
5514
|
-
__publicField$q(this, "firstFlowName");
|
|
5515
|
-
__publicField$q(this, "firstFlowContextButton");
|
|
5516
|
-
__publicField$q(this, "flowContextMenu");
|
|
5517
|
-
__publicField$q(this, "contextMenuDownload");
|
|
5518
|
-
__publicField$q(this, "contextMenuDuplicate");
|
|
5519
|
-
__publicField$q(this, "contextMenuEdit");
|
|
5520
|
-
__publicField$q(this, "contextMenuDelete");
|
|
5521
|
-
__publicField$q(this, "flowDownloadModal");
|
|
5522
|
-
__publicField$q(this, "downloadFlowButton");
|
|
5523
|
-
__publicField$q(this, "flowDeleteButton");
|
|
5524
|
-
__publicField$q(this, "successAlert");
|
|
5525
|
-
__publicField$q(this, "successAlertMessage");
|
|
5526
|
-
__publicField$q(this, "searchBar");
|
|
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`;
|
|
@@ -5587,26 +5632,24 @@ async function getTooltipText(page, tooltipArea) {
|
|
|
5587
5632
|
return await tooltipContent.innerText();
|
|
5588
5633
|
}
|
|
5589
5634
|
|
|
5590
|
-
var __defProp$
|
|
5591
|
-
var __defNormalProp$
|
|
5592
|
-
var __publicField$
|
|
5593
|
-
__defNormalProp$
|
|
5635
|
+
var __defProp$s = Object.defineProperty;
|
|
5636
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5637
|
+
var __publicField$s = (obj, key, value) => {
|
|
5638
|
+
__defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5594
5639
|
return value;
|
|
5595
5640
|
};
|
|
5596
5641
|
class FlowBuilderDetail extends FlowBuilderCreate {
|
|
5597
5642
|
constructor(page, instanceMeta) {
|
|
5598
5643
|
super(page, instanceMeta);
|
|
5599
|
-
this
|
|
5600
|
-
this
|
|
5601
|
-
__publicField$
|
|
5602
|
-
__publicField$
|
|
5603
|
-
__publicField$
|
|
5604
|
-
__publicField$
|
|
5605
|
-
__publicField$
|
|
5606
|
-
__publicField$
|
|
5607
|
-
__publicField$
|
|
5608
|
-
__publicField$p(this, "successMessage");
|
|
5609
|
-
__publicField$p(this, "actionContentTag");
|
|
5644
|
+
__publicField$s(this, "saveButtonLoader");
|
|
5645
|
+
__publicField$s(this, "saveButton");
|
|
5646
|
+
__publicField$s(this, "generalTab");
|
|
5647
|
+
__publicField$s(this, "flowTab");
|
|
5648
|
+
__publicField$s(this, "alertWarning");
|
|
5649
|
+
__publicField$s(this, "templateName");
|
|
5650
|
+
__publicField$s(this, "alertMessage");
|
|
5651
|
+
__publicField$s(this, "successMessage");
|
|
5652
|
+
__publicField$s(this, "actionContentTag");
|
|
5610
5653
|
this.generalTab = page.locator(".sw-flow-detail__tab-general");
|
|
5611
5654
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
5612
5655
|
this.successMessage = page.locator(".sw-alert__title");
|
|
@@ -5635,21 +5678,23 @@ class FlowBuilderDetail extends FlowBuilderCreate {
|
|
|
5635
5678
|
}
|
|
5636
5679
|
}
|
|
5637
5680
|
|
|
5638
|
-
var __defProp$
|
|
5639
|
-
var __defNormalProp$
|
|
5640
|
-
var __publicField$
|
|
5641
|
-
__defNormalProp$
|
|
5681
|
+
var __defProp$r = Object.defineProperty;
|
|
5682
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5683
|
+
var __publicField$r = (obj, key, value) => {
|
|
5684
|
+
__defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5642
5685
|
return value;
|
|
5643
5686
|
};
|
|
5644
5687
|
class DataSharing {
|
|
5645
5688
|
constructor(page, instanceMeta) {
|
|
5689
|
+
__publicField$r(this, "dataConsentHeadline");
|
|
5690
|
+
__publicField$r(this, "dataSharingSuccessMessageLabel");
|
|
5691
|
+
__publicField$r(this, "dataSharingAgreeButton");
|
|
5692
|
+
__publicField$r(this, "dataSharingDisableButton");
|
|
5693
|
+
__publicField$r(this, "dataSharingTermsAgreementLabel");
|
|
5694
|
+
__publicField$r(this, "page");
|
|
5695
|
+
__publicField$r(this, "instanceMeta");
|
|
5646
5696
|
this.page = page;
|
|
5647
5697
|
this.instanceMeta = instanceMeta;
|
|
5648
|
-
__publicField$o(this, "dataConsentHeadline");
|
|
5649
|
-
__publicField$o(this, "dataSharingSuccessMessageLabel");
|
|
5650
|
-
__publicField$o(this, "dataSharingAgreeButton");
|
|
5651
|
-
__publicField$o(this, "dataSharingDisableButton");
|
|
5652
|
-
__publicField$o(this, "dataSharingTermsAgreementLabel");
|
|
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 {
|
|
@@ -5668,37 +5713,38 @@ class DataSharing {
|
|
|
5668
5713
|
}
|
|
5669
5714
|
}
|
|
5670
5715
|
|
|
5671
|
-
var __defProp$
|
|
5672
|
-
var __defNormalProp$
|
|
5673
|
-
var __publicField$
|
|
5674
|
-
__defNormalProp$
|
|
5716
|
+
var __defProp$q = Object.defineProperty;
|
|
5717
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5718
|
+
var __publicField$q = (obj, key, value) => {
|
|
5719
|
+
__defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5675
5720
|
return value;
|
|
5676
5721
|
};
|
|
5677
5722
|
class Dashboard {
|
|
5678
5723
|
constructor(page) {
|
|
5724
|
+
__publicField$q(this, "contentView");
|
|
5725
|
+
__publicField$q(this, "adminMenuView");
|
|
5726
|
+
__publicField$q(this, "adminMenuCatalog");
|
|
5727
|
+
__publicField$q(this, "adminMenuOrder");
|
|
5728
|
+
__publicField$q(this, "adminMenuCustomer");
|
|
5729
|
+
__publicField$q(this, "adminMenuContent");
|
|
5730
|
+
__publicField$q(this, "adminMenuMarketing");
|
|
5731
|
+
__publicField$q(this, "adminMenuExtension");
|
|
5732
|
+
__publicField$q(this, "adminMenuUserChevron");
|
|
5733
|
+
__publicField$q(this, "adminMenuUserIcon");
|
|
5734
|
+
__publicField$q(this, "adminMenuUserName");
|
|
5735
|
+
__publicField$q(this, "welcomeHeadline");
|
|
5736
|
+
__publicField$q(this, "welcomeMessage");
|
|
5737
|
+
__publicField$q(this, "dataSharingConsentBanner");
|
|
5738
|
+
__publicField$q(this, "dataSharingAgreeButton");
|
|
5739
|
+
__publicField$q(this, "dataSharingNotAtTheMomentButton");
|
|
5740
|
+
__publicField$q(this, "dataSharingTermsAgreementLabel");
|
|
5741
|
+
__publicField$q(this, "dataSharingSettingsLink");
|
|
5742
|
+
__publicField$q(this, "dataSharingAcceptMessageText");
|
|
5743
|
+
__publicField$q(this, "dataSharingNotAtTheMomentMessageText");
|
|
5744
|
+
__publicField$q(this, "statisticsDateRange");
|
|
5745
|
+
__publicField$q(this, "statisticsChart");
|
|
5746
|
+
__publicField$q(this, "page");
|
|
5679
5747
|
this.page = page;
|
|
5680
|
-
__publicField$n(this, "contentView");
|
|
5681
|
-
__publicField$n(this, "adminMenuView");
|
|
5682
|
-
__publicField$n(this, "adminMenuCatalog");
|
|
5683
|
-
__publicField$n(this, "adminMenuOrder");
|
|
5684
|
-
__publicField$n(this, "adminMenuCustomer");
|
|
5685
|
-
__publicField$n(this, "adminMenuContent");
|
|
5686
|
-
__publicField$n(this, "adminMenuMarketing");
|
|
5687
|
-
__publicField$n(this, "adminMenuExtension");
|
|
5688
|
-
__publicField$n(this, "adminMenuUserChevron");
|
|
5689
|
-
__publicField$n(this, "adminMenuUserIcon");
|
|
5690
|
-
__publicField$n(this, "adminMenuUserName");
|
|
5691
|
-
__publicField$n(this, "welcomeHeadline");
|
|
5692
|
-
__publicField$n(this, "welcomeMessage");
|
|
5693
|
-
__publicField$n(this, "dataSharingConsentBanner");
|
|
5694
|
-
__publicField$n(this, "dataSharingAgreeButton");
|
|
5695
|
-
__publicField$n(this, "dataSharingNotAtTheMomentButton");
|
|
5696
|
-
__publicField$n(this, "dataSharingTermsAgreementLabel");
|
|
5697
|
-
__publicField$n(this, "dataSharingSettingsLink");
|
|
5698
|
-
__publicField$n(this, "dataSharingAcceptMessageText");
|
|
5699
|
-
__publicField$n(this, "dataSharingNotAtTheMomentMessageText");
|
|
5700
|
-
__publicField$n(this, "statisticsDateRange");
|
|
5701
|
-
__publicField$n(this, "statisticsChart");
|
|
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");
|
|
@@ -5727,25 +5773,26 @@ class Dashboard {
|
|
|
5727
5773
|
}
|
|
5728
5774
|
}
|
|
5729
5775
|
|
|
5730
|
-
var __defProp$
|
|
5731
|
-
var __defNormalProp$
|
|
5732
|
-
var __publicField$
|
|
5733
|
-
__defNormalProp$
|
|
5776
|
+
var __defProp$p = Object.defineProperty;
|
|
5777
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5778
|
+
var __publicField$p = (obj, key, value) => {
|
|
5779
|
+
__defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5734
5780
|
return value;
|
|
5735
5781
|
};
|
|
5736
5782
|
class ShippingListing {
|
|
5737
5783
|
constructor(page) {
|
|
5738
|
-
this
|
|
5739
|
-
__publicField$
|
|
5740
|
-
__publicField$
|
|
5741
|
-
__publicField$
|
|
5742
|
-
__publicField$
|
|
5743
|
-
__publicField$m(this, "deleteButton");
|
|
5784
|
+
__publicField$p(this, "header");
|
|
5785
|
+
__publicField$p(this, "addShippingMethod");
|
|
5786
|
+
__publicField$p(this, "contextMenu");
|
|
5787
|
+
__publicField$p(this, "editButton");
|
|
5788
|
+
__publicField$p(this, "deleteButton");
|
|
5744
5789
|
//warning modal
|
|
5745
|
-
__publicField$
|
|
5746
|
-
__publicField$
|
|
5747
|
-
__publicField$
|
|
5748
|
-
__publicField$
|
|
5790
|
+
__publicField$p(this, "modal");
|
|
5791
|
+
__publicField$p(this, "modalHeader");
|
|
5792
|
+
__publicField$p(this, "modalCancelButton");
|
|
5793
|
+
__publicField$p(this, "modalDeleteButton");
|
|
5794
|
+
__publicField$p(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");
|
|
@@ -5761,19 +5808,20 @@ class ShippingListing {
|
|
|
5761
5808
|
}
|
|
5762
5809
|
}
|
|
5763
5810
|
|
|
5764
|
-
var __defProp$
|
|
5765
|
-
var __defNormalProp$
|
|
5766
|
-
var __publicField$
|
|
5767
|
-
__defNormalProp$
|
|
5811
|
+
var __defProp$o = Object.defineProperty;
|
|
5812
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5813
|
+
var __publicField$o = (obj, key, value) => {
|
|
5814
|
+
__defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5768
5815
|
return value;
|
|
5769
5816
|
};
|
|
5770
5817
|
class ShippingDetail {
|
|
5771
5818
|
constructor(page) {
|
|
5819
|
+
__publicField$o(this, "header");
|
|
5820
|
+
__publicField$o(this, "nameField");
|
|
5821
|
+
__publicField$o(this, "availabilityRuleField");
|
|
5822
|
+
__publicField$o(this, "availabilityRuleListItem");
|
|
5823
|
+
__publicField$o(this, "page");
|
|
5772
5824
|
this.page = page;
|
|
5773
|
-
__publicField$l(this, "header");
|
|
5774
|
-
__publicField$l(this, "nameField");
|
|
5775
|
-
__publicField$l(this, "availabilityRuleField");
|
|
5776
|
-
__publicField$l(this, "availabilityRuleListItem");
|
|
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");
|
|
@@ -5787,19 +5835,20 @@ class ShippingDetail {
|
|
|
5787
5835
|
}
|
|
5788
5836
|
}
|
|
5789
5837
|
|
|
5790
|
-
var __defProp$
|
|
5791
|
-
var __defNormalProp$
|
|
5792
|
-
var __publicField$
|
|
5793
|
-
__defNormalProp$
|
|
5838
|
+
var __defProp$n = Object.defineProperty;
|
|
5839
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5840
|
+
var __publicField$n = (obj, key, value) => {
|
|
5841
|
+
__defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5794
5842
|
return value;
|
|
5795
5843
|
};
|
|
5796
5844
|
class PaymentDetail {
|
|
5797
5845
|
constructor(page) {
|
|
5846
|
+
__publicField$n(this, "header");
|
|
5847
|
+
__publicField$n(this, "nameField");
|
|
5848
|
+
__publicField$n(this, "availabilityRuleField");
|
|
5849
|
+
__publicField$n(this, "availabilityRuleListItem");
|
|
5850
|
+
__publicField$n(this, "page");
|
|
5798
5851
|
this.page = page;
|
|
5799
|
-
__publicField$k(this, "header");
|
|
5800
|
-
__publicField$k(this, "nameField");
|
|
5801
|
-
__publicField$k(this, "availabilityRuleField");
|
|
5802
|
-
__publicField$k(this, "availabilityRuleListItem");
|
|
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");
|
|
@@ -5813,36 +5862,37 @@ class PaymentDetail {
|
|
|
5813
5862
|
}
|
|
5814
5863
|
}
|
|
5815
5864
|
|
|
5816
|
-
var __defProp$
|
|
5817
|
-
var __defNormalProp$
|
|
5818
|
-
var __publicField$
|
|
5819
|
-
__defNormalProp$
|
|
5865
|
+
var __defProp$m = Object.defineProperty;
|
|
5866
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5867
|
+
var __publicField$m = (obj, key, value) => {
|
|
5868
|
+
__defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5820
5869
|
return value;
|
|
5821
5870
|
};
|
|
5822
5871
|
class LandingPageCreate {
|
|
5823
5872
|
constructor(page) {
|
|
5824
|
-
this.page = page;
|
|
5825
5873
|
/**
|
|
5826
5874
|
* General
|
|
5827
5875
|
*/
|
|
5828
|
-
__publicField$
|
|
5829
|
-
__publicField$
|
|
5830
|
-
__publicField$
|
|
5831
|
-
__publicField$
|
|
5832
|
-
__publicField$
|
|
5833
|
-
__publicField$
|
|
5834
|
-
__publicField$
|
|
5876
|
+
__publicField$m(this, "nameInput");
|
|
5877
|
+
__publicField$m(this, "landingPageStatus");
|
|
5878
|
+
__publicField$m(this, "salesChannelSelectionList");
|
|
5879
|
+
__publicField$m(this, "filtersResultPopoverItemList");
|
|
5880
|
+
__publicField$m(this, "saveLandingPageButton");
|
|
5881
|
+
__publicField$m(this, "loadingSpinner");
|
|
5882
|
+
__publicField$m(this, "seoUrlInput");
|
|
5835
5883
|
/**
|
|
5836
5884
|
* Layout
|
|
5837
5885
|
*/
|
|
5838
|
-
__publicField$
|
|
5839
|
-
__publicField$
|
|
5840
|
-
__publicField$
|
|
5841
|
-
__publicField$
|
|
5842
|
-
__publicField$
|
|
5843
|
-
__publicField$
|
|
5844
|
-
__publicField$
|
|
5845
|
-
__publicField$
|
|
5886
|
+
__publicField$m(this, "layoutTab");
|
|
5887
|
+
__publicField$m(this, "assignLayoutButton");
|
|
5888
|
+
__publicField$m(this, "searchLayoutInput");
|
|
5889
|
+
__publicField$m(this, "layoutItems");
|
|
5890
|
+
__publicField$m(this, "layoutSaveButton");
|
|
5891
|
+
__publicField$m(this, "layoutEmptyState");
|
|
5892
|
+
__publicField$m(this, "createNewLayoutButton");
|
|
5893
|
+
__publicField$m(this, "layoutCheckboxes");
|
|
5894
|
+
__publicField$m(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");
|
|
@@ -5867,36 +5917,37 @@ class LandingPageCreate {
|
|
|
5867
5917
|
}
|
|
5868
5918
|
}
|
|
5869
5919
|
|
|
5870
|
-
var __defProp$
|
|
5871
|
-
var __defNormalProp$
|
|
5872
|
-
var __publicField$
|
|
5873
|
-
__defNormalProp$
|
|
5920
|
+
var __defProp$l = Object.defineProperty;
|
|
5921
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5922
|
+
var __publicField$l = (obj, key, value) => {
|
|
5923
|
+
__defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5874
5924
|
return value;
|
|
5875
5925
|
};
|
|
5876
5926
|
class LandingPageDetail {
|
|
5877
5927
|
constructor(page) {
|
|
5878
|
-
this.page = page;
|
|
5879
5928
|
/**
|
|
5880
5929
|
* General
|
|
5881
5930
|
*/
|
|
5882
|
-
__publicField$
|
|
5883
|
-
__publicField$
|
|
5884
|
-
__publicField$
|
|
5885
|
-
__publicField$
|
|
5886
|
-
__publicField$
|
|
5887
|
-
__publicField$
|
|
5888
|
-
__publicField$
|
|
5931
|
+
__publicField$l(this, "nameInput");
|
|
5932
|
+
__publicField$l(this, "landingPageStatus");
|
|
5933
|
+
__publicField$l(this, "salesChannelSelectionList");
|
|
5934
|
+
__publicField$l(this, "filtersResultPopoverItemList");
|
|
5935
|
+
__publicField$l(this, "saveLandingPageButton");
|
|
5936
|
+
__publicField$l(this, "loadingSpinner");
|
|
5937
|
+
__publicField$l(this, "seoUrlInput");
|
|
5889
5938
|
/**
|
|
5890
5939
|
* Layout
|
|
5891
5940
|
*/
|
|
5892
|
-
__publicField$
|
|
5893
|
-
__publicField$
|
|
5894
|
-
__publicField$
|
|
5895
|
-
__publicField$
|
|
5896
|
-
__publicField$
|
|
5897
|
-
__publicField$
|
|
5898
|
-
__publicField$
|
|
5899
|
-
__publicField$
|
|
5941
|
+
__publicField$l(this, "layoutTab");
|
|
5942
|
+
__publicField$l(this, "layoutAssignmentCardTitle");
|
|
5943
|
+
__publicField$l(this, "layoutAssignmentCardHeadline");
|
|
5944
|
+
__publicField$l(this, "changeLayoutButton");
|
|
5945
|
+
__publicField$l(this, "editInDesignerButton");
|
|
5946
|
+
__publicField$l(this, "layoutResetButton");
|
|
5947
|
+
__publicField$l(this, "layoutAssignmentStatus");
|
|
5948
|
+
__publicField$l(this, "layoutAssignmentContentSection");
|
|
5949
|
+
__publicField$l(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");
|
|
@@ -5920,68 +5971,70 @@ class LandingPageDetail {
|
|
|
5920
5971
|
}
|
|
5921
5972
|
}
|
|
5922
5973
|
|
|
5923
|
-
var __defProp$
|
|
5924
|
-
var __defNormalProp$
|
|
5925
|
-
var __publicField$
|
|
5926
|
-
__defNormalProp$
|
|
5974
|
+
var __defProp$k = Object.defineProperty;
|
|
5975
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5976
|
+
var __publicField$k = (obj, key, value) => {
|
|
5977
|
+
__defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5927
5978
|
return 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
|
*/
|
|
5936
|
-
__publicField$
|
|
5985
|
+
__publicField$k(this, "contentView");
|
|
5937
5986
|
/**
|
|
5938
5987
|
* Landing pages
|
|
5939
5988
|
*/
|
|
5940
|
-
__publicField$
|
|
5941
|
-
__publicField$
|
|
5942
|
-
__publicField$
|
|
5943
|
-
__publicField$
|
|
5989
|
+
__publicField$k(this, "landingPageArea");
|
|
5990
|
+
__publicField$k(this, "landingPageHeadline");
|
|
5991
|
+
__publicField$k(this, "addLandingPageButton");
|
|
5992
|
+
__publicField$k(this, "landingPageItems");
|
|
5944
5993
|
/**
|
|
5945
5994
|
* Category tree
|
|
5946
5995
|
*/
|
|
5947
|
-
__publicField$
|
|
5948
|
-
__publicField$
|
|
5949
|
-
__publicField$
|
|
5950
|
-
__publicField$
|
|
5951
|
-
__publicField$
|
|
5952
|
-
__publicField$
|
|
5996
|
+
__publicField$k(this, "categoryTree");
|
|
5997
|
+
__publicField$k(this, "categoryMenuItemList");
|
|
5998
|
+
__publicField$k(this, "createCategoryInput");
|
|
5999
|
+
__publicField$k(this, "confirmCategoryCreationButton");
|
|
6000
|
+
__publicField$k(this, "confirmCategoryCancelButton");
|
|
6001
|
+
__publicField$k(this, "categoryItems");
|
|
5953
6002
|
/**
|
|
5954
6003
|
* Tabs
|
|
5955
6004
|
*/
|
|
5956
|
-
__publicField$
|
|
5957
|
-
__publicField$
|
|
5958
|
-
__publicField$
|
|
5959
|
-
__publicField$
|
|
6005
|
+
__publicField$k(this, "generalTab");
|
|
6006
|
+
__publicField$k(this, "productsTab");
|
|
6007
|
+
__publicField$k(this, "layoutTab");
|
|
6008
|
+
__publicField$k(this, "seoTab");
|
|
5960
6009
|
/**
|
|
5961
6010
|
* General
|
|
5962
6011
|
*/
|
|
5963
|
-
__publicField$
|
|
5964
|
-
__publicField$
|
|
5965
|
-
__publicField$
|
|
5966
|
-
__publicField$
|
|
5967
|
-
__publicField$
|
|
5968
|
-
__publicField$
|
|
5969
|
-
__publicField$
|
|
5970
|
-
__publicField$
|
|
5971
|
-
__publicField$
|
|
6012
|
+
__publicField$k(this, "nameInput");
|
|
6013
|
+
__publicField$k(this, "activeCheckbox");
|
|
6014
|
+
__publicField$k(this, "categoryTypeSelectionList");
|
|
6015
|
+
__publicField$k(this, "filtersResultPopoverItemList");
|
|
6016
|
+
__publicField$k(this, "saveButton");
|
|
6017
|
+
__publicField$k(this, "loadingSpinner");
|
|
6018
|
+
__publicField$k(this, "fadingBar");
|
|
6019
|
+
__publicField$k(this, "configureHomePageButton");
|
|
6020
|
+
__publicField$k(this, "configureModalCancelButton");
|
|
5972
6021
|
/**
|
|
5973
6022
|
* Customisable link
|
|
5974
6023
|
*/
|
|
5975
|
-
__publicField$
|
|
5976
|
-
__publicField$
|
|
5977
|
-
__publicField$
|
|
5978
|
-
__publicField$
|
|
5979
|
-
__publicField$
|
|
5980
|
-
__publicField$
|
|
5981
|
-
__publicField$
|
|
5982
|
-
__publicField$
|
|
5983
|
-
__publicField$
|
|
5984
|
-
__publicField$
|
|
6024
|
+
__publicField$k(this, "entitySelectionList");
|
|
6025
|
+
__publicField$k(this, "linkTypeSelectionList");
|
|
6026
|
+
__publicField$k(this, "categorySelectionList");
|
|
6027
|
+
__publicField$k(this, "productSelectionList");
|
|
6028
|
+
__publicField$k(this, "landingPageSelectionList");
|
|
6029
|
+
__publicField$k(this, "filterResultPopoverTreeCheckboxItemList");
|
|
6030
|
+
__publicField$k(this, "openInNewTabCheckbox");
|
|
6031
|
+
__publicField$k(this, "popoverCategoryTree");
|
|
6032
|
+
__publicField$k(this, "categorySelectionListWrapper");
|
|
6033
|
+
__publicField$k(this, "productSelectionInput");
|
|
6034
|
+
__publicField$k(this, "page");
|
|
6035
|
+
__publicField$k(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" });
|
|
@@ -6032,17 +6085,18 @@ class Categories {
|
|
|
6032
6085
|
}
|
|
6033
6086
|
}
|
|
6034
6087
|
|
|
6035
|
-
var __defProp$
|
|
6036
|
-
var __defNormalProp$
|
|
6037
|
-
var __publicField$
|
|
6038
|
-
__defNormalProp$
|
|
6088
|
+
var __defProp$j = Object.defineProperty;
|
|
6089
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6090
|
+
var __publicField$j = (obj, key, value) => {
|
|
6091
|
+
__defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6039
6092
|
return value;
|
|
6040
6093
|
};
|
|
6041
6094
|
class CustomFieldListing {
|
|
6042
6095
|
constructor(page) {
|
|
6096
|
+
__publicField$j(this, "addNewSetButton");
|
|
6097
|
+
__publicField$j(this, "customFieldRows");
|
|
6098
|
+
__publicField$j(this, "page");
|
|
6043
6099
|
this.page = page;
|
|
6044
|
-
__publicField$g(this, "addNewSetButton");
|
|
6045
|
-
__publicField$g(this, "customFieldRows");
|
|
6046
6100
|
this.addNewSetButton = page.getByText("Add new set");
|
|
6047
6101
|
this.customFieldRows = page.getByRole("row");
|
|
6048
6102
|
}
|
|
@@ -6070,22 +6124,23 @@ class CustomFieldListing {
|
|
|
6070
6124
|
}
|
|
6071
6125
|
}
|
|
6072
6126
|
|
|
6073
|
-
var __defProp$
|
|
6074
|
-
var __defNormalProp$
|
|
6075
|
-
var __publicField$
|
|
6076
|
-
__defNormalProp$
|
|
6127
|
+
var __defProp$i = Object.defineProperty;
|
|
6128
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6129
|
+
var __publicField$i = (obj, key, value) => {
|
|
6130
|
+
__defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6077
6131
|
return value;
|
|
6078
6132
|
};
|
|
6079
6133
|
class CustomFieldCreate {
|
|
6080
6134
|
constructor(page) {
|
|
6135
|
+
__publicField$i(this, "saveButton");
|
|
6136
|
+
__publicField$i(this, "cancelButton");
|
|
6137
|
+
__publicField$i(this, "technicalNameInput");
|
|
6138
|
+
__publicField$i(this, "positionInput");
|
|
6139
|
+
__publicField$i(this, "labelEnglishGBInput");
|
|
6140
|
+
__publicField$i(this, "assignToSelectionList");
|
|
6141
|
+
__publicField$i(this, "resultAssignToPopoverItemList");
|
|
6142
|
+
__publicField$i(this, "page");
|
|
6081
6143
|
this.page = page;
|
|
6082
|
-
__publicField$f(this, "saveButton");
|
|
6083
|
-
__publicField$f(this, "cancelButton");
|
|
6084
|
-
__publicField$f(this, "technicalNameInput");
|
|
6085
|
-
__publicField$f(this, "positionInput");
|
|
6086
|
-
__publicField$f(this, "labelEnglishGBInput");
|
|
6087
|
-
__publicField$f(this, "assignToSelectionList");
|
|
6088
|
-
__publicField$f(this, "resultAssignToPopoverItemList");
|
|
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");
|
|
@@ -6099,35 +6154,35 @@ class CustomFieldCreate {
|
|
|
6099
6154
|
}
|
|
6100
6155
|
}
|
|
6101
6156
|
|
|
6102
|
-
var __defProp$
|
|
6103
|
-
var __defNormalProp$
|
|
6104
|
-
var __publicField$
|
|
6105
|
-
__defNormalProp$
|
|
6157
|
+
var __defProp$h = Object.defineProperty;
|
|
6158
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6159
|
+
var __publicField$h = (obj, key, value) => {
|
|
6160
|
+
__defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6106
6161
|
return value;
|
|
6107
6162
|
};
|
|
6108
6163
|
class CustomFieldDetail extends CustomFieldCreate {
|
|
6109
6164
|
constructor(page, instanceMeta) {
|
|
6110
6165
|
super(page);
|
|
6111
|
-
this
|
|
6166
|
+
__publicField$h(this, "newCustomFieldButton");
|
|
6167
|
+
__publicField$h(this, "customFieldEditDialog");
|
|
6168
|
+
__publicField$h(this, "newCustomFieldDialog");
|
|
6169
|
+
__publicField$h(this, "customFieldTechnicalNameInput");
|
|
6170
|
+
__publicField$h(this, "customFieldPositionInput");
|
|
6171
|
+
__publicField$h(this, "customFieldTypeSelectionList");
|
|
6172
|
+
__publicField$h(this, "customFieldModifyByStoreApiCheckbox");
|
|
6173
|
+
__publicField$h(this, "customFieldCancelButton");
|
|
6174
|
+
__publicField$h(this, "customFieldAddButton");
|
|
6175
|
+
__publicField$h(this, "customFieldEditApplyButton");
|
|
6176
|
+
__publicField$h(this, "customFieldLabelEnglishGBInput");
|
|
6177
|
+
__publicField$h(this, "customFieldPlaceholderEnglishGBInput");
|
|
6178
|
+
__publicField$h(this, "customFieldHelpTextEnglishGBInput");
|
|
6179
|
+
__publicField$h(this, "customFieldDeleteListButton");
|
|
6180
|
+
__publicField$h(this, "customFieldDeleteDialog");
|
|
6181
|
+
__publicField$h(this, "customFieldDeleteCancelButton");
|
|
6182
|
+
__publicField$h(this, "customFieldDeleteButton");
|
|
6183
|
+
__publicField$h(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
6184
|
+
__publicField$h(this, "instanceMeta");
|
|
6112
6185
|
this.instanceMeta = instanceMeta;
|
|
6113
|
-
__publicField$e(this, "newCustomFieldButton");
|
|
6114
|
-
__publicField$e(this, "customFieldEditDialog");
|
|
6115
|
-
__publicField$e(this, "newCustomFieldDialog");
|
|
6116
|
-
__publicField$e(this, "customFieldTechnicalNameInput");
|
|
6117
|
-
__publicField$e(this, "customFieldPositionInput");
|
|
6118
|
-
__publicField$e(this, "customFieldTypeSelectionList");
|
|
6119
|
-
__publicField$e(this, "customFieldModifyByStoreApiCheckbox");
|
|
6120
|
-
__publicField$e(this, "customFieldCancelButton");
|
|
6121
|
-
__publicField$e(this, "customFieldAddButton");
|
|
6122
|
-
__publicField$e(this, "customFieldEditApplyButton");
|
|
6123
|
-
__publicField$e(this, "customFieldLabelEnglishGBInput");
|
|
6124
|
-
__publicField$e(this, "customFieldPlaceholderEnglishGBInput");
|
|
6125
|
-
__publicField$e(this, "customFieldHelpTextEnglishGBInput");
|
|
6126
|
-
__publicField$e(this, "customFieldDeleteListButton");
|
|
6127
|
-
__publicField$e(this, "customFieldDeleteDialog");
|
|
6128
|
-
__publicField$e(this, "customFieldDeleteCancelButton");
|
|
6129
|
-
__publicField$e(this, "customFieldDeleteButton");
|
|
6130
|
-
__publicField$e(this, "customFieldEditAvailableInShoppingCartCheckbox");
|
|
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" });
|
|
@@ -6180,21 +6235,23 @@ class CustomFieldDetail extends CustomFieldCreate {
|
|
|
6180
6235
|
}
|
|
6181
6236
|
}
|
|
6182
6237
|
|
|
6183
|
-
var __defProp$
|
|
6184
|
-
var __defNormalProp$
|
|
6185
|
-
var __publicField$
|
|
6186
|
-
__defNormalProp$
|
|
6238
|
+
var __defProp$g = Object.defineProperty;
|
|
6239
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6240
|
+
var __publicField$g = (obj, key, value) => {
|
|
6241
|
+
__defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6187
6242
|
return value;
|
|
6188
6243
|
};
|
|
6189
6244
|
class CategoryDetail {
|
|
6190
6245
|
constructor(page, instanceMeta) {
|
|
6246
|
+
__publicField$g(this, "saveButton");
|
|
6247
|
+
__publicField$g(this, "cancelButton");
|
|
6248
|
+
__publicField$g(this, "customFieldCard");
|
|
6249
|
+
__publicField$g(this, "customFieldSetTabs");
|
|
6250
|
+
__publicField$g(this, "customFieldSetTabCustomContent");
|
|
6251
|
+
__publicField$g(this, "page");
|
|
6252
|
+
__publicField$g(this, "instanceMeta");
|
|
6191
6253
|
this.page = page;
|
|
6192
6254
|
this.instanceMeta = instanceMeta;
|
|
6193
|
-
__publicField$d(this, "saveButton");
|
|
6194
|
-
__publicField$d(this, "cancelButton");
|
|
6195
|
-
__publicField$d(this, "customFieldCard");
|
|
6196
|
-
__publicField$d(this, "customFieldSetTabs");
|
|
6197
|
-
__publicField$d(this, "customFieldSetTabCustomContent");
|
|
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")) {
|
|
@@ -6227,24 +6284,26 @@ class CategoryDetail {
|
|
|
6227
6284
|
}
|
|
6228
6285
|
}
|
|
6229
6286
|
|
|
6230
|
-
var __defProp$
|
|
6231
|
-
var __defNormalProp$
|
|
6232
|
-
var __publicField$
|
|
6233
|
-
__defNormalProp$
|
|
6287
|
+
var __defProp$f = Object.defineProperty;
|
|
6288
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6289
|
+
var __publicField$f = (obj, key, value) => {
|
|
6290
|
+
__defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6234
6291
|
return value;
|
|
6235
6292
|
};
|
|
6236
6293
|
class RuleCreate {
|
|
6237
6294
|
constructor(page, instanceMeta) {
|
|
6295
|
+
__publicField$f(this, "nameInput");
|
|
6296
|
+
__publicField$f(this, "priorityInput");
|
|
6297
|
+
__publicField$f(this, "conditionTypeSelectionInput");
|
|
6298
|
+
__publicField$f(this, "conditionValueSelectionInput");
|
|
6299
|
+
__publicField$f(this, "filtersResultPopoverSelectionList");
|
|
6300
|
+
__publicField$f(this, "saveButton");
|
|
6301
|
+
__publicField$f(this, "cancelButton");
|
|
6302
|
+
__publicField$f(this, "valueNotAvailableTooltip");
|
|
6303
|
+
__publicField$f(this, "page");
|
|
6304
|
+
__publicField$f(this, "instanceMeta");
|
|
6238
6305
|
this.page = page;
|
|
6239
6306
|
this.instanceMeta = instanceMeta;
|
|
6240
|
-
__publicField$c(this, "nameInput");
|
|
6241
|
-
__publicField$c(this, "priorityInput");
|
|
6242
|
-
__publicField$c(this, "conditionTypeSelectionInput");
|
|
6243
|
-
__publicField$c(this, "conditionValueSelectionInput");
|
|
6244
|
-
__publicField$c(this, "filtersResultPopoverSelectionList");
|
|
6245
|
-
__publicField$c(this, "saveButton");
|
|
6246
|
-
__publicField$c(this, "cancelButton");
|
|
6247
|
-
__publicField$c(this, "valueNotAvailableTooltip");
|
|
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");
|
|
@@ -6262,35 +6321,33 @@ class RuleCreate {
|
|
|
6262
6321
|
}
|
|
6263
6322
|
}
|
|
6264
6323
|
|
|
6265
|
-
var __defProp$
|
|
6266
|
-
var __defNormalProp$
|
|
6267
|
-
var __publicField$
|
|
6268
|
-
__defNormalProp$
|
|
6324
|
+
var __defProp$e = Object.defineProperty;
|
|
6325
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6326
|
+
var __publicField$e = (obj, key, value) => {
|
|
6327
|
+
__defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6269
6328
|
return value;
|
|
6270
6329
|
};
|
|
6271
6330
|
class RuleDetail extends RuleCreate {
|
|
6272
6331
|
constructor(page, instanceMeta) {
|
|
6273
6332
|
super(page, instanceMeta);
|
|
6274
|
-
this
|
|
6275
|
-
this
|
|
6276
|
-
__publicField$
|
|
6277
|
-
__publicField$
|
|
6278
|
-
__publicField$
|
|
6279
|
-
__publicField$
|
|
6280
|
-
__publicField$
|
|
6281
|
-
__publicField$
|
|
6282
|
-
__publicField$
|
|
6283
|
-
__publicField$
|
|
6284
|
-
__publicField$
|
|
6285
|
-
__publicField$
|
|
6286
|
-
__publicField$
|
|
6287
|
-
__publicField$
|
|
6288
|
-
__publicField$
|
|
6289
|
-
__publicField$
|
|
6290
|
-
__publicField$
|
|
6291
|
-
__publicField$
|
|
6292
|
-
__publicField$b(this, "assignmentModalAddButton");
|
|
6293
|
-
__publicField$b(this, "assignmentModalSearchField");
|
|
6333
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCard");
|
|
6334
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardLink");
|
|
6335
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardTable");
|
|
6336
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardEmptyState");
|
|
6337
|
+
__publicField$e(this, "shippingMethodAvailabilityRulesCardSearchField");
|
|
6338
|
+
__publicField$e(this, "taxProviderRulesCard");
|
|
6339
|
+
__publicField$e(this, "taxProviderRulesCardEmptyState");
|
|
6340
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCard");
|
|
6341
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCardEmptyState");
|
|
6342
|
+
__publicField$e(this, "paymentMethodsAvailabilityRulesCardLink");
|
|
6343
|
+
__publicField$e(this, "promotionOrderRulesCard");
|
|
6344
|
+
__publicField$e(this, "promotionOrderRulesCardEmptyState");
|
|
6345
|
+
__publicField$e(this, "promotionCustomerRulesCard");
|
|
6346
|
+
__publicField$e(this, "promotionCustomerRulesCardEmptyState");
|
|
6347
|
+
__publicField$e(this, "promotionCartRulesCard");
|
|
6348
|
+
__publicField$e(this, "promotionCartRulesCardEmptyState");
|
|
6349
|
+
__publicField$e(this, "assignmentModalAddButton");
|
|
6350
|
+
__publicField$e(this, "assignmentModalSearchField");
|
|
6294
6351
|
this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
|
|
6295
6352
|
this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
|
|
6296
6353
|
this.shippingMethodAvailabilityRulesCardTable = page.locator(".sw-settings-rule-detail-assignments__entity-listing-shipping_method_availability_rule");
|
|
@@ -6324,16 +6381,17 @@ class RuleDetail extends RuleCreate {
|
|
|
6324
6381
|
}
|
|
6325
6382
|
}
|
|
6326
6383
|
|
|
6327
|
-
var __defProp$
|
|
6328
|
-
var __defNormalProp$
|
|
6329
|
-
var __publicField$
|
|
6330
|
-
__defNormalProp$
|
|
6384
|
+
var __defProp$d = Object.defineProperty;
|
|
6385
|
+
var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6386
|
+
var __publicField$d = (obj, key, value) => {
|
|
6387
|
+
__defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6331
6388
|
return value;
|
|
6332
6389
|
};
|
|
6333
6390
|
class RuleListing {
|
|
6334
6391
|
constructor(page) {
|
|
6392
|
+
__publicField$d(this, "createRuleButton");
|
|
6393
|
+
__publicField$d(this, "page");
|
|
6335
6394
|
this.page = page;
|
|
6336
|
-
__publicField$a(this, "createRuleButton");
|
|
6337
6395
|
this.createRuleButton = page.getByText("Create rule");
|
|
6338
6396
|
}
|
|
6339
6397
|
url() {
|
|
@@ -6341,21 +6399,23 @@ class RuleListing {
|
|
|
6341
6399
|
}
|
|
6342
6400
|
}
|
|
6343
6401
|
|
|
6344
|
-
var __defProp$
|
|
6345
|
-
var __defNormalProp$
|
|
6346
|
-
var __publicField$
|
|
6347
|
-
__defNormalProp$
|
|
6402
|
+
var __defProp$c = Object.defineProperty;
|
|
6403
|
+
var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6404
|
+
var __publicField$c = (obj, key, value) => {
|
|
6405
|
+
__defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6348
6406
|
return value;
|
|
6349
6407
|
};
|
|
6350
6408
|
class ManufacturerCreate {
|
|
6351
6409
|
constructor(page, instanceMeta) {
|
|
6410
|
+
__publicField$c(this, "saveButton");
|
|
6411
|
+
__publicField$c(this, "cancelButton");
|
|
6412
|
+
__publicField$c(this, "nameInput");
|
|
6413
|
+
__publicField$c(this, "websiteInput");
|
|
6414
|
+
__publicField$c(this, "descriptionInput");
|
|
6415
|
+
__publicField$c(this, "page");
|
|
6416
|
+
__publicField$c(this, "instanceMeta");
|
|
6352
6417
|
this.page = page;
|
|
6353
6418
|
this.instanceMeta = instanceMeta;
|
|
6354
|
-
__publicField$9(this, "saveButton");
|
|
6355
|
-
__publicField$9(this, "cancelButton");
|
|
6356
|
-
__publicField$9(this, "nameInput");
|
|
6357
|
-
__publicField$9(this, "websiteInput");
|
|
6358
|
-
__publicField$9(this, "descriptionInput");
|
|
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");
|
|
@@ -6371,17 +6431,18 @@ class ManufacturerCreate {
|
|
|
6371
6431
|
}
|
|
6372
6432
|
}
|
|
6373
6433
|
|
|
6374
|
-
var __defProp$
|
|
6375
|
-
var __defNormalProp$
|
|
6376
|
-
var __publicField$
|
|
6377
|
-
__defNormalProp$
|
|
6434
|
+
var __defProp$b = Object.defineProperty;
|
|
6435
|
+
var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6436
|
+
var __publicField$b = (obj, key, value) => {
|
|
6437
|
+
__defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6378
6438
|
return value;
|
|
6379
6439
|
};
|
|
6380
6440
|
class ManufacturerListing {
|
|
6381
6441
|
constructor(page) {
|
|
6442
|
+
__publicField$b(this, "addManufacturerButton");
|
|
6443
|
+
__publicField$b(this, "manufacturerRows");
|
|
6444
|
+
__publicField$b(this, "page");
|
|
6382
6445
|
this.page = page;
|
|
6383
|
-
__publicField$8(this, "addManufacturerButton");
|
|
6384
|
-
__publicField$8(this, "manufacturerRows");
|
|
6385
6446
|
this.addManufacturerButton = page.getByText("Add manufacturer");
|
|
6386
6447
|
this.manufacturerRows = page.getByRole("row");
|
|
6387
6448
|
}
|
|
@@ -6413,20 +6474,18 @@ class ManufacturerListing {
|
|
|
6413
6474
|
}
|
|
6414
6475
|
}
|
|
6415
6476
|
|
|
6416
|
-
var __defProp$
|
|
6417
|
-
var __defNormalProp$
|
|
6418
|
-
var __publicField$
|
|
6419
|
-
__defNormalProp$
|
|
6477
|
+
var __defProp$a = Object.defineProperty;
|
|
6478
|
+
var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6479
|
+
var __publicField$a = (obj, key, value) => {
|
|
6480
|
+
__defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6420
6481
|
return value;
|
|
6421
6482
|
};
|
|
6422
6483
|
class ManufacturerDetail extends ManufacturerCreate {
|
|
6423
6484
|
constructor(page, instanceMeta) {
|
|
6424
6485
|
super(page, instanceMeta);
|
|
6425
|
-
this
|
|
6426
|
-
this
|
|
6427
|
-
__publicField$
|
|
6428
|
-
__publicField$7(this, "customFieldSetTabs");
|
|
6429
|
-
__publicField$7(this, "customFieldSetTabCustomContent");
|
|
6486
|
+
__publicField$a(this, "customFieldCard");
|
|
6487
|
+
__publicField$a(this, "customFieldSetTabs");
|
|
6488
|
+
__publicField$a(this, "customFieldSetTabCustomContent");
|
|
6430
6489
|
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6431
6490
|
this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
|
|
6432
6491
|
} else {
|
|
@@ -6454,25 +6513,26 @@ class ManufacturerDetail extends ManufacturerCreate {
|
|
|
6454
6513
|
}
|
|
6455
6514
|
}
|
|
6456
6515
|
|
|
6457
|
-
var __defProp$
|
|
6458
|
-
var __defNormalProp$
|
|
6459
|
-
var __publicField$
|
|
6460
|
-
__defNormalProp$
|
|
6516
|
+
var __defProp$9 = Object.defineProperty;
|
|
6517
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6518
|
+
var __publicField$9 = (obj, key, value) => {
|
|
6519
|
+
__defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6461
6520
|
return value;
|
|
6462
6521
|
};
|
|
6463
6522
|
class ProductListing {
|
|
6464
6523
|
constructor(page) {
|
|
6465
|
-
this.page = page;
|
|
6466
6524
|
/**
|
|
6467
6525
|
* Multi selection
|
|
6468
6526
|
*/
|
|
6469
|
-
__publicField$
|
|
6470
|
-
__publicField$
|
|
6527
|
+
__publicField$9(this, "productsTable");
|
|
6528
|
+
__publicField$9(this, "bulkEditButton");
|
|
6529
|
+
__publicField$9(this, "page");
|
|
6471
6530
|
/**
|
|
6472
6531
|
* Bulk edit modal
|
|
6473
6532
|
*/
|
|
6474
|
-
__publicField$
|
|
6475
|
-
__publicField$
|
|
6533
|
+
__publicField$9(this, "bulkEditModal");
|
|
6534
|
+
__publicField$9(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");
|
|
@@ -6522,61 +6582,62 @@ class ProductListing {
|
|
|
6522
6582
|
}
|
|
6523
6583
|
}
|
|
6524
6584
|
|
|
6525
|
-
var __defProp$
|
|
6526
|
-
var __defNormalProp$
|
|
6527
|
-
var __publicField$
|
|
6528
|
-
__defNormalProp$
|
|
6585
|
+
var __defProp$8 = Object.defineProperty;
|
|
6586
|
+
var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6587
|
+
var __publicField$8 = (obj, key, value) => {
|
|
6588
|
+
__defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6529
6589
|
return value;
|
|
6530
6590
|
};
|
|
6531
6591
|
class ProductBulkEdit {
|
|
6532
6592
|
constructor(page) {
|
|
6533
|
-
this.page = page;
|
|
6534
6593
|
/**
|
|
6535
6594
|
* Bulk edit values
|
|
6536
6595
|
*/
|
|
6537
|
-
__publicField$
|
|
6538
|
-
__publicField$
|
|
6539
|
-
__publicField$
|
|
6540
|
-
__publicField$
|
|
6541
|
-
__publicField$
|
|
6542
|
-
__publicField$
|
|
6543
|
-
__publicField$
|
|
6544
|
-
__publicField$
|
|
6545
|
-
__publicField$
|
|
6546
|
-
__publicField$
|
|
6547
|
-
__publicField$
|
|
6548
|
-
__publicField$
|
|
6549
|
-
__publicField$
|
|
6550
|
-
__publicField$
|
|
6551
|
-
__publicField$
|
|
6552
|
-
__publicField$
|
|
6553
|
-
__publicField$
|
|
6554
|
-
__publicField$
|
|
6555
|
-
__publicField$
|
|
6556
|
-
__publicField$
|
|
6557
|
-
__publicField$
|
|
6558
|
-
__publicField$
|
|
6559
|
-
__publicField$
|
|
6560
|
-
__publicField$
|
|
6561
|
-
__publicField$
|
|
6562
|
-
__publicField$
|
|
6563
|
-
__publicField$
|
|
6564
|
-
__publicField$
|
|
6565
|
-
__publicField$
|
|
6566
|
-
__publicField$
|
|
6567
|
-
__publicField$
|
|
6568
|
-
__publicField$
|
|
6569
|
-
__publicField$
|
|
6570
|
-
__publicField$
|
|
6571
|
-
__publicField$
|
|
6596
|
+
__publicField$8(this, "changeManufacturerRow");
|
|
6597
|
+
__publicField$8(this, "changeManufacturerCheckbox");
|
|
6598
|
+
__publicField$8(this, "manufacturerDropdown");
|
|
6599
|
+
__publicField$8(this, "manufacturerDropdownInput");
|
|
6600
|
+
__publicField$8(this, "manufacturerListResult");
|
|
6601
|
+
__publicField$8(this, "changeActiveRow");
|
|
6602
|
+
__publicField$8(this, "changeActiveCheckbox");
|
|
6603
|
+
__publicField$8(this, "activeToggle");
|
|
6604
|
+
__publicField$8(this, "changePriceRow");
|
|
6605
|
+
__publicField$8(this, "changePriceCheckbox");
|
|
6606
|
+
__publicField$8(this, "grossPriceInput");
|
|
6607
|
+
__publicField$8(this, "changeReleaseDateRow");
|
|
6608
|
+
__publicField$8(this, "changeReleaseDateCheckbox");
|
|
6609
|
+
__publicField$8(this, "releaseDateInput");
|
|
6610
|
+
__publicField$8(this, "changeStockRow");
|
|
6611
|
+
__publicField$8(this, "changeStockCheckbox");
|
|
6612
|
+
__publicField$8(this, "stockChangeMethodDropdown");
|
|
6613
|
+
__publicField$8(this, "stockChangeMethodInput");
|
|
6614
|
+
__publicField$8(this, "stockInput");
|
|
6615
|
+
__publicField$8(this, "changeRestockTimeRow");
|
|
6616
|
+
__publicField$8(this, "changeRestockTimeCheckbox");
|
|
6617
|
+
__publicField$8(this, "restockTimeChangeMethodDropdown");
|
|
6618
|
+
__publicField$8(this, "restockTimeChangeMethodInput");
|
|
6619
|
+
__publicField$8(this, "restockTimeInput");
|
|
6620
|
+
__publicField$8(this, "changeTagsRow");
|
|
6621
|
+
__publicField$8(this, "changeTagsCheckbox");
|
|
6622
|
+
__publicField$8(this, "tagsChangeMethodDropdown");
|
|
6623
|
+
__publicField$8(this, "tagsChangeMethodInput");
|
|
6624
|
+
__publicField$8(this, "tagsInput");
|
|
6625
|
+
__publicField$8(this, "changeSalesChannelRow");
|
|
6626
|
+
__publicField$8(this, "changeSalesChannelCheckbox");
|
|
6627
|
+
__publicField$8(this, "salesChannelChangeMethodDropdown");
|
|
6628
|
+
__publicField$8(this, "salesChannelChangeMethodInput");
|
|
6629
|
+
__publicField$8(this, "salesChannelInput");
|
|
6630
|
+
__publicField$8(this, "applyChangesButton");
|
|
6572
6631
|
/**
|
|
6573
6632
|
* Confirmation modal
|
|
6574
6633
|
*/
|
|
6575
|
-
__publicField$
|
|
6576
|
-
__publicField$
|
|
6577
|
-
__publicField$
|
|
6578
|
-
__publicField$
|
|
6579
|
-
__publicField$
|
|
6634
|
+
__publicField$8(this, "confirmModal");
|
|
6635
|
+
__publicField$8(this, "confirmModalApplyChangesButton");
|
|
6636
|
+
__publicField$8(this, "confirmModalLoadingSpinner");
|
|
6637
|
+
__publicField$8(this, "confirmModalSuccessHeader");
|
|
6638
|
+
__publicField$8(this, "confirmModalSuccessCloseButton");
|
|
6639
|
+
__publicField$8(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");
|
|
@@ -6626,42 +6687,43 @@ class ProductBulkEdit {
|
|
|
6626
6687
|
}
|
|
6627
6688
|
}
|
|
6628
6689
|
|
|
6629
|
-
var __defProp$
|
|
6630
|
-
var __defNormalProp$
|
|
6631
|
-
var __publicField$
|
|
6632
|
-
__defNormalProp$
|
|
6690
|
+
var __defProp$7 = Object.defineProperty;
|
|
6691
|
+
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6692
|
+
var __publicField$7 = (obj, key, value) => {
|
|
6693
|
+
__defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6633
6694
|
return value;
|
|
6634
6695
|
};
|
|
6635
6696
|
class CustomerBulkEdit {
|
|
6636
6697
|
constructor(page) {
|
|
6637
|
-
this.page = page;
|
|
6638
6698
|
//General
|
|
6639
|
-
__publicField$
|
|
6640
|
-
__publicField$
|
|
6699
|
+
__publicField$7(this, "applyChangesButton");
|
|
6700
|
+
__publicField$7(this, "filtersResultPopoverItemList");
|
|
6641
6701
|
//Account
|
|
6642
|
-
__publicField$
|
|
6643
|
-
__publicField$
|
|
6644
|
-
__publicField$
|
|
6645
|
-
__publicField$
|
|
6646
|
-
__publicField$
|
|
6647
|
-
__publicField$
|
|
6648
|
-
__publicField$
|
|
6649
|
-
__publicField$
|
|
6702
|
+
__publicField$7(this, "changeCustomerGroupCheckbox");
|
|
6703
|
+
__publicField$7(this, "customerGroupInput");
|
|
6704
|
+
__publicField$7(this, "changeAccountStatusCheckbox");
|
|
6705
|
+
__publicField$7(this, "accountStatusInput");
|
|
6706
|
+
__publicField$7(this, "changeLanguageCheckbox");
|
|
6707
|
+
__publicField$7(this, "changeLanguageInput");
|
|
6708
|
+
__publicField$7(this, "replyToCustomerGroupRequest");
|
|
6709
|
+
__publicField$7(this, "replyToCustomerGroupRequestInput");
|
|
6650
6710
|
//Tags
|
|
6651
|
-
__publicField$
|
|
6652
|
-
__publicField$
|
|
6653
|
-
__publicField$
|
|
6711
|
+
__publicField$7(this, "changeTagsCheckbox");
|
|
6712
|
+
__publicField$7(this, "changeTypeSelect");
|
|
6713
|
+
__publicField$7(this, "enterTagsSelect");
|
|
6654
6714
|
//Custom fields
|
|
6655
|
-
__publicField$
|
|
6656
|
-
__publicField$
|
|
6657
|
-
__publicField$
|
|
6715
|
+
__publicField$7(this, "customFieldCheckbox");
|
|
6716
|
+
__publicField$7(this, "customFieldInput");
|
|
6717
|
+
__publicField$7(this, "customFieldArrowRightButton");
|
|
6658
6718
|
/**
|
|
6659
6719
|
* Confirmation modal
|
|
6660
6720
|
*/
|
|
6661
|
-
__publicField$
|
|
6662
|
-
__publicField$
|
|
6663
|
-
__publicField$
|
|
6664
|
-
__publicField$
|
|
6721
|
+
__publicField$7(this, "confirmModal");
|
|
6722
|
+
__publicField$7(this, "confirmModalApplyChangesButton");
|
|
6723
|
+
__publicField$7(this, "confirmModalSuccessHeader");
|
|
6724
|
+
__publicField$7(this, "confirmModalSuccessCloseButton");
|
|
6725
|
+
__publicField$7(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" });
|
|
@@ -6703,17 +6765,18 @@ class CustomerBulkEdit {
|
|
|
6703
6765
|
}
|
|
6704
6766
|
}
|
|
6705
6767
|
|
|
6706
|
-
var __defProp$
|
|
6707
|
-
var __defNormalProp$
|
|
6708
|
-
var __publicField$
|
|
6709
|
-
__defNormalProp$
|
|
6768
|
+
var __defProp$6 = Object.defineProperty;
|
|
6769
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6770
|
+
var __publicField$6 = (obj, key, value) => {
|
|
6771
|
+
__defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6710
6772
|
return value;
|
|
6711
6773
|
};
|
|
6712
6774
|
class SettingsListing {
|
|
6713
6775
|
constructor(page) {
|
|
6776
|
+
__publicField$6(this, "contentView");
|
|
6777
|
+
__publicField$6(this, "header");
|
|
6778
|
+
__publicField$6(this, "page");
|
|
6714
6779
|
this.page = page;
|
|
6715
|
-
__publicField$3(this, "contentView");
|
|
6716
|
-
__publicField$3(this, "header");
|
|
6717
6780
|
this.header = page.locator(".sw-settings__content-header");
|
|
6718
6781
|
this.contentView = page.locator(".sw-desktop__content");
|
|
6719
6782
|
}
|
|
@@ -6722,17 +6785,18 @@ class SettingsListing {
|
|
|
6722
6785
|
}
|
|
6723
6786
|
}
|
|
6724
6787
|
|
|
6725
|
-
var __defProp$
|
|
6726
|
-
var __defNormalProp$
|
|
6727
|
-
var __publicField$
|
|
6728
|
-
__defNormalProp$
|
|
6788
|
+
var __defProp$5 = Object.defineProperty;
|
|
6789
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6790
|
+
var __publicField$5 = (obj, key, value) => {
|
|
6791
|
+
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6729
6792
|
return value;
|
|
6730
6793
|
};
|
|
6731
6794
|
class DocumentListing {
|
|
6732
6795
|
constructor(page) {
|
|
6796
|
+
__publicField$5(this, "addDocumentButton");
|
|
6797
|
+
__publicField$5(this, "invoiceLink");
|
|
6798
|
+
__publicField$5(this, "page");
|
|
6733
6799
|
this.page = page;
|
|
6734
|
-
__publicField$2(this, "addDocumentButton");
|
|
6735
|
-
__publicField$2(this, "invoiceLink");
|
|
6736
6800
|
this.addDocumentButton = page.getByRole("button", { name: "Add document" });
|
|
6737
6801
|
this.invoiceLink = page.getByRole("link", { name: "invoice", exact: true });
|
|
6738
6802
|
}
|
|
@@ -6741,18 +6805,19 @@ class DocumentListing {
|
|
|
6741
6805
|
}
|
|
6742
6806
|
}
|
|
6743
6807
|
|
|
6744
|
-
var __defProp$
|
|
6745
|
-
var __defNormalProp$
|
|
6746
|
-
var __publicField$
|
|
6747
|
-
__defNormalProp$
|
|
6808
|
+
var __defProp$4 = Object.defineProperty;
|
|
6809
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6810
|
+
var __publicField$4 = (obj, key, value) => {
|
|
6811
|
+
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6748
6812
|
return value;
|
|
6749
6813
|
};
|
|
6750
6814
|
class DocumentDetail {
|
|
6751
6815
|
constructor(page) {
|
|
6816
|
+
__publicField$4(this, "showInAccountSwitch");
|
|
6817
|
+
__publicField$4(this, "saveButton");
|
|
6818
|
+
__publicField$4(this, "documentTypeSelect");
|
|
6819
|
+
__publicField$4(this, "page");
|
|
6752
6820
|
this.page = page;
|
|
6753
|
-
__publicField$1(this, "showInAccountSwitch");
|
|
6754
|
-
__publicField$1(this, "saveButton");
|
|
6755
|
-
__publicField$1(this, "documentTypeSelect");
|
|
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");
|
|
@@ -6762,6 +6827,194 @@ class DocumentDetail {
|
|
|
6762
6827
|
}
|
|
6763
6828
|
}
|
|
6764
6829
|
|
|
6830
|
+
var __defProp$3 = Object.defineProperty;
|
|
6831
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6832
|
+
var __publicField$3 = (obj, key, value) => {
|
|
6833
|
+
__defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6834
|
+
return value;
|
|
6835
|
+
};
|
|
6836
|
+
class PromotionsListing {
|
|
6837
|
+
constructor(page, instanceMeta) {
|
|
6838
|
+
__publicField$3(this, "instanceMeta");
|
|
6839
|
+
__publicField$3(this, "page");
|
|
6840
|
+
// SmartBar
|
|
6841
|
+
__publicField$3(this, "smartBar");
|
|
6842
|
+
__publicField$3(this, "smartBarHeader");
|
|
6843
|
+
__publicField$3(this, "languageSelect");
|
|
6844
|
+
__publicField$3(this, "smartBarAddPromotionButton");
|
|
6845
|
+
// Empty state locators
|
|
6846
|
+
__publicField$3(this, "emptyState");
|
|
6847
|
+
__publicField$3(this, "emptyStateAddPromotionButton");
|
|
6848
|
+
// Promotions table locators
|
|
6849
|
+
__publicField$3(this, "promotionsTable");
|
|
6850
|
+
// Sidebar
|
|
6851
|
+
__publicField$3(this, "sidebarRefreshButton");
|
|
6852
|
+
this.page = page;
|
|
6853
|
+
this.instanceMeta = instanceMeta;
|
|
6854
|
+
this.smartBar = page.locator(".smart-bar__content");
|
|
6855
|
+
this.smartBarHeader = this.smartBar.locator(".smart-bar__header");
|
|
6856
|
+
this.languageSelect = this.smartBar.locator(".sw-entity-single-select__selection");
|
|
6857
|
+
this.smartBarAddPromotionButton = this.smartBar.getByRole("button", { name: "Add promotion" });
|
|
6858
|
+
this.emptyState = page.locator(".sw-promotion-v2-empty-state-hero");
|
|
6859
|
+
this.emptyStateAddPromotionButton = this.emptyState.getByRole("button", { name: "Add promotion" });
|
|
6860
|
+
this.promotionsTable = page.locator(".sw-data-grid__table");
|
|
6861
|
+
this.sidebarRefreshButton = page.getByTitle("Refresh");
|
|
6862
|
+
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6863
|
+
this.smartBarAddPromotionButton = this.smartBar.getByRole("link", { name: "Add promotion" });
|
|
6864
|
+
this.emptyStateAddPromotionButton = this.emptyState.getByRole("link", { name: "Add promotion" });
|
|
6865
|
+
}
|
|
6866
|
+
}
|
|
6867
|
+
/**
|
|
6868
|
+
* Returns the url to the listing page.
|
|
6869
|
+
*
|
|
6870
|
+
* @param searchTerms - Includes search terms for filtering of the promotions list.
|
|
6871
|
+
*/
|
|
6872
|
+
url(searchTerms = []) {
|
|
6873
|
+
let url = "#/sw/promotion/v2/index";
|
|
6874
|
+
if (searchTerms.length > 0) {
|
|
6875
|
+
let tempTerm = "";
|
|
6876
|
+
for (const searchTerm of searchTerms) {
|
|
6877
|
+
if (tempTerm != "") {
|
|
6878
|
+
tempTerm += "+";
|
|
6879
|
+
}
|
|
6880
|
+
tempTerm += searchTerm;
|
|
6881
|
+
}
|
|
6882
|
+
url += `?limit=25&page=1&term=${tempTerm}`;
|
|
6883
|
+
}
|
|
6884
|
+
return url;
|
|
6885
|
+
}
|
|
6886
|
+
/**
|
|
6887
|
+
* Returns the table row containing the promotion with the given promotion name.
|
|
6888
|
+
*
|
|
6889
|
+
* @param promotionName - Promotion name you are looking for.
|
|
6890
|
+
*/
|
|
6891
|
+
async getPromotionRow(promotionName) {
|
|
6892
|
+
const promotionTableRow = this.promotionsTable.locator(".sw-data-grid__row", { hasText: promotionName });
|
|
6893
|
+
const selectionCheckbox = promotionTableRow.getByRole("checkbox");
|
|
6894
|
+
const promotionNameCell = promotionTableRow.locator(".sw-data-grid__cell--name");
|
|
6895
|
+
const promotionValidFrom = promotionTableRow.locator(".sw-data-grid__cell--validFrom");
|
|
6896
|
+
const promotionValidUntil = promotionTableRow.locator(".sw-data-grid__cell--validUntil");
|
|
6897
|
+
const promotionActive = promotionTableRow.locator(".is--active");
|
|
6898
|
+
const promotionInactive = promotionTableRow.locator(".is--inactive");
|
|
6899
|
+
const promotionContextButton = promotionTableRow.locator(".sw-context-button");
|
|
6900
|
+
const promotionContextMenu = ".sw-context-menu";
|
|
6901
|
+
const promotionContextMenuEdit = this.page.locator(promotionContextMenu).getByRole("link", { name: "Edit" });
|
|
6902
|
+
let promotionContextMenuDuplicate = this.page.locator(promotionContextMenu).getByRole("button", { name: "Duplicate" });
|
|
6903
|
+
let promotionContextMenuDelete = this.page.locator(promotionContextMenu).getByRole("button", { name: "Delete" });
|
|
6904
|
+
if (satisfies(this.instanceMeta.version, "<6.7")) {
|
|
6905
|
+
promotionContextMenuDuplicate = this.page.locator(promotionContextMenu).locator(".sw-context-menu-item", { hasText: "Duplicate" });
|
|
6906
|
+
promotionContextMenuDelete = this.page.locator(promotionContextMenu).locator(".sw-context-menu-item", { hasText: "Delete" });
|
|
6907
|
+
}
|
|
6908
|
+
return {
|
|
6909
|
+
selectionCheckbox,
|
|
6910
|
+
promotionName: promotionNameCell,
|
|
6911
|
+
promotionActive,
|
|
6912
|
+
promotionInactive,
|
|
6913
|
+
promotionValidFrom,
|
|
6914
|
+
promotionValidUntil,
|
|
6915
|
+
promotionContextButton,
|
|
6916
|
+
promotionContextMenuEditButton: promotionContextMenuEdit,
|
|
6917
|
+
promotionContextMenuDuplicateButton: promotionContextMenuDuplicate,
|
|
6918
|
+
promotionContextMenuDeleteButton: promotionContextMenuDelete
|
|
6919
|
+
};
|
|
6920
|
+
}
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6923
|
+
var __defProp$2 = Object.defineProperty;
|
|
6924
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6925
|
+
var __publicField$2 = (obj, key, value) => {
|
|
6926
|
+
__defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6927
|
+
return value;
|
|
6928
|
+
};
|
|
6929
|
+
class PromotionCreate {
|
|
6930
|
+
constructor(page, instanceMeta) {
|
|
6931
|
+
__publicField$2(this, "page");
|
|
6932
|
+
__publicField$2(this, "instanceMeta");
|
|
6933
|
+
// SmartBar
|
|
6934
|
+
__publicField$2(this, "smartBar");
|
|
6935
|
+
__publicField$2(this, "smartBarHeader");
|
|
6936
|
+
__publicField$2(this, "languageSelect");
|
|
6937
|
+
__publicField$2(this, "saveButton");
|
|
6938
|
+
__publicField$2(this, "cancelButton");
|
|
6939
|
+
// General
|
|
6940
|
+
__publicField$2(this, "generalCard");
|
|
6941
|
+
__publicField$2(this, "nameInput");
|
|
6942
|
+
__publicField$2(this, "priorityInput");
|
|
6943
|
+
this.page = page;
|
|
6944
|
+
this.instanceMeta = instanceMeta;
|
|
6945
|
+
this.smartBar = page.locator(".smart-bar__content");
|
|
6946
|
+
this.smartBarHeader = this.smartBar.locator(".smart-bar__header");
|
|
6947
|
+
this.languageSelect = this.smartBar.locator(".sw-entity-single-select__selection");
|
|
6948
|
+
this.saveButton = this.smartBar.getByRole("button", { name: "Save" });
|
|
6949
|
+
this.cancelButton = this.smartBar.getByRole("button", { name: "Cancel" });
|
|
6950
|
+
this.generalCard = page.locator(".sw-promotion-v2-detail-base__card-general");
|
|
6951
|
+
this.nameInput = this.generalCard.locator(".sw-promotion-v2-detail-base__field-name").getByRole("textbox");
|
|
6952
|
+
this.priorityInput = this.generalCard.getByLabel("Priority");
|
|
6953
|
+
}
|
|
6954
|
+
/**
|
|
6955
|
+
* Returns the url to the creation page.
|
|
6956
|
+
*/
|
|
6957
|
+
url() {
|
|
6958
|
+
return "#/sw/promotion/v2/create/base";
|
|
6959
|
+
}
|
|
6960
|
+
}
|
|
6961
|
+
|
|
6962
|
+
var __defProp$1 = Object.defineProperty;
|
|
6963
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6964
|
+
var __publicField$1 = (obj, key, value) => {
|
|
6965
|
+
__defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6966
|
+
return value;
|
|
6967
|
+
};
|
|
6968
|
+
class PromotionDetail extends PromotionCreate {
|
|
6969
|
+
constructor(page, instanceMeta) {
|
|
6970
|
+
super(page, instanceMeta);
|
|
6971
|
+
__publicField$1(this, "page");
|
|
6972
|
+
__publicField$1(this, "instanceMeta");
|
|
6973
|
+
// Tabs
|
|
6974
|
+
__publicField$1(this, "tabGeneralLink");
|
|
6975
|
+
__publicField$1(this, "tabConditionsLink");
|
|
6976
|
+
__publicField$1(this, "tabDiscountsLink");
|
|
6977
|
+
// General Tab
|
|
6978
|
+
__publicField$1(this, "promotionCodesCard");
|
|
6979
|
+
__publicField$1(this, "promotionCodesHeading");
|
|
6980
|
+
__publicField$1(this, "promotionCodesSelection");
|
|
6981
|
+
// Conditions Tab
|
|
6982
|
+
__publicField$1(this, "preConditionsCard");
|
|
6983
|
+
// Discounts Tab
|
|
6984
|
+
__publicField$1(this, "addDiscountButton");
|
|
6985
|
+
__publicField$1(this, "discountCards");
|
|
6986
|
+
this.page = page;
|
|
6987
|
+
this.instanceMeta = instanceMeta;
|
|
6988
|
+
this.tabGeneralLink = page.getByRole("tab", { name: "General" });
|
|
6989
|
+
this.tabConditionsLink = page.getByRole("tab", { name: "Conditions" });
|
|
6990
|
+
this.tabDiscountsLink = page.getByRole("tab", { name: "Discounts" });
|
|
6991
|
+
this.promotionCodesCard = page.locator(".sw-promotion-v2-detail-base__card-codes");
|
|
6992
|
+
this.promotionCodesHeading = this.promotionCodesCard.getByRole("heading", { name: "Promotion codes" });
|
|
6993
|
+
this.promotionCodesSelection = this.promotionCodesCard.locator(".mt-select__selection");
|
|
6994
|
+
this.preConditionsCard = page.locator(".mt-card__wrapper", { hasText: "Pre-conditions" });
|
|
6995
|
+
this.addDiscountButton = page.getByRole("button", { name: "Add discount" });
|
|
6996
|
+
this.discountCards = page.locator(".sw-promotion-detail-discounts__discount-list");
|
|
6997
|
+
if (satisfies(instanceMeta.version, "<6.7")) {
|
|
6998
|
+
this.promotionCodesHeading = this.promotionCodesCard.locator(".sw-card__title");
|
|
6999
|
+
this.promotionCodesSelection = this.promotionCodesCard.getByRole("combobox");
|
|
7000
|
+
this.preConditionsCard = page.locator(".sw-card-wrapper", { hasText: "Pre-conditions" });
|
|
7001
|
+
}
|
|
7002
|
+
}
|
|
7003
|
+
/**
|
|
7004
|
+
* Returns the url to the detail page.
|
|
7005
|
+
*
|
|
7006
|
+
* @param promotionId - Id of the promotion to show the details of.
|
|
7007
|
+
* @param tab - The tab to open. Defaults to 'general'. Other options are 'conditions' and 'discounts'.
|
|
7008
|
+
*/
|
|
7009
|
+
url(promotionId, tab = "general") {
|
|
7010
|
+
let tabString = "base";
|
|
7011
|
+
if (tab != "general") {
|
|
7012
|
+
tabString = tab;
|
|
7013
|
+
}
|
|
7014
|
+
return `#/sw/promotion/v2/detail/${promotionId}/${tabString}`;
|
|
7015
|
+
}
|
|
7016
|
+
}
|
|
7017
|
+
|
|
6765
7018
|
const AdminPageObjects = {
|
|
6766
7019
|
ProductDetail,
|
|
6767
7020
|
OrderDetail,
|
|
@@ -6798,9 +7051,12 @@ const AdminPageObjects = {
|
|
|
6798
7051
|
CustomerBulkEdit,
|
|
6799
7052
|
SettingsListing,
|
|
6800
7053
|
DocumentListing,
|
|
6801
|
-
DocumentDetail
|
|
7054
|
+
DocumentDetail,
|
|
7055
|
+
PromotionsListing,
|
|
7056
|
+
PromotionCreate,
|
|
7057
|
+
PromotionDetail
|
|
6802
7058
|
};
|
|
6803
|
-
const test$6 = test$
|
|
7059
|
+
const test$6 = test$e.extend({
|
|
6804
7060
|
AdminProductDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
6805
7061
|
await use(new ProductDetail(AdminPage, InstanceMeta));
|
|
6806
7062
|
},
|
|
@@ -6908,10 +7164,19 @@ const test$6 = test$f.extend({
|
|
|
6908
7164
|
},
|
|
6909
7165
|
AdminDocumentDetail: async ({ AdminPage }, use) => {
|
|
6910
7166
|
await use(new DocumentDetail(AdminPage));
|
|
7167
|
+
},
|
|
7168
|
+
AdminPromotionsListing: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7169
|
+
await use(new PromotionsListing(AdminPage, InstanceMeta));
|
|
7170
|
+
},
|
|
7171
|
+
AdminPromotionCreate: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7172
|
+
await use(new PromotionCreate(AdminPage, InstanceMeta));
|
|
7173
|
+
},
|
|
7174
|
+
AdminPromotionDetail: async ({ AdminPage, InstanceMeta }, use) => {
|
|
7175
|
+
await use(new PromotionDetail(AdminPage, InstanceMeta));
|
|
6911
7176
|
}
|
|
6912
7177
|
});
|
|
6913
7178
|
|
|
6914
|
-
const ProductData = test$
|
|
7179
|
+
const ProductData = test$e.extend({
|
|
6915
7180
|
ProductData: async ({ IdProvider, SalesChannelBaseConfig, AdminApiContext, DefaultSalesChannel }, use) => {
|
|
6916
7181
|
const { id: productId, uuid: productUuid } = IdProvider.getIdPair();
|
|
6917
7182
|
const productName = `Product_test_${productId}`;
|
|
@@ -6960,7 +7225,7 @@ const ProductData = test$f.extend({
|
|
|
6960
7225
|
}
|
|
6961
7226
|
});
|
|
6962
7227
|
|
|
6963
|
-
const CategoryData = test$
|
|
7228
|
+
const CategoryData = test$e.extend({
|
|
6964
7229
|
CategoryData: async ({ IdProvider, AdminApiContext, DefaultSalesChannel, ProductData }, use) => {
|
|
6965
7230
|
const { id: categoryId, uuid: categoryUuid } = IdProvider.getIdPair();
|
|
6966
7231
|
const categoryName = `Category-${categoryId}`;
|
|
@@ -6987,7 +7252,7 @@ const CategoryData = test$f.extend({
|
|
|
6987
7252
|
}
|
|
6988
7253
|
});
|
|
6989
7254
|
|
|
6990
|
-
const DigitalProductData = test$
|
|
7255
|
+
const DigitalProductData = test$e.extend({
|
|
6991
7256
|
DigitalProductData: async ({ ProductData, IdProvider, AdminApiContext }, use) => {
|
|
6992
7257
|
const newMediaResource = await AdminApiContext.post("./media?_response", {
|
|
6993
7258
|
data: {
|
|
@@ -7042,7 +7307,7 @@ const DigitalProductData = test$f.extend({
|
|
|
7042
7307
|
}
|
|
7043
7308
|
});
|
|
7044
7309
|
|
|
7045
|
-
const PropertiesData = test$
|
|
7310
|
+
const PropertiesData = test$e.extend({
|
|
7046
7311
|
PropertiesData: async ({ AdminApiContext }, use) => {
|
|
7047
7312
|
const propertyGroupColorResponse = await AdminApiContext.post("property-group?_response=1", {
|
|
7048
7313
|
data: {
|
|
@@ -7092,7 +7357,7 @@ const PropertiesData = test$f.extend({
|
|
|
7092
7357
|
}
|
|
7093
7358
|
});
|
|
7094
7359
|
|
|
7095
|
-
const CartWithProductData = test$
|
|
7360
|
+
const CartWithProductData = test$e.extend({
|
|
7096
7361
|
CartWithProductData: async ({ StoreApiContext, DefaultSalesChannel, ProductData }, use) => {
|
|
7097
7362
|
await StoreApiContext.login(DefaultSalesChannel.customer);
|
|
7098
7363
|
const cartResponse = await StoreApiContext.post("checkout/cart", {
|
|
@@ -7118,7 +7383,7 @@ const CartWithProductData = test$f.extend({
|
|
|
7118
7383
|
}
|
|
7119
7384
|
});
|
|
7120
7385
|
|
|
7121
|
-
const PromotionWithCodeData = test$
|
|
7386
|
+
const PromotionWithCodeData = test$e.extend({
|
|
7122
7387
|
PromotionWithCodeData: async ({ AdminApiContext, DefaultSalesChannel, IdProvider }, use) => {
|
|
7123
7388
|
const promotionCode = `${IdProvider.getIdPair().id}`;
|
|
7124
7389
|
const promotionName = `Test Promotion ${promotionCode}`;
|
|
@@ -7160,7 +7425,7 @@ const PromotionWithCodeData = test$f.extend({
|
|
|
7160
7425
|
}
|
|
7161
7426
|
});
|
|
7162
7427
|
|
|
7163
|
-
const MediaData = test$
|
|
7428
|
+
const MediaData = test$e.extend({
|
|
7164
7429
|
MediaData: async ({ AdminApiContext, IdProvider }, use) => {
|
|
7165
7430
|
const imageId = IdProvider.getIdPair().id;
|
|
7166
7431
|
const imageFilePath = `./tmp/image-${imageId}.png`;
|
|
@@ -7207,7 +7472,7 @@ const MediaData = test$f.extend({
|
|
|
7207
7472
|
}
|
|
7208
7473
|
});
|
|
7209
7474
|
|
|
7210
|
-
const OrderData = test$
|
|
7475
|
+
const OrderData = test$e.extend({
|
|
7211
7476
|
OrderData: async ({ IdProvider, AdminApiContext, SalesChannelBaseConfig, DefaultSalesChannel, ProductData }, use) => {
|
|
7212
7477
|
const requests = {
|
|
7213
7478
|
currencyEUR: getCurrency("EUR", AdminApiContext),
|
|
@@ -7424,7 +7689,7 @@ const OrderData = test$f.extend({
|
|
|
7424
7689
|
}
|
|
7425
7690
|
});
|
|
7426
7691
|
|
|
7427
|
-
const TagData = test$
|
|
7692
|
+
const TagData = test$e.extend({
|
|
7428
7693
|
TagData: async ({ IdProvider, AdminApiContext }, use) => {
|
|
7429
7694
|
const tagUUID = IdProvider.getIdPair().uuid;
|
|
7430
7695
|
const tagId = IdProvider.getIdPair().id;
|
|
@@ -7455,7 +7720,7 @@ const test$5 = mergeTests(
|
|
|
7455
7720
|
TagData
|
|
7456
7721
|
);
|
|
7457
7722
|
|
|
7458
|
-
const SaveProduct = test$
|
|
7723
|
+
const SaveProduct = test$e.extend({
|
|
7459
7724
|
SaveProduct: async ({ ShopAdmin, AdminProductDetail }, use) => {
|
|
7460
7725
|
const task = () => {
|
|
7461
7726
|
return async function SaveProduct2() {
|
|
@@ -7473,7 +7738,7 @@ const SaveProduct = test$f.extend({
|
|
|
7473
7738
|
}
|
|
7474
7739
|
});
|
|
7475
7740
|
|
|
7476
|
-
const ExpectNotification = test$
|
|
7741
|
+
const ExpectNotification = test$e.extend({
|
|
7477
7742
|
ExpectNotification: async ({ ShopAdmin, InstanceMeta }, use) => {
|
|
7478
7743
|
const task = (message, close = true) => {
|
|
7479
7744
|
return async function ExpectNotification2() {
|
|
@@ -7498,7 +7763,7 @@ const ExpectNotification = test$f.extend({
|
|
|
7498
7763
|
}
|
|
7499
7764
|
});
|
|
7500
7765
|
|
|
7501
|
-
const CreateLinkTypeCategory = test$
|
|
7766
|
+
const CreateLinkTypeCategory = test$e.extend({
|
|
7502
7767
|
CreateLinkTypeCategory: async ({ AdminCategories, AdminCategoryDetail, TestDataService }, use) => {
|
|
7503
7768
|
const task = (categoryData, categoryCustomizableLinkData, parentCategoryName) => {
|
|
7504
7769
|
return async function CreateLinkTypeCategory2() {
|
|
@@ -7552,7 +7817,7 @@ const CreateLinkTypeCategory = test$f.extend({
|
|
|
7552
7817
|
}
|
|
7553
7818
|
});
|
|
7554
7819
|
|
|
7555
|
-
const BulkEditProducts = test$
|
|
7820
|
+
const BulkEditProducts = test$e.extend({
|
|
7556
7821
|
BulkEditProducts: async ({ AdminProductBulkEdit, AdminProductListing }, use) => {
|
|
7557
7822
|
const task = (products, changes) => {
|
|
7558
7823
|
return async function BulkEditProducts2() {
|
|
@@ -7651,7 +7916,7 @@ const BulkEditProducts = test$f.extend({
|
|
|
7651
7916
|
}
|
|
7652
7917
|
});
|
|
7653
7918
|
|
|
7654
|
-
const BulkEditCustomers = test$
|
|
7919
|
+
const BulkEditCustomers = test$e.extend({
|
|
7655
7920
|
BulkEditCustomers: async ({ ShopAdmin, AdminCustomerListing, AdminCustomerBulkEdit }, use) => {
|
|
7656
7921
|
const task = (customers, accountData, tagData, customFieldData) => {
|
|
7657
7922
|
return async function BulkEditCustomers2() {
|
|
@@ -7720,17 +7985,16 @@ const BulkEditCustomers = test$f.extend({
|
|
|
7720
7985
|
}
|
|
7721
7986
|
});
|
|
7722
7987
|
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
const AssignEntitiesToRule = test$f.extend({
|
|
7988
|
+
const RuleType = {
|
|
7989
|
+
shippingAvailability: "shippingMethodAvailabilityRule",
|
|
7990
|
+
taxAvailability: "taxProviderAvailabilityRule",
|
|
7991
|
+
paymentAvailability: "paymentMethodAvailabilityRule",
|
|
7992
|
+
promotionOrder: "promotionOrderRule",
|
|
7993
|
+
promotionCustomer: "promotionCustomerRule",
|
|
7994
|
+
promotionCart: "promotionCartRule"
|
|
7995
|
+
};
|
|
7996
|
+
|
|
7997
|
+
const AssignEntitiesToRule = test$e.extend({
|
|
7734
7998
|
AssignEntitiesToRule: async ({ AdminRuleDetail }, use) => {
|
|
7735
7999
|
const task = (assignableEntities) => {
|
|
7736
8000
|
return async function AssignEntitiesToRule2() {
|
|
@@ -7771,7 +8035,7 @@ const AssignEntitiesToRule = test$f.extend({
|
|
|
7771
8035
|
}
|
|
7772
8036
|
});
|
|
7773
8037
|
|
|
7774
|
-
const CreateFlow = test$
|
|
8038
|
+
const CreateFlow = test$e.extend({
|
|
7775
8039
|
CreateFlow: async ({ AdminFlowBuilderCreate, AdminFlowBuilderDetail, AdminFlowBuilderListing, ShopAdmin, TestDataService }, use) => {
|
|
7776
8040
|
const task = (flowConfig) => {
|
|
7777
8041
|
return async function createFlow() {
|
|
@@ -7822,7 +8086,7 @@ const CreateFlow = test$f.extend({
|
|
|
7822
8086
|
}
|
|
7823
8087
|
});
|
|
7824
8088
|
|
|
7825
|
-
const LoginViaReviewsTab = test$
|
|
8089
|
+
const LoginViaReviewsTab = test$e.extend({
|
|
7826
8090
|
LoginViaReviewsTab: async ({ ShopCustomer, DefaultSalesChannel, StorefrontProductDetail }, use) => {
|
|
7827
8091
|
const task = (product, customCustomer) => {
|
|
7828
8092
|
return async function LoginViaReviewsTab2() {
|
|
@@ -7851,7 +8115,7 @@ const test$4 = mergeTests(
|
|
|
7851
8115
|
LoginViaReviewsTab
|
|
7852
8116
|
);
|
|
7853
8117
|
|
|
7854
|
-
const Login = test$
|
|
8118
|
+
const Login = test$e.extend({
|
|
7855
8119
|
Login: async ({ ShopCustomer, DefaultSalesChannel, StorefrontAccountLogin, StorefrontAccount }, use) => {
|
|
7856
8120
|
const task = (customCustomer) => {
|
|
7857
8121
|
return async function Login2() {
|
|
@@ -7867,7 +8131,7 @@ const Login = test$f.extend({
|
|
|
7867
8131
|
}
|
|
7868
8132
|
});
|
|
7869
8133
|
|
|
7870
|
-
const Logout = test$
|
|
8134
|
+
const Logout = test$e.extend({
|
|
7871
8135
|
Logout: async ({ ShopCustomer, StorefrontAccountLogin }, use) => {
|
|
7872
8136
|
const task = () => {
|
|
7873
8137
|
return async function Logout2() {
|
|
@@ -7881,7 +8145,7 @@ const Logout = test$f.extend({
|
|
|
7881
8145
|
}
|
|
7882
8146
|
});
|
|
7883
8147
|
|
|
7884
|
-
const Register = test$
|
|
8148
|
+
const Register = test$e.extend({
|
|
7885
8149
|
Register: async ({ StorefrontAccountLogin, IdProvider, TestDataService }, use) => {
|
|
7886
8150
|
let registeredEmail = "";
|
|
7887
8151
|
const defaultRegistrationData = {
|
|
@@ -7931,7 +8195,7 @@ const Register = test$f.extend({
|
|
|
7931
8195
|
}
|
|
7932
8196
|
});
|
|
7933
8197
|
|
|
7934
|
-
const RegisterGuest = test$
|
|
8198
|
+
const RegisterGuest = test$e.extend({
|
|
7935
8199
|
RegisterGuest: async ({ StorefrontAccountLogin, AdminApiContext }, use) => {
|
|
7936
8200
|
const registrationData = {
|
|
7937
8201
|
firstName: "Jeff",
|
|
@@ -7979,7 +8243,7 @@ const RegisterGuest = test$f.extend({
|
|
|
7979
8243
|
}
|
|
7980
8244
|
});
|
|
7981
8245
|
|
|
7982
|
-
const ChangeStorefrontCurrency = test$
|
|
8246
|
+
const ChangeStorefrontCurrency = test$e.extend({
|
|
7983
8247
|
ChangeStorefrontCurrency: async ({ StorefrontHome }, use) => {
|
|
7984
8248
|
const task = (isoCode) => {
|
|
7985
8249
|
return async function ChangeStorefrontCurrency2() {
|
|
@@ -7991,7 +8255,7 @@ const ChangeStorefrontCurrency = test$f.extend({
|
|
|
7991
8255
|
}
|
|
7992
8256
|
});
|
|
7993
8257
|
|
|
7994
|
-
const AddNewAddress = test$
|
|
8258
|
+
const AddNewAddress = test$e.extend({
|
|
7995
8259
|
AddNewAddress: async ({ StorefrontAccountAddresses, StorefrontAccountAddressCreate }, use) => {
|
|
7996
8260
|
const task = (address) => {
|
|
7997
8261
|
return async function AddNewAddress2() {
|
|
@@ -8014,7 +8278,7 @@ const AddNewAddress = test$f.extend({
|
|
|
8014
8278
|
}
|
|
8015
8279
|
});
|
|
8016
8280
|
|
|
8017
|
-
const AddProductToCart = test$
|
|
8281
|
+
const AddProductToCart = test$e.extend({
|
|
8018
8282
|
AddProductToCart: async ({ ShopCustomer, StorefrontProductDetail }, use) => {
|
|
8019
8283
|
const task = (ProductData, quantity = "1") => {
|
|
8020
8284
|
return async function AddProductToCart2() {
|
|
@@ -8028,7 +8292,7 @@ const AddProductToCart = test$f.extend({
|
|
|
8028
8292
|
}
|
|
8029
8293
|
});
|
|
8030
8294
|
|
|
8031
|
-
const ProceedFromProductToCheckout = test$
|
|
8295
|
+
const ProceedFromProductToCheckout = test$e.extend({
|
|
8032
8296
|
ProceedFromProductToCheckout: async ({ ShopCustomer, StorefrontProductDetail, StorefrontCheckoutConfirm }, use) => {
|
|
8033
8297
|
const task = () => {
|
|
8034
8298
|
return async function ProceedFromProductToCheckout2() {
|
|
@@ -8040,7 +8304,7 @@ const ProceedFromProductToCheckout = test$f.extend({
|
|
|
8040
8304
|
}
|
|
8041
8305
|
});
|
|
8042
8306
|
|
|
8043
|
-
const ProceedFromCartToCheckout = test$
|
|
8307
|
+
const ProceedFromCartToCheckout = test$e.extend({
|
|
8044
8308
|
ProceedFromCartToCheckout: async ({
|
|
8045
8309
|
ShopCustomer,
|
|
8046
8310
|
StorefrontCheckoutCart,
|
|
@@ -8056,7 +8320,7 @@ const ProceedFromCartToCheckout = test$f.extend({
|
|
|
8056
8320
|
}
|
|
8057
8321
|
});
|
|
8058
8322
|
|
|
8059
|
-
const ChangeProductQuantity = test$
|
|
8323
|
+
const ChangeProductQuantity = test$e.extend({
|
|
8060
8324
|
ChangeProductQuantity: async ({
|
|
8061
8325
|
ShopCustomer,
|
|
8062
8326
|
StorefrontCheckoutCart
|
|
@@ -8072,7 +8336,7 @@ const ChangeProductQuantity = test$f.extend({
|
|
|
8072
8336
|
}
|
|
8073
8337
|
});
|
|
8074
8338
|
|
|
8075
|
-
const ConfirmTermsAndConditions = test$
|
|
8339
|
+
const ConfirmTermsAndConditions = test$e.extend({
|
|
8076
8340
|
ConfirmTermsAndConditions: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8077
8341
|
const task = () => {
|
|
8078
8342
|
return async function ConfirmTermsAndConditions2() {
|
|
@@ -8084,7 +8348,7 @@ const ConfirmTermsAndConditions = test$f.extend({
|
|
|
8084
8348
|
}
|
|
8085
8349
|
});
|
|
8086
8350
|
|
|
8087
|
-
const SelectCashOnDeliveryPaymentOption = test$
|
|
8351
|
+
const SelectCashOnDeliveryPaymentOption = test$e.extend({
|
|
8088
8352
|
SelectCashOnDeliveryPaymentOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8089
8353
|
const task = () => {
|
|
8090
8354
|
return async function SelectCashOnDeliveryPaymentOption2() {
|
|
@@ -8096,7 +8360,7 @@ const SelectCashOnDeliveryPaymentOption = test$f.extend({
|
|
|
8096
8360
|
}
|
|
8097
8361
|
});
|
|
8098
8362
|
|
|
8099
|
-
const SelectInvoicePaymentOption = test$
|
|
8363
|
+
const SelectInvoicePaymentOption = test$e.extend({
|
|
8100
8364
|
SelectInvoicePaymentOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8101
8365
|
const task = () => {
|
|
8102
8366
|
return async function SelectInvoicePaymentOption2() {
|
|
@@ -8108,7 +8372,7 @@ const SelectInvoicePaymentOption = test$f.extend({
|
|
|
8108
8372
|
}
|
|
8109
8373
|
});
|
|
8110
8374
|
|
|
8111
|
-
const SelectPaidInAdvancePaymentOption = test$
|
|
8375
|
+
const SelectPaidInAdvancePaymentOption = test$e.extend({
|
|
8112
8376
|
SelectPaidInAdvancePaymentOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8113
8377
|
const task = () => {
|
|
8114
8378
|
return async function SelectPaidInAdvancePaymentOption2() {
|
|
@@ -8120,7 +8384,7 @@ const SelectPaidInAdvancePaymentOption = test$f.extend({
|
|
|
8120
8384
|
}
|
|
8121
8385
|
});
|
|
8122
8386
|
|
|
8123
|
-
const SelectStandardShippingOption = test$
|
|
8387
|
+
const SelectStandardShippingOption = test$e.extend({
|
|
8124
8388
|
SelectStandardShippingOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8125
8389
|
const task = () => {
|
|
8126
8390
|
return async function SelectStandardShippingOption2() {
|
|
@@ -8132,7 +8396,7 @@ const SelectStandardShippingOption = test$f.extend({
|
|
|
8132
8396
|
}
|
|
8133
8397
|
});
|
|
8134
8398
|
|
|
8135
|
-
const SelectExpressShippingOption = test$
|
|
8399
|
+
const SelectExpressShippingOption = test$e.extend({
|
|
8136
8400
|
SelectExpressShippingOption: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
|
|
8137
8401
|
const task = () => {
|
|
8138
8402
|
return async function SelectExpressShippingOption2() {
|
|
@@ -8144,7 +8408,7 @@ const SelectExpressShippingOption = test$f.extend({
|
|
|
8144
8408
|
}
|
|
8145
8409
|
});
|
|
8146
8410
|
|
|
8147
|
-
const SubmitOrder = test$
|
|
8411
|
+
const SubmitOrder = test$e.extend({
|
|
8148
8412
|
SubmitOrder: async ({ ShopCustomer, StorefrontCheckoutConfirm, StorefrontCheckoutFinish }, use) => {
|
|
8149
8413
|
const task = () => {
|
|
8150
8414
|
return async function SubmitOrder2() {
|
|
@@ -8156,7 +8420,7 @@ const SubmitOrder = test$f.extend({
|
|
|
8156
8420
|
}
|
|
8157
8421
|
});
|
|
8158
8422
|
|
|
8159
|
-
const OpenSearchResultPage = test$
|
|
8423
|
+
const OpenSearchResultPage = test$e.extend({
|
|
8160
8424
|
OpenSearchResultPage: async ({ StorefrontSearch }, use) => {
|
|
8161
8425
|
const task = (searchTerm) => {
|
|
8162
8426
|
return async function OpenSearchResultPage2() {
|
|
@@ -8168,7 +8432,7 @@ const OpenSearchResultPage = test$f.extend({
|
|
|
8168
8432
|
}
|
|
8169
8433
|
});
|
|
8170
8434
|
|
|
8171
|
-
const OpenSearchSuggestPage = test$
|
|
8435
|
+
const OpenSearchSuggestPage = test$e.extend({
|
|
8172
8436
|
OpenSearchSuggestPage: async ({ StorefrontSearchSuggest }, use) => {
|
|
8173
8437
|
const task = (searchTerm) => {
|
|
8174
8438
|
return async function OpenSearchSuggestPage2() {
|
|
@@ -8180,7 +8444,7 @@ const OpenSearchSuggestPage = test$f.extend({
|
|
|
8180
8444
|
}
|
|
8181
8445
|
});
|
|
8182
8446
|
|
|
8183
|
-
const SearchForTerm = test$
|
|
8447
|
+
const SearchForTerm = test$e.extend({
|
|
8184
8448
|
SearchForTerm: async ({ StorefrontSearchSuggest }, use) => {
|
|
8185
8449
|
const task = (searchTerm) => {
|
|
8186
8450
|
return async function SearchForTerm2() {
|
|
@@ -8193,7 +8457,7 @@ const SearchForTerm = test$f.extend({
|
|
|
8193
8457
|
}
|
|
8194
8458
|
});
|
|
8195
8459
|
|
|
8196
|
-
const ValidateAccessibility = test$
|
|
8460
|
+
const ValidateAccessibility = test$e.extend({
|
|
8197
8461
|
ValidateAccessibility: async ({ ShopCustomer }, use) => {
|
|
8198
8462
|
const task = (pageName, assertViolations = true, createReport = true, ruleTags = ["wcag2a", "wcag2aa", "wcag2aaa", "wcag21a", "wcag21aa", "best-practice"], outputDir = "test-results/AccessibilityReports") => {
|
|
8199
8463
|
return async function ValidateAccessibility2() {
|
|
@@ -8222,7 +8486,7 @@ const ValidateAccessibility = test$f.extend({
|
|
|
8222
8486
|
}
|
|
8223
8487
|
});
|
|
8224
8488
|
|
|
8225
|
-
const AddProductToCartFromWishlist = test$
|
|
8489
|
+
const AddProductToCartFromWishlist = test$e.extend({
|
|
8226
8490
|
AddProductToCartFromWishlist: async ({ ShopCustomer, StorefrontWishlist, StorefrontOffCanvasCart }, use) => {
|
|
8227
8491
|
const task = (ProductData) => {
|
|
8228
8492
|
return async function AddProductToCartFromWishlist2() {
|
|
@@ -8239,7 +8503,7 @@ const AddProductToCartFromWishlist = test$f.extend({
|
|
|
8239
8503
|
await use(task);
|
|
8240
8504
|
}
|
|
8241
8505
|
});
|
|
8242
|
-
const RemoveProductFromWishlist = test$
|
|
8506
|
+
const RemoveProductFromWishlist = test$e.extend({
|
|
8243
8507
|
RemoveProductFromWishlist: async ({ StorefrontHome, StorefrontWishlist }, use) => {
|
|
8244
8508
|
const task = (ProductData) => {
|
|
8245
8509
|
return async function RemoveProductFromWishlist2() {
|
|
@@ -8251,7 +8515,7 @@ const RemoveProductFromWishlist = test$f.extend({
|
|
|
8251
8515
|
await use(task);
|
|
8252
8516
|
}
|
|
8253
8517
|
});
|
|
8254
|
-
const AddProductToWishlist = test$
|
|
8518
|
+
const AddProductToWishlist = test$e.extend({
|
|
8255
8519
|
AddProductToWishlist: async ({ StorefrontHome, ShopCustomer }, use) => {
|
|
8256
8520
|
const task = (ProductData) => {
|
|
8257
8521
|
return async function AddProductToWishlist2() {
|
|
@@ -8264,7 +8528,7 @@ const AddProductToWishlist = test$f.extend({
|
|
|
8264
8528
|
}
|
|
8265
8529
|
});
|
|
8266
8530
|
|
|
8267
|
-
const SelectProductFilterOption = test$
|
|
8531
|
+
const SelectProductFilterOption = test$e.extend({
|
|
8268
8532
|
SelectProductFilterOption: async ({ StorefrontHome }, use) => {
|
|
8269
8533
|
const task = (filterButton, optionName) => {
|
|
8270
8534
|
return async function SelectProductFilterOption2() {
|
|
@@ -8399,7 +8663,7 @@ class FeatureService {
|
|
|
8399
8663
|
}
|
|
8400
8664
|
}
|
|
8401
8665
|
|
|
8402
|
-
const test$2 = test$
|
|
8666
|
+
const test$2 = test$e.extend({
|
|
8403
8667
|
FeatureService: async ({ AdminApiContext }, use) => {
|
|
8404
8668
|
const service = new FeatureService(AdminApiContext);
|
|
8405
8669
|
await use(service);
|
|
@@ -8407,7 +8671,7 @@ const test$2 = test$f.extend({
|
|
|
8407
8671
|
}
|
|
8408
8672
|
});
|
|
8409
8673
|
|
|
8410
|
-
const test$1 = test$
|
|
8674
|
+
const test$1 = test$e.extend({
|
|
8411
8675
|
Country: [
|
|
8412
8676
|
async ({ AdminApiContext }, use) => {
|
|
8413
8677
|
const countryId = await getCountryId("de", AdminApiContext);
|