@shopware-ag/acceptance-test-suite 11.27.0 → 11.29.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 {
@@ -3017,6 +3039,17 @@ declare function hideElements(page: Page, selectors: (string | Locator)[]): Prom
3017
3039
  * - Also masks placeholder so empty fields show replacement text in screenshots.
3018
3040
  */
3019
3041
  declare function replaceElements(page: Page, selectors: (string | Locator)[], replaceWith?: string): Promise<void>;
3042
+ interface ReplaceTarget {
3043
+ selector: string | Locator;
3044
+ replaceWith?: string;
3045
+ }
3046
+ /**
3047
+ * Replaces elements individually based on an array of targets.
3048
+ *
3049
+ *@param page - Playwright page
3050
+ *@param targets - Array of objects containing selectors and optional replacement strings.
3051
+ */
3052
+ declare function replaceElementsIndividually(page: Page, targets: ReplaceTarget[]): Promise<void>;
3020
3053
  /**
3021
3054
  * Calculates the ideal viewport dimensions for a Playwright test based on scrollable content,
3022
3055
  * header visibility, and optional configuration. Useful for dynamic screenshot sizing or
@@ -3140,4 +3173,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
3140
3173
  SelectProductFilterOption: Task;
3141
3174
  }, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
3142
3175
 
3143
- export { type AccountData, type AclRole, type Address, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country$1 as Country, type CreatedRecord, type Currency$2 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Flow, type FlowConfig, type FlowTemplate, type Language$2 as Language, type Manufacturer, type Media, type Options, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod$1 as PaymentMethod, type Price, type Product, type ProductCrossSelling, type ProductPrice, type ProductReview, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod$1 as ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax$1 as Tax, type TaxRules, TestDataService, type User, type VariantListingConfig, assertScreenshot, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, setOrderStatus, setViewport, test, updateAdminUser };
3176
+ export { type AccountData, type AclRole, type Address, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country$1 as Country, type CreatedRecord, type Currency$2 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Flow, type FlowConfig, type FlowTemplate, type Language$2 as Language, type Manufacturer, type Media, type Options, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod$1 as PaymentMethod, type Price, type Product, type ProductCrossSelling, type ProductPrice, type ProductReview, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type ReplaceTarget, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod$1 as ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax$1 as Tax, type TaxRules, TestDataService, type User, type VariantListingConfig, assertScreenshot, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setOrderStatus, setViewport, test, updateAdminUser };
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 {
@@ -3017,6 +3039,17 @@ declare function hideElements(page: Page, selectors: (string | Locator)[]): Prom
3017
3039
  * - Also masks placeholder so empty fields show replacement text in screenshots.
3018
3040
  */
3019
3041
  declare function replaceElements(page: Page, selectors: (string | Locator)[], replaceWith?: string): Promise<void>;
3042
+ interface ReplaceTarget {
3043
+ selector: string | Locator;
3044
+ replaceWith?: string;
3045
+ }
3046
+ /**
3047
+ * Replaces elements individually based on an array of targets.
3048
+ *
3049
+ *@param page - Playwright page
3050
+ *@param targets - Array of objects containing selectors and optional replacement strings.
3051
+ */
3052
+ declare function replaceElementsIndividually(page: Page, targets: ReplaceTarget[]): Promise<void>;
3020
3053
  /**
3021
3054
  * Calculates the ideal viewport dimensions for a Playwright test based on scrollable content,
3022
3055
  * header visibility, and optional configuration. Useful for dynamic screenshot sizing or
@@ -3140,4 +3173,4 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
3140
3173
  SelectProductFilterOption: Task;
3141
3174
  }, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
3142
3175
 
3143
- export { type AccountData, type AclRole, type Address, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country$1 as Country, type CreatedRecord, type Currency$2 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Flow, type FlowConfig, type FlowTemplate, type Language$2 as Language, type Manufacturer, type Media, type Options, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod$1 as PaymentMethod, type Price, type Product, type ProductCrossSelling, type ProductPrice, type ProductReview, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod$1 as ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax$1 as Tax, type TaxRules, TestDataService, type User, type VariantListingConfig, assertScreenshot, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, setOrderStatus, setViewport, test, updateAdminUser };
3176
+ export { type AccountData, type AclRole, type Address, AdminPageObjects, type CalculatedTaxes, type Category$1 as Category, type CategoryCustomizableLinkData, type CategoryData, type CmsPage, type Country$1 as Country, type CreatedRecord, type Currency$2 as Currency, type CustomField, type CustomFieldData, type CustomFieldSet, type Customer, type CustomerAddress, type CustomerGroup, type DataServiceOptions, type DeliveryTime, type FixtureTypes, type Flow, type FlowConfig, type FlowTemplate, type Language$2 as Language, type Manufacturer, type Media, type Options, type Order, type OrderDelivery, type OrderLineItem, type OrderStatus, type PageObject, type PaymentMethod$1 as PaymentMethod, type Price, type Product, type ProductCrossSelling, type ProductPrice, type ProductReview, type Promotion, type PromotionDiscount, type PropertyGroup, type PropertyGroupOption, type RegistrationData, type ReplaceTarget, type Rule, type RuleAssignmentEntity, RuleType, type SalesChannel, type SalesChannelAnalytics, type SalesChannelDomain, type SalesChannelRecord, type Salutation, type ShippingMethod$1 as ShippingMethod, type SimpleLineItem, type StateMachine, type StateMachineState, StorefrontPageObjects, type SyncApiOperation, type SystemConfig, type Tag, type TagData, type Task, type Tax$1 as Tax, type TaxRules, TestDataService, type User, type VariantListingConfig, assertScreenshot, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setOrderStatus, setViewport, test, updateAdminUser };