@shopware-ag/acceptance-test-suite 11.29.1 → 11.30.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.
Files changed (4) hide show
  1. package/dist/index.d.mts +1648 -1632
  2. package/dist/index.d.ts +1648 -1632
  3. package/dist/index.mjs +1234 -1647
  4. package/package.json +16 -14
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { test as test$e, expect, request, mergeTests } from '@playwright/test';
2
2
  export { expect, mergeTests } from '@playwright/test';
3
- import { Image } from 'image-js';
3
+ import { Image, encode } from 'image-js';
4
4
  import crypto from 'crypto';
5
5
  import { stringify } from 'uuid';
6
6
  import { satisfies } from 'compare-versions';
@@ -155,16 +155,18 @@ const test$d = test$e.extend({
155
155
  ]
156
156
  });
157
157
 
158
- var __defProp$19 = Object.defineProperty;
159
- var __defNormalProp$19 = (obj, key, value) => key in obj ? __defProp$19(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
160
- var __publicField$19 = (obj, key, value) => {
161
- __defNormalProp$19(obj, typeof key !== "symbol" ? key + "" : key, value);
162
- return value;
163
- };
164
- const _AdminApiContext = class _AdminApiContext {
158
+ class AdminApiContext {
159
+ context;
160
+ options;
161
+ static defaultOptions = {
162
+ app_url: process.env["ADMIN_API_URL"] || process.env["APP_URL"],
163
+ client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
164
+ client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
165
+ admin_username: process.env["SHOPWARE_ADMIN_USERNAME"] || "admin",
166
+ admin_password: process.env["SHOPWARE_ADMIN_PASSWORD"] || "shopware",
167
+ ignoreHTTPSErrors: true
168
+ };
165
169
  constructor(context, options) {
166
- __publicField$19(this, "context");
167
- __publicField$19(this, "options");
168
170
  this.context = context;
169
171
  this.options = options;
170
172
  }
@@ -187,7 +189,7 @@ const _AdminApiContext = class _AdminApiContext {
187
189
  contextOptions.client_secret = accessKeyData.secretAccessKey;
188
190
  }
189
191
  contextOptions["access_token"] = await this.authenticateWithClientCredentials(tmpContext, contextOptions);
190
- return new _AdminApiContext(await this.createApiRequestContext(contextOptions), contextOptions);
192
+ return new AdminApiContext(await this.createApiRequestContext(contextOptions), contextOptions);
191
193
  }
192
194
  static async createApiRequestContext(options) {
193
195
  const extraHTTPHeaders = {
@@ -238,8 +240,8 @@ const _AdminApiContext = class _AdminApiContext {
238
240
  return !!this.options["access_token"];
239
241
  }
240
242
  async refreshAccessToken() {
241
- this.options["access_token"] = await _AdminApiContext.authenticateWithClientCredentials(this.context, this.options);
242
- this.context = await _AdminApiContext.createApiRequestContext(this.options);
243
+ this.options["access_token"] = await AdminApiContext.authenticateWithClientCredentials(this.context, this.options);
244
+ this.context = await AdminApiContext.createApiRequestContext(this.options);
243
245
  }
244
246
  async get(url, options) {
245
247
  return this.handleRequest("get", url, options);
@@ -283,33 +285,22 @@ const _AdminApiContext = class _AdminApiContext {
283
285
  }
284
286
  return response;
285
287
  }
286
- };
287
- __publicField$19(_AdminApiContext, "defaultOptions", {
288
- app_url: process.env["ADMIN_API_URL"] || process.env["APP_URL"],
289
- client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
290
- client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
291
- admin_username: process.env["SHOPWARE_ADMIN_USERNAME"] || "admin",
292
- admin_password: process.env["SHOPWARE_ADMIN_PASSWORD"] || "shopware",
293
- ignoreHTTPSErrors: true
294
- });
295
- let AdminApiContext = _AdminApiContext;
288
+ }
296
289
 
297
- var __defProp$18 = Object.defineProperty;
298
- var __defNormalProp$18 = (obj, key, value) => key in obj ? __defProp$18(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
299
- var __publicField$18 = (obj, key, value) => {
300
- __defNormalProp$18(obj, typeof key !== "symbol" ? key + "" : key, value);
301
- return value;
302
- };
303
- const _StoreApiContext = class _StoreApiContext {
290
+ class StoreApiContext {
291
+ context;
292
+ options;
293
+ static defaultOptions = {
294
+ app_url: process.env["APP_URL"],
295
+ ignoreHTTPSErrors: true
296
+ };
304
297
  constructor(context, options) {
305
- __publicField$18(this, "context");
306
- __publicField$18(this, "options");
307
298
  this.context = context;
308
299
  this.options = options;
309
300
  }
310
301
  static async create(options) {
311
302
  const contextOptions = { ...this.defaultOptions, ...options };
312
- return new _StoreApiContext(await this.createContext(contextOptions), contextOptions);
303
+ return new StoreApiContext(await this.createContext(contextOptions), contextOptions);
313
304
  }
314
305
  static async createContext(options) {
315
306
  const extraHTTPHeaders = {
@@ -340,7 +331,7 @@ const _StoreApiContext = class _StoreApiContext {
340
331
  throw new Error(`Failed to login with user: ${user.email}`);
341
332
  }
342
333
  this.options["sw-context-token"] = responseHeaders["sw-context-token"];
343
- this.context = await _StoreApiContext.createContext(this.options);
334
+ this.context = await StoreApiContext.createContext(this.options);
344
335
  return responseHeaders;
345
336
  }
346
337
  async get(url, options) {
@@ -361,22 +352,11 @@ const _StoreApiContext = class _StoreApiContext {
361
352
  async head(url, options) {
362
353
  return this.context.head(url, options);
363
354
  }
364
- };
365
- __publicField$18(_StoreApiContext, "defaultOptions", {
366
- app_url: process.env["APP_URL"],
367
- ignoreHTTPSErrors: true
368
- });
369
- let StoreApiContext = _StoreApiContext;
355
+ }
370
356
 
371
- var __defProp$17 = Object.defineProperty;
372
- var __defNormalProp$17 = (obj, key, value) => key in obj ? __defProp$17(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
373
- var __publicField$17 = (obj, key, value) => {
374
- __defNormalProp$17(obj, typeof key !== "symbol" ? key + "" : key, value);
375
- return value;
376
- };
377
357
  class MailpitApiContext {
358
+ context;
378
359
  constructor(context) {
379
- __publicField$17(this, "context");
380
360
  this.context = context;
381
361
  }
382
362
  /**
@@ -484,6 +464,7 @@ class MailpitApiContext {
484
464
 
485
465
  const test$c = test$e.extend({
486
466
  AdminApiContext: [
467
+ // eslint-disable-next-line no-empty-pattern
487
468
  async ({}, use) => {
488
469
  const adminApiContext = await AdminApiContext.create();
489
470
  await use(adminApiContext);
@@ -503,6 +484,7 @@ const test$c = test$e.extend({
503
484
  { scope: "worker" }
504
485
  ],
505
486
  MailpitApiContext: [
487
+ // eslint-disable-next-line no-empty-pattern
506
488
  async ({}, use) => {
507
489
  const mailpitApiContext = await MailpitApiContext.create(process.env["MAILPIT_BASE_URL"]);
508
490
  await use(mailpitApiContext);
@@ -680,22 +662,16 @@ const test$b = test$e.extend({
680
662
  }
681
663
  });
682
664
 
683
- var __defProp$16 = Object.defineProperty;
684
- var __defNormalProp$16 = (obj, key, value) => key in obj ? __defProp$16(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
685
- var __publicField$16 = (obj, key, value) => {
686
- __defNormalProp$16(obj, typeof key !== "symbol" ? key + "" : key, value);
687
- return value;
688
- };
689
665
  class Actor {
666
+ page;
667
+ name;
668
+ baseURL;
690
669
  constructor(name, page, baseURL) {
691
- __publicField$16(this, "page");
692
- __publicField$16(this, "name");
693
- __publicField$16(this, "baseURL");
694
- __publicField$16(this, "expects", expect);
695
670
  this.name = name;
696
671
  this.page = page;
697
672
  this.baseURL = baseURL;
698
673
  }
674
+ expects = expect;
699
675
  async attemptsTo(task) {
700
676
  const stepTitle = `${this.name} attempts to ${this.camelCaseToLowerCase(task.name)}`;
701
677
  await test$e.step(stepTitle, async () => await task());
@@ -741,12 +717,19 @@ const test$a = test$e.extend({
741
717
  });
742
718
 
743
719
  function createRandomImage(width = 800, height = 600) {
744
- const buffer = Buffer.alloc(width * height * 4);
745
- let i = 0;
746
- while (i < buffer.length) {
747
- buffer[i++] = Math.floor(Math.random() * 256);
748
- }
749
- return new Image(width, height, buffer);
720
+ const channels = 3;
721
+ const data = new Uint8Array(width * height * channels);
722
+ for (let i = 0; i < data.length; i++) {
723
+ data[i] = Math.random() * 256 | 0;
724
+ }
725
+ return new Image(width, height, {
726
+ colorModel: "RGB",
727
+ bitDepth: 8,
728
+ data
729
+ });
730
+ }
731
+ function encodeImage(image) {
732
+ return Buffer.from(encode(image));
750
733
  }
751
734
 
752
735
  const getLanguageData = async (languageCode, adminApiContext) => {
@@ -1033,87 +1016,60 @@ const updateAdminUser = async (adminUserId, adminApiContext, data) => {
1033
1016
  });
1034
1017
  };
1035
1018
 
1036
- var __defProp$15 = Object.defineProperty;
1037
- var __defNormalProp$15 = (obj, key, value) => key in obj ? __defProp$15(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1038
- var __publicField$15 = (obj, key, value) => {
1039
- __defNormalProp$15(obj, typeof key !== "symbol" ? key + "" : key, value);
1040
- return value;
1041
- };
1042
1019
  class TestDataService {
1020
+ AdminApiClient;
1021
+ IdProvider;
1022
+ namePrefix = "Test-";
1023
+ nameSuffix = "";
1024
+ defaultSalesChannel;
1025
+ defaultTaxId;
1026
+ defaultCurrencyId;
1027
+ defaultCategoryId;
1028
+ defaultLanguageId;
1029
+ defaultCountryId;
1030
+ defaultCustomerGroupId;
1031
+ /**
1032
+ * Configures if an automated cleanup of the data should be executed.
1033
+ *
1034
+ * @private
1035
+ */
1036
+ shouldCleanUp = true;
1037
+ /**
1038
+ * Configuration of higher priority entities for the cleanup operation.
1039
+ * These entities will be deleted before others.
1040
+ * This will prevent restricted delete operations of associated entities.
1041
+ *
1042
+ * @private
1043
+ */
1044
+ highPriorityEntities = [
1045
+ "order",
1046
+ "product",
1047
+ "product_download",
1048
+ "product_cross_selling",
1049
+ "landing_page",
1050
+ "shipping_method",
1051
+ "sales_channel_domain",
1052
+ "sales_channel_currency",
1053
+ "sales_channel_country",
1054
+ "sales_channel_payment_method",
1055
+ "customer",
1056
+ "acl_user_role",
1057
+ "category"
1058
+ ];
1059
+ /**
1060
+ * A registry of all created records.
1061
+ *
1062
+ * @private
1063
+ */
1064
+ createdRecords = [];
1065
+ restoreSystemConfig = {};
1066
+ /**
1067
+ * A registry of all created sales channel records.
1068
+ *
1069
+ * @private
1070
+ */
1071
+ createdSalesChannelRecords = [];
1043
1072
  constructor(AdminApiClient, IdProvider, options) {
1044
- __publicField$15(this, "AdminApiClient");
1045
- __publicField$15(this, "IdProvider");
1046
- __publicField$15(this, "namePrefix", "Test-");
1047
- __publicField$15(this, "nameSuffix", "");
1048
- __publicField$15(this, "defaultSalesChannel");
1049
- __publicField$15(this, "defaultTaxId");
1050
- __publicField$15(this, "defaultCurrencyId");
1051
- __publicField$15(this, "defaultCategoryId");
1052
- __publicField$15(this, "defaultLanguageId");
1053
- __publicField$15(this, "defaultCountryId");
1054
- __publicField$15(this, "defaultCustomerGroupId");
1055
- /**
1056
- * Configures if an automated cleanup of the data should be executed.
1057
- *
1058
- * @private
1059
- */
1060
- __publicField$15(this, "shouldCleanUp", true);
1061
- /**
1062
- * Configuration of higher priority entities for the cleanup operation.
1063
- * These entities will be deleted before others.
1064
- * This will prevent restricted delete operations of associated entities.
1065
- *
1066
- * @private
1067
- */
1068
- __publicField$15(this, "highPriorityEntities", [
1069
- "order",
1070
- "product",
1071
- "product_download",
1072
- "product_cross_selling",
1073
- "landing_page",
1074
- "shipping_method",
1075
- "sales_channel_domain",
1076
- "sales_channel_currency",
1077
- "sales_channel_country",
1078
- "sales_channel_payment_method",
1079
- "customer",
1080
- "acl_user_role",
1081
- "category"
1082
- ]);
1083
- /**
1084
- * A registry of all created records.
1085
- *
1086
- * @private
1087
- */
1088
- __publicField$15(this, "createdRecords", []);
1089
- __publicField$15(this, "restoreSystemConfig", {});
1090
- /**
1091
- * A registry of all created sales channel records.
1092
- *
1093
- * @private
1094
- */
1095
- __publicField$15(this, "createdSalesChannelRecords", []);
1096
- /**
1097
- * Function that generates combinations from n number of arrays
1098
- * with m number of elements in them.
1099
- * @param array
1100
- */
1101
- __publicField$15(this, "combineAll", (array) => {
1102
- const result = [];
1103
- const max = array.length - 1;
1104
- const helper = (tmpArray, i) => {
1105
- for (let j = 0, l = array[i].length; j < l; j++) {
1106
- const copy = tmpArray.slice(0);
1107
- copy.push(array[i][j]);
1108
- if (i == max)
1109
- result.push(copy);
1110
- else
1111
- helper(copy, i + 1);
1112
- }
1113
- };
1114
- helper([], 0);
1115
- return result;
1116
- });
1117
1073
  this.AdminApiClient = AdminApiClient;
1118
1074
  this.IdProvider = IdProvider;
1119
1075
  this.defaultSalesChannel = options.defaultSalesChannel;
@@ -1329,7 +1285,7 @@ class TestDataService {
1329
1285
  const media = await this.createMediaResource();
1330
1286
  const filename = `${this.namePrefix}Media-${media.id}${this.nameSuffix}`;
1331
1287
  const response = await this.AdminApiClient.post(`_action/media/${media.id}/upload?extension=png&fileName=${filename}`, {
1332
- data: Buffer.from(image.toBuffer()),
1288
+ data: encodeImage(image),
1333
1289
  headers: { "content-type": "image/png" }
1334
1290
  });
1335
1291
  expect(response.ok()).toBeTruthy();
@@ -1621,7 +1577,7 @@ class TestDataService {
1621
1577
  */
1622
1578
  async createBasicShippingMethod(overrides = {}) {
1623
1579
  const deliveryTime = await this.getAllDeliveryTimeResources();
1624
- overrides.availabilityRuleId ?? (overrides.availabilityRuleId = (await this.getRule("Always valid (Default)")).id);
1580
+ overrides.availabilityRuleId ??= (await this.getRule("Always valid (Default)")).id;
1625
1581
  const basicShippingMethod = this.getBasicShippingMethodStruct(deliveryTime[0].id, overrides);
1626
1582
  const shippingMethodResponse = await this.AdminApiClient.post("shipping-method?_response=detail", {
1627
1583
  data: basicShippingMethod
@@ -2603,6 +2559,25 @@ class TestDataService {
2603
2559
  convertDateTime(date) {
2604
2560
  return date.toISOString().slice(0, 19).replace("T", " ");
2605
2561
  }
2562
+ /**
2563
+ * Function that generates combinations from n number of arrays
2564
+ * with m number of elements in them.
2565
+ * @param array
2566
+ */
2567
+ combineAll = (array) => {
2568
+ const result = [];
2569
+ const max = array.length - 1;
2570
+ const helper = (tmpArray, i) => {
2571
+ for (let j = 0, l = array[i].length; j < l; j++) {
2572
+ const copy = tmpArray.slice(0);
2573
+ copy.push(array[i][j]);
2574
+ if (i == max) result.push(copy);
2575
+ else helper(copy, i + 1);
2576
+ }
2577
+ };
2578
+ helper([], 0);
2579
+ return result;
2580
+ };
2606
2581
  /**
2607
2582
  * @deprecated Use `getCountry` instead.
2608
2583
  * Retrieves a country Id based on its iso2 code.
@@ -3428,16 +3403,10 @@ const test$9 = test$e.extend({
3428
3403
  }
3429
3404
  });
3430
3405
 
3431
- var __defProp$14 = Object.defineProperty;
3432
- var __defNormalProp$14 = (obj, key, value) => key in obj ? __defProp$14(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3433
- var __publicField$14 = (obj, key, value) => {
3434
- __defNormalProp$14(obj, typeof key !== "symbol" ? key + "" : key, value);
3435
- return value;
3436
- };
3437
3406
  class IdProvider {
3407
+ workerIndex;
3408
+ seed;
3438
3409
  constructor(workerIndex, seed) {
3439
- __publicField$14(this, "workerIndex");
3440
- __publicField$14(this, "seed");
3441
3410
  this.workerIndex = workerIndex;
3442
3411
  this.seed = seed;
3443
3412
  }
@@ -3468,6 +3437,7 @@ class IdProvider {
3468
3437
 
3469
3438
  const test$8 = test$e.extend({
3470
3439
  IdProvider: [
3440
+ // eslint-disable-next-line no-empty-pattern
3471
3441
  async ({}, use, workerInfo) => {
3472
3442
  const seed = process.env.SHOPWARE_ACCESS_KEY_ID || process.env.SHOPWARE_ADMIN_PASSWORD || "test-suite";
3473
3443
  const idProvider = new IdProvider(workerInfo.parallelIndex, seed);
@@ -3478,12 +3448,12 @@ const test$8 = test$e.extend({
3478
3448
  SaaSInstanceSetup: [
3479
3449
  async ({ AdminApiContext: context }, use) => {
3480
3450
  const SetupInstance = async function SetupInstance2() {
3481
- await test$8.skip(!await isSaaSInstance(context), "Skipping SaaS setup, could not detect SaaS instance");
3451
+ test$8.skip(!await isSaaSInstance(context), "Skipping SaaS setup, could not detect SaaS instance");
3482
3452
  expect(context.options.admin_username, "setup requires admin user credentials").toEqual(expect.any(String));
3483
3453
  expect(context.options.admin_password, "setup requires admin user credentials").toEqual(expect.any(String));
3484
3454
  const instanceStatusResponse = await context.get("./instance/status");
3485
3455
  const instanceStatus = await instanceStatusResponse.json();
3486
- await expect(instanceStatus.tags, 'expect instance to have "ci" tag').toContain("ci");
3456
+ expect(instanceStatus.tags, 'expect instance to have "ci" tag').toContain("ci");
3487
3457
  const currency = await getCurrency("USD", context);
3488
3458
  const language = await getLanguageData("en-US", context);
3489
3459
  await context.post(
@@ -3521,83 +3491,77 @@ const test$8 = test$e.extend({
3521
3491
  ]
3522
3492
  });
3523
3493
 
3524
- var __defProp$13 = Object.defineProperty;
3525
- var __defNormalProp$13 = (obj, key, value) => key in obj ? __defProp$13(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3526
- var __publicField$13 = (obj, key, value) => {
3527
- __defNormalProp$13(obj, typeof key !== "symbol" ? key + "" : key, value);
3528
- return value;
3529
- };
3530
3494
  class Home {
3495
+ categoryTitle;
3496
+ accountMenuButton;
3497
+ closeGuestSessionButton;
3498
+ productImages;
3499
+ productListItems;
3500
+ loader;
3501
+ productVariantCharacteristicsOptions;
3502
+ /**
3503
+ * @deprecated Use 'Header/languagesDropdown' instead
3504
+ */
3505
+ languagesDropdown;
3506
+ /**
3507
+ * @deprecated Use 'Header/languagesMenuOptions' instead
3508
+ */
3509
+ languagesMenuOptions;
3510
+ /**
3511
+ * @deprecated Use 'Header/currenciesDropdown' instead
3512
+ */
3513
+ currenciesDropdown;
3514
+ /**
3515
+ * @deprecated Use 'Header/currenciesMenuOptions' instead
3516
+ */
3517
+ currenciesMenuOptions;
3518
+ consentOnlyTechnicallyRequiredButton;
3519
+ consentConfigureButton;
3520
+ consentAcceptAllCookiesButton;
3521
+ consentCookiePreferences;
3522
+ consentCookiePermissionContent;
3523
+ consentDialog;
3524
+ consentDialogTechnicallyRequiredCheckbox;
3525
+ consentDialogStatisticsCheckbox;
3526
+ /**
3527
+ * @deprecated Use 'consentDialogMarketingCheckbox' instead
3528
+ */
3529
+ consentDialogMarketingdCheckbox;
3530
+ consentDialogMarketingCheckbox;
3531
+ consentDialogAcceptAllCookiesButton;
3532
+ consentDialogSaveButton;
3533
+ consentCookieBannerContainer;
3534
+ offcanvasBackdrop;
3535
+ /**
3536
+ * @deprecated Use 'Header/mainNavigationLink' instead
3537
+ */
3538
+ mainNavigationLink;
3539
+ /**
3540
+ * @deprecated Use 'Footer/contactFormLink' instead
3541
+ */
3542
+ contactFormLink;
3543
+ //wishlist
3544
+ /**
3545
+ * @deprecated Use 'Header/wishlistIcon' instead
3546
+ */
3547
+ wishlistIcon;
3548
+ /**
3549
+ * @deprecated Use 'Header/wishlistBasket' instead
3550
+ */
3551
+ wishlistBasket;
3552
+ //product filters
3553
+ filterMultiSelect;
3554
+ manufacturerFilter;
3555
+ propertyFilters;
3556
+ priceFilterButton;
3557
+ resetAllButton;
3558
+ freeShippingFilter;
3559
+ productList;
3560
+ productItemNames;
3561
+ productRatingButton;
3562
+ productRatingList;
3563
+ page;
3531
3564
  constructor(page) {
3532
- __publicField$13(this, "categoryTitle");
3533
- __publicField$13(this, "accountMenuButton");
3534
- __publicField$13(this, "closeGuestSessionButton");
3535
- __publicField$13(this, "productImages");
3536
- __publicField$13(this, "productListItems");
3537
- __publicField$13(this, "loader");
3538
- __publicField$13(this, "productVariantCharacteristicsOptions");
3539
- /**
3540
- * @deprecated Use 'Header/languagesDropdown' instead
3541
- */
3542
- __publicField$13(this, "languagesDropdown");
3543
- /**
3544
- * @deprecated Use 'Header/languagesMenuOptions' instead
3545
- */
3546
- __publicField$13(this, "languagesMenuOptions");
3547
- /**
3548
- * @deprecated Use 'Header/currenciesDropdown' instead
3549
- */
3550
- __publicField$13(this, "currenciesDropdown");
3551
- /**
3552
- * @deprecated Use 'Header/currenciesMenuOptions' instead
3553
- */
3554
- __publicField$13(this, "currenciesMenuOptions");
3555
- __publicField$13(this, "consentOnlyTechnicallyRequiredButton");
3556
- __publicField$13(this, "consentConfigureButton");
3557
- __publicField$13(this, "consentAcceptAllCookiesButton");
3558
- __publicField$13(this, "consentCookiePreferences");
3559
- __publicField$13(this, "consentCookiePermissionContent");
3560
- __publicField$13(this, "consentDialog");
3561
- __publicField$13(this, "consentDialogTechnicallyRequiredCheckbox");
3562
- __publicField$13(this, "consentDialogStatisticsCheckbox");
3563
- /**
3564
- * @deprecated Use 'consentDialogMarketingCheckbox' instead
3565
- */
3566
- __publicField$13(this, "consentDialogMarketingdCheckbox");
3567
- __publicField$13(this, "consentDialogMarketingCheckbox");
3568
- __publicField$13(this, "consentDialogAcceptAllCookiesButton");
3569
- __publicField$13(this, "consentDialogSaveButton");
3570
- __publicField$13(this, "consentCookieBannerContainer");
3571
- __publicField$13(this, "offcanvasBackdrop");
3572
- /**
3573
- * @deprecated Use 'Header/mainNavigationLink' instead
3574
- */
3575
- __publicField$13(this, "mainNavigationLink");
3576
- /**
3577
- * @deprecated Use 'Footer/contactFormLink' instead
3578
- */
3579
- __publicField$13(this, "contactFormLink");
3580
- //wishlist
3581
- /**
3582
- * @deprecated Use 'Header/wishlistIcon' instead
3583
- */
3584
- __publicField$13(this, "wishlistIcon");
3585
- /**
3586
- * @deprecated Use 'Header/wishlistBasket' instead
3587
- */
3588
- __publicField$13(this, "wishlistBasket");
3589
- //product filters
3590
- __publicField$13(this, "filterMultiSelect");
3591
- __publicField$13(this, "manufacturerFilter");
3592
- __publicField$13(this, "propertyFilters");
3593
- __publicField$13(this, "priceFilterButton");
3594
- __publicField$13(this, "resetAllButton");
3595
- __publicField$13(this, "freeShippingFilter");
3596
- __publicField$13(this, "productList");
3597
- __publicField$13(this, "productItemNames");
3598
- __publicField$13(this, "productRatingButton");
3599
- __publicField$13(this, "productRatingList");
3600
- __publicField$13(this, "page");
3601
3565
  this.page = page;
3602
3566
  this.categoryTitle = page.locator(".cms-element-text h1");
3603
3567
  this.accountMenuButton = page.getByLabel("Your account");
@@ -3753,59 +3717,53 @@ class Home {
3753
3717
  }
3754
3718
  }
3755
3719
 
3756
- var __defProp$12 = Object.defineProperty;
3757
- var __defNormalProp$12 = (obj, key, value) => key in obj ? __defProp$12(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3758
- var __publicField$12 = (obj, key, value) => {
3759
- __defNormalProp$12(obj, typeof key !== "symbol" ? key + "" : key, value);
3760
- return value;
3761
- };
3762
3720
  let ProductDetail$1 = class ProductDetail {
3721
+ addToCartButton;
3722
+ quantitySelect;
3723
+ productSingleImage;
3724
+ productSinglePrice;
3725
+ productPriceRangesRow;
3726
+ productListingPriceBadge;
3727
+ productListingPrice;
3728
+ productListingPricePercentage;
3729
+ offCanvasCartTitle;
3730
+ offCanvasCart;
3731
+ offCanvasCartGoToCheckoutButton;
3732
+ offCanvasLineItemImages;
3733
+ offCanvasSummaryTotalPrice;
3734
+ offCanvas;
3735
+ wishlistAddedButton;
3736
+ wishlistNotAddedButton;
3737
+ productDetailConfigurator;
3738
+ productDetailConfiguratorGroupTitle;
3739
+ productDetailConfiguratorOptionInputs;
3740
+ productName;
3741
+ //Reviews Tab
3742
+ reviewsTab;
3743
+ reviewTeaserButton;
3744
+ reviewTeaserText;
3745
+ reviewListingItems;
3746
+ reviewEmptyListingText;
3747
+ reviewLoginForm;
3748
+ forgottenPasswordLink;
3749
+ reviewForm;
3750
+ reviewRatingPoints;
3751
+ reviewRatingText;
3752
+ reviewSubmitMessage;
3753
+ reviewCounter;
3754
+ reviewItemRatingPoints;
3755
+ reviewItemTitle;
3756
+ reviewReviewTextInput;
3757
+ reviewItemContent;
3758
+ reviewLoginButton;
3759
+ reviewEmailInput;
3760
+ reviewPasswordInput;
3761
+ reviewTitleInput;
3762
+ reviewSubmitButton;
3763
+ productReviewsLink;
3764
+ productReviewRating;
3765
+ page;
3763
3766
  constructor(page) {
3764
- __publicField$12(this, "addToCartButton");
3765
- __publicField$12(this, "quantitySelect");
3766
- __publicField$12(this, "productSingleImage");
3767
- __publicField$12(this, "productSinglePrice");
3768
- __publicField$12(this, "productPriceRangesRow");
3769
- __publicField$12(this, "productListingPriceBadge");
3770
- __publicField$12(this, "productListingPrice");
3771
- __publicField$12(this, "productListingPricePercentage");
3772
- __publicField$12(this, "offCanvasCartTitle");
3773
- __publicField$12(this, "offCanvasCart");
3774
- __publicField$12(this, "offCanvasCartGoToCheckoutButton");
3775
- __publicField$12(this, "offCanvasLineItemImages");
3776
- __publicField$12(this, "offCanvasSummaryTotalPrice");
3777
- __publicField$12(this, "offCanvas");
3778
- __publicField$12(this, "wishlistAddedButton");
3779
- __publicField$12(this, "wishlistNotAddedButton");
3780
- __publicField$12(this, "productDetailConfigurator");
3781
- __publicField$12(this, "productDetailConfiguratorGroupTitle");
3782
- __publicField$12(this, "productDetailConfiguratorOptionInputs");
3783
- __publicField$12(this, "productName");
3784
- //Reviews Tab
3785
- __publicField$12(this, "reviewsTab");
3786
- __publicField$12(this, "reviewTeaserButton");
3787
- __publicField$12(this, "reviewTeaserText");
3788
- __publicField$12(this, "reviewListingItems");
3789
- __publicField$12(this, "reviewEmptyListingText");
3790
- __publicField$12(this, "reviewLoginForm");
3791
- __publicField$12(this, "forgottenPasswordLink");
3792
- __publicField$12(this, "reviewForm");
3793
- __publicField$12(this, "reviewRatingPoints");
3794
- __publicField$12(this, "reviewRatingText");
3795
- __publicField$12(this, "reviewSubmitMessage");
3796
- __publicField$12(this, "reviewCounter");
3797
- __publicField$12(this, "reviewItemRatingPoints");
3798
- __publicField$12(this, "reviewItemTitle");
3799
- __publicField$12(this, "reviewReviewTextInput");
3800
- __publicField$12(this, "reviewItemContent");
3801
- __publicField$12(this, "reviewLoginButton");
3802
- __publicField$12(this, "reviewEmailInput");
3803
- __publicField$12(this, "reviewPasswordInput");
3804
- __publicField$12(this, "reviewTitleInput");
3805
- __publicField$12(this, "reviewSubmitButton");
3806
- __publicField$12(this, "productReviewsLink");
3807
- __publicField$12(this, "productReviewRating");
3808
- __publicField$12(this, "page");
3809
3767
  this.page = page;
3810
3768
  this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
3811
3769
  this.quantitySelect = page.getByLabel("Quantity", { exact: true });
@@ -3871,18 +3829,12 @@ let ProductDetail$1 = class ProductDetail {
3871
3829
  }
3872
3830
  };
3873
3831
 
3874
- var __defProp$11 = Object.defineProperty;
3875
- var __defNormalProp$11 = (obj, key, value) => key in obj ? __defProp$11(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3876
- var __publicField$11 = (obj, key, value) => {
3877
- __defNormalProp$11(obj, typeof key !== "symbol" ? key + "" : key, value);
3878
- return value;
3879
- };
3880
3832
  class Category {
3833
+ sortingSelect;
3834
+ firstProductBuyButton;
3835
+ noProductsFoundAlert;
3836
+ page;
3881
3837
  constructor(page) {
3882
- __publicField$11(this, "sortingSelect");
3883
- __publicField$11(this, "firstProductBuyButton");
3884
- __publicField$11(this, "noProductsFoundAlert");
3885
- __publicField$11(this, "page");
3886
3838
  this.page = page;
3887
3839
  this.sortingSelect = page.getByLabel("Sorting");
3888
3840
  this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
@@ -3893,24 +3845,18 @@ class Category {
3893
3845
  }
3894
3846
  }
3895
3847
 
3896
- var __defProp$10 = Object.defineProperty;
3897
- var __defNormalProp$10 = (obj, key, value) => key in obj ? __defProp$10(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3898
- var __publicField$10 = (obj, key, value) => {
3899
- __defNormalProp$10(obj, typeof key !== "symbol" ? key + "" : key, value);
3900
- return value;
3901
- };
3902
3848
  class CheckoutCart {
3849
+ headline;
3850
+ goToCheckoutButton;
3851
+ enterPromoInput;
3852
+ grandTotalPrice;
3853
+ emptyCartAlert;
3854
+ stockReachedAlert;
3855
+ cartLineItemImages;
3856
+ unitPriceInfo;
3857
+ cartQuantityNumber;
3858
+ page;
3903
3859
  constructor(page) {
3904
- __publicField$10(this, "headline");
3905
- __publicField$10(this, "goToCheckoutButton");
3906
- __publicField$10(this, "enterPromoInput");
3907
- __publicField$10(this, "grandTotalPrice");
3908
- __publicField$10(this, "emptyCartAlert");
3909
- __publicField$10(this, "stockReachedAlert");
3910
- __publicField$10(this, "cartLineItemImages");
3911
- __publicField$10(this, "unitPriceInfo");
3912
- __publicField$10(this, "cartQuantityNumber");
3913
- __publicField$10(this, "page");
3914
3860
  this.page = page;
3915
3861
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
3916
3862
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
@@ -3952,25 +3898,19 @@ class CheckoutCart {
3952
3898
  }
3953
3899
  }
3954
3900
 
3955
- var __defProp$$ = Object.defineProperty;
3956
- var __defNormalProp$$ = (obj, key, value) => key in obj ? __defProp$$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3957
- var __publicField$$ = (obj, key, value) => {
3958
- __defNormalProp$$(obj, typeof key !== "symbol" ? key + "" : key, value);
3959
- return value;
3960
- };
3961
3901
  class OffCanvasCart {
3902
+ headline;
3903
+ itemCount;
3904
+ goToCheckoutButton;
3905
+ goToCartButton;
3906
+ continueShoppingButton;
3907
+ enterPromoInput;
3908
+ submitDiscountButton;
3909
+ subTotalPrice;
3910
+ shippingCosts;
3911
+ cartQuantityNumber;
3912
+ page;
3962
3913
  constructor(page) {
3963
- __publicField$$(this, "headline");
3964
- __publicField$$(this, "itemCount");
3965
- __publicField$$(this, "goToCheckoutButton");
3966
- __publicField$$(this, "goToCartButton");
3967
- __publicField$$(this, "continueShoppingButton");
3968
- __publicField$$(this, "enterPromoInput");
3969
- __publicField$$(this, "submitDiscountButton");
3970
- __publicField$$(this, "subTotalPrice");
3971
- __publicField$$(this, "shippingCosts");
3972
- __publicField$$(this, "cartQuantityNumber");
3973
- __publicField$$(this, "page");
3974
3914
  this.page = page;
3975
3915
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
3976
3916
  this.itemCount = page.locator(".offcanvas-cart-header-count");
@@ -4017,36 +3957,30 @@ class OffCanvasCart {
4017
3957
  }
4018
3958
  }
4019
3959
 
4020
- var __defProp$_ = Object.defineProperty;
4021
- var __defNormalProp$_ = (obj, key, value) => key in obj ? __defProp$_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4022
- var __publicField$_ = (obj, key, value) => {
4023
- __defNormalProp$_(obj, typeof key !== "symbol" ? key + "" : key, value);
4024
- return value;
4025
- };
4026
3960
  class CheckoutConfirm {
3961
+ headline;
3962
+ termsAndConditionsCheckbox;
3963
+ immediateAccessToDigitalProductCheckbox;
3964
+ grandTotalPrice;
3965
+ taxPrice;
3966
+ submitOrderButton;
3967
+ /**
3968
+ * Payment options
3969
+ */
3970
+ paymentCashOnDelivery;
3971
+ paymentPaidInAdvance;
3972
+ paymentInvoice;
3973
+ /**
3974
+ * Shipping options
3975
+ */
3976
+ shippingStandard;
3977
+ shippingExpress;
3978
+ /**
3979
+ * Product details
3980
+ */
3981
+ cartLineItemImages;
3982
+ page;
4027
3983
  constructor(page) {
4028
- __publicField$_(this, "headline");
4029
- __publicField$_(this, "termsAndConditionsCheckbox");
4030
- __publicField$_(this, "immediateAccessToDigitalProductCheckbox");
4031
- __publicField$_(this, "grandTotalPrice");
4032
- __publicField$_(this, "taxPrice");
4033
- __publicField$_(this, "submitOrderButton");
4034
- /**
4035
- * Payment options
4036
- */
4037
- __publicField$_(this, "paymentCashOnDelivery");
4038
- __publicField$_(this, "paymentPaidInAdvance");
4039
- __publicField$_(this, "paymentInvoice");
4040
- /**
4041
- * Shipping options
4042
- */
4043
- __publicField$_(this, "shippingStandard");
4044
- __publicField$_(this, "shippingExpress");
4045
- /**
4046
- * Product details
4047
- */
4048
- __publicField$_(this, "cartLineItemImages");
4049
- __publicField$_(this, "page");
4050
3984
  this.page = page;
4051
3985
  this.headline = page.getByRole("heading", { name: "Complete order" });
4052
3986
  this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
@@ -4066,21 +4000,15 @@ class CheckoutConfirm {
4066
4000
  }
4067
4001
  }
4068
4002
 
4069
- var __defProp$Z = Object.defineProperty;
4070
- var __defNormalProp$Z = (obj, key, value) => key in obj ? __defProp$Z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4071
- var __publicField$Z = (obj, key, value) => {
4072
- __defNormalProp$Z(obj, typeof key !== "symbol" ? key + "" : key, value);
4073
- return value;
4074
- };
4075
4003
  class CheckoutFinish {
4004
+ headline;
4005
+ orderNumberText;
4006
+ grandTotalPrice;
4007
+ taxPrice;
4008
+ cartLineItemImages;
4009
+ page;
4010
+ orderNumberRegex = /Your order number: #(\d+)/;
4076
4011
  constructor(page) {
4077
- __publicField$Z(this, "headline");
4078
- __publicField$Z(this, "orderNumberText");
4079
- __publicField$Z(this, "grandTotalPrice");
4080
- __publicField$Z(this, "taxPrice");
4081
- __publicField$Z(this, "cartLineItemImages");
4082
- __publicField$Z(this, "page");
4083
- __publicField$Z(this, "orderNumberRegex", /Your order number: #(\d+)/);
4084
4012
  this.page = page;
4085
4013
  this.headline = page.getByRole("heading", { name: "Thank you for your order" });
4086
4014
  this.orderNumberText = page.getByText(this.orderNumberRegex);
@@ -4110,16 +4038,10 @@ class CheckoutFinish {
4110
4038
  }
4111
4039
  }
4112
4040
 
4113
- var __defProp$Y = Object.defineProperty;
4114
- var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4115
- var __publicField$Y = (obj, key, value) => {
4116
- __defNormalProp$Y(obj, typeof key !== "symbol" ? key + "" : key, value);
4117
- return value;
4118
- };
4119
4041
  class CheckoutRegister {
4042
+ cartLineItemImages;
4043
+ page;
4120
4044
  constructor(page) {
4121
- __publicField$Y(this, "cartLineItemImages");
4122
- __publicField$Y(this, "page");
4123
4045
  this.page = page;
4124
4046
  this.cartLineItemImages = page.locator(".line-item-img-link");
4125
4047
  }
@@ -4128,26 +4050,20 @@ class CheckoutRegister {
4128
4050
  }
4129
4051
  }
4130
4052
 
4131
- var __defProp$X = Object.defineProperty;
4132
- var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4133
- var __publicField$X = (obj, key, value) => {
4134
- __defNormalProp$X(obj, typeof key !== "symbol" ? key + "" : key, value);
4135
- return value;
4136
- };
4137
4053
  class Account {
4054
+ headline;
4055
+ personalDataCardTitle;
4056
+ paymentMethodCardTitle;
4057
+ billingAddressCardTitle;
4058
+ shippingAddressCardTitle;
4059
+ newsletterCheckbox;
4060
+ newsletterRegistrationSuccessMessage;
4061
+ customerGroupRequestMessage;
4062
+ cannotDeliverToCountryAlert;
4063
+ shippingToAddressNotPossibleAlert;
4064
+ page;
4065
+ instanceMeta;
4138
4066
  constructor(page, instanceMeta) {
4139
- __publicField$X(this, "headline");
4140
- __publicField$X(this, "personalDataCardTitle");
4141
- __publicField$X(this, "paymentMethodCardTitle");
4142
- __publicField$X(this, "billingAddressCardTitle");
4143
- __publicField$X(this, "shippingAddressCardTitle");
4144
- __publicField$X(this, "newsletterCheckbox");
4145
- __publicField$X(this, "newsletterRegistrationSuccessMessage");
4146
- __publicField$X(this, "customerGroupRequestMessage");
4147
- __publicField$X(this, "cannotDeliverToCountryAlert");
4148
- __publicField$X(this, "shippingToAddressNotPossibleAlert");
4149
- __publicField$X(this, "page");
4150
- __publicField$X(this, "instanceMeta");
4151
4067
  this.page = page;
4152
4068
  this.instanceMeta = instanceMeta;
4153
4069
  this.headline = page.getByRole("heading", { name: "Overview" });
@@ -4173,57 +4089,51 @@ class Account {
4173
4089
  }
4174
4090
  }
4175
4091
 
4176
- var __defProp$W = Object.defineProperty;
4177
- var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4178
- var __publicField$W = (obj, key, value) => {
4179
- __defNormalProp$W(obj, typeof key !== "symbol" ? key + "" : key, value);
4180
- return value;
4181
- };
4182
4092
  class AccountLogin {
4093
+ emailInput;
4094
+ passwordInput;
4095
+ forgotPasswordLink;
4096
+ loginButton;
4097
+ logoutLink;
4098
+ successAlert;
4099
+ invalidCredentialsAlert;
4100
+ passwordUpdatedAlert;
4101
+ // Inputs for registration
4102
+ personalFormArea;
4103
+ billingAddressFormArea;
4104
+ accountTypeSelect;
4105
+ salutationSelect;
4106
+ firstNameInput;
4107
+ lastNameInput;
4108
+ companyInput;
4109
+ departmentInput;
4110
+ vatRegNoInput;
4111
+ registerEmailInput;
4112
+ registerPasswordInput;
4113
+ streetAddressInput;
4114
+ cityInput;
4115
+ countryInput;
4116
+ postalCodeInput;
4117
+ registerButton;
4118
+ // Inputs for reCaptcha
4119
+ greCaptchaV2Container;
4120
+ greCaptchaV2Input;
4121
+ greCaptchaV3Input;
4122
+ greCaptchaProtectionInformation;
4123
+ greCaptchaBadge;
4124
+ //Input for shipping address
4125
+ differentShippingAddressCheckbox;
4126
+ registerShippingAddressFormArea;
4127
+ shippingAddressSalutationSelect;
4128
+ shippingAddressFirstNameInput;
4129
+ shippingAddressLastNameInput;
4130
+ shippingAddressStreetAddressInput;
4131
+ shippingAddressCityInput;
4132
+ shippingAddressCountryInput;
4133
+ shippingAddressPostalCodeInput;
4134
+ shippingAddressStateInput;
4135
+ page;
4183
4136
  constructor(page) {
4184
- __publicField$W(this, "emailInput");
4185
- __publicField$W(this, "passwordInput");
4186
- __publicField$W(this, "forgotPasswordLink");
4187
- __publicField$W(this, "loginButton");
4188
- __publicField$W(this, "logoutLink");
4189
- __publicField$W(this, "successAlert");
4190
- __publicField$W(this, "invalidCredentialsAlert");
4191
- __publicField$W(this, "passwordUpdatedAlert");
4192
- // Inputs for registration
4193
- __publicField$W(this, "personalFormArea");
4194
- __publicField$W(this, "billingAddressFormArea");
4195
- __publicField$W(this, "accountTypeSelect");
4196
- __publicField$W(this, "salutationSelect");
4197
- __publicField$W(this, "firstNameInput");
4198
- __publicField$W(this, "lastNameInput");
4199
- __publicField$W(this, "companyInput");
4200
- __publicField$W(this, "departmentInput");
4201
- __publicField$W(this, "vatRegNoInput");
4202
- __publicField$W(this, "registerEmailInput");
4203
- __publicField$W(this, "registerPasswordInput");
4204
- __publicField$W(this, "streetAddressInput");
4205
- __publicField$W(this, "cityInput");
4206
- __publicField$W(this, "countryInput");
4207
- __publicField$W(this, "postalCodeInput");
4208
- __publicField$W(this, "registerButton");
4209
- // Inputs for reCaptcha
4210
- __publicField$W(this, "greCaptchaV2Container");
4211
- __publicField$W(this, "greCaptchaV2Input");
4212
- __publicField$W(this, "greCaptchaV3Input");
4213
- __publicField$W(this, "greCaptchaProtectionInformation");
4214
- __publicField$W(this, "greCaptchaBadge");
4215
- //Input for shipping address
4216
- __publicField$W(this, "differentShippingAddressCheckbox");
4217
- __publicField$W(this, "registerShippingAddressFormArea");
4218
- __publicField$W(this, "shippingAddressSalutationSelect");
4219
- __publicField$W(this, "shippingAddressFirstNameInput");
4220
- __publicField$W(this, "shippingAddressLastNameInput");
4221
- __publicField$W(this, "shippingAddressStreetAddressInput");
4222
- __publicField$W(this, "shippingAddressCityInput");
4223
- __publicField$W(this, "shippingAddressCountryInput");
4224
- __publicField$W(this, "shippingAddressPostalCodeInput");
4225
- __publicField$W(this, "shippingAddressStateInput");
4226
- __publicField$W(this, "page");
4227
4137
  this.page = page;
4228
4138
  this.emailInput = page.getByLabel("Your email address");
4229
4139
  this.passwordInput = page.getByLabel("Your password");
@@ -4274,26 +4184,20 @@ class AccountLogin {
4274
4184
  }
4275
4185
  }
4276
4186
 
4277
- var __defProp$V = Object.defineProperty;
4278
- var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4279
- var __publicField$V = (obj, key, value) => {
4280
- __defNormalProp$V(obj, typeof key !== "symbol" ? key + "" : key, value);
4281
- return value;
4282
- };
4283
4187
  class AccountRecover {
4188
+ passwordRecoveryForm;
4189
+ title;
4190
+ subtitle;
4191
+ emailInput;
4192
+ requestEmailButton;
4193
+ backButton;
4194
+ passwordResetEmailSentMessage;
4195
+ newPasswordInput;
4196
+ newPasswordConfirmInput;
4197
+ changePasswordButton;
4198
+ invalidLinkMessage;
4199
+ page;
4284
4200
  constructor(page) {
4285
- __publicField$V(this, "passwordRecoveryForm");
4286
- __publicField$V(this, "title");
4287
- __publicField$V(this, "subtitle");
4288
- __publicField$V(this, "emailInput");
4289
- __publicField$V(this, "requestEmailButton");
4290
- __publicField$V(this, "backButton");
4291
- __publicField$V(this, "passwordResetEmailSentMessage");
4292
- __publicField$V(this, "newPasswordInput");
4293
- __publicField$V(this, "newPasswordConfirmInput");
4294
- __publicField$V(this, "changePasswordButton");
4295
- __publicField$V(this, "invalidLinkMessage");
4296
- __publicField$V(this, "page");
4297
4201
  this.page = page;
4298
4202
  this.passwordRecoveryForm = page.locator(".account-recover-password-form");
4299
4203
  const cardTitle = this.passwordRecoveryForm.locator(".card-title");
@@ -4316,36 +4220,30 @@ class AccountRecover {
4316
4220
  }
4317
4221
  }
4318
4222
 
4319
- var __defProp$U = Object.defineProperty;
4320
- var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4321
- var __publicField$U = (obj, key, value) => {
4322
- __defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
4323
- return value;
4324
- };
4325
4223
  class AccountProfile {
4224
+ page;
4225
+ instanceMeta;
4226
+ salutationSelect;
4227
+ firstNameInput;
4228
+ lastNameInput;
4229
+ saveProfileButton;
4230
+ changeEmailButton;
4231
+ emailAddressInput;
4232
+ emailAddressConfirmInput;
4233
+ emailConfirmPasswordInput;
4234
+ saveEmailAddressButton;
4235
+ changePasswordButton;
4236
+ newPasswordInput;
4237
+ newPasswordConfirmInput;
4238
+ currentPasswordInput;
4239
+ saveNewPasswordButton;
4240
+ loginDataEmailAddress;
4241
+ emailUpdateMessage;
4242
+ passwordUpdateMessage;
4243
+ emailValidationAlert;
4244
+ emailUpdateFailureAlert;
4245
+ passwordUpdateFailureAlert;
4326
4246
  constructor(page, instanceMeta) {
4327
- __publicField$U(this, "page");
4328
- __publicField$U(this, "instanceMeta");
4329
- __publicField$U(this, "salutationSelect");
4330
- __publicField$U(this, "firstNameInput");
4331
- __publicField$U(this, "lastNameInput");
4332
- __publicField$U(this, "saveProfileButton");
4333
- __publicField$U(this, "changeEmailButton");
4334
- __publicField$U(this, "emailAddressInput");
4335
- __publicField$U(this, "emailAddressConfirmInput");
4336
- __publicField$U(this, "emailConfirmPasswordInput");
4337
- __publicField$U(this, "saveEmailAddressButton");
4338
- __publicField$U(this, "changePasswordButton");
4339
- __publicField$U(this, "newPasswordInput");
4340
- __publicField$U(this, "newPasswordConfirmInput");
4341
- __publicField$U(this, "currentPasswordInput");
4342
- __publicField$U(this, "saveNewPasswordButton");
4343
- __publicField$U(this, "loginDataEmailAddress");
4344
- __publicField$U(this, "emailUpdateMessage");
4345
- __publicField$U(this, "passwordUpdateMessage");
4346
- __publicField$U(this, "emailValidationAlert");
4347
- __publicField$U(this, "emailUpdateFailureAlert");
4348
- __publicField$U(this, "passwordUpdateFailureAlert");
4349
4247
  this.page = page;
4350
4248
  this.instanceMeta = instanceMeta;
4351
4249
  this.salutationSelect = page.getByLabel("Salutation");
@@ -4387,24 +4285,18 @@ class AccountProfile {
4387
4285
  }
4388
4286
  }
4389
4287
 
4390
- var __defProp$T = Object.defineProperty;
4391
- var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4392
- var __publicField$T = (obj, key, value) => {
4393
- __defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
4394
- return value;
4395
- };
4396
4288
  class AccountOrder {
4289
+ cartLineItemImages;
4290
+ orderExpandButton;
4291
+ digitalProductDownloadButton;
4292
+ dialogOrderCancel;
4293
+ dialogOrderCancelButton;
4294
+ dialogBackButton;
4295
+ orderDetails;
4296
+ invoiceHTML;
4297
+ creditItem;
4298
+ page;
4397
4299
  constructor(page) {
4398
- __publicField$T(this, "cartLineItemImages");
4399
- __publicField$T(this, "orderExpandButton");
4400
- __publicField$T(this, "digitalProductDownloadButton");
4401
- __publicField$T(this, "dialogOrderCancel");
4402
- __publicField$T(this, "dialogOrderCancelButton");
4403
- __publicField$T(this, "dialogBackButton");
4404
- __publicField$T(this, "orderDetails");
4405
- __publicField$T(this, "invoiceHTML");
4406
- __publicField$T(this, "creditItem");
4407
- __publicField$T(this, "page");
4408
4300
  this.page = page;
4409
4301
  this.orderExpandButton = page.getByRole("button", { name: /Expand|Show details/ }).first();
4410
4302
  this.cartLineItemImages = page.locator(".line-item-img-link");
@@ -4456,27 +4348,21 @@ class AccountOrder {
4456
4348
  }
4457
4349
  }
4458
4350
 
4459
- var __defProp$S = Object.defineProperty;
4460
- var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4461
- var __publicField$S = (obj, key, value) => {
4462
- __defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
4463
- return value;
4464
- };
4465
4351
  class AccountAddresses {
4352
+ addNewAddressButton;
4353
+ editBillingAddressButton;
4354
+ editShippingAddressButton;
4355
+ useDefaultBillingAddressButton;
4356
+ useDefaultShippingAddressButton;
4357
+ deliveryNotPossibleAlert;
4358
+ availableAddresses;
4359
+ addressDropdownButton;
4360
+ addressDropdownButtons;
4361
+ availableAddressesUseAsBillingAddress;
4362
+ availableAddressesUseAsShippingAddress;
4363
+ page;
4364
+ instanceMeta;
4466
4365
  constructor(page, instanceMeta) {
4467
- __publicField$S(this, "addNewAddressButton");
4468
- __publicField$S(this, "editBillingAddressButton");
4469
- __publicField$S(this, "editShippingAddressButton");
4470
- __publicField$S(this, "useDefaultBillingAddressButton");
4471
- __publicField$S(this, "useDefaultShippingAddressButton");
4472
- __publicField$S(this, "deliveryNotPossibleAlert");
4473
- __publicField$S(this, "availableAddresses");
4474
- __publicField$S(this, "addressDropdownButton");
4475
- __publicField$S(this, "addressDropdownButtons");
4476
- __publicField$S(this, "availableAddressesUseAsBillingAddress");
4477
- __publicField$S(this, "availableAddressesUseAsShippingAddress");
4478
- __publicField$S(this, "page");
4479
- __publicField$S(this, "instanceMeta");
4480
4366
  this.page = page;
4481
4367
  this.instanceMeta = instanceMeta;
4482
4368
  this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
@@ -4500,19 +4386,13 @@ class AccountAddresses {
4500
4386
  }
4501
4387
  }
4502
4388
 
4503
- var __defProp$R = Object.defineProperty;
4504
- var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4505
- var __publicField$R = (obj, key, value) => {
4506
- __defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
4507
- return value;
4508
- };
4509
4389
  class AccountPayment {
4390
+ cashOnDeliveryOption;
4391
+ paidInAdvanceOption;
4392
+ invoiceOption;
4393
+ changeDefaultPaymentButton;
4394
+ page;
4510
4395
  constructor(page) {
4511
- __publicField$R(this, "cashOnDeliveryOption");
4512
- __publicField$R(this, "paidInAdvanceOption");
4513
- __publicField$R(this, "invoiceOption");
4514
- __publicField$R(this, "changeDefaultPaymentButton");
4515
- __publicField$R(this, "page");
4516
4396
  this.page = page;
4517
4397
  this.cashOnDeliveryOption = page.getByLabel("Cash on delivery");
4518
4398
  this.paidInAdvanceOption = page.getByLabel("Paid in advance");
@@ -4524,17 +4404,11 @@ class AccountPayment {
4524
4404
  }
4525
4405
  }
4526
4406
 
4527
- var __defProp$Q = Object.defineProperty;
4528
- var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4529
- var __publicField$Q = (obj, key, value) => {
4530
- __defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
4531
- return value;
4532
- };
4533
4407
  class Search {
4408
+ headline;
4409
+ productImages;
4410
+ page;
4534
4411
  constructor(page) {
4535
- __publicField$Q(this, "headline");
4536
- __publicField$Q(this, "productImages");
4537
- __publicField$Q(this, "page");
4538
4412
  this.page = page;
4539
4413
  this.headline = page.locator("h1.search-headline");
4540
4414
  this.productImages = page.locator(".product-image-wrapper");
@@ -4544,25 +4418,19 @@ class Search {
4544
4418
  }
4545
4419
  }
4546
4420
 
4547
- var __defProp$P = Object.defineProperty;
4548
- var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4549
- var __publicField$P = (obj, key, value) => {
4550
- __defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
4551
- return value;
4552
- };
4553
4421
  class SearchSuggest extends Home {
4422
+ searchSuggestLineItemImages;
4423
+ searchInput;
4424
+ searchIcon;
4425
+ searchSuggestNoResult;
4426
+ searchSuggestLineItemName;
4427
+ searchSuggestLineItemPrice;
4428
+ searchSuggestTotalLink;
4429
+ searchResultTotal;
4430
+ searchHeadline;
4431
+ page;
4554
4432
  constructor(page) {
4555
4433
  super(page);
4556
- __publicField$P(this, "searchSuggestLineItemImages");
4557
- __publicField$P(this, "searchInput");
4558
- __publicField$P(this, "searchIcon");
4559
- __publicField$P(this, "searchSuggestNoResult");
4560
- __publicField$P(this, "searchSuggestLineItemName");
4561
- __publicField$P(this, "searchSuggestLineItemPrice");
4562
- __publicField$P(this, "searchSuggestTotalLink");
4563
- __publicField$P(this, "searchResultTotal");
4564
- __publicField$P(this, "searchHeadline");
4565
- __publicField$P(this, "page");
4566
4434
  this.page = page;
4567
4435
  this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
4568
4436
  this.searchInput = page.locator(".header-search-input");
@@ -4583,16 +4451,10 @@ class SearchSuggest extends Home {
4583
4451
  }
4584
4452
  }
4585
4453
 
4586
- var __defProp$O = Object.defineProperty;
4587
- var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4588
- var __publicField$O = (obj, key, value) => {
4589
- __defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
4590
- return value;
4591
- };
4592
4454
  class CustomRegister extends AccountLogin {
4455
+ page;
4593
4456
  constructor(page) {
4594
4457
  super(page);
4595
- __publicField$O(this, "page");
4596
4458
  this.page = page;
4597
4459
  }
4598
4460
  url(customCustomerGroupName) {
@@ -4600,31 +4462,25 @@ class CustomRegister extends AccountLogin {
4600
4462
  }
4601
4463
  }
4602
4464
 
4603
- var __defProp$N = Object.defineProperty;
4604
- var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4605
- var __publicField$N = (obj, key, value) => {
4606
- __defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
4607
- return value;
4608
- };
4609
4465
  class CheckoutOrderEdit {
4466
+ completePaymentButton;
4467
+ orderCancelButton;
4468
+ dialogOrderCancel;
4469
+ dialogOrderCancelButton;
4470
+ dialogBackButton;
4471
+ /**
4472
+ * Payment options
4473
+ */
4474
+ paymentCashOnDelivery;
4475
+ paymentPaidInAdvance;
4476
+ paymentInvoice;
4477
+ /**
4478
+ * Shipping options
4479
+ */
4480
+ shippingStandard;
4481
+ shippingExpress;
4482
+ page;
4610
4483
  constructor(page) {
4611
- __publicField$N(this, "completePaymentButton");
4612
- __publicField$N(this, "orderCancelButton");
4613
- __publicField$N(this, "dialogOrderCancel");
4614
- __publicField$N(this, "dialogOrderCancelButton");
4615
- __publicField$N(this, "dialogBackButton");
4616
- /**
4617
- * Payment options
4618
- */
4619
- __publicField$N(this, "paymentCashOnDelivery");
4620
- __publicField$N(this, "paymentPaidInAdvance");
4621
- __publicField$N(this, "paymentInvoice");
4622
- /**
4623
- * Shipping options
4624
- */
4625
- __publicField$N(this, "shippingStandard");
4626
- __publicField$N(this, "shippingExpress");
4627
- __publicField$N(this, "page");
4628
4484
  this.page = page;
4629
4485
  this.completePaymentButton = page.getByRole("button", { name: "Complete payment" });
4630
4486
  this.orderCancelButton = page.getByRole("button", { name: "Cancel order" });
@@ -4650,26 +4506,20 @@ class CheckoutOrderEdit {
4650
4506
  }
4651
4507
  }
4652
4508
 
4653
- var __defProp$M = Object.defineProperty;
4654
- var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4655
- var __publicField$M = (obj, key, value) => {
4656
- __defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
4657
- return value;
4658
- };
4659
4509
  class AccountAddressCreate {
4510
+ salutationDropdown;
4511
+ firstNameInput;
4512
+ lastNameInput;
4513
+ companyInput;
4514
+ departmentInput;
4515
+ streetInput;
4516
+ zipcodeInput;
4517
+ cityInput;
4518
+ countryDropdown;
4519
+ saveAddressButton;
4520
+ stateDropdown;
4521
+ page;
4660
4522
  constructor(page) {
4661
- __publicField$M(this, "salutationDropdown");
4662
- __publicField$M(this, "firstNameInput");
4663
- __publicField$M(this, "lastNameInput");
4664
- __publicField$M(this, "companyInput");
4665
- __publicField$M(this, "departmentInput");
4666
- __publicField$M(this, "streetInput");
4667
- __publicField$M(this, "zipcodeInput");
4668
- __publicField$M(this, "cityInput");
4669
- __publicField$M(this, "countryDropdown");
4670
- __publicField$M(this, "saveAddressButton");
4671
- __publicField$M(this, "stateDropdown");
4672
- __publicField$M(this, "page");
4673
4523
  this.page = page;
4674
4524
  this.salutationDropdown = page.getByRole("combobox", { name: "Salutation" });
4675
4525
  this.firstNameInput = page.getByRole("textbox", { name: "First name" });
@@ -4688,19 +4538,13 @@ class AccountAddressCreate {
4688
4538
  }
4689
4539
  }
4690
4540
 
4691
- var __defProp$L = Object.defineProperty;
4692
- var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4693
- var __publicField$L = (obj, key, value) => {
4694
- __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
4695
- return value;
4696
- };
4697
4541
  class PageNotFound {
4542
+ pageNotFoundImage;
4543
+ headline;
4544
+ pageNotFoundMessage;
4545
+ backToShopButton;
4546
+ page;
4698
4547
  constructor(page) {
4699
- __publicField$L(this, "pageNotFoundImage");
4700
- __publicField$L(this, "headline");
4701
- __publicField$L(this, "pageNotFoundMessage");
4702
- __publicField$L(this, "backToShopButton");
4703
- __publicField$L(this, "page");
4704
4548
  this.page = page;
4705
4549
  this.pageNotFoundImage = page.getByAltText("Page not found");
4706
4550
  this.headline = page.getByRole("heading", { name: "Page not found" });
@@ -4712,48 +4556,42 @@ class PageNotFound {
4712
4556
  }
4713
4557
  }
4714
4558
 
4715
- var __defProp$K = Object.defineProperty;
4716
- var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4717
- var __publicField$K = (obj, key, value) => {
4718
- __defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
4719
- return value;
4720
- };
4721
4559
  class ContactForm extends Home {
4560
+ /**
4561
+ * @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
4562
+ */
4563
+ contactModal;
4564
+ /**
4565
+ * @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
4566
+ */
4567
+ contactSuccessModal;
4568
+ contactWrapper;
4569
+ salutationSelect;
4570
+ firstNameInput;
4571
+ lastNameInput;
4572
+ emailInput;
4573
+ phoneInput;
4574
+ subjectInput;
4575
+ commentInput;
4576
+ privacyPolicyCheckbox;
4577
+ submitButton;
4578
+ contactSuccessMessage;
4579
+ cardTitle;
4580
+ formFieldFeedback;
4581
+ formAlert;
4582
+ /**
4583
+ * Captcha locators
4584
+ */
4585
+ basicCaptcha;
4586
+ basicCaptchaImage;
4587
+ basicCaptchaRefreshButton;
4588
+ basicCaptchaInput;
4589
+ greCaptchaV2Container;
4590
+ greCaptchaV2Input;
4591
+ greCaptchaProtectionInformation;
4592
+ instanceMeta;
4722
4593
  constructor(page, instanceMeta) {
4723
4594
  super(page);
4724
- /**
4725
- * @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
4726
- */
4727
- __publicField$K(this, "contactModal");
4728
- /**
4729
- * @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
4730
- */
4731
- __publicField$K(this, "contactSuccessModal");
4732
- __publicField$K(this, "contactWrapper");
4733
- __publicField$K(this, "salutationSelect");
4734
- __publicField$K(this, "firstNameInput");
4735
- __publicField$K(this, "lastNameInput");
4736
- __publicField$K(this, "emailInput");
4737
- __publicField$K(this, "phoneInput");
4738
- __publicField$K(this, "subjectInput");
4739
- __publicField$K(this, "commentInput");
4740
- __publicField$K(this, "privacyPolicyCheckbox");
4741
- __publicField$K(this, "submitButton");
4742
- __publicField$K(this, "contactSuccessMessage");
4743
- __publicField$K(this, "cardTitle");
4744
- __publicField$K(this, "formFieldFeedback");
4745
- __publicField$K(this, "formAlert");
4746
- /**
4747
- * Captcha locators
4748
- */
4749
- __publicField$K(this, "basicCaptcha");
4750
- __publicField$K(this, "basicCaptchaImage");
4751
- __publicField$K(this, "basicCaptchaRefreshButton");
4752
- __publicField$K(this, "basicCaptchaInput");
4753
- __publicField$K(this, "greCaptchaV2Container");
4754
- __publicField$K(this, "greCaptchaV2Input");
4755
- __publicField$K(this, "greCaptchaProtectionInformation");
4756
- __publicField$K(this, "instanceMeta");
4757
4595
  this.instanceMeta = instanceMeta;
4758
4596
  this.contactWrapper = this.page.locator(".card").filter({ has: this.page.getByText("Contact") });
4759
4597
  this.formFieldFeedback = this.contactWrapper.locator(".form-field-feedback");
@@ -4789,19 +4627,13 @@ class ContactForm extends Home {
4789
4627
  }
4790
4628
  }
4791
4629
 
4792
- var __defProp$J = Object.defineProperty;
4793
- var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4794
- var __publicField$J = (obj, key, value) => {
4795
- __defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
4796
- return value;
4797
- };
4798
4630
  class Wishlist extends Home {
4631
+ wishListHeader;
4632
+ removeAlert;
4633
+ emptyListing;
4634
+ page;
4799
4635
  constructor(page) {
4800
4636
  super(page);
4801
- __publicField$J(this, "wishListHeader");
4802
- __publicField$J(this, "removeAlert");
4803
- __publicField$J(this, "emptyListing");
4804
- __publicField$J(this, "page");
4805
4637
  this.page = page;
4806
4638
  this.wishListHeader = page.locator(".wishlist-headline");
4807
4639
  this.removeAlert = page.locator(".alert-success");
@@ -4821,20 +4653,14 @@ class Wishlist extends Home {
4821
4653
  }
4822
4654
  }
4823
4655
 
4824
- var __defProp$I = Object.defineProperty;
4825
- var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4826
- var __publicField$I = (obj, key, value) => {
4827
- __defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
4828
- return value;
4829
- };
4830
4656
  class Footer {
4657
+ footerHeadline;
4658
+ footerContent;
4659
+ footerHotline;
4660
+ footerContactForm;
4661
+ footerContactFormLink;
4662
+ page;
4831
4663
  constructor(page) {
4832
- __publicField$I(this, "footerHeadline");
4833
- __publicField$I(this, "footerContent");
4834
- __publicField$I(this, "footerHotline");
4835
- __publicField$I(this, "footerContactForm");
4836
- __publicField$I(this, "footerContactFormLink");
4837
- __publicField$I(this, "page");
4838
4664
  this.page = page;
4839
4665
  this.footerHeadline = page.locator(".footer-column-headline");
4840
4666
  this.footerContent = page.locator(".footer-column-content-inner");
@@ -4847,23 +4673,17 @@ class Footer {
4847
4673
  }
4848
4674
  }
4849
4675
 
4850
- var __defProp$H = Object.defineProperty;
4851
- var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4852
- var __publicField$H = (obj, key, value) => {
4853
- __defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
4854
- return value;
4855
- };
4856
4676
  class Header {
4677
+ mainNavigationLink;
4678
+ languagesDropdown;
4679
+ languagesMenuOptions;
4680
+ currenciesDropdown;
4681
+ currenciesMenuOptions;
4682
+ //wishlist
4683
+ wishlistIcon;
4684
+ wishlistBasket;
4685
+ page;
4857
4686
  constructor(page) {
4858
- __publicField$H(this, "mainNavigationLink");
4859
- __publicField$H(this, "languagesDropdown");
4860
- __publicField$H(this, "languagesMenuOptions");
4861
- __publicField$H(this, "currenciesDropdown");
4862
- __publicField$H(this, "currenciesMenuOptions");
4863
- //wishlist
4864
- __publicField$H(this, "wishlistIcon");
4865
- __publicField$H(this, "wishlistBasket");
4866
- __publicField$H(this, "page");
4867
4687
  this.page = page;
4868
4688
  this.mainNavigationLink = page.locator(".main-navigation-link-text");
4869
4689
  this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
@@ -5001,98 +4821,92 @@ async function getCustomFieldCardLocators(page, customFieldSetName, customFieldN
5001
4821
  };
5002
4822
  }
5003
4823
 
5004
- var __defProp$G = Object.defineProperty;
5005
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5006
- var __publicField$G = (obj, key, value) => {
5007
- __defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
5008
- return value;
5009
- };
5010
4824
  class ProductDetail {
4825
+ contentView;
4826
+ productHeadline;
4827
+ /**
4828
+ * Save interactions
4829
+ */
4830
+ savePhysicalProductButton;
4831
+ saveButtonLoadingSpinner;
4832
+ saveButtonCheckMark;
4833
+ /**
4834
+ * General Info
4835
+ */
4836
+ manufacturerDropdownText;
4837
+ /**
4838
+ * Prices
4839
+ */
4840
+ priceGrossInput;
4841
+ /**
4842
+ * Deliverability
4843
+ */
4844
+ stockInput;
4845
+ restockTimeInput;
4846
+ /**
4847
+ * Visibility
4848
+ */
4849
+ activeForAllSalesChannelsToggle;
4850
+ tagsInput;
4851
+ saleChannelsInput;
4852
+ /**
4853
+ * Labelling
4854
+ */
4855
+ releaseDateInput;
4856
+ /**
4857
+ * Media Upload interactions
4858
+ */
4859
+ uploadMediaButton;
4860
+ coverImage;
4861
+ productImage;
4862
+ /**
4863
+ * Tabs
4864
+ */
4865
+ variantsTabLink;
4866
+ specificationsTabLink;
4867
+ advancedPricingTabLink;
4868
+ layoutTabLink;
4869
+ crossSellingTabLink;
4870
+ SEOTabLink;
4871
+ reviewsTabLink;
4872
+ /**
4873
+ * Variants Generation
4874
+ */
4875
+ generateVariantsButton;
4876
+ variantsModal;
4877
+ variantsModalHeadline;
4878
+ variantsNextButton;
4879
+ variantsSaveButton;
4880
+ /**
4881
+ * Property Selection
4882
+ */
4883
+ propertyName;
4884
+ propertyValueCheckbox;
4885
+ /** @deprecated - Use 'propertyName' instead. */
4886
+ propertyGroupColor;
4887
+ /** @deprecated - Use 'propertyName' instead. */
4888
+ propertyGroupSize;
4889
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
4890
+ propertyOptionGrid;
4891
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
4892
+ propertyOptionColorBlue;
4893
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
4894
+ propertyOptionColorRed;
4895
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
4896
+ propertyOptionColorGreen;
4897
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
4898
+ propertyOptionSizeSmall;
4899
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
4900
+ propertyOptionSizeMedium;
4901
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
4902
+ propertyOptionSizeLarge;
4903
+ /**
4904
+ * Cards
4905
+ */
4906
+ customFieldCard;
4907
+ page;
4908
+ instanceMeta;
5011
4909
  constructor(page, instanceMeta) {
5012
- __publicField$G(this, "contentView");
5013
- __publicField$G(this, "productHeadline");
5014
- /**
5015
- * Save interactions
5016
- */
5017
- __publicField$G(this, "savePhysicalProductButton");
5018
- __publicField$G(this, "saveButtonLoadingSpinner");
5019
- __publicField$G(this, "saveButtonCheckMark");
5020
- /**
5021
- * General Info
5022
- */
5023
- __publicField$G(this, "manufacturerDropdownText");
5024
- /**
5025
- * Prices
5026
- */
5027
- __publicField$G(this, "priceGrossInput");
5028
- /**
5029
- * Deliverability
5030
- */
5031
- __publicField$G(this, "stockInput");
5032
- __publicField$G(this, "restockTimeInput");
5033
- /**
5034
- * Visibility
5035
- */
5036
- __publicField$G(this, "activeForAllSalesChannelsToggle");
5037
- __publicField$G(this, "tagsInput");
5038
- __publicField$G(this, "saleChannelsInput");
5039
- /**
5040
- * Labelling
5041
- */
5042
- __publicField$G(this, "releaseDateInput");
5043
- /**
5044
- * Media Upload interactions
5045
- */
5046
- __publicField$G(this, "uploadMediaButton");
5047
- __publicField$G(this, "coverImage");
5048
- __publicField$G(this, "productImage");
5049
- /**
5050
- * Tabs
5051
- */
5052
- __publicField$G(this, "variantsTabLink");
5053
- __publicField$G(this, "specificationsTabLink");
5054
- __publicField$G(this, "advancedPricingTabLink");
5055
- __publicField$G(this, "layoutTabLink");
5056
- __publicField$G(this, "crossSellingTabLink");
5057
- __publicField$G(this, "SEOTabLink");
5058
- __publicField$G(this, "reviewsTabLink");
5059
- /**
5060
- * Variants Generation
5061
- */
5062
- __publicField$G(this, "generateVariantsButton");
5063
- __publicField$G(this, "variantsModal");
5064
- __publicField$G(this, "variantsModalHeadline");
5065
- __publicField$G(this, "variantsNextButton");
5066
- __publicField$G(this, "variantsSaveButton");
5067
- /**
5068
- * Property Selection
5069
- */
5070
- __publicField$G(this, "propertyName");
5071
- __publicField$G(this, "propertyValueCheckbox");
5072
- /** @deprecated - Use 'propertyName' instead. */
5073
- __publicField$G(this, "propertyGroupColor");
5074
- /** @deprecated - Use 'propertyName' instead. */
5075
- __publicField$G(this, "propertyGroupSize");
5076
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
5077
- __publicField$G(this, "propertyOptionGrid");
5078
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
5079
- __publicField$G(this, "propertyOptionColorBlue");
5080
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
5081
- __publicField$G(this, "propertyOptionColorRed");
5082
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
5083
- __publicField$G(this, "propertyOptionColorGreen");
5084
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
5085
- __publicField$G(this, "propertyOptionSizeSmall");
5086
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
5087
- __publicField$G(this, "propertyOptionSizeMedium");
5088
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
5089
- __publicField$G(this, "propertyOptionSizeLarge");
5090
- /**
5091
- * Cards
5092
- */
5093
- __publicField$G(this, "customFieldCard");
5094
- __publicField$G(this, "page");
5095
- __publicField$G(this, "instanceMeta");
5096
4910
  this.page = page;
5097
4911
  this.instanceMeta = instanceMeta;
5098
4912
  this.contentView = page.locator(".sw-desktop__content");
@@ -5166,35 +4980,29 @@ class ProductDetail {
5166
4980
  }
5167
4981
  }
5168
4982
 
5169
- var __defProp$F = Object.defineProperty;
5170
- var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5171
- var __publicField$F = (obj, key, value) => {
5172
- __defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
5173
- return value;
5174
- };
5175
4983
  class OrderDetail {
4984
+ saveButton;
4985
+ dataGridContextButton;
4986
+ orderTag;
4987
+ lineItem;
4988
+ lineItemsTable;
4989
+ documentType;
4990
+ contextMenuButton;
4991
+ contextMenu;
4992
+ contextMenuSendDocument;
4993
+ sendDocumentModal;
4994
+ sendDocumentButton;
4995
+ itemsCardHeader;
4996
+ sentCheckmark;
4997
+ /**
4998
+ * Tabs
4999
+ */
5000
+ generalTabLink;
5001
+ detailsTabLink;
5002
+ documentsTabLink;
5003
+ page;
5004
+ instanceMeta;
5176
5005
  constructor(page, instanceMeta) {
5177
- __publicField$F(this, "saveButton");
5178
- __publicField$F(this, "dataGridContextButton");
5179
- __publicField$F(this, "orderTag");
5180
- __publicField$F(this, "lineItem");
5181
- __publicField$F(this, "lineItemsTable");
5182
- __publicField$F(this, "documentType");
5183
- __publicField$F(this, "contextMenuButton");
5184
- __publicField$F(this, "contextMenu");
5185
- __publicField$F(this, "contextMenuSendDocument");
5186
- __publicField$F(this, "sendDocumentModal");
5187
- __publicField$F(this, "sendDocumentButton");
5188
- __publicField$F(this, "itemsCardHeader");
5189
- __publicField$F(this, "sentCheckmark");
5190
- /**
5191
- * Tabs
5192
- */
5193
- __publicField$F(this, "generalTabLink");
5194
- __publicField$F(this, "detailsTabLink");
5195
- __publicField$F(this, "documentsTabLink");
5196
- __publicField$F(this, "page");
5197
- __publicField$F(this, "instanceMeta");
5198
5006
  this.page = page;
5199
5007
  this.instanceMeta = instanceMeta;
5200
5008
  this.saveButton = page.locator(".sw-order-detail__smart-bar-save-button");
@@ -5226,24 +5034,18 @@ class OrderDetail {
5226
5034
  }
5227
5035
  }
5228
5036
 
5229
- var __defProp$E = Object.defineProperty;
5230
- var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5231
- var __publicField$E = (obj, key, value) => {
5232
- __defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
5233
- return value;
5234
- };
5235
5037
  class CustomerListing {
5038
+ headline;
5039
+ addCustomerButton;
5040
+ bulkEditButton;
5041
+ deleteButton;
5042
+ //Customer Bulk Edit Modal
5043
+ bulkEditModal;
5044
+ startBulkEditButton;
5045
+ cancelButton;
5046
+ modalHeaderCheckbox;
5047
+ page;
5236
5048
  constructor(page) {
5237
- __publicField$E(this, "headline");
5238
- __publicField$E(this, "addCustomerButton");
5239
- __publicField$E(this, "bulkEditButton");
5240
- __publicField$E(this, "deleteButton");
5241
- //Customer Bulk Edit Modal
5242
- __publicField$E(this, "bulkEditModal");
5243
- __publicField$E(this, "startBulkEditButton");
5244
- __publicField$E(this, "cancelButton");
5245
- __publicField$E(this, "modalHeaderCheckbox");
5246
- __publicField$E(this, "page");
5247
5049
  this.page = page;
5248
5050
  this.headline = page.getByRole("heading", { name: "Customers" });
5249
5051
  this.addCustomerButton = page.locator(".sw-customer-list__button-create");
@@ -5265,6 +5067,8 @@ class CustomerListing {
5265
5067
  const customerGroup = customer.locator(".sw-data-grid__cell--group");
5266
5068
  const customerEmailAddress = customer.locator(".sw-data-grid__cell--email");
5267
5069
  const customerCheckbox = customer.getByRole("checkbox");
5070
+ const customerCreatedTime = customer.locator(".sw-data-grid__cell--createdAt");
5071
+ const customerAvatar = customer.locator(".sw-avatar__circle");
5268
5072
  return {
5269
5073
  customerName,
5270
5074
  customerStreet,
@@ -5273,7 +5077,9 @@ class CustomerListing {
5273
5077
  customerNumber,
5274
5078
  customerGroup,
5275
5079
  customerEmailAddress,
5276
- customerCheckbox
5080
+ customerCheckbox,
5081
+ customerCreatedTime,
5082
+ customerAvatar
5277
5083
  };
5278
5084
  }
5279
5085
  async getCustomerBulkEditModalTitle(customerCount) {
@@ -5305,31 +5111,29 @@ class CustomerListing {
5305
5111
  }
5306
5112
  }
5307
5113
 
5308
- var __defProp$D = Object.defineProperty;
5309
- var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5310
- var __publicField$D = (obj, key, value) => {
5311
- __defNormalProp$D(obj, typeof key !== "symbol" ? key + "" : key, value);
5312
- return value;
5313
- };
5314
5114
  class CustomerDetail {
5115
+ editButton;
5116
+ generalTab;
5117
+ addressesTab;
5118
+ ordersTab;
5119
+ accountCard;
5120
+ customFieldCard;
5121
+ customFieldSetTabs;
5122
+ customFieldSetTabCustomContent;
5123
+ customerGroupRequestMessage;
5124
+ customerGroupAcceptButton;
5125
+ customerGroupDeclineButton;
5126
+ tagList;
5127
+ tagItems;
5128
+ page;
5129
+ instanceMeta;
5315
5130
  constructor(page, instanceMeta) {
5316
- __publicField$D(this, "editButton");
5317
- __publicField$D(this, "generalTab");
5318
- __publicField$D(this, "accountCard");
5319
- __publicField$D(this, "customFieldCard");
5320
- __publicField$D(this, "customFieldSetTabs");
5321
- __publicField$D(this, "customFieldSetTabCustomContent");
5322
- __publicField$D(this, "customerGroupRequestMessage");
5323
- __publicField$D(this, "customerGroupAcceptButton");
5324
- __publicField$D(this, "customerGroupDeclineButton");
5325
- __publicField$D(this, "tagList");
5326
- __publicField$D(this, "tagItems");
5327
- __publicField$D(this, "page");
5328
- __publicField$D(this, "instanceMeta");
5329
5131
  this.page = page;
5330
5132
  this.instanceMeta = instanceMeta;
5331
5133
  this.editButton = page.getByRole("button", { name: "Edit" });
5332
5134
  this.generalTab = page.getByRole("link", { name: "General" });
5135
+ this.addressesTab = page.getByRole("tab", { name: "Addresses" });
5136
+ this.ordersTab = page.getByRole("tab", { name: "Orders" });
5333
5137
  this.accountCard = page.locator(".sw-customer-card");
5334
5138
  if (satisfies(instanceMeta.version, "<6.7")) {
5335
5139
  this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
@@ -5388,17 +5192,11 @@ class CustomerDetail {
5388
5192
  }
5389
5193
  }
5390
5194
 
5391
- var __defProp$C = Object.defineProperty;
5392
- var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5393
- var __publicField$C = (obj, key, value) => {
5394
- __defNormalProp$C(obj, typeof key !== "symbol" ? key + "" : key, value);
5395
- return value;
5396
- };
5397
5195
  class CustomerGroupListing {
5196
+ headline;
5197
+ addCustomerGroupButton;
5198
+ page;
5398
5199
  constructor(page) {
5399
- __publicField$C(this, "headline");
5400
- __publicField$C(this, "addCustomerGroupButton");
5401
- __publicField$C(this, "page");
5402
5200
  this.page = page;
5403
5201
  this.headline = page.getByRole("heading", { name: "Customer groups" });
5404
5202
  this.addCustomerGroupButton = page.locator(".sw-settings-customer-group-list__create");
@@ -5421,30 +5219,24 @@ class CustomerGroupListing {
5421
5219
  }
5422
5220
  }
5423
5221
 
5424
- var __defProp$B = Object.defineProperty;
5425
- var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5426
- var __publicField$B = (obj, key, value) => {
5427
- __defNormalProp$B(obj, typeof key !== "symbol" ? key + "" : key, value);
5428
- return value;
5429
- };
5430
5222
  class CustomerGroupCreate {
5223
+ headline;
5224
+ saveButton;
5225
+ cancelButton;
5226
+ cardTitle;
5227
+ customerGroupNameField;
5228
+ customerGroupGrossTaxDisplay;
5229
+ customerGroupNetTaxDisplay;
5230
+ customSignupFormToggle;
5231
+ signupFormTitle;
5232
+ signupFormIntroduction;
5233
+ signupFormSeoDescription;
5234
+ signupFormCompanySignupToggle;
5235
+ customerGroupSaleschannelSelection;
5236
+ customerGroupSaleschannelResultList;
5237
+ page;
5238
+ instanceMeta;
5431
5239
  constructor(page, instanceMeta) {
5432
- __publicField$B(this, "headline");
5433
- __publicField$B(this, "saveButton");
5434
- __publicField$B(this, "cancelButton");
5435
- __publicField$B(this, "cardTitle");
5436
- __publicField$B(this, "customerGroupNameField");
5437
- __publicField$B(this, "customerGroupGrossTaxDisplay");
5438
- __publicField$B(this, "customerGroupNetTaxDisplay");
5439
- __publicField$B(this, "customSignupFormToggle");
5440
- __publicField$B(this, "signupFormTitle");
5441
- __publicField$B(this, "signupFormIntroduction");
5442
- __publicField$B(this, "signupFormSeoDescription");
5443
- __publicField$B(this, "signupFormCompanySignupToggle");
5444
- __publicField$B(this, "customerGroupSaleschannelSelection");
5445
- __publicField$B(this, "customerGroupSaleschannelResultList");
5446
- __publicField$B(this, "page");
5447
- __publicField$B(this, "instanceMeta");
5448
5240
  this.page = page;
5449
5241
  this.instanceMeta = instanceMeta;
5450
5242
  this.headline = page.getByRole("heading", { name: "New customer group" });
@@ -5475,19 +5267,13 @@ class CustomerGroupCreate {
5475
5267
  }
5476
5268
  }
5477
5269
 
5478
- var __defProp$A = Object.defineProperty;
5479
- var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5480
- var __publicField$A = (obj, key, value) => {
5481
- __defNormalProp$A(obj, typeof key !== "symbol" ? key + "" : key, value);
5482
- return value;
5483
- };
5484
5270
  class CustomerGroupDetail extends CustomerGroupCreate {
5271
+ headline;
5272
+ selectedSalesChannel;
5273
+ technicalUrl;
5274
+ saleschannelUrl;
5485
5275
  constructor(page, instanceMeta) {
5486
5276
  super(page, instanceMeta);
5487
- __publicField$A(this, "headline");
5488
- __publicField$A(this, "selectedSalesChannel");
5489
- __publicField$A(this, "technicalUrl");
5490
- __publicField$A(this, "saleschannelUrl");
5491
5277
  this.headline = page.locator(".smart-bar__header");
5492
5278
  this.selectedSalesChannel = page.locator(".sw-select-selection-list");
5493
5279
  this.technicalUrl = page.getByLabel("Technical URL");
@@ -5498,66 +5284,60 @@ class CustomerGroupDetail extends CustomerGroupCreate {
5498
5284
  }
5499
5285
  }
5500
5286
 
5501
- var __defProp$z = Object.defineProperty;
5502
- var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5503
- var __publicField$z = (obj, key, value) => {
5504
- __defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
5505
- return value;
5506
- };
5507
5287
  class FirstRunWizard {
5288
+ nextButton;
5289
+ configureLaterButton;
5290
+ skipButton;
5291
+ finishButton;
5292
+ backButton;
5293
+ smtpServerButton;
5294
+ dataImportHeader;
5295
+ installLanguagePackButton;
5296
+ installDemoDataButton;
5297
+ installMigrationAssistantButton;
5298
+ defaultValuesHeader;
5299
+ mailerConfigurationHeader;
5300
+ payPalSetupHeader;
5301
+ extensionsHeader;
5302
+ shopwareAccountHeader;
5303
+ shopwareStoreHeader;
5304
+ doneHeader;
5305
+ frwSuccessText;
5306
+ welcomeText;
5307
+ pluginCardInfo;
5308
+ dataImportCard;
5309
+ salesChannelSelectionList;
5310
+ salesChannelSelectionMultiSelect;
5311
+ smtpServerTitle;
5312
+ /**
5313
+ * @deprecated - Use `smtpServerFieldInputs` instead.
5314
+ */
5315
+ smtpServerFields;
5316
+ smtpServerFieldInputs;
5317
+ smtpServerHostInput;
5318
+ smtpServerPortInput;
5319
+ smtpServerUsernameInput;
5320
+ smtpServerPasswordInput;
5321
+ smtpServerEncryptionInput;
5322
+ smtpServerSenderAddressInput;
5323
+ smtpServerDeliveryAddressInput;
5324
+ smtpServerDisableEmailDeliveryCheckbox;
5325
+ payPalPaymethods;
5326
+ payPalInfoCard;
5327
+ emailAddressInputField;
5328
+ passwordInputField;
5329
+ forgotPasswordLink;
5330
+ extensionStoreHeading;
5331
+ documentationLink;
5332
+ forumLink;
5333
+ roadmapLink;
5334
+ germanRegionSelector;
5335
+ toolsSelector;
5336
+ recommendationHeader;
5337
+ toolsRecommendedPlugin;
5338
+ page;
5339
+ instanceMeta;
5508
5340
  constructor(page, instanceMeta) {
5509
- __publicField$z(this, "nextButton");
5510
- __publicField$z(this, "configureLaterButton");
5511
- __publicField$z(this, "skipButton");
5512
- __publicField$z(this, "finishButton");
5513
- __publicField$z(this, "backButton");
5514
- __publicField$z(this, "smtpServerButton");
5515
- __publicField$z(this, "dataImportHeader");
5516
- __publicField$z(this, "installLanguagePackButton");
5517
- __publicField$z(this, "installDemoDataButton");
5518
- __publicField$z(this, "installMigrationAssistantButton");
5519
- __publicField$z(this, "defaultValuesHeader");
5520
- __publicField$z(this, "mailerConfigurationHeader");
5521
- __publicField$z(this, "payPalSetupHeader");
5522
- __publicField$z(this, "extensionsHeader");
5523
- __publicField$z(this, "shopwareAccountHeader");
5524
- __publicField$z(this, "shopwareStoreHeader");
5525
- __publicField$z(this, "doneHeader");
5526
- __publicField$z(this, "frwSuccessText");
5527
- __publicField$z(this, "welcomeText");
5528
- __publicField$z(this, "pluginCardInfo");
5529
- __publicField$z(this, "dataImportCard");
5530
- __publicField$z(this, "salesChannelSelectionList");
5531
- __publicField$z(this, "salesChannelSelectionMultiSelect");
5532
- __publicField$z(this, "smtpServerTitle");
5533
- /**
5534
- * @deprecated - Use `smtpServerFieldInputs` instead.
5535
- */
5536
- __publicField$z(this, "smtpServerFields");
5537
- __publicField$z(this, "smtpServerFieldInputs");
5538
- __publicField$z(this, "smtpServerHostInput");
5539
- __publicField$z(this, "smtpServerPortInput");
5540
- __publicField$z(this, "smtpServerUsernameInput");
5541
- __publicField$z(this, "smtpServerPasswordInput");
5542
- __publicField$z(this, "smtpServerEncryptionInput");
5543
- __publicField$z(this, "smtpServerSenderAddressInput");
5544
- __publicField$z(this, "smtpServerDeliveryAddressInput");
5545
- __publicField$z(this, "smtpServerDisableEmailDeliveryCheckbox");
5546
- __publicField$z(this, "payPalPaymethods");
5547
- __publicField$z(this, "payPalInfoCard");
5548
- __publicField$z(this, "emailAddressInputField");
5549
- __publicField$z(this, "passwordInputField");
5550
- __publicField$z(this, "forgotPasswordLink");
5551
- __publicField$z(this, "extensionStoreHeading");
5552
- __publicField$z(this, "documentationLink");
5553
- __publicField$z(this, "forumLink");
5554
- __publicField$z(this, "roadmapLink");
5555
- __publicField$z(this, "germanRegionSelector");
5556
- __publicField$z(this, "toolsSelector");
5557
- __publicField$z(this, "recommendationHeader");
5558
- __publicField$z(this, "toolsRecommendedPlugin");
5559
- __publicField$z(this, "page");
5560
- __publicField$z(this, "instanceMeta");
5561
5341
  this.page = page;
5562
5342
  this.instanceMeta = instanceMeta;
5563
5343
  this.nextButton = page.getByText("Next", { exact: true });
@@ -5628,58 +5408,52 @@ async function getSelectFieldListitem(page, selectField, listItem, instanceMeta)
5628
5408
  }
5629
5409
  }
5630
5410
 
5631
- var __defProp$y = Object.defineProperty;
5632
- var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5633
- var __publicField$y = (obj, key, value) => {
5634
- __defNormalProp$y(obj, typeof key !== "symbol" ? key + "" : key, value);
5635
- return value;
5636
- };
5637
5411
  class FlowBuilderCreate {
5412
+ contentView;
5413
+ //header
5414
+ saveButton;
5415
+ header;
5416
+ smartBarHeader;
5417
+ //tabs
5418
+ generalTab;
5419
+ flowTab;
5420
+ //../general
5421
+ nameField;
5422
+ descriptionField;
5423
+ priorityField;
5424
+ activeSwitch;
5425
+ //../flow
5426
+ triggerSelectField;
5427
+ modalAddButton;
5428
+ sequenceSelectorConditionButton;
5429
+ conditionSelectField;
5430
+ sequenceSelectorActionButton;
5431
+ actionSelectField;
5432
+ selectFieldResultList;
5433
+ trueBlock;
5434
+ trueBlockAddConditionButton;
5435
+ trueBlockAddActionButton;
5436
+ trueBlockActionSelectField;
5437
+ trueBlockActionDescription;
5438
+ mailSendModal;
5439
+ mailSendModalTemplateSelectField;
5440
+ falseBlock;
5441
+ falseBlockAddConditionButton;
5442
+ falseBlockAddActionButton;
5443
+ falseBlockActionSelectField;
5444
+ falseBlockActionDescription;
5445
+ tagModal;
5446
+ tagModalTagsSelectField;
5447
+ delayCard;
5448
+ conditionRule;
5449
+ sequenceSeparator;
5450
+ addActionField;
5451
+ newFlowHeader;
5452
+ resultListItem;
5453
+ resultList;
5454
+ page;
5455
+ instanceMeta;
5638
5456
  constructor(page, instanceMeta) {
5639
- __publicField$y(this, "contentView");
5640
- //header
5641
- __publicField$y(this, "saveButton");
5642
- __publicField$y(this, "header");
5643
- __publicField$y(this, "smartBarHeader");
5644
- //tabs
5645
- __publicField$y(this, "generalTab");
5646
- __publicField$y(this, "flowTab");
5647
- //../general
5648
- __publicField$y(this, "nameField");
5649
- __publicField$y(this, "descriptionField");
5650
- __publicField$y(this, "priorityField");
5651
- __publicField$y(this, "activeSwitch");
5652
- //../flow
5653
- __publicField$y(this, "triggerSelectField");
5654
- __publicField$y(this, "modalAddButton");
5655
- __publicField$y(this, "sequenceSelectorConditionButton");
5656
- __publicField$y(this, "conditionSelectField");
5657
- __publicField$y(this, "sequenceSelectorActionButton");
5658
- __publicField$y(this, "actionSelectField");
5659
- __publicField$y(this, "selectFieldResultList");
5660
- __publicField$y(this, "trueBlock");
5661
- __publicField$y(this, "trueBlockAddConditionButton");
5662
- __publicField$y(this, "trueBlockAddActionButton");
5663
- __publicField$y(this, "trueBlockActionSelectField");
5664
- __publicField$y(this, "trueBlockActionDescription");
5665
- __publicField$y(this, "mailSendModal");
5666
- __publicField$y(this, "mailSendModalTemplateSelectField");
5667
- __publicField$y(this, "falseBlock");
5668
- __publicField$y(this, "falseBlockAddConditionButton");
5669
- __publicField$y(this, "falseBlockAddActionButton");
5670
- __publicField$y(this, "falseBlockActionSelectField");
5671
- __publicField$y(this, "falseBlockActionDescription");
5672
- __publicField$y(this, "tagModal");
5673
- __publicField$y(this, "tagModalTagsSelectField");
5674
- __publicField$y(this, "delayCard");
5675
- __publicField$y(this, "conditionRule");
5676
- __publicField$y(this, "sequenceSeparator");
5677
- __publicField$y(this, "addActionField");
5678
- __publicField$y(this, "newFlowHeader");
5679
- __publicField$y(this, "resultListItem");
5680
- __publicField$y(this, "resultList");
5681
- __publicField$y(this, "page");
5682
- __publicField$y(this, "instanceMeta");
5683
5457
  this.page = page;
5684
5458
  this.instanceMeta = instanceMeta;
5685
5459
  this.contentView = page.locator(".sw-desktop__content");
@@ -5736,33 +5510,27 @@ class FlowBuilderCreate {
5736
5510
  }
5737
5511
  }
5738
5512
 
5739
- var __defProp$x = Object.defineProperty;
5740
- var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5741
- var __publicField$x = (obj, key, value) => {
5742
- __defNormalProp$x(obj, typeof key !== "symbol" ? key + "" : key, value);
5743
- return value;
5744
- };
5745
5513
  class FlowBuilderListing {
5514
+ page;
5515
+ contentView;
5516
+ createFlowButton;
5517
+ firstFlowName;
5518
+ firstFlowContextButton;
5519
+ flowContextMenu;
5520
+ contextMenuDownload;
5521
+ contextMenuDuplicate;
5522
+ contextMenuEdit;
5523
+ contextMenuDelete;
5524
+ flowDownloadModal;
5525
+ downloadFlowButton;
5526
+ flowDeleteButton;
5527
+ successAlert;
5528
+ successAlertMessage;
5529
+ searchBar;
5530
+ pagination;
5531
+ testFlowNameCells;
5532
+ flowTemplatesTab;
5746
5533
  constructor(page) {
5747
- __publicField$x(this, "page");
5748
- __publicField$x(this, "contentView");
5749
- __publicField$x(this, "createFlowButton");
5750
- __publicField$x(this, "firstFlowName");
5751
- __publicField$x(this, "firstFlowContextButton");
5752
- __publicField$x(this, "flowContextMenu");
5753
- __publicField$x(this, "contextMenuDownload");
5754
- __publicField$x(this, "contextMenuDuplicate");
5755
- __publicField$x(this, "contextMenuEdit");
5756
- __publicField$x(this, "contextMenuDelete");
5757
- __publicField$x(this, "flowDownloadModal");
5758
- __publicField$x(this, "downloadFlowButton");
5759
- __publicField$x(this, "flowDeleteButton");
5760
- __publicField$x(this, "successAlert");
5761
- __publicField$x(this, "successAlertMessage");
5762
- __publicField$x(this, "searchBar");
5763
- __publicField$x(this, "pagination");
5764
- __publicField$x(this, "testFlowNameCells");
5765
- __publicField$x(this, "flowTemplatesTab");
5766
5534
  this.page = page;
5767
5535
  this.contentView = page.locator(".sw-desktop__content");
5768
5536
  this.createFlowButton = page.locator(".sw-flow-list__create");
@@ -5830,26 +5598,20 @@ async function getTooltipText(page, tooltipArea) {
5830
5598
  return await tooltipContent.innerText();
5831
5599
  }
5832
5600
 
5833
- var __defProp$w = Object.defineProperty;
5834
- var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5835
- var __publicField$w = (obj, key, value) => {
5836
- __defNormalProp$w(obj, typeof key !== "symbol" ? key + "" : key, value);
5837
- return value;
5838
- };
5839
5601
  class FlowBuilderDetail extends FlowBuilderCreate {
5602
+ saveButtonLoader;
5603
+ saveButton;
5604
+ generalTab;
5605
+ flowTab;
5606
+ alertWarning;
5607
+ templateName;
5608
+ alertMessage;
5609
+ successMessage;
5610
+ actionContentTag;
5611
+ skeletonLoader;
5612
+ messageClose;
5840
5613
  constructor(page, instanceMeta) {
5841
5614
  super(page, instanceMeta);
5842
- __publicField$w(this, "saveButtonLoader");
5843
- __publicField$w(this, "saveButton");
5844
- __publicField$w(this, "generalTab");
5845
- __publicField$w(this, "flowTab");
5846
- __publicField$w(this, "alertWarning");
5847
- __publicField$w(this, "templateName");
5848
- __publicField$w(this, "alertMessage");
5849
- __publicField$w(this, "successMessage");
5850
- __publicField$w(this, "actionContentTag");
5851
- __publicField$w(this, "skeletonLoader");
5852
- __publicField$w(this, "messageClose");
5853
5615
  this.generalTab = page.locator(".sw-flow-detail__tab-general");
5854
5616
  if (satisfies(instanceMeta.version, "<6.7")) {
5855
5617
  this.successMessage = page.locator(".sw-alert__title");
@@ -5880,21 +5642,15 @@ class FlowBuilderDetail extends FlowBuilderCreate {
5880
5642
  }
5881
5643
  }
5882
5644
 
5883
- var __defProp$v = Object.defineProperty;
5884
- var __defNormalProp$v = (obj, key, value) => key in obj ? __defProp$v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5885
- var __publicField$v = (obj, key, value) => {
5886
- __defNormalProp$v(obj, typeof key !== "symbol" ? key + "" : key, value);
5887
- return value;
5888
- };
5889
5645
  class DataSharing {
5646
+ dataConsentHeadline;
5647
+ dataSharingSuccessMessageLabel;
5648
+ dataSharingAgreeButton;
5649
+ dataSharingDisableButton;
5650
+ dataSharingTermsAgreementLabel;
5651
+ page;
5652
+ instanceMeta;
5890
5653
  constructor(page, instanceMeta) {
5891
- __publicField$v(this, "dataConsentHeadline");
5892
- __publicField$v(this, "dataSharingSuccessMessageLabel");
5893
- __publicField$v(this, "dataSharingAgreeButton");
5894
- __publicField$v(this, "dataSharingDisableButton");
5895
- __publicField$v(this, "dataSharingTermsAgreementLabel");
5896
- __publicField$v(this, "page");
5897
- __publicField$v(this, "instanceMeta");
5898
5654
  this.page = page;
5899
5655
  this.instanceMeta = instanceMeta;
5900
5656
  if (satisfies(instanceMeta.version, "<6.6.1")) {
@@ -5915,42 +5671,36 @@ class DataSharing {
5915
5671
  }
5916
5672
  }
5917
5673
 
5918
- var __defProp$u = Object.defineProperty;
5919
- var __defNormalProp$u = (obj, key, value) => key in obj ? __defProp$u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5920
- var __publicField$u = (obj, key, value) => {
5921
- __defNormalProp$u(obj, typeof key !== "symbol" ? key + "" : key, value);
5922
- return value;
5923
- };
5924
5674
  class Dashboard {
5675
+ contentView;
5676
+ adminMenuView;
5677
+ adminMenuCatalog;
5678
+ adminMenuOrder;
5679
+ adminMenuCustomer;
5680
+ adminMenuContent;
5681
+ adminMenuMarketing;
5682
+ adminMenuExtension;
5683
+ adminMenuUserChevron;
5684
+ adminMenuUserIcon;
5685
+ adminMenuUserName;
5686
+ welcomeHeadline;
5687
+ welcomeMessage;
5688
+ dataSharingConsentBanner;
5689
+ dataSharingAgreeButton;
5690
+ dataSharingNotAtTheMomentButton;
5691
+ dataSharingTermsAgreementLabel;
5692
+ dataSharingSettingsLink;
5693
+ dataSharingAcceptMessageText;
5694
+ dataSharingNotAtTheMomentMessageText;
5695
+ statisticsDateRange;
5696
+ statisticsChart;
5697
+ page;
5698
+ shopwareServicesAdvertisementBanner;
5699
+ shopwareServicesAdvertisementBannerCloseButton;
5700
+ shopwareServicesExploreNowButton;
5701
+ adminMenuUserActions;
5702
+ adminMenuLogoutButton;
5925
5703
  constructor(page) {
5926
- __publicField$u(this, "contentView");
5927
- __publicField$u(this, "adminMenuView");
5928
- __publicField$u(this, "adminMenuCatalog");
5929
- __publicField$u(this, "adminMenuOrder");
5930
- __publicField$u(this, "adminMenuCustomer");
5931
- __publicField$u(this, "adminMenuContent");
5932
- __publicField$u(this, "adminMenuMarketing");
5933
- __publicField$u(this, "adminMenuExtension");
5934
- __publicField$u(this, "adminMenuUserChevron");
5935
- __publicField$u(this, "adminMenuUserIcon");
5936
- __publicField$u(this, "adminMenuUserName");
5937
- __publicField$u(this, "welcomeHeadline");
5938
- __publicField$u(this, "welcomeMessage");
5939
- __publicField$u(this, "dataSharingConsentBanner");
5940
- __publicField$u(this, "dataSharingAgreeButton");
5941
- __publicField$u(this, "dataSharingNotAtTheMomentButton");
5942
- __publicField$u(this, "dataSharingTermsAgreementLabel");
5943
- __publicField$u(this, "dataSharingSettingsLink");
5944
- __publicField$u(this, "dataSharingAcceptMessageText");
5945
- __publicField$u(this, "dataSharingNotAtTheMomentMessageText");
5946
- __publicField$u(this, "statisticsDateRange");
5947
- __publicField$u(this, "statisticsChart");
5948
- __publicField$u(this, "page");
5949
- __publicField$u(this, "shopwareServicesAdvertisementBanner");
5950
- __publicField$u(this, "shopwareServicesAdvertisementBannerCloseButton");
5951
- __publicField$u(this, "shopwareServicesExploreNowButton");
5952
- __publicField$u(this, "adminMenuUserActions");
5953
- __publicField$u(this, "adminMenuLogoutButton");
5954
5704
  this.page = page;
5955
5705
  this.adminMenuView = page.locator(".sw-admin-menu");
5956
5706
  this.contentView = page.locator(".sw-desktop__content");
@@ -5985,25 +5735,19 @@ class Dashboard {
5985
5735
  }
5986
5736
  }
5987
5737
 
5988
- var __defProp$t = Object.defineProperty;
5989
- var __defNormalProp$t = (obj, key, value) => key in obj ? __defProp$t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
5990
- var __publicField$t = (obj, key, value) => {
5991
- __defNormalProp$t(obj, typeof key !== "symbol" ? key + "" : key, value);
5992
- return value;
5993
- };
5994
5738
  class ShippingListing {
5739
+ header;
5740
+ addShippingMethod;
5741
+ contextMenu;
5742
+ editButton;
5743
+ deleteButton;
5744
+ //warning modal
5745
+ modal;
5746
+ modalHeader;
5747
+ modalCancelButton;
5748
+ modalDeleteButton;
5749
+ page;
5995
5750
  constructor(page) {
5996
- __publicField$t(this, "header");
5997
- __publicField$t(this, "addShippingMethod");
5998
- __publicField$t(this, "contextMenu");
5999
- __publicField$t(this, "editButton");
6000
- __publicField$t(this, "deleteButton");
6001
- //warning modal
6002
- __publicField$t(this, "modal");
6003
- __publicField$t(this, "modalHeader");
6004
- __publicField$t(this, "modalCancelButton");
6005
- __publicField$t(this, "modalDeleteButton");
6006
- __publicField$t(this, "page");
6007
5751
  this.page = page;
6008
5752
  this.header = page.locator(".smart-bar__header");
6009
5753
  this.addShippingMethod = page.getByText("Add shipping method", { exact: true });
@@ -6020,19 +5764,13 @@ class ShippingListing {
6020
5764
  }
6021
5765
  }
6022
5766
 
6023
- var __defProp$s = Object.defineProperty;
6024
- var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6025
- var __publicField$s = (obj, key, value) => {
6026
- __defNormalProp$s(obj, typeof key !== "symbol" ? key + "" : key, value);
6027
- return value;
6028
- };
6029
5767
  class ShippingDetail {
5768
+ header;
5769
+ nameField;
5770
+ availabilityRuleField;
5771
+ availabilityRuleListItem;
5772
+ page;
6030
5773
  constructor(page) {
6031
- __publicField$s(this, "header");
6032
- __publicField$s(this, "nameField");
6033
- __publicField$s(this, "availabilityRuleField");
6034
- __publicField$s(this, "availabilityRuleListItem");
6035
- __publicField$s(this, "page");
6036
5774
  this.page = page;
6037
5775
  this.header = page.locator(".smart-bar__header");
6038
5776
  this.nameField = page.getByLabel("Name", { exact: true });
@@ -6047,19 +5785,13 @@ class ShippingDetail {
6047
5785
  }
6048
5786
  }
6049
5787
 
6050
- var __defProp$r = Object.defineProperty;
6051
- var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6052
- var __publicField$r = (obj, key, value) => {
6053
- __defNormalProp$r(obj, typeof key !== "symbol" ? key + "" : key, value);
6054
- return value;
6055
- };
6056
5788
  class PaymentDetail {
5789
+ header;
5790
+ nameField;
5791
+ availabilityRuleField;
5792
+ availabilityRuleListItem;
5793
+ page;
6057
5794
  constructor(page) {
6058
- __publicField$r(this, "header");
6059
- __publicField$r(this, "nameField");
6060
- __publicField$r(this, "availabilityRuleField");
6061
- __publicField$r(this, "availabilityRuleListItem");
6062
- __publicField$r(this, "page");
6063
5795
  this.page = page;
6064
5796
  this.header = page.locator(".smart-bar__header");
6065
5797
  this.nameField = page.getByLabel("Name", { exact: true });
@@ -6074,36 +5806,30 @@ class PaymentDetail {
6074
5806
  }
6075
5807
  }
6076
5808
 
6077
- var __defProp$q = Object.defineProperty;
6078
- var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6079
- var __publicField$q = (obj, key, value) => {
6080
- __defNormalProp$q(obj, typeof key !== "symbol" ? key + "" : key, value);
6081
- return value;
6082
- };
6083
5809
  class LandingPageCreate {
5810
+ /**
5811
+ * General
5812
+ */
5813
+ nameInput;
5814
+ landingPageStatus;
5815
+ salesChannelSelectionList;
5816
+ filtersResultPopoverItemList;
5817
+ saveLandingPageButton;
5818
+ loadingSpinner;
5819
+ seoUrlInput;
5820
+ /**
5821
+ * Layout
5822
+ */
5823
+ layoutTab;
5824
+ assignLayoutButton;
5825
+ searchLayoutInput;
5826
+ layoutItems;
5827
+ layoutSaveButton;
5828
+ layoutEmptyState;
5829
+ createNewLayoutButton;
5830
+ layoutCheckboxes;
5831
+ page;
6084
5832
  constructor(page) {
6085
- /**
6086
- * General
6087
- */
6088
- __publicField$q(this, "nameInput");
6089
- __publicField$q(this, "landingPageStatus");
6090
- __publicField$q(this, "salesChannelSelectionList");
6091
- __publicField$q(this, "filtersResultPopoverItemList");
6092
- __publicField$q(this, "saveLandingPageButton");
6093
- __publicField$q(this, "loadingSpinner");
6094
- __publicField$q(this, "seoUrlInput");
6095
- /**
6096
- * Layout
6097
- */
6098
- __publicField$q(this, "layoutTab");
6099
- __publicField$q(this, "assignLayoutButton");
6100
- __publicField$q(this, "searchLayoutInput");
6101
- __publicField$q(this, "layoutItems");
6102
- __publicField$q(this, "layoutSaveButton");
6103
- __publicField$q(this, "layoutEmptyState");
6104
- __publicField$q(this, "createNewLayoutButton");
6105
- __publicField$q(this, "layoutCheckboxes");
6106
- __publicField$q(this, "page");
6107
5833
  this.page = page;
6108
5834
  this.loadingSpinner = page.locator(".sw-loader");
6109
5835
  this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
@@ -6129,36 +5855,30 @@ class LandingPageCreate {
6129
5855
  }
6130
5856
  }
6131
5857
 
6132
- var __defProp$p = Object.defineProperty;
6133
- var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6134
- var __publicField$p = (obj, key, value) => {
6135
- __defNormalProp$p(obj, typeof key !== "symbol" ? key + "" : key, value);
6136
- return value;
6137
- };
6138
5858
  class LandingPageDetail {
5859
+ /**
5860
+ * General
5861
+ */
5862
+ nameInput;
5863
+ landingPageStatus;
5864
+ salesChannelSelectionList;
5865
+ filtersResultPopoverItemList;
5866
+ saveLandingPageButton;
5867
+ loadingSpinner;
5868
+ seoUrlInput;
5869
+ /**
5870
+ * Layout
5871
+ */
5872
+ layoutTab;
5873
+ layoutAssignmentCardTitle;
5874
+ layoutAssignmentCardHeadline;
5875
+ changeLayoutButton;
5876
+ editInDesignerButton;
5877
+ layoutResetButton;
5878
+ layoutAssignmentStatus;
5879
+ layoutAssignmentContentSection;
5880
+ page;
6139
5881
  constructor(page) {
6140
- /**
6141
- * General
6142
- */
6143
- __publicField$p(this, "nameInput");
6144
- __publicField$p(this, "landingPageStatus");
6145
- __publicField$p(this, "salesChannelSelectionList");
6146
- __publicField$p(this, "filtersResultPopoverItemList");
6147
- __publicField$p(this, "saveLandingPageButton");
6148
- __publicField$p(this, "loadingSpinner");
6149
- __publicField$p(this, "seoUrlInput");
6150
- /**
6151
- * Layout
6152
- */
6153
- __publicField$p(this, "layoutTab");
6154
- __publicField$p(this, "layoutAssignmentCardTitle");
6155
- __publicField$p(this, "layoutAssignmentCardHeadline");
6156
- __publicField$p(this, "changeLayoutButton");
6157
- __publicField$p(this, "editInDesignerButton");
6158
- __publicField$p(this, "layoutResetButton");
6159
- __publicField$p(this, "layoutAssignmentStatus");
6160
- __publicField$p(this, "layoutAssignmentContentSection");
6161
- __publicField$p(this, "page");
6162
5882
  this.page = page;
6163
5883
  this.loadingSpinner = page.locator(".sw-loader");
6164
5884
  this.saveLandingPageButton = page.getByRole("button", { name: "Save" });
@@ -6183,68 +5903,62 @@ class LandingPageDetail {
6183
5903
  }
6184
5904
  }
6185
5905
 
6186
- var __defProp$o = Object.defineProperty;
6187
- var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6188
- var __publicField$o = (obj, key, value) => {
6189
- __defNormalProp$o(obj, typeof key !== "symbol" ? key + "" : key, value);
6190
- return value;
6191
- };
6192
5906
  class Categories {
5907
+ /**
5908
+ * Visual tests
5909
+ */
5910
+ contentView;
5911
+ /**
5912
+ * Landing pages
5913
+ */
5914
+ landingPageArea;
5915
+ landingPageHeadline;
5916
+ addLandingPageButton;
5917
+ landingPageItems;
5918
+ /**
5919
+ * Category tree
5920
+ */
5921
+ categoryTree;
5922
+ categoryMenuItemList;
5923
+ createCategoryInput;
5924
+ confirmCategoryCreationButton;
5925
+ confirmCategoryCancelButton;
5926
+ categoryItems;
5927
+ /**
5928
+ * Tabs
5929
+ */
5930
+ generalTab;
5931
+ productsTab;
5932
+ layoutTab;
5933
+ seoTab;
5934
+ /**
5935
+ * General
5936
+ */
5937
+ nameInput;
5938
+ activeCheckbox;
5939
+ categoryTypeSelectionList;
5940
+ filtersResultPopoverItemList;
5941
+ saveButton;
5942
+ loadingSpinner;
5943
+ fadingBar;
5944
+ configureHomePageButton;
5945
+ configureModalCancelButton;
5946
+ /**
5947
+ * Customisable link
5948
+ */
5949
+ entitySelectionList;
5950
+ linkTypeSelectionList;
5951
+ categorySelectionList;
5952
+ productSelectionList;
5953
+ landingPageSelectionList;
5954
+ filterResultPopoverTreeCheckboxItemList;
5955
+ openInNewTabCheckbox;
5956
+ popoverCategoryTree;
5957
+ categorySelectionListWrapper;
5958
+ productSelectionInput;
5959
+ page;
5960
+ instanceMeta;
6193
5961
  constructor(page, instanceMeta) {
6194
- /**
6195
- * Visual tests
6196
- */
6197
- __publicField$o(this, "contentView");
6198
- /**
6199
- * Landing pages
6200
- */
6201
- __publicField$o(this, "landingPageArea");
6202
- __publicField$o(this, "landingPageHeadline");
6203
- __publicField$o(this, "addLandingPageButton");
6204
- __publicField$o(this, "landingPageItems");
6205
- /**
6206
- * Category tree
6207
- */
6208
- __publicField$o(this, "categoryTree");
6209
- __publicField$o(this, "categoryMenuItemList");
6210
- __publicField$o(this, "createCategoryInput");
6211
- __publicField$o(this, "confirmCategoryCreationButton");
6212
- __publicField$o(this, "confirmCategoryCancelButton");
6213
- __publicField$o(this, "categoryItems");
6214
- /**
6215
- * Tabs
6216
- */
6217
- __publicField$o(this, "generalTab");
6218
- __publicField$o(this, "productsTab");
6219
- __publicField$o(this, "layoutTab");
6220
- __publicField$o(this, "seoTab");
6221
- /**
6222
- * General
6223
- */
6224
- __publicField$o(this, "nameInput");
6225
- __publicField$o(this, "activeCheckbox");
6226
- __publicField$o(this, "categoryTypeSelectionList");
6227
- __publicField$o(this, "filtersResultPopoverItemList");
6228
- __publicField$o(this, "saveButton");
6229
- __publicField$o(this, "loadingSpinner");
6230
- __publicField$o(this, "fadingBar");
6231
- __publicField$o(this, "configureHomePageButton");
6232
- __publicField$o(this, "configureModalCancelButton");
6233
- /**
6234
- * Customisable link
6235
- */
6236
- __publicField$o(this, "entitySelectionList");
6237
- __publicField$o(this, "linkTypeSelectionList");
6238
- __publicField$o(this, "categorySelectionList");
6239
- __publicField$o(this, "productSelectionList");
6240
- __publicField$o(this, "landingPageSelectionList");
6241
- __publicField$o(this, "filterResultPopoverTreeCheckboxItemList");
6242
- __publicField$o(this, "openInNewTabCheckbox");
6243
- __publicField$o(this, "popoverCategoryTree");
6244
- __publicField$o(this, "categorySelectionListWrapper");
6245
- __publicField$o(this, "productSelectionInput");
6246
- __publicField$o(this, "page");
6247
- __publicField$o(this, "instanceMeta");
6248
5962
  this.page = page;
6249
5963
  this.instanceMeta = instanceMeta;
6250
5964
  this.contentView = page.locator(".sw-desktop__content");
@@ -6297,17 +6011,11 @@ class Categories {
6297
6011
  }
6298
6012
  }
6299
6013
 
6300
- var __defProp$n = Object.defineProperty;
6301
- var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6302
- var __publicField$n = (obj, key, value) => {
6303
- __defNormalProp$n(obj, typeof key !== "symbol" ? key + "" : key, value);
6304
- return value;
6305
- };
6306
6014
  class CustomFieldListing {
6015
+ addNewSetButton;
6016
+ customFieldRows;
6017
+ page;
6307
6018
  constructor(page) {
6308
- __publicField$n(this, "addNewSetButton");
6309
- __publicField$n(this, "customFieldRows");
6310
- __publicField$n(this, "page");
6311
6019
  this.page = page;
6312
6020
  this.addNewSetButton = page.getByText("Add new set");
6313
6021
  this.customFieldRows = page.getByRole("row");
@@ -6336,22 +6044,16 @@ class CustomFieldListing {
6336
6044
  }
6337
6045
  }
6338
6046
 
6339
- var __defProp$m = Object.defineProperty;
6340
- var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6341
- var __publicField$m = (obj, key, value) => {
6342
- __defNormalProp$m(obj, typeof key !== "symbol" ? key + "" : key, value);
6343
- return value;
6344
- };
6345
6047
  class CustomFieldCreate {
6048
+ saveButton;
6049
+ cancelButton;
6050
+ technicalNameInput;
6051
+ positionInput;
6052
+ labelEnglishGBInput;
6053
+ assignToSelectionList;
6054
+ resultAssignToPopoverItemList;
6055
+ page;
6346
6056
  constructor(page) {
6347
- __publicField$m(this, "saveButton");
6348
- __publicField$m(this, "cancelButton");
6349
- __publicField$m(this, "technicalNameInput");
6350
- __publicField$m(this, "positionInput");
6351
- __publicField$m(this, "labelEnglishGBInput");
6352
- __publicField$m(this, "assignToSelectionList");
6353
- __publicField$m(this, "resultAssignToPopoverItemList");
6354
- __publicField$m(this, "page");
6355
6057
  this.page = page;
6356
6058
  this.saveButton = page.getByRole("button", { name: "Save" });
6357
6059
  this.cancelButton = page.getByRole("button", { name: "Cancel" });
@@ -6366,34 +6068,28 @@ class CustomFieldCreate {
6366
6068
  }
6367
6069
  }
6368
6070
 
6369
- var __defProp$l = Object.defineProperty;
6370
- var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6371
- var __publicField$l = (obj, key, value) => {
6372
- __defNormalProp$l(obj, typeof key !== "symbol" ? key + "" : key, value);
6373
- return value;
6374
- };
6375
6071
  class CustomFieldDetail extends CustomFieldCreate {
6072
+ newCustomFieldButton;
6073
+ customFieldEditDialog;
6074
+ newCustomFieldDialog;
6075
+ customFieldTechnicalNameInput;
6076
+ customFieldPositionInput;
6077
+ customFieldTypeSelectionList;
6078
+ customFieldModifyByStoreApiCheckbox;
6079
+ customFieldCancelButton;
6080
+ customFieldAddButton;
6081
+ customFieldEditApplyButton;
6082
+ customFieldLabelEnglishGBInput;
6083
+ customFieldPlaceholderEnglishGBInput;
6084
+ customFieldHelpTextEnglishGBInput;
6085
+ customFieldDeleteListButton;
6086
+ customFieldDeleteDialog;
6087
+ customFieldDeleteCancelButton;
6088
+ customFieldDeleteButton;
6089
+ customFieldEditAvailableInShoppingCartCheckbox;
6090
+ instanceMeta;
6376
6091
  constructor(page, instanceMeta) {
6377
6092
  super(page);
6378
- __publicField$l(this, "newCustomFieldButton");
6379
- __publicField$l(this, "customFieldEditDialog");
6380
- __publicField$l(this, "newCustomFieldDialog");
6381
- __publicField$l(this, "customFieldTechnicalNameInput");
6382
- __publicField$l(this, "customFieldPositionInput");
6383
- __publicField$l(this, "customFieldTypeSelectionList");
6384
- __publicField$l(this, "customFieldModifyByStoreApiCheckbox");
6385
- __publicField$l(this, "customFieldCancelButton");
6386
- __publicField$l(this, "customFieldAddButton");
6387
- __publicField$l(this, "customFieldEditApplyButton");
6388
- __publicField$l(this, "customFieldLabelEnglishGBInput");
6389
- __publicField$l(this, "customFieldPlaceholderEnglishGBInput");
6390
- __publicField$l(this, "customFieldHelpTextEnglishGBInput");
6391
- __publicField$l(this, "customFieldDeleteListButton");
6392
- __publicField$l(this, "customFieldDeleteDialog");
6393
- __publicField$l(this, "customFieldDeleteCancelButton");
6394
- __publicField$l(this, "customFieldDeleteButton");
6395
- __publicField$l(this, "customFieldEditAvailableInShoppingCartCheckbox");
6396
- __publicField$l(this, "instanceMeta");
6397
6093
  this.instanceMeta = instanceMeta;
6398
6094
  this.newCustomFieldButton = page.getByRole("button", { name: "New custom field" });
6399
6095
  this.customFieldDeleteListButton = page.locator(".sw-custom-field-list__delete-button");
@@ -6447,21 +6143,15 @@ class CustomFieldDetail extends CustomFieldCreate {
6447
6143
  }
6448
6144
  }
6449
6145
 
6450
- var __defProp$k = Object.defineProperty;
6451
- var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6452
- var __publicField$k = (obj, key, value) => {
6453
- __defNormalProp$k(obj, typeof key !== "symbol" ? key + "" : key, value);
6454
- return value;
6455
- };
6456
6146
  class CategoryDetail {
6147
+ saveButton;
6148
+ cancelButton;
6149
+ customFieldCard;
6150
+ customFieldSetTabs;
6151
+ customFieldSetTabCustomContent;
6152
+ page;
6153
+ instanceMeta;
6457
6154
  constructor(page, instanceMeta) {
6458
- __publicField$k(this, "saveButton");
6459
- __publicField$k(this, "cancelButton");
6460
- __publicField$k(this, "customFieldCard");
6461
- __publicField$k(this, "customFieldSetTabs");
6462
- __publicField$k(this, "customFieldSetTabCustomContent");
6463
- __publicField$k(this, "page");
6464
- __publicField$k(this, "instanceMeta");
6465
6155
  this.page = page;
6466
6156
  this.instanceMeta = instanceMeta;
6467
6157
  this.saveButton = page.getByRole("button", { name: "Save" });
@@ -6496,25 +6186,19 @@ class CategoryDetail {
6496
6186
  }
6497
6187
  }
6498
6188
 
6499
- var __defProp$j = Object.defineProperty;
6500
- var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6501
- var __publicField$j = (obj, key, value) => {
6502
- __defNormalProp$j(obj, typeof key !== "symbol" ? key + "" : key, value);
6503
- return value;
6504
- };
6505
6189
  class RuleCreate {
6190
+ header;
6191
+ nameInput;
6192
+ priorityInput;
6193
+ conditionTypeSelectionInput;
6194
+ conditionValueSelectionInput;
6195
+ filtersResultPopoverSelectionList;
6196
+ saveButton;
6197
+ cancelButton;
6198
+ valueNotAvailableTooltip;
6199
+ page;
6200
+ instanceMeta;
6506
6201
  constructor(page, instanceMeta) {
6507
- __publicField$j(this, "header");
6508
- __publicField$j(this, "nameInput");
6509
- __publicField$j(this, "priorityInput");
6510
- __publicField$j(this, "conditionTypeSelectionInput");
6511
- __publicField$j(this, "conditionValueSelectionInput");
6512
- __publicField$j(this, "filtersResultPopoverSelectionList");
6513
- __publicField$j(this, "saveButton");
6514
- __publicField$j(this, "cancelButton");
6515
- __publicField$j(this, "valueNotAvailableTooltip");
6516
- __publicField$j(this, "page");
6517
- __publicField$j(this, "instanceMeta");
6518
6202
  this.page = page;
6519
6203
  this.instanceMeta = instanceMeta;
6520
6204
  this.header = page.locator(".smart-bar__header");
@@ -6535,37 +6219,31 @@ class RuleCreate {
6535
6219
  }
6536
6220
  }
6537
6221
 
6538
- var __defProp$i = Object.defineProperty;
6539
- var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6540
- var __publicField$i = (obj, key, value) => {
6541
- __defNormalProp$i(obj, typeof key !== "symbol" ? key + "" : key, value);
6542
- return value;
6543
- };
6544
6222
  class RuleDetail extends RuleCreate {
6223
+ contentView;
6224
+ shippingMethodAvailabilityRulesCard;
6225
+ shippingMethodAvailabilityRulesCardLink;
6226
+ shippingMethodAvailabilityRulesCardTable;
6227
+ shippingMethodAvailabilityRulesCardEmptyState;
6228
+ shippingMethodAvailabilityRulesCardSearchField;
6229
+ taxProviderRulesCard;
6230
+ taxProviderRulesCardEmptyState;
6231
+ paymentMethodsAvailabilityRulesCard;
6232
+ paymentMethodsAvailabilityRulesCardEmptyState;
6233
+ paymentMethodsAvailabilityRulesCardLink;
6234
+ promotionOrderRulesCard;
6235
+ promotionOrderRulesCardEmptyState;
6236
+ promotionCustomerRulesCard;
6237
+ promotionCustomerRulesCardEmptyState;
6238
+ promotionCartRulesCard;
6239
+ promotionCartRulesCardEmptyState;
6240
+ assignmentModal;
6241
+ assignmentModalAddButton;
6242
+ assignmentModalSearchField;
6243
+ conditionORContainer;
6244
+ adminMenuAvatar;
6545
6245
  constructor(page, instanceMeta) {
6546
6246
  super(page, instanceMeta);
6547
- __publicField$i(this, "contentView");
6548
- __publicField$i(this, "shippingMethodAvailabilityRulesCard");
6549
- __publicField$i(this, "shippingMethodAvailabilityRulesCardLink");
6550
- __publicField$i(this, "shippingMethodAvailabilityRulesCardTable");
6551
- __publicField$i(this, "shippingMethodAvailabilityRulesCardEmptyState");
6552
- __publicField$i(this, "shippingMethodAvailabilityRulesCardSearchField");
6553
- __publicField$i(this, "taxProviderRulesCard");
6554
- __publicField$i(this, "taxProviderRulesCardEmptyState");
6555
- __publicField$i(this, "paymentMethodsAvailabilityRulesCard");
6556
- __publicField$i(this, "paymentMethodsAvailabilityRulesCardEmptyState");
6557
- __publicField$i(this, "paymentMethodsAvailabilityRulesCardLink");
6558
- __publicField$i(this, "promotionOrderRulesCard");
6559
- __publicField$i(this, "promotionOrderRulesCardEmptyState");
6560
- __publicField$i(this, "promotionCustomerRulesCard");
6561
- __publicField$i(this, "promotionCustomerRulesCardEmptyState");
6562
- __publicField$i(this, "promotionCartRulesCard");
6563
- __publicField$i(this, "promotionCartRulesCardEmptyState");
6564
- __publicField$i(this, "assignmentModal");
6565
- __publicField$i(this, "assignmentModalAddButton");
6566
- __publicField$i(this, "assignmentModalSearchField");
6567
- __publicField$i(this, "conditionORContainer");
6568
- __publicField$i(this, "adminMenuAvatar");
6569
6247
  this.contentView = page.locator(".sw-desktop__content");
6570
6248
  this.shippingMethodAvailabilityRulesCard = page.locator(".sw-settings-rule-detail-assignments__card-shipping_method_availability_rule");
6571
6249
  this.shippingMethodAvailabilityRulesCardLink = this.shippingMethodAvailabilityRulesCard.getByRole("link");
@@ -6627,18 +6305,12 @@ class RuleDetail extends RuleCreate {
6627
6305
  }
6628
6306
  }
6629
6307
 
6630
- var __defProp$h = Object.defineProperty;
6631
- var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6632
- var __publicField$h = (obj, key, value) => {
6633
- __defNormalProp$h(obj, typeof key !== "symbol" ? key + "" : key, value);
6634
- return value;
6635
- };
6636
6308
  class RuleListing {
6309
+ createRuleButton;
6310
+ header;
6311
+ grid;
6312
+ page;
6637
6313
  constructor(page) {
6638
- __publicField$h(this, "createRuleButton");
6639
- __publicField$h(this, "header");
6640
- __publicField$h(this, "grid");
6641
- __publicField$h(this, "page");
6642
6314
  this.page = page;
6643
6315
  this.createRuleButton = page.getByText("Create rule");
6644
6316
  this.header = page.locator(".smart-bar__header");
@@ -6649,21 +6321,15 @@ class RuleListing {
6649
6321
  }
6650
6322
  }
6651
6323
 
6652
- var __defProp$g = Object.defineProperty;
6653
- var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6654
- var __publicField$g = (obj, key, value) => {
6655
- __defNormalProp$g(obj, typeof key !== "symbol" ? key + "" : key, value);
6656
- return value;
6657
- };
6658
6324
  class ManufacturerCreate {
6325
+ saveButton;
6326
+ cancelButton;
6327
+ nameInput;
6328
+ websiteInput;
6329
+ descriptionInput;
6330
+ page;
6331
+ instanceMeta;
6659
6332
  constructor(page, instanceMeta) {
6660
- __publicField$g(this, "saveButton");
6661
- __publicField$g(this, "cancelButton");
6662
- __publicField$g(this, "nameInput");
6663
- __publicField$g(this, "websiteInput");
6664
- __publicField$g(this, "descriptionInput");
6665
- __publicField$g(this, "page");
6666
- __publicField$g(this, "instanceMeta");
6667
6333
  this.page = page;
6668
6334
  this.instanceMeta = instanceMeta;
6669
6335
  this.saveButton = page.getByRole("button", { name: "Save" });
@@ -6681,17 +6347,11 @@ class ManufacturerCreate {
6681
6347
  }
6682
6348
  }
6683
6349
 
6684
- var __defProp$f = Object.defineProperty;
6685
- var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6686
- var __publicField$f = (obj, key, value) => {
6687
- __defNormalProp$f(obj, typeof key !== "symbol" ? key + "" : key, value);
6688
- return value;
6689
- };
6690
6350
  class ManufacturerListing {
6351
+ addManufacturerButton;
6352
+ manufacturerRows;
6353
+ page;
6691
6354
  constructor(page) {
6692
- __publicField$f(this, "addManufacturerButton");
6693
- __publicField$f(this, "manufacturerRows");
6694
- __publicField$f(this, "page");
6695
6355
  this.page = page;
6696
6356
  this.addManufacturerButton = page.getByText("Add manufacturer");
6697
6357
  this.manufacturerRows = page.getByRole("row");
@@ -6724,18 +6384,12 @@ class ManufacturerListing {
6724
6384
  }
6725
6385
  }
6726
6386
 
6727
- var __defProp$e = Object.defineProperty;
6728
- var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6729
- var __publicField$e = (obj, key, value) => {
6730
- __defNormalProp$e(obj, typeof key !== "symbol" ? key + "" : key, value);
6731
- return value;
6732
- };
6733
6387
  class ManufacturerDetail extends ManufacturerCreate {
6388
+ customFieldCard;
6389
+ customFieldSetTabs;
6390
+ customFieldSetTabCustomContent;
6734
6391
  constructor(page, instanceMeta) {
6735
6392
  super(page, instanceMeta);
6736
- __publicField$e(this, "customFieldCard");
6737
- __publicField$e(this, "customFieldSetTabs");
6738
- __publicField$e(this, "customFieldSetTabCustomContent");
6739
6393
  if (satisfies(instanceMeta.version, "<6.7")) {
6740
6394
  this.customFieldCard = page.locator(".sw-card").getByText("Custom fields");
6741
6395
  } else {
@@ -6763,25 +6417,19 @@ class ManufacturerDetail extends ManufacturerCreate {
6763
6417
  }
6764
6418
  }
6765
6419
 
6766
- var __defProp$d = Object.defineProperty;
6767
- var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6768
- var __publicField$d = (obj, key, value) => {
6769
- __defNormalProp$d(obj, typeof key !== "symbol" ? key + "" : key, value);
6770
- return value;
6771
- };
6772
6420
  class ProductListing {
6421
+ /**
6422
+ * Multi selection
6423
+ */
6424
+ productsTable;
6425
+ bulkEditButton;
6426
+ page;
6427
+ /**
6428
+ * Bulk edit modal
6429
+ */
6430
+ bulkEditModal;
6431
+ startBulkEditButton;
6773
6432
  constructor(page) {
6774
- /**
6775
- * Multi selection
6776
- */
6777
- __publicField$d(this, "productsTable");
6778
- __publicField$d(this, "bulkEditButton");
6779
- __publicField$d(this, "page");
6780
- /**
6781
- * Bulk edit modal
6782
- */
6783
- __publicField$d(this, "bulkEditModal");
6784
- __publicField$d(this, "startBulkEditButton");
6785
6433
  this.page = page;
6786
6434
  this.productsTable = page.locator(".sw-data-grid__table");
6787
6435
  this.bulkEditButton = page.getByRole("button", { name: "Bulk edit" });
@@ -6832,61 +6480,55 @@ class ProductListing {
6832
6480
  }
6833
6481
  }
6834
6482
 
6835
- var __defProp$c = Object.defineProperty;
6836
- var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6837
- var __publicField$c = (obj, key, value) => {
6838
- __defNormalProp$c(obj, typeof key !== "symbol" ? key + "" : key, value);
6839
- return value;
6840
- };
6841
6483
  class ProductBulkEdit {
6484
+ /**
6485
+ * Bulk edit values
6486
+ */
6487
+ changeManufacturerRow;
6488
+ changeManufacturerCheckbox;
6489
+ manufacturerDropdown;
6490
+ manufacturerDropdownInput;
6491
+ manufacturerListResult;
6492
+ changeActiveRow;
6493
+ changeActiveCheckbox;
6494
+ activeToggle;
6495
+ changePriceRow;
6496
+ changePriceCheckbox;
6497
+ grossPriceInput;
6498
+ changeReleaseDateRow;
6499
+ changeReleaseDateCheckbox;
6500
+ releaseDateInput;
6501
+ changeStockRow;
6502
+ changeStockCheckbox;
6503
+ stockChangeMethodDropdown;
6504
+ stockChangeMethodInput;
6505
+ stockInput;
6506
+ changeRestockTimeRow;
6507
+ changeRestockTimeCheckbox;
6508
+ restockTimeChangeMethodDropdown;
6509
+ restockTimeChangeMethodInput;
6510
+ restockTimeInput;
6511
+ changeTagsRow;
6512
+ changeTagsCheckbox;
6513
+ tagsChangeMethodDropdown;
6514
+ tagsChangeMethodInput;
6515
+ tagsInput;
6516
+ changeSalesChannelRow;
6517
+ changeSalesChannelCheckbox;
6518
+ salesChannelChangeMethodDropdown;
6519
+ salesChannelChangeMethodInput;
6520
+ salesChannelInput;
6521
+ applyChangesButton;
6522
+ /**
6523
+ * Confirmation modal
6524
+ */
6525
+ confirmModal;
6526
+ confirmModalApplyChangesButton;
6527
+ confirmModalLoadingSpinner;
6528
+ confirmModalSuccessHeader;
6529
+ confirmModalSuccessCloseButton;
6530
+ page;
6842
6531
  constructor(page) {
6843
- /**
6844
- * Bulk edit values
6845
- */
6846
- __publicField$c(this, "changeManufacturerRow");
6847
- __publicField$c(this, "changeManufacturerCheckbox");
6848
- __publicField$c(this, "manufacturerDropdown");
6849
- __publicField$c(this, "manufacturerDropdownInput");
6850
- __publicField$c(this, "manufacturerListResult");
6851
- __publicField$c(this, "changeActiveRow");
6852
- __publicField$c(this, "changeActiveCheckbox");
6853
- __publicField$c(this, "activeToggle");
6854
- __publicField$c(this, "changePriceRow");
6855
- __publicField$c(this, "changePriceCheckbox");
6856
- __publicField$c(this, "grossPriceInput");
6857
- __publicField$c(this, "changeReleaseDateRow");
6858
- __publicField$c(this, "changeReleaseDateCheckbox");
6859
- __publicField$c(this, "releaseDateInput");
6860
- __publicField$c(this, "changeStockRow");
6861
- __publicField$c(this, "changeStockCheckbox");
6862
- __publicField$c(this, "stockChangeMethodDropdown");
6863
- __publicField$c(this, "stockChangeMethodInput");
6864
- __publicField$c(this, "stockInput");
6865
- __publicField$c(this, "changeRestockTimeRow");
6866
- __publicField$c(this, "changeRestockTimeCheckbox");
6867
- __publicField$c(this, "restockTimeChangeMethodDropdown");
6868
- __publicField$c(this, "restockTimeChangeMethodInput");
6869
- __publicField$c(this, "restockTimeInput");
6870
- __publicField$c(this, "changeTagsRow");
6871
- __publicField$c(this, "changeTagsCheckbox");
6872
- __publicField$c(this, "tagsChangeMethodDropdown");
6873
- __publicField$c(this, "tagsChangeMethodInput");
6874
- __publicField$c(this, "tagsInput");
6875
- __publicField$c(this, "changeSalesChannelRow");
6876
- __publicField$c(this, "changeSalesChannelCheckbox");
6877
- __publicField$c(this, "salesChannelChangeMethodDropdown");
6878
- __publicField$c(this, "salesChannelChangeMethodInput");
6879
- __publicField$c(this, "salesChannelInput");
6880
- __publicField$c(this, "applyChangesButton");
6881
- /**
6882
- * Confirmation modal
6883
- */
6884
- __publicField$c(this, "confirmModal");
6885
- __publicField$c(this, "confirmModalApplyChangesButton");
6886
- __publicField$c(this, "confirmModalLoadingSpinner");
6887
- __publicField$c(this, "confirmModalSuccessHeader");
6888
- __publicField$c(this, "confirmModalSuccessCloseButton");
6889
- __publicField$c(this, "page");
6890
6532
  this.page = page;
6891
6533
  this.changeManufacturerRow = page.locator(".sw-bulk-edit-change-field-manufacturerId");
6892
6534
  this.changeManufacturerCheckbox = this.changeManufacturerRow.getByRole("checkbox");
@@ -6937,42 +6579,36 @@ class ProductBulkEdit {
6937
6579
  }
6938
6580
  }
6939
6581
 
6940
- var __defProp$b = Object.defineProperty;
6941
- var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6942
- var __publicField$b = (obj, key, value) => {
6943
- __defNormalProp$b(obj, typeof key !== "symbol" ? key + "" : key, value);
6944
- return value;
6945
- };
6946
6582
  class CustomerBulkEdit {
6583
+ //General
6584
+ applyChangesButton;
6585
+ filtersResultPopoverItemList;
6586
+ //Account
6587
+ changeCustomerGroupCheckbox;
6588
+ customerGroupInput;
6589
+ changeAccountStatusCheckbox;
6590
+ accountStatusInput;
6591
+ changeLanguageCheckbox;
6592
+ changeLanguageInput;
6593
+ replyToCustomerGroupRequest;
6594
+ replyToCustomerGroupRequestInput;
6595
+ //Tags
6596
+ changeTagsCheckbox;
6597
+ changeTypeSelect;
6598
+ enterTagsSelect;
6599
+ //Custom fields
6600
+ customFieldCheckbox;
6601
+ customFieldInput;
6602
+ customFieldArrowRightButton;
6603
+ /**
6604
+ * Confirmation modal
6605
+ */
6606
+ confirmModal;
6607
+ confirmModalApplyChangesButton;
6608
+ confirmModalSuccessHeader;
6609
+ confirmModalSuccessCloseButton;
6610
+ page;
6947
6611
  constructor(page) {
6948
- //General
6949
- __publicField$b(this, "applyChangesButton");
6950
- __publicField$b(this, "filtersResultPopoverItemList");
6951
- //Account
6952
- __publicField$b(this, "changeCustomerGroupCheckbox");
6953
- __publicField$b(this, "customerGroupInput");
6954
- __publicField$b(this, "changeAccountStatusCheckbox");
6955
- __publicField$b(this, "accountStatusInput");
6956
- __publicField$b(this, "changeLanguageCheckbox");
6957
- __publicField$b(this, "changeLanguageInput");
6958
- __publicField$b(this, "replyToCustomerGroupRequest");
6959
- __publicField$b(this, "replyToCustomerGroupRequestInput");
6960
- //Tags
6961
- __publicField$b(this, "changeTagsCheckbox");
6962
- __publicField$b(this, "changeTypeSelect");
6963
- __publicField$b(this, "enterTagsSelect");
6964
- //Custom fields
6965
- __publicField$b(this, "customFieldCheckbox");
6966
- __publicField$b(this, "customFieldInput");
6967
- __publicField$b(this, "customFieldArrowRightButton");
6968
- /**
6969
- * Confirmation modal
6970
- */
6971
- __publicField$b(this, "confirmModal");
6972
- __publicField$b(this, "confirmModalApplyChangesButton");
6973
- __publicField$b(this, "confirmModalSuccessHeader");
6974
- __publicField$b(this, "confirmModalSuccessCloseButton");
6975
- __publicField$b(this, "page");
6976
6612
  this.page = page;
6977
6613
  this.applyChangesButton = page.getByRole("button", { name: "Apply changes" });
6978
6614
  this.filtersResultPopoverItemList = page.locator(".sw-select-result-list__content").getByRole("listitem");
@@ -7015,18 +6651,12 @@ class CustomerBulkEdit {
7015
6651
  }
7016
6652
  }
7017
6653
 
7018
- var __defProp$a = Object.defineProperty;
7019
- var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7020
- var __publicField$a = (obj, key, value) => {
7021
- __defNormalProp$a(obj, typeof key !== "symbol" ? key + "" : key, value);
7022
- return value;
7023
- };
7024
6654
  class SettingsListing {
6655
+ contentView;
6656
+ header;
6657
+ shopwareServicesLink;
6658
+ page;
7025
6659
  constructor(page) {
7026
- __publicField$a(this, "contentView");
7027
- __publicField$a(this, "header");
7028
- __publicField$a(this, "shopwareServicesLink");
7029
- __publicField$a(this, "page");
7030
6660
  this.page = page;
7031
6661
  this.header = page.locator(".sw-settings__content-header");
7032
6662
  this.contentView = page.locator(".sw-desktop__content");
@@ -7037,17 +6667,11 @@ class SettingsListing {
7037
6667
  }
7038
6668
  }
7039
6669
 
7040
- var __defProp$9 = Object.defineProperty;
7041
- var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7042
- var __publicField$9 = (obj, key, value) => {
7043
- __defNormalProp$9(obj, typeof key !== "symbol" ? key + "" : key, value);
7044
- return value;
7045
- };
7046
6670
  class DocumentListing {
6671
+ addDocumentButton;
6672
+ invoiceLink;
6673
+ page;
7047
6674
  constructor(page) {
7048
- __publicField$9(this, "addDocumentButton");
7049
- __publicField$9(this, "invoiceLink");
7050
- __publicField$9(this, "page");
7051
6675
  this.page = page;
7052
6676
  this.addDocumentButton = page.getByRole("button", { name: "Add document" });
7053
6677
  this.invoiceLink = page.getByRole("link", { name: "invoice", exact: true });
@@ -7057,18 +6681,12 @@ class DocumentListing {
7057
6681
  }
7058
6682
  }
7059
6683
 
7060
- var __defProp$8 = Object.defineProperty;
7061
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7062
- var __publicField$8 = (obj, key, value) => {
7063
- __defNormalProp$8(obj, typeof key !== "symbol" ? key + "" : key, value);
7064
- return value;
7065
- };
7066
6684
  class DocumentDetail {
6685
+ showInAccountSwitch;
6686
+ saveButton;
6687
+ documentTypeSelect;
6688
+ page;
7067
6689
  constructor(page) {
7068
- __publicField$8(this, "showInAccountSwitch");
7069
- __publicField$8(this, "saveButton");
7070
- __publicField$8(this, "documentTypeSelect");
7071
- __publicField$8(this, "page");
7072
6690
  this.page = page;
7073
6691
  this.showInAccountSwitch = page.getByRole("checkbox", { name: 'Display document in "My' });
7074
6692
  this.saveButton = page.getByRole("button", { name: "Save" });
@@ -7079,24 +6697,18 @@ class DocumentDetail {
7079
6697
  }
7080
6698
  }
7081
6699
 
7082
- var __defProp$7 = Object.defineProperty;
7083
- var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7084
- var __publicField$7 = (obj, key, value) => {
7085
- __defNormalProp$7(obj, typeof key !== "symbol" ? key + "" : key, value);
7086
- return value;
7087
- };
7088
6700
  class ShopwareServices {
6701
+ header;
6702
+ deactivatedBanner;
6703
+ activateServicesButton;
6704
+ permissionBanner;
6705
+ permissionGrantButton;
6706
+ serviceCards;
6707
+ deactivateServicesConfirmButton;
6708
+ deactivateServicesButton;
6709
+ deactivateServicesModal;
6710
+ page;
7089
6711
  constructor(page) {
7090
- __publicField$7(this, "header");
7091
- __publicField$7(this, "deactivatedBanner");
7092
- __publicField$7(this, "activateServicesButton");
7093
- __publicField$7(this, "permissionBanner");
7094
- __publicField$7(this, "permissionGrantButton");
7095
- __publicField$7(this, "serviceCards");
7096
- __publicField$7(this, "deactivateServicesConfirmButton");
7097
- __publicField$7(this, "deactivateServicesButton");
7098
- __publicField$7(this, "deactivateServicesModal");
7099
- __publicField$7(this, "page");
7100
6712
  this.page = page;
7101
6713
  this.header = page.getByRole("heading", { name: "Future proof your store with Shopware Services" });
7102
6714
  this.deactivatedBanner = page.locator(".sw-settings-services-index__services-deactivated-banner");
@@ -7113,28 +6725,22 @@ class ShopwareServices {
7113
6725
  }
7114
6726
  }
7115
6727
 
7116
- var __defProp$6 = Object.defineProperty;
7117
- var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7118
- var __publicField$6 = (obj, key, value) => {
7119
- __defNormalProp$6(obj, typeof key !== "symbol" ? key + "" : key, value);
7120
- return value;
7121
- };
7122
6728
  class PromotionsListing {
6729
+ instanceMeta;
6730
+ page;
6731
+ // SmartBar
6732
+ smartBar;
6733
+ smartBarHeader;
6734
+ languageSelect;
6735
+ smartBarAddPromotionButton;
6736
+ // Empty state locators
6737
+ emptyState;
6738
+ emptyStateAddPromotionButton;
6739
+ // Promotions table locators
6740
+ promotionsTable;
6741
+ // Sidebar
6742
+ sidebarRefreshButton;
7123
6743
  constructor(page, instanceMeta) {
7124
- __publicField$6(this, "instanceMeta");
7125
- __publicField$6(this, "page");
7126
- // SmartBar
7127
- __publicField$6(this, "smartBar");
7128
- __publicField$6(this, "smartBarHeader");
7129
- __publicField$6(this, "languageSelect");
7130
- __publicField$6(this, "smartBarAddPromotionButton");
7131
- // Empty state locators
7132
- __publicField$6(this, "emptyState");
7133
- __publicField$6(this, "emptyStateAddPromotionButton");
7134
- // Promotions table locators
7135
- __publicField$6(this, "promotionsTable");
7136
- // Sidebar
7137
- __publicField$6(this, "sidebarRefreshButton");
7138
6744
  this.page = page;
7139
6745
  this.instanceMeta = instanceMeta;
7140
6746
  this.smartBar = page.locator(".smart-bar__content");
@@ -7206,26 +6812,20 @@ class PromotionsListing {
7206
6812
  }
7207
6813
  }
7208
6814
 
7209
- var __defProp$5 = Object.defineProperty;
7210
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7211
- var __publicField$5 = (obj, key, value) => {
7212
- __defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
7213
- return value;
7214
- };
7215
6815
  class PromotionCreate {
6816
+ page;
6817
+ instanceMeta;
6818
+ // SmartBar
6819
+ smartBar;
6820
+ smartBarHeader;
6821
+ languageSelect;
6822
+ saveButton;
6823
+ cancelButton;
6824
+ // General
6825
+ generalCard;
6826
+ nameInput;
6827
+ priorityInput;
7216
6828
  constructor(page, instanceMeta) {
7217
- __publicField$5(this, "page");
7218
- __publicField$5(this, "instanceMeta");
7219
- // SmartBar
7220
- __publicField$5(this, "smartBar");
7221
- __publicField$5(this, "smartBarHeader");
7222
- __publicField$5(this, "languageSelect");
7223
- __publicField$5(this, "saveButton");
7224
- __publicField$5(this, "cancelButton");
7225
- // General
7226
- __publicField$5(this, "generalCard");
7227
- __publicField$5(this, "nameInput");
7228
- __publicField$5(this, "priorityInput");
7229
6829
  this.page = page;
7230
6830
  this.instanceMeta = instanceMeta;
7231
6831
  this.smartBar = page.locator(".smart-bar__content");
@@ -7245,30 +6845,24 @@ class PromotionCreate {
7245
6845
  }
7246
6846
  }
7247
6847
 
7248
- var __defProp$4 = Object.defineProperty;
7249
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7250
- var __publicField$4 = (obj, key, value) => {
7251
- __defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
7252
- return value;
7253
- };
7254
6848
  class PromotionDetail extends PromotionCreate {
6849
+ page;
6850
+ instanceMeta;
6851
+ // Tabs
6852
+ tabGeneralLink;
6853
+ tabConditionsLink;
6854
+ tabDiscountsLink;
6855
+ // General Tab
6856
+ promotionCodesCard;
6857
+ promotionCodesHeading;
6858
+ promotionCodesSelection;
6859
+ // Conditions Tab
6860
+ preConditionsCard;
6861
+ // Discounts Tab
6862
+ addDiscountButton;
6863
+ discountCards;
7255
6864
  constructor(page, instanceMeta) {
7256
6865
  super(page, instanceMeta);
7257
- __publicField$4(this, "page");
7258
- __publicField$4(this, "instanceMeta");
7259
- // Tabs
7260
- __publicField$4(this, "tabGeneralLink");
7261
- __publicField$4(this, "tabConditionsLink");
7262
- __publicField$4(this, "tabDiscountsLink");
7263
- // General Tab
7264
- __publicField$4(this, "promotionCodesCard");
7265
- __publicField$4(this, "promotionCodesHeading");
7266
- __publicField$4(this, "promotionCodesSelection");
7267
- // Conditions Tab
7268
- __publicField$4(this, "preConditionsCard");
7269
- // Discounts Tab
7270
- __publicField$4(this, "addDiscountButton");
7271
- __publicField$4(this, "discountCards");
7272
6866
  this.page = page;
7273
6867
  this.instanceMeta = instanceMeta;
7274
6868
  this.tabGeneralLink = page.getByRole("tab", { name: "General" });
@@ -7301,22 +6895,16 @@ class PromotionDetail extends PromotionCreate {
7301
6895
  }
7302
6896
  }
7303
6897
 
7304
- var __defProp$3 = Object.defineProperty;
7305
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7306
- var __publicField$3 = (obj, key, value) => {
7307
- __defNormalProp$3(obj, typeof key !== "symbol" ? key + "" : key, value);
7308
- return value;
7309
- };
7310
6898
  class YourProfile {
6899
+ contentView;
6900
+ page;
6901
+ searchPreferencesTab;
6902
+ firstNameField;
6903
+ lastNameField;
6904
+ userNameField;
6905
+ emailField;
6906
+ deselectAllButton;
7311
6907
  constructor(page) {
7312
- __publicField$3(this, "contentView");
7313
- __publicField$3(this, "page");
7314
- __publicField$3(this, "searchPreferencesTab");
7315
- __publicField$3(this, "firstNameField");
7316
- __publicField$3(this, "lastNameField");
7317
- __publicField$3(this, "userNameField");
7318
- __publicField$3(this, "emailField");
7319
- __publicField$3(this, "deselectAllButton");
7320
6908
  this.page = page;
7321
6909
  this.contentView = page.locator(".sw-desktop__content");
7322
6910
  this.searchPreferencesTab = page.locator(".sw-tabs-item").filter({ hasText: "Search preferences" });
@@ -7331,17 +6919,11 @@ class YourProfile {
7331
6919
  }
7332
6920
  }
7333
6921
 
7334
- var __defProp$2 = Object.defineProperty;
7335
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7336
- var __publicField$2 = (obj, key, value) => {
7337
- __defNormalProp$2(obj, typeof key !== "symbol" ? key + "" : key, value);
7338
- return value;
7339
- };
7340
6922
  class ThemesListing {
6923
+ contentView;
6924
+ page;
6925
+ installedTheme;
7341
6926
  constructor(page) {
7342
- __publicField$2(this, "contentView");
7343
- __publicField$2(this, "page");
7344
- __publicField$2(this, "installedTheme");
7345
6927
  this.page = page;
7346
6928
  this.contentView = page.locator(".sw-desktop__content");
7347
6929
  this.installedTheme = (title) => page.locator(".sw-theme-list-item__info", { hasText: title });
@@ -7351,19 +6933,13 @@ class ThemesListing {
7351
6933
  }
7352
6934
  }
7353
6935
 
7354
- var __defProp$1 = Object.defineProperty;
7355
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7356
- var __publicField$1 = (obj, key, value) => {
7357
- __defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
7358
- return value;
7359
- };
7360
6936
  class ThemesDetail {
6937
+ contentView;
6938
+ page;
6939
+ scrollableElement;
6940
+ themeCard;
6941
+ sidebarButton;
7361
6942
  constructor(page) {
7362
- __publicField$1(this, "contentView");
7363
- __publicField$1(this, "page");
7364
- __publicField$1(this, "scrollableElement");
7365
- __publicField$1(this, "themeCard");
7366
- __publicField$1(this, "sidebarButton");
7367
6943
  this.page = page;
7368
6944
  this.contentView = page.locator(".sw-page__content");
7369
6945
  this.scrollableElement = page.locator(".sw-page__main-content-inner");
@@ -7375,6 +6951,24 @@ class ThemesDetail {
7375
6951
  }
7376
6952
  }
7377
6953
 
6954
+ class MediaListing {
6955
+ page;
6956
+ scrollableElementVertical;
6957
+ mediaFolder;
6958
+ emptyState;
6959
+ updatedAtDate;
6960
+ constructor(page) {
6961
+ this.page = page;
6962
+ this.scrollableElementVertical = page.locator(".sw-media-library__scroll-container");
6963
+ this.mediaFolder = (title) => page.locator(".sw-media-folder-item", { hasText: title });
6964
+ this.emptyState = page.locator(".sw-empty-state__element");
6965
+ this.updatedAtDate = page.locator(".sw-media-quickinfo-metadata-createdAt.sw-media-quickinfo-metadata-item__description");
6966
+ }
6967
+ url() {
6968
+ return "#/sw/media/index";
6969
+ }
6970
+ }
6971
+
7378
6972
  const AdminPageObjects = {
7379
6973
  ProductDetail,
7380
6974
  OrderDetail,
@@ -7418,7 +7012,8 @@ const AdminPageObjects = {
7418
7012
  PromotionDetail,
7419
7013
  YourProfile,
7420
7014
  ThemesListing,
7421
- ThemesDetail
7015
+ ThemesDetail,
7016
+ MediaListing
7422
7017
  };
7423
7018
  const test$6 = test$e.extend({
7424
7019
  AdminProductDetail: async ({ AdminPage, InstanceMeta }, use) => {
@@ -7549,6 +7144,9 @@ const test$6 = test$e.extend({
7549
7144
  },
7550
7145
  AdminThemesDetail: async ({ AdminPage }, use) => {
7551
7146
  await use(new ThemesDetail(AdminPage));
7147
+ },
7148
+ AdminMediaListing: async ({ AdminPage }, use) => {
7149
+ await use(new MediaListing(AdminPage));
7552
7150
  }
7553
7151
  });
7554
7152
 
@@ -7813,7 +7411,7 @@ const MediaData = test$e.extend({
7813
7411
  console.error(err);
7814
7412
  }
7815
7413
  }
7816
- fs.writeFileSync(imageFilePath, image.toBuffer());
7414
+ fs.writeFileSync(imageFilePath, encode(image));
7817
7415
  const mediaResponse = await AdminApiContext.post("media?_response", {
7818
7416
  data: {
7819
7417
  private: false
@@ -8646,7 +8244,6 @@ const RegisterGuest = test$e.extend({
8646
8244
  firstName: "Jeff",
8647
8245
  lastName: "Goldblum",
8648
8246
  email: "invalid",
8649
- password: "shopware",
8650
8247
  street: "Ebbinghof 10",
8651
8248
  city: "Sch\xF6ppingen",
8652
8249
  country: "Germany",
@@ -9014,17 +8611,11 @@ const test$3 = mergeTests(
9014
8611
  SelectProductFilterOption
9015
8612
  );
9016
8613
 
9017
- var __defProp = Object.defineProperty;
9018
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9019
- var __publicField = (obj, key, value) => {
9020
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
9021
- return value;
9022
- };
9023
8614
  class FeatureService {
8615
+ apiContext;
8616
+ features = {};
8617
+ resetFeatures = {};
9024
8618
  constructor(apiContext) {
9025
- __publicField(this, "apiContext");
9026
- __publicField(this, "features", {});
9027
- __publicField(this, "resetFeatures", {});
9028
8619
  this.apiContext = apiContext;
9029
8620
  }
9030
8621
  async enable(name) {
@@ -9190,8 +8781,7 @@ const test$1 = test$e.extend({
9190
8781
  });
9191
8782
 
9192
8783
  async function applyToElements(page, selectors, stringHandler, locatorHandler) {
9193
- if (!selectors.length)
9194
- return;
8784
+ if (!selectors.length) return;
9195
8785
  const stringSelectors = selectors.filter((s) => typeof s === "string");
9196
8786
  if (stringSelectors.length) {
9197
8787
  await stringHandler(page, stringSelectors);
@@ -9222,8 +8812,7 @@ async function hideElements(page, selectors) {
9222
8812
  // Locator handler → set style directly
9223
8813
  async (el) => {
9224
8814
  const handle = await el.elementHandle();
9225
- if (!handle)
9226
- return;
8815
+ if (!handle) return;
9227
8816
  await handle.evaluate((node) => {
9228
8817
  node.style.visibility = "hidden";
9229
8818
  });
@@ -9279,8 +8868,7 @@ async function replaceElements(page, selectors, replaceWith = "***") {
9279
8868
  if (handle2) {
9280
8869
  await handle2.evaluate((node, replaceWith2) => {
9281
8870
  if (node instanceof HTMLInputElement || node instanceof HTMLTextAreaElement) {
9282
- if ("placeholder" in node)
9283
- node.setAttribute("placeholder", replaceWith2);
8871
+ if ("placeholder" in node) node.setAttribute("placeholder", replaceWith2);
9284
8872
  }
9285
8873
  }, replaceWith);
9286
8874
  }
@@ -9289,8 +8877,7 @@ async function replaceElements(page, selectors, replaceWith = "***") {
9289
8877
  } catch {
9290
8878
  }
9291
8879
  const handle = await el.elementHandle();
9292
- if (!handle)
9293
- return;
8880
+ if (!handle) return;
9294
8881
  await handle.evaluate((node, replaceWith2) => {
9295
8882
  const maskInputLike = (inp) => {
9296
8883
  inp.value = replaceWith2;
@@ -9430,4 +9017,4 @@ const test = mergeTests(
9430
9017
  test$3
9431
9018
  );
9432
9019
 
9433
- export { AdminPageObjects, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setOrderStatus, setViewport, test, updateAdminUser };
9020
+ export { AdminPageObjects, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, compareFlowTemplateWithFlow, createRandomImage, encodeImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setOrderStatus, setViewport, test, updateAdminUser };