@shopware-ag/acceptance-test-suite 11.26.0 → 11.28.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 CHANGED
@@ -2830,6 +2830,24 @@ declare class YourProfile implements PageObject {
2830
2830
  url(): string;
2831
2831
  }
2832
2832
 
2833
+ declare class ThemesListing implements PageObject {
2834
+ readonly contentView: Locator;
2835
+ readonly page: Page;
2836
+ readonly installedTheme: (title: string) => Locator;
2837
+ constructor(page: Page);
2838
+ url(): string;
2839
+ }
2840
+
2841
+ declare class ThemesDetail implements PageObject {
2842
+ readonly contentView: Locator;
2843
+ readonly page: Page;
2844
+ readonly scrollableElement: Locator;
2845
+ readonly themeCard: (headline: string) => Locator;
2846
+ readonly sidebarButton: Locator;
2847
+ constructor(page: Page);
2848
+ url(): string;
2849
+ }
2850
+
2833
2851
  interface AdministrationPageTypes {
2834
2852
  AdminProductDetail: ProductDetail;
2835
2853
  AdminOrderDetail: OrderDetail;
@@ -2872,6 +2890,8 @@ interface AdministrationPageTypes {
2872
2890
  AdminPromotionDetail: PromotionDetail;
2873
2891
  AdminShopwareServices: ShopwareServices;
2874
2892
  AdminYourProfile: YourProfile;
2893
+ AdminThemesListing: ThemesListing;
2894
+ AdminThemesDetail: ThemesDetail;
2875
2895
  }
2876
2896
  declare const AdminPageObjects: {
2877
2897
  ProductDetail: typeof ProductDetail;
@@ -2915,6 +2935,8 @@ declare const AdminPageObjects: {
2915
2935
  PromotionCreate: typeof PromotionCreate;
2916
2936
  PromotionDetail: typeof PromotionDetail;
2917
2937
  YourProfile: typeof YourProfile;
2938
+ ThemesListing: typeof ThemesListing;
2939
+ ThemesDetail: typeof ThemesDetail;
2918
2940
  };
2919
2941
 
2920
2942
  interface DataFixtureTypes {
@@ -3011,12 +3033,12 @@ declare function createRandomImage(width?: number, height?: number): Image;
3011
3033
  */
3012
3034
  declare function hideElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
3013
3035
  /**
3014
- * Replaces text content or input values of elements with `***`.
3036
+ * Replaces text content or input values of elements with a given replacement string (default: "***").
3015
3037
  * - Works for inputs, textareas, contenteditables and generic elements.
3016
3038
  * - Ensures frameworks see the change (dispatches input/change).
3017
- * - Also masks placeholder so empty fields show *** in screenshots.
3039
+ * - Also masks placeholder so empty fields show replacement text in screenshots.
3018
3040
  */
3019
- declare function replaceElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
3041
+ declare function replaceElements(page: Page, selectors: (string | Locator)[], replaceWith?: string): Promise<void>;
3020
3042
  /**
3021
3043
  * Calculates the ideal viewport dimensions for a Playwright test based on scrollable content,
3022
3044
  * header visibility, and optional configuration. Useful for dynamic screenshot sizing or
package/dist/index.d.ts CHANGED
@@ -2830,6 +2830,24 @@ declare class YourProfile implements PageObject {
2830
2830
  url(): string;
2831
2831
  }
2832
2832
 
2833
+ declare class ThemesListing implements PageObject {
2834
+ readonly contentView: Locator;
2835
+ readonly page: Page;
2836
+ readonly installedTheme: (title: string) => Locator;
2837
+ constructor(page: Page);
2838
+ url(): string;
2839
+ }
2840
+
2841
+ declare class ThemesDetail implements PageObject {
2842
+ readonly contentView: Locator;
2843
+ readonly page: Page;
2844
+ readonly scrollableElement: Locator;
2845
+ readonly themeCard: (headline: string) => Locator;
2846
+ readonly sidebarButton: Locator;
2847
+ constructor(page: Page);
2848
+ url(): string;
2849
+ }
2850
+
2833
2851
  interface AdministrationPageTypes {
2834
2852
  AdminProductDetail: ProductDetail;
2835
2853
  AdminOrderDetail: OrderDetail;
@@ -2872,6 +2890,8 @@ interface AdministrationPageTypes {
2872
2890
  AdminPromotionDetail: PromotionDetail;
2873
2891
  AdminShopwareServices: ShopwareServices;
2874
2892
  AdminYourProfile: YourProfile;
2893
+ AdminThemesListing: ThemesListing;
2894
+ AdminThemesDetail: ThemesDetail;
2875
2895
  }
2876
2896
  declare const AdminPageObjects: {
2877
2897
  ProductDetail: typeof ProductDetail;
@@ -2915,6 +2935,8 @@ declare const AdminPageObjects: {
2915
2935
  PromotionCreate: typeof PromotionCreate;
2916
2936
  PromotionDetail: typeof PromotionDetail;
2917
2937
  YourProfile: typeof YourProfile;
2938
+ ThemesListing: typeof ThemesListing;
2939
+ ThemesDetail: typeof ThemesDetail;
2918
2940
  };
2919
2941
 
2920
2942
  interface DataFixtureTypes {
@@ -3011,12 +3033,12 @@ declare function createRandomImage(width?: number, height?: number): Image;
3011
3033
  */
3012
3034
  declare function hideElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
3013
3035
  /**
3014
- * Replaces text content or input values of elements with `***`.
3036
+ * Replaces text content or input values of elements with a given replacement string (default: "***").
3015
3037
  * - Works for inputs, textareas, contenteditables and generic elements.
3016
3038
  * - Ensures frameworks see the change (dispatches input/change).
3017
- * - Also masks placeholder so empty fields show *** in screenshots.
3039
+ * - Also masks placeholder so empty fields show replacement text in screenshots.
3018
3040
  */
3019
- declare function replaceElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
3041
+ declare function replaceElements(page: Page, selectors: (string | Locator)[], replaceWith?: string): Promise<void>;
3020
3042
  /**
3021
3043
  * Calculates the ideal viewport dimensions for a Playwright test based on scrollable content,
3022
3044
  * header visibility, and optional configuration. Useful for dynamic screenshot sizing or