@shopware-ag/acceptance-test-suite 11.1.4 → 11.1.5
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 +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.mjs +5 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1092,7 +1092,6 @@ interface PageObject {
|
|
|
1092
1092
|
|
|
1093
1093
|
declare class Home implements PageObject {
|
|
1094
1094
|
readonly page: Page;
|
|
1095
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1096
1095
|
readonly productImages: Locator;
|
|
1097
1096
|
readonly productListItems: Locator;
|
|
1098
1097
|
readonly languagesDropdown: Locator;
|
|
@@ -1112,7 +1111,7 @@ declare class Home implements PageObject {
|
|
|
1112
1111
|
readonly consentDialogSaveButton: Locator;
|
|
1113
1112
|
readonly consentCookieBannerContainer: Locator;
|
|
1114
1113
|
readonly offcanvasBackdrop: Locator;
|
|
1115
|
-
constructor(page: Page
|
|
1114
|
+
constructor(page: Page);
|
|
1116
1115
|
getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
|
|
1117
1116
|
url(): string;
|
|
1118
1117
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1092,7 +1092,6 @@ interface PageObject {
|
|
|
1092
1092
|
|
|
1093
1093
|
declare class Home implements PageObject {
|
|
1094
1094
|
readonly page: Page;
|
|
1095
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1096
1095
|
readonly productImages: Locator;
|
|
1097
1096
|
readonly productListItems: Locator;
|
|
1098
1097
|
readonly languagesDropdown: Locator;
|
|
@@ -1112,7 +1111,7 @@ declare class Home implements PageObject {
|
|
|
1112
1111
|
readonly consentDialogSaveButton: Locator;
|
|
1113
1112
|
readonly consentCookieBannerContainer: Locator;
|
|
1114
1113
|
readonly offcanvasBackdrop: Locator;
|
|
1115
|
-
constructor(page: Page
|
|
1114
|
+
constructor(page: Page);
|
|
1116
1115
|
getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
|
|
1117
1116
|
url(): string;
|
|
1118
1117
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3024,9 +3024,8 @@ var __publicField$O = (obj, key, value) => {
|
|
|
3024
3024
|
return value;
|
|
3025
3025
|
};
|
|
3026
3026
|
class Home {
|
|
3027
|
-
constructor(page
|
|
3027
|
+
constructor(page) {
|
|
3028
3028
|
this.page = page;
|
|
3029
|
-
this.instanceMeta = instanceMeta;
|
|
3030
3029
|
__publicField$O(this, "productImages");
|
|
3031
3030
|
__publicField$O(this, "productListItems");
|
|
3032
3031
|
__publicField$O(this, "languagesDropdown");
|
|
@@ -3046,11 +3045,7 @@ class Home {
|
|
|
3046
3045
|
__publicField$O(this, "consentDialogSaveButton");
|
|
3047
3046
|
__publicField$O(this, "consentCookieBannerContainer");
|
|
3048
3047
|
__publicField$O(this, "offcanvasBackdrop");
|
|
3049
|
-
|
|
3050
|
-
this.productImages = page.locator(".product-image-link");
|
|
3051
|
-
} else {
|
|
3052
|
-
this.productImages = page.locator(".product-image");
|
|
3053
|
-
}
|
|
3048
|
+
this.productImages = page.locator(".product-image-wrapper");
|
|
3054
3049
|
this.productListItems = page.getByRole("listitem");
|
|
3055
3050
|
this.languagesDropdown = page.locator(".top-bar-language").filter({ has: page.getByRole("button") });
|
|
3056
3051
|
this.languagesMenuOptions = page.locator(".top-bar-language").filter({ has: page.getByRole("list") });
|
|
@@ -3706,7 +3701,7 @@ class Search {
|
|
|
3706
3701
|
__publicField$z(this, "headline");
|
|
3707
3702
|
__publicField$z(this, "productImages");
|
|
3708
3703
|
this.headline = page.locator("h1.search-headline");
|
|
3709
|
-
this.productImages = page.locator(".product-image-
|
|
3704
|
+
this.productImages = page.locator(".product-image-wrapper");
|
|
3710
3705
|
}
|
|
3711
3706
|
url(searchTerm) {
|
|
3712
3707
|
return `search?search=${searchTerm}`;
|
|
@@ -3803,8 +3798,8 @@ const StorefrontPageObjects = {
|
|
|
3803
3798
|
CheckoutOrderEdit
|
|
3804
3799
|
};
|
|
3805
3800
|
const test$6 = test$e.extend({
|
|
3806
|
-
StorefrontHome: async ({ StorefrontPage
|
|
3807
|
-
await use(new Home(StorefrontPage
|
|
3801
|
+
StorefrontHome: async ({ StorefrontPage }, use) => {
|
|
3802
|
+
await use(new Home(StorefrontPage));
|
|
3808
3803
|
},
|
|
3809
3804
|
StorefrontProductDetail: async ({ StorefrontPage }, use) => {
|
|
3810
3805
|
await use(new ProductDetail$1(StorefrontPage));
|