@shopware-ag/acceptance-test-suite 10.1.0 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -377,6 +377,33 @@ interface RuleAssignmentEntity {
377
377
  name: string;
378
378
  ruleType: RuleType;
379
379
  }
380
+ interface CategoryData {
381
+ name: string;
382
+ categoryType: 'Link' | 'Page / List' | 'Structuring element / Entry point';
383
+ status: boolean;
384
+ }
385
+ interface CategoryCustomizableLinkData {
386
+ linkType: 'Internal' | 'External';
387
+ entity: 'Category' | 'Product' | 'Landing page';
388
+ category?: string;
389
+ product?: string;
390
+ landingPage?: string;
391
+ openInNewTab: boolean;
392
+ }
393
+ interface AccountData {
394
+ customerGroup?: string;
395
+ accountStatus?: boolean;
396
+ language?: string;
397
+ replyToCustomerGroupRequest?: string;
398
+ }
399
+ interface TagData {
400
+ changeType: 'Overwrite' | 'Clear' | 'Add' | 'Remove';
401
+ tags: string[];
402
+ }
403
+ interface CustomFieldData {
404
+ customFieldSetName: string;
405
+ customFieldValue: string;
406
+ }
380
407
 
381
408
  interface SalesChannelRecord {
382
409
  salesChannelId: string;
@@ -1212,6 +1239,7 @@ declare class AccountLogin implements PageObject {
1212
1239
  readonly page: Page;
1213
1240
  readonly emailInput: Locator;
1214
1241
  readonly passwordInput: Locator;
1242
+ readonly forgotPasswordLink: Locator;
1215
1243
  readonly loginButton: Locator;
1216
1244
  readonly logoutLink: Locator;
1217
1245
  readonly successAlert: Locator;
@@ -1235,6 +1263,19 @@ declare class AccountLogin implements PageObject {
1235
1263
  url(): string;
1236
1264
  }
1237
1265
 
1266
+ declare class AccountRecover implements PageObject {
1267
+ readonly page: Page;
1268
+ readonly passwordRecoveryForm: Locator;
1269
+ readonly title: Locator;
1270
+ readonly subtitle: Locator;
1271
+ readonly emailInput: Locator;
1272
+ readonly requestEmailButton: Locator;
1273
+ readonly backButton: Locator;
1274
+ readonly passwordResetEmailSentMessage: Locator;
1275
+ constructor(page: Page);
1276
+ url(): string;
1277
+ }
1278
+
1238
1279
  declare class AccountProfile implements PageObject {
1239
1280
  readonly page: Page;
1240
1281
  readonly salutationSelect: Locator;
@@ -1251,6 +1292,9 @@ declare class AccountProfile implements PageObject {
1251
1292
  readonly newPasswordConfirmInput: Locator;
1252
1293
  readonly currentPasswordInput: Locator;
1253
1294
  readonly saveNewPasswordButton: Locator;
1295
+ readonly loginDataEmailAddress: Locator;
1296
+ readonly emailUpdateMessage: Locator;
1297
+ readonly passwordUpdateMessage: Locator;
1254
1298
  constructor(page: Page);
1255
1299
  url(): string;
1256
1300
  }
@@ -1344,6 +1388,7 @@ interface StorefrontPageTypes {
1344
1388
  StorefrontCheckoutRegister: CheckoutRegister;
1345
1389
  StorefrontAccount: Account;
1346
1390
  StorefrontAccountLogin: AccountLogin;
1391
+ StorefrontAccountRecover: AccountRecover;
1347
1392
  StorefrontAccountProfile: AccountProfile;
1348
1393
  StorefrontAccountOrder: AccountOrder;
1349
1394
  StorefrontAccountAddresses: AccountAddresses;
@@ -1364,6 +1409,7 @@ declare const StorefrontPageObjects: {
1364
1409
  CheckoutRegister: typeof CheckoutRegister;
1365
1410
  Account: typeof Account;
1366
1411
  AccountLogin: typeof AccountLogin;
1412
+ AccountRecover: typeof AccountRecover;
1367
1413
  AccountProfile: typeof AccountProfile;
1368
1414
  AccountOrder: typeof AccountOrder;
1369
1415
  AccountAddresses: typeof AccountAddresses;
@@ -2223,4 +2269,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
2223
2269
  ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
2224
2270
  }, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
2225
2271
 
2226
- export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type Task, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
2272
+ export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
package/dist/index.d.ts CHANGED
@@ -377,6 +377,33 @@ interface RuleAssignmentEntity {
377
377
  name: string;
378
378
  ruleType: RuleType;
379
379
  }
380
+ interface CategoryData {
381
+ name: string;
382
+ categoryType: 'Link' | 'Page / List' | 'Structuring element / Entry point';
383
+ status: boolean;
384
+ }
385
+ interface CategoryCustomizableLinkData {
386
+ linkType: 'Internal' | 'External';
387
+ entity: 'Category' | 'Product' | 'Landing page';
388
+ category?: string;
389
+ product?: string;
390
+ landingPage?: string;
391
+ openInNewTab: boolean;
392
+ }
393
+ interface AccountData {
394
+ customerGroup?: string;
395
+ accountStatus?: boolean;
396
+ language?: string;
397
+ replyToCustomerGroupRequest?: string;
398
+ }
399
+ interface TagData {
400
+ changeType: 'Overwrite' | 'Clear' | 'Add' | 'Remove';
401
+ tags: string[];
402
+ }
403
+ interface CustomFieldData {
404
+ customFieldSetName: string;
405
+ customFieldValue: string;
406
+ }
380
407
 
381
408
  interface SalesChannelRecord {
382
409
  salesChannelId: string;
@@ -1212,6 +1239,7 @@ declare class AccountLogin implements PageObject {
1212
1239
  readonly page: Page;
1213
1240
  readonly emailInput: Locator;
1214
1241
  readonly passwordInput: Locator;
1242
+ readonly forgotPasswordLink: Locator;
1215
1243
  readonly loginButton: Locator;
1216
1244
  readonly logoutLink: Locator;
1217
1245
  readonly successAlert: Locator;
@@ -1235,6 +1263,19 @@ declare class AccountLogin implements PageObject {
1235
1263
  url(): string;
1236
1264
  }
1237
1265
 
1266
+ declare class AccountRecover implements PageObject {
1267
+ readonly page: Page;
1268
+ readonly passwordRecoveryForm: Locator;
1269
+ readonly title: Locator;
1270
+ readonly subtitle: Locator;
1271
+ readonly emailInput: Locator;
1272
+ readonly requestEmailButton: Locator;
1273
+ readonly backButton: Locator;
1274
+ readonly passwordResetEmailSentMessage: Locator;
1275
+ constructor(page: Page);
1276
+ url(): string;
1277
+ }
1278
+
1238
1279
  declare class AccountProfile implements PageObject {
1239
1280
  readonly page: Page;
1240
1281
  readonly salutationSelect: Locator;
@@ -1251,6 +1292,9 @@ declare class AccountProfile implements PageObject {
1251
1292
  readonly newPasswordConfirmInput: Locator;
1252
1293
  readonly currentPasswordInput: Locator;
1253
1294
  readonly saveNewPasswordButton: Locator;
1295
+ readonly loginDataEmailAddress: Locator;
1296
+ readonly emailUpdateMessage: Locator;
1297
+ readonly passwordUpdateMessage: Locator;
1254
1298
  constructor(page: Page);
1255
1299
  url(): string;
1256
1300
  }
@@ -1344,6 +1388,7 @@ interface StorefrontPageTypes {
1344
1388
  StorefrontCheckoutRegister: CheckoutRegister;
1345
1389
  StorefrontAccount: Account;
1346
1390
  StorefrontAccountLogin: AccountLogin;
1391
+ StorefrontAccountRecover: AccountRecover;
1347
1392
  StorefrontAccountProfile: AccountProfile;
1348
1393
  StorefrontAccountOrder: AccountOrder;
1349
1394
  StorefrontAccountAddresses: AccountAddresses;
@@ -1364,6 +1409,7 @@ declare const StorefrontPageObjects: {
1364
1409
  CheckoutRegister: typeof CheckoutRegister;
1365
1410
  Account: typeof Account;
1366
1411
  AccountLogin: typeof AccountLogin;
1412
+ AccountRecover: typeof AccountRecover;
1367
1413
  AccountProfile: typeof AccountProfile;
1368
1414
  AccountOrder: typeof AccountOrder;
1369
1415
  AccountAddresses: typeof AccountAddresses;
@@ -2223,4 +2269,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
2223
2269
  ValidateAccessibility: (pageName: string, assertViolations?: number | boolean | undefined, createReport?: boolean | undefined, ruleTags?: string[] | undefined, outputDir?: string | undefined) => () => Promise<axe_core.Result[]>;
2224
2270
  }, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
2225
2271
 
2226
- export { AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type Task, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
2272
+ export { type AccountData, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country, type CreatedRecord, type Currency$1 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Language$1 as Language, type Manufacturer, type Media, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod, type Price, type Product, type ProductPrice, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type TaxRules, TestDataService, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlowId, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
package/dist/index.mjs CHANGED
@@ -385,16 +385,16 @@ const test$c = test$e.extend({
385
385
  ]
386
386
  });
387
387
 
388
- var __defProp$T = Object.defineProperty;
389
- var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
390
- var __publicField$T = (obj, key, value) => {
391
- __defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
388
+ var __defProp$U = Object.defineProperty;
389
+ var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
390
+ var __publicField$U = (obj, key, value) => {
391
+ __defNormalProp$U(obj, typeof key !== "symbol" ? key + "" : key, value);
392
392
  return value;
393
393
  };
394
394
  const _AdminApiContext = class _AdminApiContext {
395
395
  constructor(context, options) {
396
- __publicField$T(this, "context");
397
- __publicField$T(this, "options");
396
+ __publicField$U(this, "context");
397
+ __publicField$U(this, "options");
398
398
  this.context = context;
399
399
  this.options = options;
400
400
  }
@@ -486,7 +486,7 @@ const _AdminApiContext = class _AdminApiContext {
486
486
  return this.context.head(url, options);
487
487
  }
488
488
  };
489
- __publicField$T(_AdminApiContext, "defaultOptions", {
489
+ __publicField$U(_AdminApiContext, "defaultOptions", {
490
490
  app_url: process.env["APP_URL"],
491
491
  client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
492
492
  client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
@@ -496,16 +496,16 @@ __publicField$T(_AdminApiContext, "defaultOptions", {
496
496
  });
497
497
  let AdminApiContext = _AdminApiContext;
498
498
 
499
- var __defProp$S = Object.defineProperty;
500
- var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
501
- var __publicField$S = (obj, key, value) => {
502
- __defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
499
+ var __defProp$T = Object.defineProperty;
500
+ var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
501
+ var __publicField$T = (obj, key, value) => {
502
+ __defNormalProp$T(obj, typeof key !== "symbol" ? key + "" : key, value);
503
503
  return value;
504
504
  };
505
505
  const _StoreApiContext = class _StoreApiContext {
506
506
  constructor(context, options) {
507
- __publicField$S(this, "context");
508
- __publicField$S(this, "options");
507
+ __publicField$T(this, "context");
508
+ __publicField$T(this, "options");
509
509
  this.context = context;
510
510
  this.options = options;
511
511
  }
@@ -564,21 +564,21 @@ const _StoreApiContext = class _StoreApiContext {
564
564
  return this.context.head(url, options);
565
565
  }
566
566
  };
567
- __publicField$S(_StoreApiContext, "defaultOptions", {
567
+ __publicField$T(_StoreApiContext, "defaultOptions", {
568
568
  app_url: process.env["APP_URL"],
569
569
  ignoreHTTPSErrors: true
570
570
  });
571
571
  let StoreApiContext = _StoreApiContext;
572
572
 
573
- var __defProp$R = Object.defineProperty;
574
- var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
575
- var __publicField$R = (obj, key, value) => {
576
- __defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
573
+ var __defProp$S = Object.defineProperty;
574
+ var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
575
+ var __publicField$S = (obj, key, value) => {
576
+ __defNormalProp$S(obj, typeof key !== "symbol" ? key + "" : key, value);
577
577
  return value;
578
578
  };
579
579
  class MailpitApiContext {
580
580
  constructor(context) {
581
- __publicField$R(this, "context");
581
+ __publicField$S(this, "context");
582
582
  this.context = context;
583
583
  }
584
584
  /**
@@ -875,17 +875,17 @@ const test$a = test$e.extend({
875
875
  }
876
876
  });
877
877
 
878
- var __defProp$Q = Object.defineProperty;
879
- var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
880
- var __publicField$Q = (obj, key, value) => {
881
- __defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
878
+ var __defProp$R = Object.defineProperty;
879
+ var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
880
+ var __publicField$R = (obj, key, value) => {
881
+ __defNormalProp$R(obj, typeof key !== "symbol" ? key + "" : key, value);
882
882
  return value;
883
883
  };
884
884
  class Actor {
885
885
  constructor(name, page) {
886
- __publicField$Q(this, "page");
887
- __publicField$Q(this, "name");
888
- __publicField$Q(this, "expects", expect);
886
+ __publicField$R(this, "page");
887
+ __publicField$R(this, "name");
888
+ __publicField$R(this, "expects", expect);
889
889
  this.name = name;
890
890
  this.page = page;
891
891
  }
@@ -934,31 +934,31 @@ function createRandomImage(width = 800, height = 600) {
934
934
  return new Image(width, height, buffer);
935
935
  }
936
936
 
937
- var __defProp$P = Object.defineProperty;
938
- var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
939
- var __publicField$P = (obj, key, value) => {
940
- __defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
937
+ var __defProp$Q = Object.defineProperty;
938
+ var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
939
+ var __publicField$Q = (obj, key, value) => {
940
+ __defNormalProp$Q(obj, typeof key !== "symbol" ? key + "" : key, value);
941
941
  return value;
942
942
  };
943
943
  class TestDataService {
944
944
  constructor(AdminApiClient, IdProvider, options) {
945
- __publicField$P(this, "AdminApiClient");
946
- __publicField$P(this, "IdProvider");
947
- __publicField$P(this, "namePrefix", "Test-");
948
- __publicField$P(this, "nameSuffix", "");
949
- __publicField$P(this, "defaultSalesChannel");
950
- __publicField$P(this, "defaultTaxId");
951
- __publicField$P(this, "defaultCurrencyId");
952
- __publicField$P(this, "defaultCategoryId");
953
- __publicField$P(this, "defaultLanguageId");
954
- __publicField$P(this, "defaultCountryId");
955
- __publicField$P(this, "defaultCustomerGroupId");
945
+ __publicField$Q(this, "AdminApiClient");
946
+ __publicField$Q(this, "IdProvider");
947
+ __publicField$Q(this, "namePrefix", "Test-");
948
+ __publicField$Q(this, "nameSuffix", "");
949
+ __publicField$Q(this, "defaultSalesChannel");
950
+ __publicField$Q(this, "defaultTaxId");
951
+ __publicField$Q(this, "defaultCurrencyId");
952
+ __publicField$Q(this, "defaultCategoryId");
953
+ __publicField$Q(this, "defaultLanguageId");
954
+ __publicField$Q(this, "defaultCountryId");
955
+ __publicField$Q(this, "defaultCustomerGroupId");
956
956
  /**
957
957
  * Configures if an automated cleanup of the data should be executed.
958
958
  *
959
959
  * @private
960
960
  */
961
- __publicField$P(this, "shouldCleanUp", true);
961
+ __publicField$Q(this, "shouldCleanUp", true);
962
962
  /**
963
963
  * Configuration of higher priority entities for the cleanup operation.
964
964
  * These entities will be deleted before others.
@@ -966,25 +966,25 @@ class TestDataService {
966
966
  *
967
967
  * @private
968
968
  */
969
- __publicField$P(this, "highPriorityEntities", ["order", "product", "landing_page", "shipping_method", "sales_channel_domain", "sales_channel_currency", "sales_channel_country", "customer"]);
969
+ __publicField$Q(this, "highPriorityEntities", ["order", "product", "landing_page", "shipping_method", "sales_channel_domain", "sales_channel_currency", "sales_channel_country", "customer"]);
970
970
  /**
971
971
  * A registry of all created records.
972
972
  *
973
973
  * @private
974
974
  */
975
- __publicField$P(this, "createdRecords", []);
975
+ __publicField$Q(this, "createdRecords", []);
976
976
  /**
977
977
  * A registry of all created sales channel records.
978
978
  *
979
979
  * @private
980
980
  */
981
- __publicField$P(this, "createdSalesChannelRecords", []);
981
+ __publicField$Q(this, "createdSalesChannelRecords", []);
982
982
  /**
983
983
  * Function that generates combinations from n number of arrays
984
984
  * with m number of elements in them.
985
985
  * @param array
986
986
  */
987
- __publicField$P(this, "combineAll", (array) => {
987
+ __publicField$Q(this, "combineAll", (array) => {
988
988
  const result = [];
989
989
  const max = array.length - 1;
990
990
  const helper = (tmpArray, i) => {
@@ -2926,16 +2926,16 @@ const test$8 = test$e.extend({
2926
2926
  }
2927
2927
  });
2928
2928
 
2929
- var __defProp$O = Object.defineProperty;
2930
- var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2931
- var __publicField$O = (obj, key, value) => {
2932
- __defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
2929
+ var __defProp$P = Object.defineProperty;
2930
+ var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2931
+ var __publicField$P = (obj, key, value) => {
2932
+ __defNormalProp$P(obj, typeof key !== "symbol" ? key + "" : key, value);
2933
2933
  return value;
2934
2934
  };
2935
2935
  class IdProvider {
2936
2936
  constructor(workerIndex, seed) {
2937
- __publicField$O(this, "workerIndex");
2938
- __publicField$O(this, "seed");
2937
+ __publicField$P(this, "workerIndex");
2938
+ __publicField$P(this, "seed");
2939
2939
  this.workerIndex = workerIndex;
2940
2940
  this.seed = seed;
2941
2941
  }
@@ -3009,34 +3009,34 @@ const test$7 = test$e.extend({
3009
3009
  ]
3010
3010
  });
3011
3011
 
3012
- var __defProp$N = Object.defineProperty;
3013
- var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3014
- var __publicField$N = (obj, key, value) => {
3015
- __defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
3012
+ var __defProp$O = Object.defineProperty;
3013
+ var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3014
+ var __publicField$O = (obj, key, value) => {
3015
+ __defNormalProp$O(obj, typeof key !== "symbol" ? key + "" : key, value);
3016
3016
  return value;
3017
3017
  };
3018
3018
  class Home {
3019
3019
  constructor(page) {
3020
3020
  this.page = page;
3021
- __publicField$N(this, "productImages");
3022
- __publicField$N(this, "productListItems");
3023
- __publicField$N(this, "languagesDropdown");
3024
- __publicField$N(this, "languagesMenuOptions");
3025
- __publicField$N(this, "currenciesDropdown");
3026
- __publicField$N(this, "currenciesMenuOptions");
3027
- __publicField$N(this, "consentOnlyTechnicallyRequiredButton");
3028
- __publicField$N(this, "consentConfigureButton");
3029
- __publicField$N(this, "consentAcceptAllCookiesButton");
3030
- __publicField$N(this, "consentCookiePreferences");
3031
- __publicField$N(this, "consentCookiePermissionContent");
3032
- __publicField$N(this, "consentDialog");
3033
- __publicField$N(this, "consentDialogTechnicallyRequiredCheckbox");
3034
- __publicField$N(this, "consentDialogStatisticsCheckbox");
3035
- __publicField$N(this, "consentDialogMarketingdCheckbox");
3036
- __publicField$N(this, "consentDialogAcceptAllCookiesButton");
3037
- __publicField$N(this, "consentDialogSaveButton");
3038
- __publicField$N(this, "consentCookieBannerContainer");
3039
- __publicField$N(this, "offcanvasBackdrop");
3021
+ __publicField$O(this, "productImages");
3022
+ __publicField$O(this, "productListItems");
3023
+ __publicField$O(this, "languagesDropdown");
3024
+ __publicField$O(this, "languagesMenuOptions");
3025
+ __publicField$O(this, "currenciesDropdown");
3026
+ __publicField$O(this, "currenciesMenuOptions");
3027
+ __publicField$O(this, "consentOnlyTechnicallyRequiredButton");
3028
+ __publicField$O(this, "consentConfigureButton");
3029
+ __publicField$O(this, "consentAcceptAllCookiesButton");
3030
+ __publicField$O(this, "consentCookiePreferences");
3031
+ __publicField$O(this, "consentCookiePermissionContent");
3032
+ __publicField$O(this, "consentDialog");
3033
+ __publicField$O(this, "consentDialogTechnicallyRequiredCheckbox");
3034
+ __publicField$O(this, "consentDialogStatisticsCheckbox");
3035
+ __publicField$O(this, "consentDialogMarketingdCheckbox");
3036
+ __publicField$O(this, "consentDialogAcceptAllCookiesButton");
3037
+ __publicField$O(this, "consentDialogSaveButton");
3038
+ __publicField$O(this, "consentCookieBannerContainer");
3039
+ __publicField$O(this, "offcanvasBackdrop");
3040
3040
  this.productImages = page.locator(".product-image-link");
3041
3041
  this.productListItems = page.getByRole("listitem");
3042
3042
  this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
@@ -3085,26 +3085,26 @@ class Home {
3085
3085
  }
3086
3086
  }
3087
3087
 
3088
- var __defProp$M = Object.defineProperty;
3089
- var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3090
- var __publicField$M = (obj, key, value) => {
3091
- __defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
3088
+ var __defProp$N = Object.defineProperty;
3089
+ var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3090
+ var __publicField$N = (obj, key, value) => {
3091
+ __defNormalProp$N(obj, typeof key !== "symbol" ? key + "" : key, value);
3092
3092
  return value;
3093
3093
  };
3094
3094
  let ProductDetail$1 = class ProductDetail {
3095
3095
  constructor(page) {
3096
3096
  this.page = page;
3097
- __publicField$M(this, "addToCartButton");
3098
- __publicField$M(this, "quantitySelect");
3099
- __publicField$M(this, "productSingleImage");
3100
- __publicField$M(this, "productSinglePrice");
3101
- __publicField$M(this, "productPriceRangesRow");
3102
- __publicField$M(this, "offCanvasCartTitle");
3103
- __publicField$M(this, "offCanvasCart");
3104
- __publicField$M(this, "offCanvasCartGoToCheckoutButton");
3105
- __publicField$M(this, "offCanvasLineItemImages");
3106
- __publicField$M(this, "offCanvasSummaryTotalPrice");
3107
- __publicField$M(this, "offCanvas");
3097
+ __publicField$N(this, "addToCartButton");
3098
+ __publicField$N(this, "quantitySelect");
3099
+ __publicField$N(this, "productSingleImage");
3100
+ __publicField$N(this, "productSinglePrice");
3101
+ __publicField$N(this, "productPriceRangesRow");
3102
+ __publicField$N(this, "offCanvasCartTitle");
3103
+ __publicField$N(this, "offCanvasCart");
3104
+ __publicField$N(this, "offCanvasCartGoToCheckoutButton");
3105
+ __publicField$N(this, "offCanvasLineItemImages");
3106
+ __publicField$N(this, "offCanvasSummaryTotalPrice");
3107
+ __publicField$N(this, "offCanvas");
3108
3108
  this.addToCartButton = page.getByRole("button", { name: "Add to shopping cart" });
3109
3109
  this.quantitySelect = page.getByLabel("Quantity", { exact: true });
3110
3110
  this.productSingleImage = page.locator(".gallery-slider-single-image");
@@ -3126,18 +3126,18 @@ let ProductDetail$1 = class ProductDetail {
3126
3126
  }
3127
3127
  };
3128
3128
 
3129
- var __defProp$L = Object.defineProperty;
3130
- var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3131
- var __publicField$L = (obj, key, value) => {
3132
- __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
3129
+ var __defProp$M = Object.defineProperty;
3130
+ var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3131
+ var __publicField$M = (obj, key, value) => {
3132
+ __defNormalProp$M(obj, typeof key !== "symbol" ? key + "" : key, value);
3133
3133
  return value;
3134
3134
  };
3135
3135
  class Category {
3136
3136
  constructor(page) {
3137
3137
  this.page = page;
3138
- __publicField$L(this, "sortingSelect");
3139
- __publicField$L(this, "firstProductBuyButton");
3140
- __publicField$L(this, "noProductsFoundAlert");
3138
+ __publicField$M(this, "sortingSelect");
3139
+ __publicField$M(this, "firstProductBuyButton");
3140
+ __publicField$M(this, "noProductsFoundAlert");
3141
3141
  this.sortingSelect = page.getByLabel("Sorting");
3142
3142
  this.firstProductBuyButton = page.getByRole("button", { name: "Add to shopping cart" }).first();
3143
3143
  this.noProductsFoundAlert = page.getByText("No products found.");
@@ -3147,24 +3147,24 @@ class Category {
3147
3147
  }
3148
3148
  }
3149
3149
 
3150
- var __defProp$K = Object.defineProperty;
3151
- var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3152
- var __publicField$K = (obj, key, value) => {
3153
- __defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
3150
+ var __defProp$L = Object.defineProperty;
3151
+ var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3152
+ var __publicField$L = (obj, key, value) => {
3153
+ __defNormalProp$L(obj, typeof key !== "symbol" ? key + "" : key, value);
3154
3154
  return value;
3155
3155
  };
3156
3156
  class CheckoutCart {
3157
3157
  constructor(page) {
3158
3158
  this.page = page;
3159
- __publicField$K(this, "headline");
3160
- __publicField$K(this, "goToCheckoutButton");
3161
- __publicField$K(this, "enterPromoInput");
3162
- __publicField$K(this, "grandTotalPrice");
3163
- __publicField$K(this, "emptyCartAlert");
3164
- __publicField$K(this, "stockReachedAlert");
3165
- __publicField$K(this, "cartLineItemImages");
3166
- __publicField$K(this, "unitPriceInfo");
3167
- __publicField$K(this, "cartQuantityNumber");
3159
+ __publicField$L(this, "headline");
3160
+ __publicField$L(this, "goToCheckoutButton");
3161
+ __publicField$L(this, "enterPromoInput");
3162
+ __publicField$L(this, "grandTotalPrice");
3163
+ __publicField$L(this, "emptyCartAlert");
3164
+ __publicField$L(this, "stockReachedAlert");
3165
+ __publicField$L(this, "cartLineItemImages");
3166
+ __publicField$L(this, "unitPriceInfo");
3167
+ __publicField$L(this, "cartQuantityNumber");
3168
3168
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
3169
3169
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
3170
3170
  this.enterPromoInput = page.getByLabel("Promo code");
@@ -3205,25 +3205,25 @@ class CheckoutCart {
3205
3205
  }
3206
3206
  }
3207
3207
 
3208
- var __defProp$J = Object.defineProperty;
3209
- var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3210
- var __publicField$J = (obj, key, value) => {
3211
- __defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
3208
+ var __defProp$K = Object.defineProperty;
3209
+ var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3210
+ var __publicField$K = (obj, key, value) => {
3211
+ __defNormalProp$K(obj, typeof key !== "symbol" ? key + "" : key, value);
3212
3212
  return value;
3213
3213
  };
3214
3214
  class OffCanvasCart {
3215
3215
  constructor(page) {
3216
3216
  this.page = page;
3217
- __publicField$J(this, "headline");
3218
- __publicField$J(this, "itemCount");
3219
- __publicField$J(this, "goToCheckoutButton");
3220
- __publicField$J(this, "goToCartButton");
3221
- __publicField$J(this, "continueShoppingButton");
3222
- __publicField$J(this, "enterPromoInput");
3223
- __publicField$J(this, "submitDiscountButton");
3224
- __publicField$J(this, "subTotalPrice");
3225
- __publicField$J(this, "shippingCosts");
3226
- __publicField$J(this, "cartQuantityNumber");
3217
+ __publicField$K(this, "headline");
3218
+ __publicField$K(this, "itemCount");
3219
+ __publicField$K(this, "goToCheckoutButton");
3220
+ __publicField$K(this, "goToCartButton");
3221
+ __publicField$K(this, "continueShoppingButton");
3222
+ __publicField$K(this, "enterPromoInput");
3223
+ __publicField$K(this, "submitDiscountButton");
3224
+ __publicField$K(this, "subTotalPrice");
3225
+ __publicField$K(this, "shippingCosts");
3226
+ __publicField$K(this, "cartQuantityNumber");
3227
3227
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
3228
3228
  this.itemCount = page.locator(".offcanvas-cart-header-count");
3229
3229
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
@@ -3265,36 +3265,36 @@ class OffCanvasCart {
3265
3265
  }
3266
3266
  }
3267
3267
 
3268
- var __defProp$I = Object.defineProperty;
3269
- var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3270
- var __publicField$I = (obj, key, value) => {
3271
- __defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
3268
+ var __defProp$J = Object.defineProperty;
3269
+ var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3270
+ var __publicField$J = (obj, key, value) => {
3271
+ __defNormalProp$J(obj, typeof key !== "symbol" ? key + "" : key, value);
3272
3272
  return value;
3273
3273
  };
3274
3274
  class CheckoutConfirm {
3275
3275
  constructor(page) {
3276
3276
  this.page = page;
3277
- __publicField$I(this, "headline");
3278
- __publicField$I(this, "termsAndConditionsCheckbox");
3279
- __publicField$I(this, "immediateAccessToDigitalProductCheckbox");
3280
- __publicField$I(this, "grandTotalPrice");
3281
- __publicField$I(this, "taxPrice");
3282
- __publicField$I(this, "submitOrderButton");
3277
+ __publicField$J(this, "headline");
3278
+ __publicField$J(this, "termsAndConditionsCheckbox");
3279
+ __publicField$J(this, "immediateAccessToDigitalProductCheckbox");
3280
+ __publicField$J(this, "grandTotalPrice");
3281
+ __publicField$J(this, "taxPrice");
3282
+ __publicField$J(this, "submitOrderButton");
3283
3283
  /**
3284
3284
  * Payment options
3285
3285
  */
3286
- __publicField$I(this, "paymentCashOnDelivery");
3287
- __publicField$I(this, "paymentPaidInAdvance");
3288
- __publicField$I(this, "paymentInvoice");
3286
+ __publicField$J(this, "paymentCashOnDelivery");
3287
+ __publicField$J(this, "paymentPaidInAdvance");
3288
+ __publicField$J(this, "paymentInvoice");
3289
3289
  /**
3290
3290
  * Shipping options
3291
3291
  */
3292
- __publicField$I(this, "shippingStandard");
3293
- __publicField$I(this, "shippingExpress");
3292
+ __publicField$J(this, "shippingStandard");
3293
+ __publicField$J(this, "shippingExpress");
3294
3294
  /**
3295
3295
  * Product details
3296
3296
  */
3297
- __publicField$I(this, "cartLineItemImages");
3297
+ __publicField$J(this, "cartLineItemImages");
3298
3298
  this.headline = page.getByRole("heading", { name: "Complete order" });
3299
3299
  this.termsAndConditionsCheckbox = page.getByLabel("I have read and accepted the general terms and conditions.");
3300
3300
  this.immediateAccessToDigitalProductCheckbox = page.getByLabel("I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.");
@@ -3313,21 +3313,21 @@ class CheckoutConfirm {
3313
3313
  }
3314
3314
  }
3315
3315
 
3316
- var __defProp$H = Object.defineProperty;
3317
- var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3318
- var __publicField$H = (obj, key, value) => {
3319
- __defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
3316
+ var __defProp$I = Object.defineProperty;
3317
+ var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3318
+ var __publicField$I = (obj, key, value) => {
3319
+ __defNormalProp$I(obj, typeof key !== "symbol" ? key + "" : key, value);
3320
3320
  return value;
3321
3321
  };
3322
3322
  class CheckoutFinish {
3323
3323
  constructor(page) {
3324
3324
  this.page = page;
3325
- __publicField$H(this, "headline");
3326
- __publicField$H(this, "orderNumberText");
3327
- __publicField$H(this, "grandTotalPrice");
3328
- __publicField$H(this, "taxPrice");
3329
- __publicField$H(this, "cartLineItemImages");
3330
- __publicField$H(this, "orderNumberRegex", /Your order number: #(\d+)/);
3325
+ __publicField$I(this, "headline");
3326
+ __publicField$I(this, "orderNumberText");
3327
+ __publicField$I(this, "grandTotalPrice");
3328
+ __publicField$I(this, "taxPrice");
3329
+ __publicField$I(this, "cartLineItemImages");
3330
+ __publicField$I(this, "orderNumberRegex", /Your order number: #(\d+)/);
3331
3331
  this.headline = page.getByRole("heading", { name: "Thank you for your order" });
3332
3332
  this.orderNumberText = page.getByText(this.orderNumberRegex);
3333
3333
  this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd');
@@ -3356,16 +3356,16 @@ class CheckoutFinish {
3356
3356
  }
3357
3357
  }
3358
3358
 
3359
- var __defProp$G = Object.defineProperty;
3360
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3361
- var __publicField$G = (obj, key, value) => {
3362
- __defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
3359
+ var __defProp$H = Object.defineProperty;
3360
+ var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3361
+ var __publicField$H = (obj, key, value) => {
3362
+ __defNormalProp$H(obj, typeof key !== "symbol" ? key + "" : key, value);
3363
3363
  return value;
3364
3364
  };
3365
3365
  class CheckoutRegister {
3366
3366
  constructor(page) {
3367
3367
  this.page = page;
3368
- __publicField$G(this, "cartLineItemImages");
3368
+ __publicField$H(this, "cartLineItemImages");
3369
3369
  this.cartLineItemImages = page.locator(".line-item-img-link");
3370
3370
  }
3371
3371
  url() {
@@ -3373,23 +3373,23 @@ class CheckoutRegister {
3373
3373
  }
3374
3374
  }
3375
3375
 
3376
- var __defProp$F = Object.defineProperty;
3377
- var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3378
- var __publicField$F = (obj, key, value) => {
3379
- __defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
3376
+ var __defProp$G = Object.defineProperty;
3377
+ var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3378
+ var __publicField$G = (obj, key, value) => {
3379
+ __defNormalProp$G(obj, typeof key !== "symbol" ? key + "" : key, value);
3380
3380
  return value;
3381
3381
  };
3382
3382
  class Account {
3383
3383
  constructor(page) {
3384
3384
  this.page = page;
3385
- __publicField$F(this, "headline");
3386
- __publicField$F(this, "personalDataCardTitle");
3387
- __publicField$F(this, "paymentMethodCardTitle");
3388
- __publicField$F(this, "billingAddressCardTitle");
3389
- __publicField$F(this, "shippingAddressCardTitle");
3390
- __publicField$F(this, "newsletterCheckbox");
3391
- __publicField$F(this, "newsletterRegistrationSuccessMessage");
3392
- __publicField$F(this, "customerGroupRequestMessage");
3385
+ __publicField$G(this, "headline");
3386
+ __publicField$G(this, "personalDataCardTitle");
3387
+ __publicField$G(this, "paymentMethodCardTitle");
3388
+ __publicField$G(this, "billingAddressCardTitle");
3389
+ __publicField$G(this, "shippingAddressCardTitle");
3390
+ __publicField$G(this, "newsletterCheckbox");
3391
+ __publicField$G(this, "newsletterRegistrationSuccessMessage");
3392
+ __publicField$G(this, "customerGroupRequestMessage");
3393
3393
  this.headline = page.getByRole("heading", { name: "Overview" });
3394
3394
  this.personalDataCardTitle = page.getByRole("heading", { name: "Personal data" });
3395
3395
  this.paymentMethodCardTitle = page.getByRole("heading", { name: "Default payment method" });
@@ -3407,40 +3407,42 @@ class Account {
3407
3407
  }
3408
3408
  }
3409
3409
 
3410
- var __defProp$E = Object.defineProperty;
3411
- var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3412
- var __publicField$E = (obj, key, value) => {
3413
- __defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
3410
+ var __defProp$F = Object.defineProperty;
3411
+ var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3412
+ var __publicField$F = (obj, key, value) => {
3413
+ __defNormalProp$F(obj, typeof key !== "symbol" ? key + "" : key, value);
3414
3414
  return value;
3415
3415
  };
3416
3416
  class AccountLogin {
3417
3417
  constructor(page) {
3418
3418
  this.page = page;
3419
- __publicField$E(this, "emailInput");
3420
- __publicField$E(this, "passwordInput");
3421
- __publicField$E(this, "loginButton");
3422
- __publicField$E(this, "logoutLink");
3423
- __publicField$E(this, "successAlert");
3419
+ __publicField$F(this, "emailInput");
3420
+ __publicField$F(this, "passwordInput");
3421
+ __publicField$F(this, "forgotPasswordLink");
3422
+ __publicField$F(this, "loginButton");
3423
+ __publicField$F(this, "logoutLink");
3424
+ __publicField$F(this, "successAlert");
3424
3425
  // Inputs for registration
3425
- __publicField$E(this, "personalFormArea");
3426
- __publicField$E(this, "billingAddressFormArea");
3427
- __publicField$E(this, "accountTypeSelect");
3428
- __publicField$E(this, "salutationSelect");
3429
- __publicField$E(this, "firstNameInput");
3430
- __publicField$E(this, "lastNameInput");
3431
- __publicField$E(this, "companyInput");
3432
- __publicField$E(this, "departmentInput");
3433
- __publicField$E(this, "vatRegNoInput");
3434
- __publicField$E(this, "registerEmailInput");
3435
- __publicField$E(this, "registerPasswordInput");
3436
- __publicField$E(this, "streetAddressInput");
3437
- __publicField$E(this, "cityInput");
3438
- __publicField$E(this, "countryInput");
3439
- __publicField$E(this, "postalCodeInput");
3440
- __publicField$E(this, "registerButton");
3426
+ __publicField$F(this, "personalFormArea");
3427
+ __publicField$F(this, "billingAddressFormArea");
3428
+ __publicField$F(this, "accountTypeSelect");
3429
+ __publicField$F(this, "salutationSelect");
3430
+ __publicField$F(this, "firstNameInput");
3431
+ __publicField$F(this, "lastNameInput");
3432
+ __publicField$F(this, "companyInput");
3433
+ __publicField$F(this, "departmentInput");
3434
+ __publicField$F(this, "vatRegNoInput");
3435
+ __publicField$F(this, "registerEmailInput");
3436
+ __publicField$F(this, "registerPasswordInput");
3437
+ __publicField$F(this, "streetAddressInput");
3438
+ __publicField$F(this, "cityInput");
3439
+ __publicField$F(this, "countryInput");
3440
+ __publicField$F(this, "postalCodeInput");
3441
+ __publicField$F(this, "registerButton");
3441
3442
  this.emailInput = page.getByLabel("Your email address");
3442
3443
  this.passwordInput = page.getByLabel("Your password");
3443
3444
  this.loginButton = page.getByRole("button", { name: "Log in" });
3445
+ this.forgotPasswordLink = page.getByRole("link", { name: "I have forgotten my password." });
3444
3446
  this.logoutLink = page.getByRole("link", { name: "Log out" });
3445
3447
  this.personalFormArea = page.locator(".register-personal");
3446
3448
  this.billingAddressFormArea = page.locator(".register-billing");
@@ -3466,6 +3468,36 @@ class AccountLogin {
3466
3468
  }
3467
3469
  }
3468
3470
 
3471
+ var __defProp$E = Object.defineProperty;
3472
+ var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3473
+ var __publicField$E = (obj, key, value) => {
3474
+ __defNormalProp$E(obj, typeof key !== "symbol" ? key + "" : key, value);
3475
+ return value;
3476
+ };
3477
+ class AccountRecover {
3478
+ constructor(page) {
3479
+ this.page = page;
3480
+ __publicField$E(this, "passwordRecoveryForm");
3481
+ __publicField$E(this, "title");
3482
+ __publicField$E(this, "subtitle");
3483
+ __publicField$E(this, "emailInput");
3484
+ __publicField$E(this, "requestEmailButton");
3485
+ __publicField$E(this, "backButton");
3486
+ __publicField$E(this, "passwordResetEmailSentMessage");
3487
+ this.passwordRecoveryForm = page.locator(".account-recover-password-form");
3488
+ const cardTitle = this.passwordRecoveryForm.locator(".card-title");
3489
+ this.title = cardTitle.getByText("Password recovery");
3490
+ this.subtitle = cardTitle.getByText("We will send you a confirmation email. Click the link in that email in order to change your password.");
3491
+ this.emailInput = this.passwordRecoveryForm.getByLabel("Your email address");
3492
+ this.requestEmailButton = this.passwordRecoveryForm.getByRole("button", { name: "Request email" });
3493
+ this.backButton = this.passwordRecoveryForm.getByRole("link", { name: "Back" });
3494
+ this.passwordResetEmailSentMessage = page.getByText("If the provided email address is registered, a confirmation email including a password reset link has been sent.");
3495
+ }
3496
+ url() {
3497
+ return "account/recover";
3498
+ }
3499
+ }
3500
+
3469
3501
  var __defProp$D = Object.defineProperty;
3470
3502
  var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3471
3503
  var __publicField$D = (obj, key, value) => {
@@ -3489,6 +3521,9 @@ class AccountProfile {
3489
3521
  __publicField$D(this, "newPasswordConfirmInput");
3490
3522
  __publicField$D(this, "currentPasswordInput");
3491
3523
  __publicField$D(this, "saveNewPasswordButton");
3524
+ __publicField$D(this, "loginDataEmailAddress");
3525
+ __publicField$D(this, "emailUpdateMessage");
3526
+ __publicField$D(this, "passwordUpdateMessage");
3492
3527
  this.salutationSelect = page.getByLabel("Salutation");
3493
3528
  this.firstNameInput = page.getByPlaceholder("Enter first name...");
3494
3529
  this.lastNameInput = page.getByPlaceholder("Enter last name...");
@@ -3503,6 +3538,9 @@ class AccountProfile {
3503
3538
  this.newPasswordConfirmInput = page.getByPlaceholder("Enter your new password once again...");
3504
3539
  this.currentPasswordInput = page.getByPlaceholder("Enter current password...");
3505
3540
  this.saveNewPasswordButton = page.locator("#profilePasswordForm").getByRole("button", { name: "Save changes" });
3541
+ this.loginDataEmailAddress = page.locator(".account-profile-mail");
3542
+ this.emailUpdateMessage = page.getByText("Your email address has been updated.");
3543
+ this.passwordUpdateMessage = page.getByText("Your password has been updated.");
3506
3544
  }
3507
3545
  url() {
3508
3546
  return "account/profile";
@@ -3715,6 +3753,7 @@ const StorefrontPageObjects = {
3715
3753
  CheckoutRegister,
3716
3754
  Account,
3717
3755
  AccountLogin,
3756
+ AccountRecover,
3718
3757
  AccountProfile,
3719
3758
  AccountOrder,
3720
3759
  AccountAddresses,
@@ -3755,6 +3794,9 @@ const test$6 = test$e.extend({
3755
3794
  StorefrontAccountLogin: async ({ StorefrontPage }, use) => {
3756
3795
  await use(new AccountLogin(StorefrontPage));
3757
3796
  },
3797
+ StorefrontAccountRecover: async ({ StorefrontPage }, use) => {
3798
+ await use(new AccountRecover(StorefrontPage));
3799
+ },
3758
3800
  StorefrontAccountProfile: async ({ StorefrontPage }, use) => {
3759
3801
  await use(new AccountProfile(StorefrontPage));
3760
3802
  },
@@ -4654,7 +4696,7 @@ class Categories {
4654
4696
  this.addLandingPageButton = this.landingPageArea.getByText("Add landing page");
4655
4697
  this.landingPageItems = this.landingPageArea.locator(".sw-tree-item__label");
4656
4698
  this.categoryTree = page.locator(".sw-category-tree");
4657
- this.categoryMenuItemList = page.locator(".sw-context-button__menu-popover").locator(".sw-context-menu-item");
4699
+ this.categoryMenuItemList = page.locator(".sw-context-menu-item");
4658
4700
  this.createCategoryInput = page.getByPlaceholder("Create category").getByRole("textbox");
4659
4701
  this.confirmCategoryCreationButton = page.locator(".sw-confirm-field").locator(".sw-button--primary");
4660
4702
  this.categoryItems = this.categoryTree.locator(".tree-link");
@@ -6023,7 +6065,7 @@ const CreateLinkTypeCategory = test$e.extend({
6023
6065
  const task = (categoryData, categoryCustomizableLinkData, parentCategoryName) => {
6024
6066
  return async function CreateLinkTypeCategory2() {
6025
6067
  await AdminCategories.getTreeItemContextButton(parentCategoryName).click();
6026
- await AdminCategories.categoryMenuItemList.filter({ hasText: "New category after" }).click();
6068
+ await AdminCategories.page.getByText("New category after").click();
6027
6069
  await AdminCategories.createCategoryInput.fill(categoryData.name);
6028
6070
  await AdminCategories.confirmCategoryCreationButton.click();
6029
6071
  await AdminCategories.fadingBar.first().waitFor({ state: "hidden" });
@@ -6041,8 +6083,10 @@ const CreateLinkTypeCategory = test$e.extend({
6041
6083
  switch (categoryCustomizableLinkData.entity) {
6042
6084
  case "Category":
6043
6085
  await AdminCategories.categorySelectionList.click();
6044
- locator = await AdminCategories.getPopOverCategoryByName(categoryCustomizableLinkData.category);
6045
- await locator.getByRole("checkbox").click();
6086
+ if (categoryCustomizableLinkData.category != null) {
6087
+ locator = await AdminCategories.getPopOverCategoryByName(categoryCustomizableLinkData.category);
6088
+ await locator.getByRole("checkbox").click();
6089
+ }
6046
6090
  break;
6047
6091
  case "Product":
6048
6092
  await AdminCategories.productSelectionList.click();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "10.1.0",
3
+ "version": "10.2.0",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",