@shopware-ag/acceptance-test-suite 11.25.0 → 11.26.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
@@ -2817,6 +2817,19 @@ declare class PromotionDetail extends PromotionCreate {
2817
2817
  url(promotionId?: string, tab?: 'general' | 'conditions' | 'discounts'): string;
2818
2818
  }
2819
2819
 
2820
+ declare class YourProfile implements PageObject {
2821
+ readonly contentView: Locator;
2822
+ readonly page: Page;
2823
+ readonly searchPreferencesTab: Locator;
2824
+ readonly firstNameField: Locator;
2825
+ readonly lastNameField: Locator;
2826
+ readonly userNameField: Locator;
2827
+ readonly emailField: Locator;
2828
+ readonly deselectAllButton: Locator;
2829
+ constructor(page: Page);
2830
+ url(): string;
2831
+ }
2832
+
2820
2833
  interface AdministrationPageTypes {
2821
2834
  AdminProductDetail: ProductDetail;
2822
2835
  AdminOrderDetail: OrderDetail;
@@ -2858,6 +2871,7 @@ interface AdministrationPageTypes {
2858
2871
  AdminPromotionCreate: PromotionCreate;
2859
2872
  AdminPromotionDetail: PromotionDetail;
2860
2873
  AdminShopwareServices: ShopwareServices;
2874
+ AdminYourProfile: YourProfile;
2861
2875
  }
2862
2876
  declare const AdminPageObjects: {
2863
2877
  ProductDetail: typeof ProductDetail;
@@ -2900,6 +2914,7 @@ declare const AdminPageObjects: {
2900
2914
  PromotionsListing: typeof PromotionsListing;
2901
2915
  PromotionCreate: typeof PromotionCreate;
2902
2916
  PromotionDetail: typeof PromotionDetail;
2917
+ YourProfile: typeof YourProfile;
2903
2918
  };
2904
2919
 
2905
2920
  interface DataFixtureTypes {
@@ -2992,18 +3007,14 @@ declare const isThemeCompiled: (context: AdminApiContext, storefrontUrl: string)
2992
3007
  declare function createRandomImage(width?: number, height?: number): Image;
2993
3008
 
2994
3009
  /**
2995
- * Hides the given page elements using `visibility: hidden`, so they become invisible
2996
- * without affecting the layout (no realignment occurs).
2997
- *
2998
- * @param page - Playwright page object
2999
- * @param selectors - CSS selectors for elements to hide
3010
+ * Hides elements (via `visibility: hidden`).
3000
3011
  */
3001
3012
  declare function hideElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
3002
3013
  /**
3003
- * Replaces the text content of selected elements with `***`.
3004
- *
3005
- * @param page - Playwright page object
3006
- * @param selectors - CSS selectors for elements whose content to replace
3014
+ * Replaces text content or input values of elements with `***`.
3015
+ * - Works for inputs, textareas, contenteditables and generic elements.
3016
+ * - Ensures frameworks see the change (dispatches input/change).
3017
+ * - Also masks placeholder so empty fields show *** in screenshots.
3007
3018
  */
3008
3019
  declare function replaceElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
3009
3020
  /**
package/dist/index.d.ts CHANGED
@@ -2817,6 +2817,19 @@ declare class PromotionDetail extends PromotionCreate {
2817
2817
  url(promotionId?: string, tab?: 'general' | 'conditions' | 'discounts'): string;
2818
2818
  }
2819
2819
 
2820
+ declare class YourProfile implements PageObject {
2821
+ readonly contentView: Locator;
2822
+ readonly page: Page;
2823
+ readonly searchPreferencesTab: Locator;
2824
+ readonly firstNameField: Locator;
2825
+ readonly lastNameField: Locator;
2826
+ readonly userNameField: Locator;
2827
+ readonly emailField: Locator;
2828
+ readonly deselectAllButton: Locator;
2829
+ constructor(page: Page);
2830
+ url(): string;
2831
+ }
2832
+
2820
2833
  interface AdministrationPageTypes {
2821
2834
  AdminProductDetail: ProductDetail;
2822
2835
  AdminOrderDetail: OrderDetail;
@@ -2858,6 +2871,7 @@ interface AdministrationPageTypes {
2858
2871
  AdminPromotionCreate: PromotionCreate;
2859
2872
  AdminPromotionDetail: PromotionDetail;
2860
2873
  AdminShopwareServices: ShopwareServices;
2874
+ AdminYourProfile: YourProfile;
2861
2875
  }
2862
2876
  declare const AdminPageObjects: {
2863
2877
  ProductDetail: typeof ProductDetail;
@@ -2900,6 +2914,7 @@ declare const AdminPageObjects: {
2900
2914
  PromotionsListing: typeof PromotionsListing;
2901
2915
  PromotionCreate: typeof PromotionCreate;
2902
2916
  PromotionDetail: typeof PromotionDetail;
2917
+ YourProfile: typeof YourProfile;
2903
2918
  };
2904
2919
 
2905
2920
  interface DataFixtureTypes {
@@ -2992,18 +3007,14 @@ declare const isThemeCompiled: (context: AdminApiContext, storefrontUrl: string)
2992
3007
  declare function createRandomImage(width?: number, height?: number): Image;
2993
3008
 
2994
3009
  /**
2995
- * Hides the given page elements using `visibility: hidden`, so they become invisible
2996
- * without affecting the layout (no realignment occurs).
2997
- *
2998
- * @param page - Playwright page object
2999
- * @param selectors - CSS selectors for elements to hide
3010
+ * Hides elements (via `visibility: hidden`).
3000
3011
  */
3001
3012
  declare function hideElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
3002
3013
  /**
3003
- * Replaces the text content of selected elements with `***`.
3004
- *
3005
- * @param page - Playwright page object
3006
- * @param selectors - CSS selectors for elements whose content to replace
3014
+ * Replaces text content or input values of elements with `***`.
3015
+ * - Works for inputs, textareas, contenteditables and generic elements.
3016
+ * - Ensures frameworks see the change (dispatches input/change).
3017
+ * - Also masks placeholder so empty fields show *** in screenshots.
3007
3018
  */
3008
3019
  declare function replaceElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
3009
3020
  /**