@shopware-ag/acceptance-test-suite 3.11.4 → 4.0.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
@@ -872,7 +872,7 @@ declare class CheckoutCart implements PageObject {
872
872
  readonly page: Page;
873
873
  readonly headline: Locator;
874
874
  readonly goToCheckoutButton: Locator;
875
- readonly enterDiscountInput: Locator;
875
+ readonly enterPromoInput: Locator;
876
876
  readonly grandTotalPrice: Locator;
877
877
  readonly emptyCartAlert: Locator;
878
878
  readonly stockReachedAlert: Locator;
@@ -891,7 +891,7 @@ declare class OffCanvasCart implements PageObject {
891
891
  readonly goToCheckoutButton: Locator;
892
892
  readonly goToCartButton: Locator;
893
893
  readonly continueShoppingButton: Locator;
894
- readonly enterDiscountInput: Locator;
894
+ readonly enterPromoInput: Locator;
895
895
  readonly submitDiscountButton: Locator;
896
896
  readonly subTotalPrice: Locator;
897
897
  readonly shippingCosts: Locator;
package/dist/index.d.ts CHANGED
@@ -872,7 +872,7 @@ declare class CheckoutCart implements PageObject {
872
872
  readonly page: Page;
873
873
  readonly headline: Locator;
874
874
  readonly goToCheckoutButton: Locator;
875
- readonly enterDiscountInput: Locator;
875
+ readonly enterPromoInput: Locator;
876
876
  readonly grandTotalPrice: Locator;
877
877
  readonly emptyCartAlert: Locator;
878
878
  readonly stockReachedAlert: Locator;
@@ -891,7 +891,7 @@ declare class OffCanvasCart implements PageObject {
891
891
  readonly goToCheckoutButton: Locator;
892
892
  readonly goToCartButton: Locator;
893
893
  readonly continueShoppingButton: Locator;
894
- readonly enterDiscountInput: Locator;
894
+ readonly enterPromoInput: Locator;
895
895
  readonly submitDiscountButton: Locator;
896
896
  readonly subTotalPrice: Locator;
897
897
  readonly shippingCosts: Locator;
package/dist/index.mjs CHANGED
@@ -2605,7 +2605,7 @@ class CheckoutCart {
2605
2605
  this.page = page;
2606
2606
  __publicField$q(this, "headline");
2607
2607
  __publicField$q(this, "goToCheckoutButton");
2608
- __publicField$q(this, "enterDiscountInput");
2608
+ __publicField$q(this, "enterPromoInput");
2609
2609
  __publicField$q(this, "grandTotalPrice");
2610
2610
  __publicField$q(this, "emptyCartAlert");
2611
2611
  __publicField$q(this, "stockReachedAlert");
@@ -2614,7 +2614,7 @@ class CheckoutCart {
2614
2614
  __publicField$q(this, "cartQuantityNumber");
2615
2615
  this.headline = page.getByRole("heading", { name: "Shopping cart" });
2616
2616
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
2617
- this.enterDiscountInput = page.getByLabel("Discount code");
2617
+ this.enterPromoInput = page.getByLabel("Promo code");
2618
2618
  this.grandTotalPrice = page.locator('dt:has-text("Grand total") + dd:visible');
2619
2619
  this.emptyCartAlert = page.getByText("Your shopping cart is empty.");
2620
2620
  this.stockReachedAlert = page.getByText("only available 1 times");
@@ -2666,7 +2666,7 @@ class OffCanvasCart {
2666
2666
  __publicField$p(this, "goToCheckoutButton");
2667
2667
  __publicField$p(this, "goToCartButton");
2668
2668
  __publicField$p(this, "continueShoppingButton");
2669
- __publicField$p(this, "enterDiscountInput");
2669
+ __publicField$p(this, "enterPromoInput");
2670
2670
  __publicField$p(this, "submitDiscountButton");
2671
2671
  __publicField$p(this, "subTotalPrice");
2672
2672
  __publicField$p(this, "shippingCosts");
@@ -2676,7 +2676,7 @@ class OffCanvasCart {
2676
2676
  this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
2677
2677
  this.goToCartButton = page.getByRole("link", { name: "Display shopping cart" });
2678
2678
  this.continueShoppingButton = page.getByRole("button", { name: "Continue shopping" });
2679
- this.enterDiscountInput = page.getByPlaceholder("Enter discount code...");
2679
+ this.enterPromoInput = page.getByPlaceholder("Enter promo code...");
2680
2680
  this.submitDiscountButton = page.locator("#addPromotionOffcanvasCart");
2681
2681
  this.subTotalPrice = page.locator('dt:has-text("Subtotal") + dd:visible');
2682
2682
  this.shippingCosts = page.locator('dt:has-text("Shipping costs") + dd:visible');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "3.11.4",
3
+ "version": "4.0.0",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",