@shopware-ag/acceptance-test-suite 12.1.0 → 12.1.2

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
@@ -410,10 +410,11 @@ declare const getCountryAddressData: (countryCode?: string) => {
410
410
  vatRegNo: string;
411
411
  };
412
412
  declare const getLocale: () => string;
413
- declare const getLanguageCode: (locale: string) => string;
414
- declare const getCountryCodeFromLocale: (locale: string) => string;
415
- declare const getCurrencyCodeFromLocale: (locale: string) => string;
416
- declare const getCurrencySymbolFromLocale: (locale: string) => string;
413
+ declare const getLanguageCode: (locale?: string) => string;
414
+ declare const getCountryCodeFromLocale: (locale?: string) => string;
415
+ declare const getCurrencyCodeFromLocale: (locale?: string) => string;
416
+ declare const getCurrencySymbolFromLocale: (locale?: string) => string;
417
+ declare const formatPrice: (price: number, locale?: string, currencyCode?: string) => string;
417
418
  type Language$1 = components['schemas']['Language'] & {
418
419
  id: string;
419
420
  translationCode: components['schemas']['Locale'] & {
@@ -1920,11 +1921,16 @@ declare const BUNDLED_RESOURCES: {
1920
1921
  readonly 'storefront/checkout': {
1921
1922
  common: {
1922
1923
  back: string;
1924
+ paymentMethod: string;
1923
1925
  cashOnDelivery: string;
1924
1926
  paidInAdvance: string;
1925
1927
  invoice: string;
1928
+ shippingMethod: string;
1926
1929
  standard: string;
1927
1930
  express: string;
1931
+ grandTotal: string;
1932
+ plusVat: string;
1933
+ vatSuffix: string;
1928
1934
  };
1929
1935
  cart: {
1930
1936
  shoppingCart: string;
@@ -1944,9 +1950,6 @@ declare const BUNDLED_RESOURCES: {
1944
1950
  };
1945
1951
  finish: {
1946
1952
  thankYouForOrder: string;
1947
- grandTotal: string;
1948
- plusVat: string;
1949
- vatSuffix: string;
1950
1953
  };
1951
1954
  orderEdit: {
1952
1955
  cancelOrder: string;
@@ -2020,14 +2023,19 @@ declare const BUNDLED_RESOURCES: {
2020
2023
  };
2021
2024
  };
2022
2025
  readonly 'storefront/header': {
2026
+ topBarNav: string;
2027
+ currencyDropdown: string;
2028
+ languageDropdown: string;
2023
2029
  skipToContentLink: string;
2024
2030
  searchInputAriaLabel: string;
2031
+ wishlistIcon: string;
2025
2032
  };
2026
2033
  readonly 'storefront/home': {
2027
2034
  account: {
2028
2035
  yourAccount: string;
2029
2036
  };
2030
2037
  consent: {
2038
+ close: string;
2031
2039
  onlyTechnicallyRequired: string;
2032
2040
  configure: string;
2033
2041
  acceptAllCookies: string;
@@ -2035,10 +2043,16 @@ declare const BUNDLED_RESOURCES: {
2035
2043
  marketing: string;
2036
2044
  };
2037
2045
  filters: {
2046
+ filterPanel: string;
2047
+ labelPrefix: string;
2038
2048
  manufacturer: string;
2039
2049
  price: string;
2040
2050
  resetAll: string;
2041
2051
  freeShipping: string;
2052
+ rating: string;
2053
+ };
2054
+ listing: {
2055
+ addToShoppingCart: string;
2042
2056
  };
2043
2057
  };
2044
2058
  readonly 'storefront/login': {
@@ -2114,6 +2128,9 @@ declare const BUNDLED_RESOURCES: {
2114
2128
  continueShopping: string;
2115
2129
  };
2116
2130
  };
2131
+ readonly 'storefront/wishlist': {
2132
+ removeProduct: string;
2133
+ };
2117
2134
  };
2118
2135
  readonly de: {
2119
2136
  readonly 'administration/category': {
@@ -2855,26 +2872,25 @@ declare const BUNDLED_RESOURCES: {
2855
2872
  readonly 'storefront/checkout': {
2856
2873
  common: {
2857
2874
  back: string;
2875
+ paymentMethod: string;
2858
2876
  cashOnDelivery: string;
2859
2877
  paidInAdvance: string;
2860
2878
  invoice: string;
2879
+ shippingMethod: string;
2861
2880
  standard: string;
2862
2881
  express: string;
2882
+ grandTotal: string;
2883
+ plusVat: string;
2884
+ vatSuffix: string;
2863
2885
  };
2864
2886
  cart: {
2865
- addToCart: string;
2866
- removeFromCart: string;
2867
- quantity: string;
2868
- price: string;
2869
- subtotal: string;
2870
- total: string;
2871
- emptyCart: string;
2872
- continueShopping: string;
2873
- proceedToCheckout: string;
2874
2887
  shoppingCart: string;
2875
2888
  goToCheckout: string;
2876
2889
  displayShoppingCart: string;
2890
+ continueShopping: string;
2877
2891
  promoCode: string;
2892
+ emptyCart: string;
2893
+ quantity: string;
2878
2894
  stockReached: string;
2879
2895
  };
2880
2896
  confirm: {
@@ -2882,8 +2898,6 @@ declare const BUNDLED_RESOURCES: {
2882
2898
  orderSummary: string;
2883
2899
  shippingAddress: string;
2884
2900
  billingAddress: string;
2885
- shippingMethod: string;
2886
- paymentMethod: string;
2887
2901
  agreeToTerms: string;
2888
2902
  revocationNotice: string;
2889
2903
  completeOrder: string;
@@ -2892,22 +2906,11 @@ declare const BUNDLED_RESOURCES: {
2892
2906
  immediateAccessToDigitalProduct: string;
2893
2907
  };
2894
2908
  finish: {
2895
- thankYou: string;
2896
2909
  thankYouForOrder: string;
2897
- orderNumber: string;
2898
- orderConfirmation: string;
2899
- continueShopping: string;
2900
- grandTotal: string;
2901
- plusVat: string;
2902
- vatSuffix: string;
2903
2910
  };
2904
2911
  orderEdit: {
2905
2912
  cancelOrder: string;
2906
2913
  };
2907
- register: {
2908
- createAccount: string;
2909
- guestCheckout: string;
2910
- };
2911
2914
  };
2912
2915
  readonly 'storefront/consent': {
2913
2916
  cookie: {
@@ -2951,14 +2954,19 @@ declare const BUNDLED_RESOURCES: {
2951
2954
  title: string;
2952
2955
  };
2953
2956
  readonly 'storefront/header': {
2957
+ topBarNav: string;
2958
+ currencyDropdown: string;
2959
+ languageDropdown: string;
2954
2960
  skipToContentLink: string;
2955
2961
  searchInputAriaLabel: string;
2962
+ wishlistIcon: string;
2956
2963
  };
2957
2964
  readonly 'storefront/home': {
2958
2965
  account: {
2959
2966
  yourAccount: string;
2960
2967
  };
2961
2968
  consent: {
2969
+ close: string;
2962
2970
  onlyTechnicallyRequired: string;
2963
2971
  configure: string;
2964
2972
  acceptAllCookies: string;
@@ -2966,10 +2974,16 @@ declare const BUNDLED_RESOURCES: {
2966
2974
  marketing: string;
2967
2975
  };
2968
2976
  filters: {
2977
+ filterPanel: string;
2978
+ labelPrefix: string;
2969
2979
  manufacturer: string;
2970
2980
  price: string;
2971
2981
  resetAll: string;
2972
2982
  freeShipping: string;
2983
+ rating: string;
2984
+ };
2985
+ listing: {
2986
+ addToShoppingCart: string;
2973
2987
  };
2974
2988
  };
2975
2989
  readonly 'storefront/login': {
@@ -3117,6 +3131,9 @@ declare const BUNDLED_RESOURCES: {
3117
3131
  changePassword: string;
3118
3132
  invalidLink: string;
3119
3133
  };
3134
+ readonly 'storefront/wishlist': {
3135
+ removeProduct: string;
3136
+ };
3120
3137
  };
3121
3138
  };
3122
3139
  declare const baseNamespaces: {
@@ -3772,11 +3789,16 @@ declare const baseNamespaces: {
3772
3789
  readonly checkout: {
3773
3790
  common: {
3774
3791
  back: string;
3792
+ paymentMethod: string;
3775
3793
  cashOnDelivery: string;
3776
3794
  paidInAdvance: string;
3777
3795
  invoice: string;
3796
+ shippingMethod: string;
3778
3797
  standard: string;
3779
3798
  express: string;
3799
+ grandTotal: string;
3800
+ plusVat: string;
3801
+ vatSuffix: string;
3780
3802
  };
3781
3803
  cart: {
3782
3804
  shoppingCart: string;
@@ -3796,9 +3818,6 @@ declare const baseNamespaces: {
3796
3818
  };
3797
3819
  finish: {
3798
3820
  thankYouForOrder: string;
3799
- grandTotal: string;
3800
- plusVat: string;
3801
- vatSuffix: string;
3802
3821
  };
3803
3822
  orderEdit: {
3804
3823
  cancelOrder: string;
@@ -3872,14 +3891,19 @@ declare const baseNamespaces: {
3872
3891
  };
3873
3892
  };
3874
3893
  readonly header: {
3894
+ topBarNav: string;
3895
+ currencyDropdown: string;
3896
+ languageDropdown: string;
3875
3897
  skipToContentLink: string;
3876
3898
  searchInputAriaLabel: string;
3899
+ wishlistIcon: string;
3877
3900
  };
3878
3901
  readonly home: {
3879
3902
  account: {
3880
3903
  yourAccount: string;
3881
3904
  };
3882
3905
  consent: {
3906
+ close: string;
3883
3907
  onlyTechnicallyRequired: string;
3884
3908
  configure: string;
3885
3909
  acceptAllCookies: string;
@@ -3887,10 +3911,16 @@ declare const baseNamespaces: {
3887
3911
  marketing: string;
3888
3912
  };
3889
3913
  filters: {
3914
+ filterPanel: string;
3915
+ labelPrefix: string;
3890
3916
  manufacturer: string;
3891
3917
  price: string;
3892
3918
  resetAll: string;
3893
3919
  freeShipping: string;
3920
+ rating: string;
3921
+ };
3922
+ listing: {
3923
+ addToShoppingCart: string;
3894
3924
  };
3895
3925
  };
3896
3926
  readonly login: {
@@ -3966,6 +3996,9 @@ declare const baseNamespaces: {
3966
3996
  continueShopping: string;
3967
3997
  };
3968
3998
  };
3999
+ readonly wishlist: {
4000
+ removeProduct: string;
4001
+ };
3969
4002
  };
3970
4003
  };
3971
4004
 
@@ -4318,6 +4351,9 @@ declare class OrderDetail implements PageObject {
4318
4351
  readonly sendDocumentButton: Locator;
4319
4352
  readonly itemsCardHeader: Locator;
4320
4353
  readonly sentCheckmark: Locator;
4354
+ readonly orderPaymentStatus: Locator;
4355
+ readonly orderDeliveryStatus: Locator;
4356
+ readonly orderStatus: Locator;
4321
4357
  /**
4322
4358
  * Tabs
4323
4359
  */
@@ -5503,6 +5539,7 @@ declare class Home implements PageObject {
5503
5539
  readonly consentCookiePreferences: Locator;
5504
5540
  readonly consentCookiePermissionContent: Locator;
5505
5541
  readonly consentDialog: Locator;
5542
+ readonly consentDialogCloseButton: Locator;
5506
5543
  readonly consentDialogTechnicallyRequiredCheckbox: Locator;
5507
5544
  readonly consentDialogStatisticsCheckbox: Locator;
5508
5545
  /**
@@ -5574,6 +5611,7 @@ declare class ProductDetail implements PageObject {
5574
5611
  readonly offCanvasLineItemDeliveryDate: Locator;
5575
5612
  readonly wishlistAddedButton: Locator;
5576
5613
  readonly wishlistNotAddedButton: Locator;
5614
+ readonly propertyRadioGroup: (propertyName: string) => Locator;
5577
5615
  readonly productDetailConfigurator: Locator;
5578
5616
  readonly productDetailConfiguratorGroupTitle: Locator;
5579
5617
  readonly productDetailConfiguratorOptionInputs: Locator;
@@ -5665,15 +5703,19 @@ declare class CheckoutConfirm implements PageObject {
5665
5703
  readonly taxPrice: Locator;
5666
5704
  readonly submitOrderButton: Locator;
5667
5705
  /**
5668
- * Payment options
5706
+ * Payment and Shipping options
5669
5707
  */
5708
+ readonly paymentMethodRadioGroup: Locator;
5709
+ readonly shippingMethodRadioGroup: Locator;
5710
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5670
5711
  readonly paymentCashOnDelivery: Locator;
5712
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5671
5713
  readonly paymentPaidInAdvance: Locator;
5714
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5672
5715
  readonly paymentInvoice: Locator;
5673
- /**
5674
- * Shipping options
5675
- */
5716
+ /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
5676
5717
  readonly shippingStandard: Locator;
5718
+ /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
5677
5719
  readonly shippingExpress: Locator;
5678
5720
  /**
5679
5721
  * Product details
@@ -5909,15 +5951,19 @@ declare class CheckoutOrderEdit implements PageObject {
5909
5951
  readonly dialogOrderCancelButton: Locator;
5910
5952
  readonly dialogBackButton: Locator;
5911
5953
  /**
5912
- * Payment options
5954
+ * Payment and Shipping options
5913
5955
  */
5956
+ readonly paymentMethodRadioGroup: Locator;
5957
+ readonly shippingMethodRadioGroup: Locator;
5958
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5914
5959
  readonly paymentCashOnDelivery: Locator;
5960
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5915
5961
  readonly paymentPaidInAdvance: Locator;
5962
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5916
5963
  readonly paymentInvoice: Locator;
5917
- /**
5918
- * Shipping options
5919
- */
5964
+ /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
5920
5965
  readonly shippingStandard: Locator;
5966
+ /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
5921
5967
  readonly shippingExpress: Locator;
5922
5968
  readonly page: Page;
5923
5969
  constructor(page: Page);
@@ -6017,6 +6063,7 @@ declare class Footer implements PageObject {
6017
6063
 
6018
6064
  declare class Header implements PageObject {
6019
6065
  readonly mainNavigationLink: Locator;
6066
+ readonly topBarNav: Locator;
6020
6067
  readonly languagesDropdown: Locator;
6021
6068
  readonly languagesMenuOptions: Locator;
6022
6069
  readonly currenciesDropdown: Locator;
@@ -6131,6 +6178,10 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
6131
6178
  ProceedFromCartToCheckout: Task;
6132
6179
  } & {
6133
6180
  ConfirmTermsAndConditions: Task;
6181
+ } & {
6182
+ SelectPaymentMethod: Task;
6183
+ } & {
6184
+ SelectShippingMethod: Task;
6134
6185
  } & {
6135
6186
  SelectInvoicePaymentOption: Task;
6136
6187
  } & {
@@ -6163,5 +6214,5 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
6163
6214
  CheckVisibilityInHome: Task;
6164
6215
  }, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
6165
6216
 
6166
- export { AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, compareFlowTemplateWithFlow, createRandomImage, encodeImage, extractIdFromUrl, getCountryAddressData, getCountryCodeFromLocale, getCountryId, getCurrency, getCurrencyCodeFromLocale, getCurrencySymbolFromLocale, getCurrentContext, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageCode, getLanguageData, getLocale, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
6217
+ export { AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, compareFlowTemplateWithFlow, createRandomImage, encodeImage, extractIdFromUrl, formatPrice, getCountryAddressData, getCountryCodeFromLocale, getCountryId, getCurrency, getCurrencyCodeFromLocale, getCurrencySymbolFromLocale, getCurrentContext, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageCode, getLanguageData, getLocale, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
6167
6218
  export type { AccountData, AclRole, Address, CalculatedTaxes, Category$1 as Category, CategoryCustomizableLinkData, CategoryData, CmsPage, Country$1 as Country, CreatedRecord, Currency$2 as Currency, CustomField, CustomFieldData, CustomFieldSet, Customer, CustomerAddress, CustomerGroup, DataServiceOptions, DeliveryTime, FixtureTypes, Flow, FlowConfig, FlowTemplate, Language$2 as Language, Manufacturer, Media$1 as Media, Options, Order, OrderDelivery, OrderLineItem, OrderStatus, PageObject, PaymentMethod$1 as PaymentMethod, Price, Product, ProductCrossSelling, ProductPrice, ProductReview, Promotion, PromotionDiscount, PropertyGroup, PropertyGroupOption, RegistrationData, ReplaceTarget, Rule, RuleAssignmentEntity, SalesChannel, SalesChannelAnalytics, SalesChannelDomain, SalesChannelRecord, Salutation, ShippingMethod$1 as ShippingMethod, SimpleLineItem, StateMachine, StateMachineState, SyncApiOperation, SystemConfig, Tag, TagData, Task, Tax$1 as Tax, TaxRules, TranslateFn, TranslationKey, User, VariantListingConfig };