@shopware-ag/acceptance-test-suite 3.11.1 → 3.11.4

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 (2) hide show
  1. package/dist/index.mjs +26 -2
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -2384,7 +2384,31 @@ class TestDataService {
2384
2384
  const basicCmsPage = {
2385
2385
  id: cmsPageUuid,
2386
2386
  type: cmsType,
2387
- name: cmsPageName
2387
+ name: cmsPageName,
2388
+ sections: [
2389
+ {
2390
+ id: this.IdProvider.getIdPair().uuid,
2391
+ pageId: this.IdProvider.getIdPair().uuid,
2392
+ position: 0,
2393
+ type: "full_width",
2394
+ blocks: [
2395
+ {
2396
+ id: this.IdProvider.getIdPair().uuid,
2397
+ sectionId: this.IdProvider.getIdPair().uuid,
2398
+ type: "text",
2399
+ position: 0,
2400
+ slots: [
2401
+ {
2402
+ id: this.IdProvider.getIdPair().uuid,
2403
+ type: "text",
2404
+ blockId: this.IdProvider.getIdPair().uuid,
2405
+ slot: "content"
2406
+ }
2407
+ ]
2408
+ }
2409
+ ]
2410
+ }
2411
+ ]
2388
2412
  };
2389
2413
  return Object.assign({}, basicCmsPage, overrides);
2390
2414
  }
@@ -2596,7 +2620,7 @@ class CheckoutCart {
2596
2620
  this.stockReachedAlert = page.getByText("only available 1 times");
2597
2621
  this.cartLineItemImages = page.locator(".line-item-img-link");
2598
2622
  this.unitPriceInfo = page.locator(".line-item-unit-price-value");
2599
- this.cartQuantityNumber = page.getByLabel("Quantity", { exact: true });
2623
+ this.cartQuantityNumber = page.locator('input[name="quantity"]');
2600
2624
  }
2601
2625
  url() {
2602
2626
  return "checkout/cart";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "3.11.1",
3
+ "version": "3.11.4",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",
@@ -54,4 +54,4 @@
54
54
  "typescript": "5.4.5",
55
55
  "unbuild": "2.0.0"
56
56
  }
57
- }
57
+ }