@shopware-ag/acceptance-test-suite 11.3.2 → 11.3.3

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
@@ -1366,11 +1366,18 @@ declare class Search implements PageObject {
1366
1366
  url(searchTerm: string): string;
1367
1367
  }
1368
1368
 
1369
- declare class SearchSuggest implements PageObject {
1369
+ declare class SearchSuggest extends Home implements PageObject {
1370
1370
  readonly page: Page;
1371
1371
  readonly searchSuggestLineItemImages: Locator;
1372
+ readonly searchInput: Locator;
1373
+ readonly searchIcon: Locator;
1374
+ readonly searchSuggestNoResult: Locator;
1375
+ readonly searchSuggestLineItemName: Locator;
1376
+ readonly searchSuggestLineItemPrice: Locator;
1377
+ readonly searchSuggestTotalLink: Locator;
1378
+ readonly searchHeadline: Locator;
1372
1379
  constructor(page: Page);
1373
- url(searchTerm: string): string;
1380
+ url(searchTerm?: string): string;
1374
1381
  }
1375
1382
 
1376
1383
  declare class CustomRegister extends AccountLogin implements PageObject {
package/dist/index.d.ts CHANGED
@@ -1366,11 +1366,18 @@ declare class Search implements PageObject {
1366
1366
  url(searchTerm: string): string;
1367
1367
  }
1368
1368
 
1369
- declare class SearchSuggest implements PageObject {
1369
+ declare class SearchSuggest extends Home implements PageObject {
1370
1370
  readonly page: Page;
1371
1371
  readonly searchSuggestLineItemImages: Locator;
1372
+ readonly searchInput: Locator;
1373
+ readonly searchIcon: Locator;
1374
+ readonly searchSuggestNoResult: Locator;
1375
+ readonly searchSuggestLineItemName: Locator;
1376
+ readonly searchSuggestLineItemPrice: Locator;
1377
+ readonly searchSuggestTotalLink: Locator;
1378
+ readonly searchHeadline: Locator;
1372
1379
  constructor(page: Page);
1373
- url(searchTerm: string): string;
1380
+ url(searchTerm?: string): string;
1374
1381
  }
1375
1382
 
1376
1383
  declare class CustomRegister extends AccountLogin implements PageObject {
package/dist/index.mjs CHANGED
@@ -3765,11 +3765,26 @@ var __publicField$z = (obj, key, value) => {
3765
3765
  __defNormalProp$z(obj, typeof key !== "symbol" ? key + "" : key, value);
3766
3766
  return value;
3767
3767
  };
3768
- class SearchSuggest {
3768
+ class SearchSuggest extends Home {
3769
3769
  constructor(page) {
3770
+ super(page);
3770
3771
  this.page = page;
3771
3772
  __publicField$z(this, "searchSuggestLineItemImages");
3773
+ __publicField$z(this, "searchInput");
3774
+ __publicField$z(this, "searchIcon");
3775
+ __publicField$z(this, "searchSuggestNoResult");
3776
+ __publicField$z(this, "searchSuggestLineItemName");
3777
+ __publicField$z(this, "searchSuggestLineItemPrice");
3778
+ __publicField$z(this, "searchSuggestTotalLink");
3779
+ __publicField$z(this, "searchHeadline");
3772
3780
  this.searchSuggestLineItemImages = page.locator(".search-suggest-product-image-container");
3781
+ this.searchInput = page.locator(".header-search-input");
3782
+ this.searchIcon = page.locator(".header-search-icon");
3783
+ this.searchSuggestNoResult = page.locator(".search-suggest-no-result");
3784
+ this.searchSuggestLineItemName = page.locator(".search-suggest-product-name");
3785
+ this.searchSuggestLineItemPrice = page.locator(".col-auto.search-suggest-product-price");
3786
+ this.searchSuggestTotalLink = page.locator(".search-suggest-total-link");
3787
+ this.searchHeadline = page.locator(".search-headline");
3773
3788
  }
3774
3789
  url(searchTerm) {
3775
3790
  return `suggest?search=${searchTerm}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "11.3.2",
3
+ "version": "11.3.3",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",