@shopware-ag/acceptance-test-suite 12.15.1 → 12.17.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
@@ -2064,6 +2064,7 @@ declare const BUNDLED_RESOURCES: {
2064
2064
  termsAndConditions: string;
2065
2065
  immediateAccessToDigitalProduct: string;
2066
2066
  autoConfirmTermsText: string;
2067
+ termsAndConditionsWithLegalGuaranteeRights: string;
2067
2068
  };
2068
2069
  finish: {
2069
2070
  thankYouForOrder: string;
@@ -2077,6 +2078,8 @@ declare const BUNDLED_RESOURCES: {
2077
2078
  quantity: string;
2078
2079
  addToWishlist: string;
2079
2080
  removeFromWishlist: string;
2081
+ garanLabelShowLink: string;
2082
+ garanLabelHideLink: string;
2080
2083
  deliveryTime: string;
2081
2084
  review: {
2082
2085
  tabTitle: string;
@@ -3151,6 +3154,7 @@ declare const BUNDLED_RESOURCES: {
3151
3154
  termsAndConditions: string;
3152
3155
  immediateAccessToDigitalProduct: string;
3153
3156
  autoConfirmTermsText: string;
3157
+ termsAndConditionsWithLegalGuaranteeRights: string;
3154
3158
  };
3155
3159
  finish: {
3156
3160
  thankYouForOrder: string;
@@ -3365,6 +3369,8 @@ declare const BUNDLED_RESOURCES: {
3365
3369
  addToCart: string;
3366
3370
  addToWishlist: string;
3367
3371
  removeFromWishlist: string;
3372
+ garanLabelShowLink: string;
3373
+ garanLabelHideLink: string;
3368
3374
  deliveryTime: string;
3369
3375
  quantity: string;
3370
3376
  review: {
@@ -4192,6 +4198,7 @@ declare const baseNamespaces: {
4192
4198
  termsAndConditions: string;
4193
4199
  immediateAccessToDigitalProduct: string;
4194
4200
  autoConfirmTermsText: string;
4201
+ termsAndConditionsWithLegalGuaranteeRights: string;
4195
4202
  };
4196
4203
  finish: {
4197
4204
  thankYouForOrder: string;
@@ -4205,6 +4212,8 @@ declare const baseNamespaces: {
4205
4212
  quantity: string;
4206
4213
  addToWishlist: string;
4207
4214
  removeFromWishlist: string;
4215
+ garanLabelShowLink: string;
4216
+ garanLabelHideLink: string;
4208
4217
  deliveryTime: string;
4209
4218
  review: {
4210
4219
  tabTitle: string;
@@ -4564,6 +4573,11 @@ declare class ProductDetail$1 implements PageObject {
4564
4573
  readonly productDetailConfiguratorOptionInputs: Locator;
4565
4574
  readonly productName: Locator;
4566
4575
  readonly productDescriptionTitle: Locator;
4576
+ readonly garanNestedLabel: Locator;
4577
+ readonly garanFullLabel: Locator;
4578
+ readonly showGaranLabelButton: Locator;
4579
+ readonly hideGaranLabelButton: Locator;
4580
+ readonly offCanvasLineItemGaranLabel: Locator;
4567
4581
  readonly reviewsTab: Locator;
4568
4582
  readonly reviewTeaserButton: Locator;
4569
4583
  readonly reviewTeaserText: Locator;
@@ -4585,6 +4599,7 @@ declare class ProductDetail$1 implements PageObject {
4585
4599
  readonly reviewPasswordInput: Locator;
4586
4600
  readonly reviewTitleInput: Locator;
4587
4601
  readonly reviewSubmitButton: Locator;
4602
+ readonly reviewTabLoadingIcon: Locator;
4588
4603
  readonly productReviewsLink: Locator;
4589
4604
  readonly productReviewRating: Locator;
4590
4605
  readonly page: Page;
@@ -4645,11 +4660,15 @@ declare class OffCanvasCart implements PageObject {
4645
4660
  declare class CheckoutConfirm implements PageObject {
4646
4661
  readonly headline: Locator;
4647
4662
  readonly termsAndConditionsCheckbox: Locator;
4663
+ readonly termsAndConditionsWithLegalGuaranteeRightsLabel: Locator;
4664
+ readonly termsAndConditionsWithLegalGuaranteeRightsCheckbox: Locator;
4648
4665
  readonly immediateAccessToDigitalProductCheckbox: Locator;
4649
4666
  readonly grandTotalPrice: Locator;
4650
4667
  readonly taxPrice: Locator;
4651
4668
  readonly submitOrderButton: Locator;
4652
4669
  readonly termsAutoConfirmedText: Locator;
4670
+ readonly legalGuaranteeNoticeLink: Locator;
4671
+ readonly lineItemGaranLabel: Locator;
4653
4672
  /**
4654
4673
  * Payment and Shipping options
4655
4674
  */
@@ -4831,7 +4850,7 @@ declare class AccountOrder extends BaseAccount {
4831
4850
  readonly creditItem: Locator;
4832
4851
  readonly noOrdersAlert: Locator;
4833
4852
  constructor(page: Page);
4834
- getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
4853
+ getOrderByOrderNumber(orderNumber: string, productNumber?: string): Promise<Record<string, Locator>>;
4835
4854
  url(): string;
4836
4855
  private buildTaxPricePattern;
4837
4856
  private escapeRegex;
@@ -5529,6 +5548,7 @@ declare class Dashboard implements PageObject {
5529
5548
  readonly adminMenuContent: Locator;
5530
5549
  readonly adminMenuMarketing: Locator;
5531
5550
  readonly adminMenuExtension: Locator;
5551
+ readonly adminMenuAutomation: Locator;
5532
5552
  readonly adminMenuSettings: Locator;
5533
5553
  readonly adminMenuUserChevron: Locator;
5534
5554
  readonly adminMenuUserIcon: Locator;
@@ -6796,6 +6816,7 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
6796
6816
  ProceedFromCartToCheckout: Task;
6797
6817
  } & {
6798
6818
  ConfirmTermsAndConditions: Task;
6819
+ ConfirmTermsAndConditionsWithLegalGuaranteeRights: Task;
6799
6820
  } & {
6800
6821
  SelectPaymentMethod: Task;
6801
6822
  } & {
@@ -6828,6 +6849,8 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
6828
6849
  AddProductToWishlist: Task;
6829
6850
  } & {
6830
6851
  SelectProductFilterOption: Task;
6852
+ } & {
6853
+ SelectProductReviewOption: Task;
6831
6854
  } & {
6832
6855
  CheckVisibilityInHome: Task;
6833
6856
  }, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes & {
package/dist/index.d.ts CHANGED
@@ -2064,6 +2064,7 @@ declare const BUNDLED_RESOURCES: {
2064
2064
  termsAndConditions: string;
2065
2065
  immediateAccessToDigitalProduct: string;
2066
2066
  autoConfirmTermsText: string;
2067
+ termsAndConditionsWithLegalGuaranteeRights: string;
2067
2068
  };
2068
2069
  finish: {
2069
2070
  thankYouForOrder: string;
@@ -2077,6 +2078,8 @@ declare const BUNDLED_RESOURCES: {
2077
2078
  quantity: string;
2078
2079
  addToWishlist: string;
2079
2080
  removeFromWishlist: string;
2081
+ garanLabelShowLink: string;
2082
+ garanLabelHideLink: string;
2080
2083
  deliveryTime: string;
2081
2084
  review: {
2082
2085
  tabTitle: string;
@@ -3151,6 +3154,7 @@ declare const BUNDLED_RESOURCES: {
3151
3154
  termsAndConditions: string;
3152
3155
  immediateAccessToDigitalProduct: string;
3153
3156
  autoConfirmTermsText: string;
3157
+ termsAndConditionsWithLegalGuaranteeRights: string;
3154
3158
  };
3155
3159
  finish: {
3156
3160
  thankYouForOrder: string;
@@ -3365,6 +3369,8 @@ declare const BUNDLED_RESOURCES: {
3365
3369
  addToCart: string;
3366
3370
  addToWishlist: string;
3367
3371
  removeFromWishlist: string;
3372
+ garanLabelShowLink: string;
3373
+ garanLabelHideLink: string;
3368
3374
  deliveryTime: string;
3369
3375
  quantity: string;
3370
3376
  review: {
@@ -4192,6 +4198,7 @@ declare const baseNamespaces: {
4192
4198
  termsAndConditions: string;
4193
4199
  immediateAccessToDigitalProduct: string;
4194
4200
  autoConfirmTermsText: string;
4201
+ termsAndConditionsWithLegalGuaranteeRights: string;
4195
4202
  };
4196
4203
  finish: {
4197
4204
  thankYouForOrder: string;
@@ -4205,6 +4212,8 @@ declare const baseNamespaces: {
4205
4212
  quantity: string;
4206
4213
  addToWishlist: string;
4207
4214
  removeFromWishlist: string;
4215
+ garanLabelShowLink: string;
4216
+ garanLabelHideLink: string;
4208
4217
  deliveryTime: string;
4209
4218
  review: {
4210
4219
  tabTitle: string;
@@ -4564,6 +4573,11 @@ declare class ProductDetail$1 implements PageObject {
4564
4573
  readonly productDetailConfiguratorOptionInputs: Locator;
4565
4574
  readonly productName: Locator;
4566
4575
  readonly productDescriptionTitle: Locator;
4576
+ readonly garanNestedLabel: Locator;
4577
+ readonly garanFullLabel: Locator;
4578
+ readonly showGaranLabelButton: Locator;
4579
+ readonly hideGaranLabelButton: Locator;
4580
+ readonly offCanvasLineItemGaranLabel: Locator;
4567
4581
  readonly reviewsTab: Locator;
4568
4582
  readonly reviewTeaserButton: Locator;
4569
4583
  readonly reviewTeaserText: Locator;
@@ -4585,6 +4599,7 @@ declare class ProductDetail$1 implements PageObject {
4585
4599
  readonly reviewPasswordInput: Locator;
4586
4600
  readonly reviewTitleInput: Locator;
4587
4601
  readonly reviewSubmitButton: Locator;
4602
+ readonly reviewTabLoadingIcon: Locator;
4588
4603
  readonly productReviewsLink: Locator;
4589
4604
  readonly productReviewRating: Locator;
4590
4605
  readonly page: Page;
@@ -4645,11 +4660,15 @@ declare class OffCanvasCart implements PageObject {
4645
4660
  declare class CheckoutConfirm implements PageObject {
4646
4661
  readonly headline: Locator;
4647
4662
  readonly termsAndConditionsCheckbox: Locator;
4663
+ readonly termsAndConditionsWithLegalGuaranteeRightsLabel: Locator;
4664
+ readonly termsAndConditionsWithLegalGuaranteeRightsCheckbox: Locator;
4648
4665
  readonly immediateAccessToDigitalProductCheckbox: Locator;
4649
4666
  readonly grandTotalPrice: Locator;
4650
4667
  readonly taxPrice: Locator;
4651
4668
  readonly submitOrderButton: Locator;
4652
4669
  readonly termsAutoConfirmedText: Locator;
4670
+ readonly legalGuaranteeNoticeLink: Locator;
4671
+ readonly lineItemGaranLabel: Locator;
4653
4672
  /**
4654
4673
  * Payment and Shipping options
4655
4674
  */
@@ -4831,7 +4850,7 @@ declare class AccountOrder extends BaseAccount {
4831
4850
  readonly creditItem: Locator;
4832
4851
  readonly noOrdersAlert: Locator;
4833
4852
  constructor(page: Page);
4834
- getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
4853
+ getOrderByOrderNumber(orderNumber: string, productNumber?: string): Promise<Record<string, Locator>>;
4835
4854
  url(): string;
4836
4855
  private buildTaxPricePattern;
4837
4856
  private escapeRegex;
@@ -5529,6 +5548,7 @@ declare class Dashboard implements PageObject {
5529
5548
  readonly adminMenuContent: Locator;
5530
5549
  readonly adminMenuMarketing: Locator;
5531
5550
  readonly adminMenuExtension: Locator;
5551
+ readonly adminMenuAutomation: Locator;
5532
5552
  readonly adminMenuSettings: Locator;
5533
5553
  readonly adminMenuUserChevron: Locator;
5534
5554
  readonly adminMenuUserIcon: Locator;
@@ -6796,6 +6816,7 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
6796
6816
  ProceedFromCartToCheckout: Task;
6797
6817
  } & {
6798
6818
  ConfirmTermsAndConditions: Task;
6819
+ ConfirmTermsAndConditionsWithLegalGuaranteeRights: Task;
6799
6820
  } & {
6800
6821
  SelectPaymentMethod: Task;
6801
6822
  } & {
@@ -6828,6 +6849,8 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
6828
6849
  AddProductToWishlist: Task;
6829
6850
  } & {
6830
6851
  SelectProductFilterOption: Task;
6852
+ } & {
6853
+ SelectProductReviewOption: Task;
6831
6854
  } & {
6832
6855
  CheckVisibilityInHome: Task;
6833
6856
  }, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes & {
package/dist/index.mjs CHANGED
@@ -1964,7 +1964,8 @@ const confirm$1 = {
1964
1964
  submitOrder: "Submit order",
1965
1965
  termsAndConditions: "I have read and accepted the general terms and conditions.",
1966
1966
  immediateAccessToDigitalProduct: "I want immediate access to the digital content and I acknowledge that thereby I waive my right to cancel.",
1967
- autoConfirmTermsText: "By placing your order you accept our Terms and Conditions and cancellation policy."
1967
+ autoConfirmTermsText: "By placing your order you accept our Terms and Conditions and cancellation policy.",
1968
+ termsAndConditionsWithLegalGuaranteeRights: "I have read and accepted the general terms and conditions and acknowledged my legal guarantee rights."
1968
1969
  };
1969
1970
  const finish$1 = {
1970
1971
  thankYouForOrder: "Thank you for your order"
@@ -1984,6 +1985,8 @@ const addToCart$1 = "Add to shopping cart";
1984
1985
  const quantity$2 = "Quantity";
1985
1986
  const addToWishlist$1 = "Add to wishlist";
1986
1987
  const removeFromWishlist$1 = "Remove from wishlist";
1988
+ const garanLabelShowLink$1 = "Show GARAN label";
1989
+ const garanLabelHideLink$1 = "Hide GARAN label";
1987
1990
  const deliveryTime$1 = "Ready to ship today,\\nDelivery time appr. 1-3 workdays";
1988
1991
  const review$1 = {
1989
1992
  tabTitle: "Reviews",
@@ -2001,6 +2004,8 @@ const storefrontProduct = {
2001
2004
  quantity: quantity$2,
2002
2005
  addToWishlist: addToWishlist$1,
2003
2006
  removeFromWishlist: removeFromWishlist$1,
2007
+ garanLabelShowLink: garanLabelShowLink$1,
2008
+ garanLabelHideLink: garanLabelHideLink$1,
2004
2009
  deliveryTime: deliveryTime$1,
2005
2010
  review: review$1,
2006
2011
  listing: listing$e
@@ -3285,7 +3290,8 @@ const confirm = {
3285
3290
  submitOrder: "Zahlungspflichtig bestellen",
3286
3291
  termsAndConditions: "Ich habe die AGB gelesen und bin mit ihnen einverstanden.",
3287
3292
  immediateAccessToDigitalProduct: "Ja, ich möchte sofort Zugang zu dem digitalen Inhalt und weiß, dass mein Widerrufsrecht mit dem Zugang erlischt.",
3288
- autoConfirmTermsText: "Mit Ihrer Bestellung akzeptieren Sie unsere AGB und die Widerrufsbelehrung."
3293
+ autoConfirmTermsText: "Mit Ihrer Bestellung akzeptieren Sie unsere AGB und die Widerrufsbelehrung.",
3294
+ termsAndConditionsWithLegalGuaranteeRights: "Ich habe die AGB gelesen und bin mit ihnen einverstanden und habe meine gesetzlichen Gewährleistungsrechte erkannt."
3289
3295
  };
3290
3296
  const finish = {
3291
3297
  thankYouForOrder: "Vielen Dank für Ihre Bestellung"
@@ -3566,6 +3572,8 @@ const search = {
3566
3572
  const addToCart = "In den Warenkorb";
3567
3573
  const addToWishlist = "Auf die Wunschliste";
3568
3574
  const removeFromWishlist = "Von der Wunschliste entfernen";
3575
+ const garanLabelShowLink = "GARAN-Kennzeichnung anzeigen";
3576
+ const garanLabelHideLink = "GARAN-Kennzeichnung ausblenden";
3569
3577
  const deliveryTime = "Lieferzeit";
3570
3578
  const quantity = "Anzahl";
3571
3579
  const review = {
@@ -3582,6 +3590,8 @@ const deStorefrontProduct = {
3582
3590
  addToCart: addToCart,
3583
3591
  addToWishlist: addToWishlist,
3584
3592
  removeFromWishlist: removeFromWishlist,
3593
+ garanLabelShowLink: garanLabelShowLink,
3594
+ garanLabelHideLink: garanLabelHideLink,
3585
3595
  deliveryTime: deliveryTime,
3586
3596
  quantity: quantity,
3587
3597
  review: review
@@ -7055,6 +7065,11 @@ let ProductDetail$1 = class ProductDetail {
7055
7065
  productDetailConfiguratorOptionInputs;
7056
7066
  productName;
7057
7067
  productDescriptionTitle;
7068
+ garanNestedLabel;
7069
+ garanFullLabel;
7070
+ showGaranLabelButton;
7071
+ hideGaranLabelButton;
7072
+ offCanvasLineItemGaranLabel;
7058
7073
  //Reviews Tab
7059
7074
  reviewsTab;
7060
7075
  reviewTeaserButton;
@@ -7077,6 +7092,7 @@ let ProductDetail$1 = class ProductDetail {
7077
7092
  reviewPasswordInput;
7078
7093
  reviewTitleInput;
7079
7094
  reviewSubmitButton;
7095
+ reviewTabLoadingIcon;
7080
7096
  productReviewsLink;
7081
7097
  productReviewRating;
7082
7098
  page;
@@ -7108,6 +7124,11 @@ let ProductDetail$1 = class ProductDetail {
7108
7124
  this.productDetailConfiguratorOptionInputs = page.locator(".product-detail-configurator-option-input");
7109
7125
  this.productName = page.locator(".product-detail-name");
7110
7126
  this.productDescriptionTitle = page.locator(".product-detail-description-title");
7127
+ this.garanNestedLabel = page.locator(".product-detail-garan-label");
7128
+ this.garanFullLabel = page.locator(".product-detail-garan-label-full");
7129
+ this.showGaranLabelButton = page.getByRole("button", { name: translate("storefront:product:garanLabelShowLink") });
7130
+ this.hideGaranLabelButton = page.getByRole("button", { name: translate("storefront:product:garanLabelHideLink") });
7131
+ this.offCanvasLineItemGaranLabel = this.offCanvasCart.locator(".line-item-garan-label");
7111
7132
  this.productReviewRating = page.locator(".product-detail-reviews .product-review-rating");
7112
7133
  this.productReviewsLink = page.locator(".product-detail-reviews .product-detail-reviews-link");
7113
7134
  this.reviewsTab = this.page.getByRole("tab", { name: translate("storefront:product:review.tabTitle") });
@@ -7131,6 +7152,7 @@ let ProductDetail$1 = class ProductDetail {
7131
7152
  this.reviewItemTitle = this.page.locator(".product-detail-review-item-title");
7132
7153
  this.reviewItemContent = this.page.locator(".product-detail-review-item-content");
7133
7154
  this.reviewSubmitMessage = this.page.getByText(translate("storefront:product:review.submitMessage"));
7155
+ this.reviewTabLoadingIcon = this.page.locator(".element-loader-backdrop").locator(".loader");
7134
7156
  }
7135
7157
  async getReviewFilterRowOptionsByName(filterOptionName) {
7136
7158
  const rowLocators = this.page.locator(".product-detail-review-filter").filter({ hasText: filterOptionName });
@@ -7269,6 +7291,7 @@ class OffCanvasCart {
7269
7291
  const removeButton = lineItem.locator(".line-item-remove-button");
7270
7292
  const wishlistAddedButton = lineItem.locator(".product-wishlist-added");
7271
7293
  const wishlistNotAddedButton = lineItem.locator(".product-wishlist-not-added");
7294
+ const lineItemGaranLabel = lineItem.locator(".line-item-garan-label");
7272
7295
  return {
7273
7296
  lineItemImage,
7274
7297
  productNameLabel,
@@ -7281,7 +7304,8 @@ class OffCanvasCart {
7281
7304
  productTotalPriceValue,
7282
7305
  removeButton,
7283
7306
  wishlistAddedButton,
7284
- wishlistNotAddedButton
7307
+ wishlistNotAddedButton,
7308
+ lineItemGaranLabel
7285
7309
  };
7286
7310
  }
7287
7311
  }
@@ -7289,11 +7313,15 @@ class OffCanvasCart {
7289
7313
  class CheckoutConfirm {
7290
7314
  headline;
7291
7315
  termsAndConditionsCheckbox;
7316
+ termsAndConditionsWithLegalGuaranteeRightsLabel;
7317
+ termsAndConditionsWithLegalGuaranteeRightsCheckbox;
7292
7318
  immediateAccessToDigitalProductCheckbox;
7293
7319
  grandTotalPrice;
7294
7320
  taxPrice;
7295
7321
  submitOrderButton;
7296
7322
  termsAutoConfirmedText;
7323
+ legalGuaranteeNoticeLink;
7324
+ lineItemGaranLabel;
7297
7325
  /**
7298
7326
  * Payment and Shipping options
7299
7327
  */
@@ -7331,6 +7359,10 @@ class CheckoutConfirm {
7331
7359
  this.shippingExpress = page.getByLabel(translate("storefront:checkout:common.express"));
7332
7360
  this.cartLineItemImages = page.locator(".line-item-img-link");
7333
7361
  this.termsAutoConfirmedText = page.locator(".checkout-confirm-tos-information");
7362
+ this.termsAndConditionsWithLegalGuaranteeRightsCheckbox = page.locator("#tos");
7363
+ this.termsAndConditionsWithLegalGuaranteeRightsLabel = page.getByLabel(translate("storefront:checkout:confirm.termsAndConditionsWithLegalGuaranteeRights"));
7364
+ this.legalGuaranteeNoticeLink = page.locator("#legalGuaranteeNoticeModal a");
7365
+ this.lineItemGaranLabel = page.locator(".line-item-garan-label");
7334
7366
  }
7335
7367
  url() {
7336
7368
  return "checkout/confirm";
@@ -7671,7 +7703,7 @@ class AccountOrder extends BaseAccount {
7671
7703
  this.creditItem = page.locator(`.line-item:has-text("${translate("storefront:account:orders.creditItem")}")`);
7672
7704
  this.noOrdersAlert = page.locator(".alert-warning");
7673
7705
  }
7674
- async getOrderByOrderNumber(orderNumber) {
7706
+ async getOrderByOrderNumber(orderNumber, productNumber) {
7675
7707
  const orderItem = this.page.getByRole("listitem").getByLabel(`${translate("storefront:account:orders.orderNumber")} ${orderNumber}`);
7676
7708
  const orderStatus = orderItem.locator(".order-table-header-order-status");
7677
7709
  const orderStatusLink = orderStatus.getByRole("link");
@@ -7691,7 +7723,7 @@ class AccountOrder extends BaseAccount {
7691
7723
  const taxPrice = orderItem.locator(`dt:text-matches(${JSON.stringify(this.buildTaxPricePattern())}) + dd`);
7692
7724
  const shippingCosts = orderItem.locator(`dt:text-matches('${translate("storefront:account:orders.shippingCosts")}') + dd`);
7693
7725
  const totalGross = orderItem.locator(`dt:text-matches('${translate("storefront:account:orders.totalGross")}') + dd`);
7694
- return {
7726
+ const locators = {
7695
7727
  orderStatus,
7696
7728
  orderStatusLink,
7697
7729
  orderHeading,
@@ -7709,6 +7741,14 @@ class AccountOrder extends BaseAccount {
7709
7741
  shippingCosts,
7710
7742
  totalGross
7711
7743
  };
7744
+ if (productNumber) {
7745
+ const lineItem = orderItem.locator(".line-item-product", { hasText: productNumber });
7746
+ locators.lineItem = lineItem;
7747
+ locators.productNameLabel = lineItem.locator(".line-item-label");
7748
+ locators.productNumberLabel = lineItem.locator(".line-item-product-number");
7749
+ locators.lineItemGaranLabel = lineItem.locator(".line-item-garan-label");
7750
+ }
7751
+ return locators;
7712
7752
  }
7713
7753
  url() {
7714
7754
  return "account/order";
@@ -9242,6 +9282,7 @@ class Dashboard {
9242
9282
  adminMenuContent;
9243
9283
  adminMenuMarketing;
9244
9284
  adminMenuExtension;
9285
+ adminMenuAutomation;
9245
9286
  adminMenuSettings;
9246
9287
  adminMenuUserChevron;
9247
9288
  adminMenuUserIcon;
@@ -9274,6 +9315,7 @@ class Dashboard {
9274
9315
  this.adminMenuContent = page.locator(".sw-content");
9275
9316
  this.adminMenuMarketing = page.locator(".sw-marketing");
9276
9317
  this.adminMenuExtension = page.locator(".sw-extension");
9318
+ this.adminMenuAutomation = page.locator(".sw-automation");
9277
9319
  this.adminMenuUserChevron = page.locator(".sw-admin-menu__user-actions-indicator");
9278
9320
  this.adminMenuUserIcon = page.locator(".sw-avatar");
9279
9321
  this.adminMenuUserName = page.locator(".sw-admin-menu__user-name");
@@ -12508,6 +12550,22 @@ const ConfirmTermsAndConditions = test$e.extend({
12508
12550
  };
12509
12551
  };
12510
12552
  await use(task);
12553
+ },
12554
+ /**
12555
+ * TOS acceptance when `core.cart.showLegalGuaranteeNotice` is enabled.
12556
+ * The accessible name changes, so interaction uses the stable #tos input.
12557
+ */
12558
+ ConfirmTermsAndConditionsWithLegalGuaranteeRights: async ({ ShopCustomer, StorefrontCheckoutConfirm }, use) => {
12559
+ const task = () => {
12560
+ return async function ConfirmTermsAndConditionsWithLegalGuaranteeRights() {
12561
+ await ShopCustomer.expects(StorefrontCheckoutConfirm.termsAndConditionsWithLegalGuaranteeRightsLabel).toBeVisible();
12562
+ const tosCheckbox = StorefrontCheckoutConfirm.termsAndConditionsWithLegalGuaranteeRightsCheckbox;
12563
+ await ShopCustomer.expects(tosCheckbox).toBeVisible();
12564
+ await tosCheckbox.check();
12565
+ await ShopCustomer.expects(tosCheckbox).toBeChecked();
12566
+ };
12567
+ };
12568
+ await use(task);
12511
12569
  }
12512
12570
  });
12513
12571
 
@@ -12735,6 +12793,22 @@ const SelectProductFilterOption = test$e.extend({
12735
12793
  }
12736
12794
  });
12737
12795
 
12796
+ const SelectProductReviewOption = test$e.extend({
12797
+ SelectProductReviewOption: async ({ ShopCustomer, StorefrontProductDetail }, use) => {
12798
+ const task = (optionName) => {
12799
+ return async function SelectProductReviewOption2() {
12800
+ const reviewOption = await StorefrontProductDetail.getReviewFilterRowOptionsByName(optionName);
12801
+ await ShopCustomer.expects(reviewOption.reviewFilterOptionCheckbox).toBeVisible();
12802
+ await ShopCustomer.presses(reviewOption.reviewFilterOptionCheckbox);
12803
+ await ShopCustomer.expects(StorefrontProductDetail.reviewTabLoadingIcon).toBeVisible();
12804
+ await StorefrontProductDetail.reviewTabLoadingIcon.waitFor({ state: "hidden" });
12805
+ await ShopCustomer.expects(reviewOption.reviewFilterOptionCheckbox).toBeVisible();
12806
+ };
12807
+ };
12808
+ await use(task);
12809
+ }
12810
+ });
12811
+
12738
12812
  const CheckVisibilityInHome = test$e.extend({
12739
12813
  CheckVisibilityInHome: async ({ ShopCustomer, StorefrontHome, TestDataService }, use) => {
12740
12814
  const task = (productName) => {
@@ -12783,6 +12857,7 @@ const test$3 = mergeTests(
12783
12857
  AddProductToCartFromWishlist,
12784
12858
  AddProductToWishlist,
12785
12859
  SelectProductFilterOption,
12860
+ SelectProductReviewOption,
12786
12861
  CheckVisibilityInHome
12787
12862
  );
12788
12863
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "12.15.1",
3
+ "version": "12.17.0",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "keywords": [
6
6
  "fixtures",