@shopware-ag/acceptance-test-suite 3.11.0 → 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.
package/dist/index.d.mts CHANGED
@@ -135,6 +135,7 @@ interface ApiContextTypes {
135
135
  interface PageContextTypes {
136
136
  AdminPage: Page;
137
137
  StorefrontPage: Page;
138
+ InstallPage: Page;
138
139
  page: Page;
139
140
  context: BrowserContext;
140
141
  }
package/dist/index.d.ts CHANGED
@@ -135,6 +135,7 @@ interface ApiContextTypes {
135
135
  interface PageContextTypes {
136
136
  AdminPage: Page;
137
137
  StorefrontPage: Page;
138
+ InstallPage: Page;
138
139
  page: Page;
139
140
  context: BrowserContext;
140
141
  }
package/dist/index.mjs CHANGED
@@ -858,6 +858,15 @@ const test$a = test$e.extend({
858
858
  await page.close();
859
859
  await context.close();
860
860
  },
861
+ InstallPage: async ({ browser }, use) => {
862
+ const context = await browser.newContext({
863
+ baseURL: process.env["APP_URL"]
864
+ });
865
+ const page = await context.newPage();
866
+ await use(page);
867
+ await page.close();
868
+ await context.close();
869
+ },
861
870
  page: async ({ AdminPage }, use) => {
862
871
  await use(AdminPage);
863
872
  },
@@ -2375,7 +2384,31 @@ class TestDataService {
2375
2384
  const basicCmsPage = {
2376
2385
  id: cmsPageUuid,
2377
2386
  type: cmsType,
2378
- 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
+ ]
2379
2412
  };
2380
2413
  return Object.assign({}, basicCmsPage, overrides);
2381
2414
  }
@@ -2587,7 +2620,7 @@ class CheckoutCart {
2587
2620
  this.stockReachedAlert = page.getByText("only available 1 times");
2588
2621
  this.cartLineItemImages = page.locator(".line-item-img-link");
2589
2622
  this.unitPriceInfo = page.locator(".line-item-unit-price-value");
2590
- this.cartQuantityNumber = page.getByLabel("Quantity", { exact: true });
2623
+ this.cartQuantityNumber = page.locator('input[name="quantity"]');
2591
2624
  }
2592
2625
  url() {
2593
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.0",
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
+ }