@shopware-ag/acceptance-test-suite 11.24.1 → 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 +21 -9
- package/dist/index.d.ts +21 -9
- package/dist/index.mjs +1350 -1219
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2553,6 +2553,7 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
2553
2553
|
readonly assignmentModalAddButton: Locator;
|
|
2554
2554
|
readonly assignmentModalSearchField: Locator;
|
|
2555
2555
|
readonly conditionORContainer: Locator;
|
|
2556
|
+
readonly adminMenuAvatar: Locator;
|
|
2556
2557
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2557
2558
|
getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
|
|
2558
2559
|
url(ruleId?: string, tabName?: string): string;
|
|
@@ -2816,6 +2817,19 @@ declare class PromotionDetail extends PromotionCreate {
|
|
|
2816
2817
|
url(promotionId?: string, tab?: 'general' | 'conditions' | 'discounts'): string;
|
|
2817
2818
|
}
|
|
2818
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
|
+
|
|
2819
2833
|
interface AdministrationPageTypes {
|
|
2820
2834
|
AdminProductDetail: ProductDetail;
|
|
2821
2835
|
AdminOrderDetail: OrderDetail;
|
|
@@ -2857,6 +2871,7 @@ interface AdministrationPageTypes {
|
|
|
2857
2871
|
AdminPromotionCreate: PromotionCreate;
|
|
2858
2872
|
AdminPromotionDetail: PromotionDetail;
|
|
2859
2873
|
AdminShopwareServices: ShopwareServices;
|
|
2874
|
+
AdminYourProfile: YourProfile;
|
|
2860
2875
|
}
|
|
2861
2876
|
declare const AdminPageObjects: {
|
|
2862
2877
|
ProductDetail: typeof ProductDetail;
|
|
@@ -2899,6 +2914,7 @@ declare const AdminPageObjects: {
|
|
|
2899
2914
|
PromotionsListing: typeof PromotionsListing;
|
|
2900
2915
|
PromotionCreate: typeof PromotionCreate;
|
|
2901
2916
|
PromotionDetail: typeof PromotionDetail;
|
|
2917
|
+
YourProfile: typeof YourProfile;
|
|
2902
2918
|
};
|
|
2903
2919
|
|
|
2904
2920
|
interface DataFixtureTypes {
|
|
@@ -2991,18 +3007,14 @@ declare const isThemeCompiled: (context: AdminApiContext, storefrontUrl: string)
|
|
|
2991
3007
|
declare function createRandomImage(width?: number, height?: number): Image;
|
|
2992
3008
|
|
|
2993
3009
|
/**
|
|
2994
|
-
* Hides
|
|
2995
|
-
* without affecting the layout (no realignment occurs).
|
|
2996
|
-
*
|
|
2997
|
-
* @param page - Playwright page object
|
|
2998
|
-
* @param selectors - CSS selectors for elements to hide
|
|
3010
|
+
* Hides elements (via `visibility: hidden`).
|
|
2999
3011
|
*/
|
|
3000
3012
|
declare function hideElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
|
|
3001
3013
|
/**
|
|
3002
|
-
* Replaces
|
|
3003
|
-
*
|
|
3004
|
-
*
|
|
3005
|
-
*
|
|
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.
|
|
3006
3018
|
*/
|
|
3007
3019
|
declare function replaceElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
|
|
3008
3020
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2553,6 +2553,7 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
2553
2553
|
readonly assignmentModalAddButton: Locator;
|
|
2554
2554
|
readonly assignmentModalSearchField: Locator;
|
|
2555
2555
|
readonly conditionORContainer: Locator;
|
|
2556
|
+
readonly adminMenuAvatar: Locator;
|
|
2556
2557
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2557
2558
|
getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
|
|
2558
2559
|
url(ruleId?: string, tabName?: string): string;
|
|
@@ -2816,6 +2817,19 @@ declare class PromotionDetail extends PromotionCreate {
|
|
|
2816
2817
|
url(promotionId?: string, tab?: 'general' | 'conditions' | 'discounts'): string;
|
|
2817
2818
|
}
|
|
2818
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
|
+
|
|
2819
2833
|
interface AdministrationPageTypes {
|
|
2820
2834
|
AdminProductDetail: ProductDetail;
|
|
2821
2835
|
AdminOrderDetail: OrderDetail;
|
|
@@ -2857,6 +2871,7 @@ interface AdministrationPageTypes {
|
|
|
2857
2871
|
AdminPromotionCreate: PromotionCreate;
|
|
2858
2872
|
AdminPromotionDetail: PromotionDetail;
|
|
2859
2873
|
AdminShopwareServices: ShopwareServices;
|
|
2874
|
+
AdminYourProfile: YourProfile;
|
|
2860
2875
|
}
|
|
2861
2876
|
declare const AdminPageObjects: {
|
|
2862
2877
|
ProductDetail: typeof ProductDetail;
|
|
@@ -2899,6 +2914,7 @@ declare const AdminPageObjects: {
|
|
|
2899
2914
|
PromotionsListing: typeof PromotionsListing;
|
|
2900
2915
|
PromotionCreate: typeof PromotionCreate;
|
|
2901
2916
|
PromotionDetail: typeof PromotionDetail;
|
|
2917
|
+
YourProfile: typeof YourProfile;
|
|
2902
2918
|
};
|
|
2903
2919
|
|
|
2904
2920
|
interface DataFixtureTypes {
|
|
@@ -2991,18 +3007,14 @@ declare const isThemeCompiled: (context: AdminApiContext, storefrontUrl: string)
|
|
|
2991
3007
|
declare function createRandomImage(width?: number, height?: number): Image;
|
|
2992
3008
|
|
|
2993
3009
|
/**
|
|
2994
|
-
* Hides
|
|
2995
|
-
* without affecting the layout (no realignment occurs).
|
|
2996
|
-
*
|
|
2997
|
-
* @param page - Playwright page object
|
|
2998
|
-
* @param selectors - CSS selectors for elements to hide
|
|
3010
|
+
* Hides elements (via `visibility: hidden`).
|
|
2999
3011
|
*/
|
|
3000
3012
|
declare function hideElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
|
|
3001
3013
|
/**
|
|
3002
|
-
* Replaces
|
|
3003
|
-
*
|
|
3004
|
-
*
|
|
3005
|
-
*
|
|
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.
|
|
3006
3018
|
*/
|
|
3007
3019
|
declare function replaceElements(page: Page, selectors: (string | Locator)[]): Promise<void>;
|
|
3008
3020
|
/**
|