@shopware-ag/acceptance-test-suite 11.36.0 → 11.37.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 +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.mjs +14 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5432,12 +5432,16 @@ declare class ProductDetail implements PageObject {
|
|
|
5432
5432
|
readonly offCanvasLineItemImages: Locator;
|
|
5433
5433
|
readonly offCanvasSummaryTotalPrice: Locator;
|
|
5434
5434
|
readonly offCanvas: Locator;
|
|
5435
|
+
readonly offCanvasLineItemLabel: (productName: string) => Locator;
|
|
5436
|
+
readonly offCanvasLineItemProductNumber: (productNumber: string) => Locator;
|
|
5437
|
+
readonly offCanvasLineItemDeliveryDate: Locator;
|
|
5435
5438
|
readonly wishlistAddedButton: Locator;
|
|
5436
5439
|
readonly wishlistNotAddedButton: Locator;
|
|
5437
5440
|
readonly productDetailConfigurator: Locator;
|
|
5438
5441
|
readonly productDetailConfiguratorGroupTitle: Locator;
|
|
5439
5442
|
readonly productDetailConfiguratorOptionInputs: Locator;
|
|
5440
5443
|
readonly productName: Locator;
|
|
5444
|
+
readonly productDescriptionTitle: Locator;
|
|
5441
5445
|
readonly reviewsTab: Locator;
|
|
5442
5446
|
readonly reviewTeaserButton: Locator;
|
|
5443
5447
|
readonly reviewTeaserText: Locator;
|
|
@@ -5490,6 +5494,9 @@ declare class CheckoutCart implements PageObject {
|
|
|
5490
5494
|
readonly cartLineItemImages: Locator;
|
|
5491
5495
|
readonly unitPriceInfo: Locator;
|
|
5492
5496
|
readonly cartQuantityNumber: Locator;
|
|
5497
|
+
readonly productNameLabel: (productName: string) => Locator;
|
|
5498
|
+
readonly productNumberLabel: (productNumber: string) => Locator;
|
|
5499
|
+
readonly productDeliveryDateLabel: Locator;
|
|
5493
5500
|
readonly page: Page;
|
|
5494
5501
|
constructor(page: Page);
|
|
5495
5502
|
url(): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -5432,12 +5432,16 @@ declare class ProductDetail implements PageObject {
|
|
|
5432
5432
|
readonly offCanvasLineItemImages: Locator;
|
|
5433
5433
|
readonly offCanvasSummaryTotalPrice: Locator;
|
|
5434
5434
|
readonly offCanvas: Locator;
|
|
5435
|
+
readonly offCanvasLineItemLabel: (productName: string) => Locator;
|
|
5436
|
+
readonly offCanvasLineItemProductNumber: (productNumber: string) => Locator;
|
|
5437
|
+
readonly offCanvasLineItemDeliveryDate: Locator;
|
|
5435
5438
|
readonly wishlistAddedButton: Locator;
|
|
5436
5439
|
readonly wishlistNotAddedButton: Locator;
|
|
5437
5440
|
readonly productDetailConfigurator: Locator;
|
|
5438
5441
|
readonly productDetailConfiguratorGroupTitle: Locator;
|
|
5439
5442
|
readonly productDetailConfiguratorOptionInputs: Locator;
|
|
5440
5443
|
readonly productName: Locator;
|
|
5444
|
+
readonly productDescriptionTitle: Locator;
|
|
5441
5445
|
readonly reviewsTab: Locator;
|
|
5442
5446
|
readonly reviewTeaserButton: Locator;
|
|
5443
5447
|
readonly reviewTeaserText: Locator;
|
|
@@ -5490,6 +5494,9 @@ declare class CheckoutCart implements PageObject {
|
|
|
5490
5494
|
readonly cartLineItemImages: Locator;
|
|
5491
5495
|
readonly unitPriceInfo: Locator;
|
|
5492
5496
|
readonly cartQuantityNumber: Locator;
|
|
5497
|
+
readonly productNameLabel: (productName: string) => Locator;
|
|
5498
|
+
readonly productNumberLabel: (productNumber: string) => Locator;
|
|
5499
|
+
readonly productDeliveryDateLabel: Locator;
|
|
5493
5500
|
readonly page: Page;
|
|
5494
5501
|
constructor(page: Page);
|
|
5495
5502
|
url(): string;
|
package/dist/index.mjs
CHANGED
|
@@ -6395,12 +6395,16 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
6395
6395
|
offCanvasLineItemImages;
|
|
6396
6396
|
offCanvasSummaryTotalPrice;
|
|
6397
6397
|
offCanvas;
|
|
6398
|
+
offCanvasLineItemLabel;
|
|
6399
|
+
offCanvasLineItemProductNumber;
|
|
6400
|
+
offCanvasLineItemDeliveryDate;
|
|
6398
6401
|
wishlistAddedButton;
|
|
6399
6402
|
wishlistNotAddedButton;
|
|
6400
6403
|
productDetailConfigurator;
|
|
6401
6404
|
productDetailConfiguratorGroupTitle;
|
|
6402
6405
|
productDetailConfiguratorOptionInputs;
|
|
6403
6406
|
productName;
|
|
6407
|
+
productDescriptionTitle;
|
|
6404
6408
|
//Reviews Tab
|
|
6405
6409
|
reviewsTab;
|
|
6406
6410
|
reviewTeaserButton;
|
|
@@ -6442,12 +6446,16 @@ let ProductDetail$1 = class ProductDetail {
|
|
|
6442
6446
|
this.offCanvasCartGoToCheckoutButton = page.getByRole("link", { name: translate("storefront:checkout:cart.goToCheckout") });
|
|
6443
6447
|
this.offCanvasLineItemImages = page.locator(".line-item-img-link");
|
|
6444
6448
|
this.offCanvasSummaryTotalPrice = page.locator(".offcanvas-summary").locator('dt:has-text("Subtotal") + dd');
|
|
6449
|
+
this.offCanvasLineItemLabel = (productName) => page.getByRole("link", { name: productName });
|
|
6450
|
+
this.offCanvasLineItemProductNumber = (productNumber) => page.getByText(productNumber);
|
|
6451
|
+
this.offCanvasLineItemDeliveryDate = page.locator(".line-item-delivery-date");
|
|
6445
6452
|
this.wishlistAddedButton = page.locator(".product-wishlist-added");
|
|
6446
6453
|
this.wishlistNotAddedButton = page.locator(".product-wishlist-not-added");
|
|
6447
6454
|
this.productDetailConfigurator = page.locator(".product-detail-configurator");
|
|
6448
6455
|
this.productDetailConfiguratorGroupTitle = page.locator(".product-detail-configurator-group-title");
|
|
6449
6456
|
this.productDetailConfiguratorOptionInputs = page.locator(".product-detail-configurator-option-input");
|
|
6450
6457
|
this.productName = page.locator(".product-detail-name");
|
|
6458
|
+
this.productDescriptionTitle = page.locator(".product-detail-description-title");
|
|
6451
6459
|
this.productReviewRating = page.locator(".product-detail-reviews .product-review-rating");
|
|
6452
6460
|
this.productReviewsLink = page.locator(".product-detail-reviews .product-detail-reviews-link");
|
|
6453
6461
|
this.reviewsTab = this.page.getByRole("tab", { name: translate("storefront:product:review.tabTitle") });
|
|
@@ -6518,6 +6526,9 @@ class CheckoutCart {
|
|
|
6518
6526
|
cartLineItemImages;
|
|
6519
6527
|
unitPriceInfo;
|
|
6520
6528
|
cartQuantityNumber;
|
|
6529
|
+
productNameLabel;
|
|
6530
|
+
productNumberLabel;
|
|
6531
|
+
productDeliveryDateLabel;
|
|
6521
6532
|
page;
|
|
6522
6533
|
constructor(page) {
|
|
6523
6534
|
this.page = page;
|
|
@@ -6530,6 +6541,9 @@ class CheckoutCart {
|
|
|
6530
6541
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
6531
6542
|
this.unitPriceInfo = page.locator(".line-item-unit-price-value");
|
|
6532
6543
|
this.cartQuantityNumber = page.locator('input[name="quantity"]');
|
|
6544
|
+
this.productNameLabel = (productName) => page.getByRole("link", { name: productName });
|
|
6545
|
+
this.productNumberLabel = (productNumber) => page.getByText(productNumber);
|
|
6546
|
+
this.productDeliveryDateLabel = page.locator(".line-item-delivery-date");
|
|
6533
6547
|
}
|
|
6534
6548
|
url() {
|
|
6535
6549
|
return "checkout/cart";
|