@shopware-ag/acceptance-test-suite 11.16.1 → 11.16.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
@@ -1242,6 +1242,8 @@ declare class Home implements PageObject {
1242
1242
  readonly closeGuestSessionButton: Locator;
1243
1243
  readonly productImages: Locator;
1244
1244
  readonly productListItems: Locator;
1245
+ readonly loader: Locator;
1246
+ readonly productVariantCharacteristicsOptions: Locator;
1245
1247
  /**
1246
1248
  * @deprecated Use 'Header/languagesDropdown' instead
1247
1249
  */
@@ -2766,6 +2768,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
2766
2768
  AddProductToCartFromWishlist: Task;
2767
2769
  } & {
2768
2770
  AddProductToWishlist: Task;
2771
+ } & {
2772
+ SelectProductFilterOption: Task;
2769
2773
  }, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
2770
2774
 
2771
2775
  export { type AccountData, 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 FlowTemplate, type Language$2 as Language, type Manufacturer, type Media, 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 VariantListingConfig, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
package/dist/index.d.ts CHANGED
@@ -1242,6 +1242,8 @@ declare class Home implements PageObject {
1242
1242
  readonly closeGuestSessionButton: Locator;
1243
1243
  readonly productImages: Locator;
1244
1244
  readonly productListItems: Locator;
1245
+ readonly loader: Locator;
1246
+ readonly productVariantCharacteristicsOptions: Locator;
1245
1247
  /**
1246
1248
  * @deprecated Use 'Header/languagesDropdown' instead
1247
1249
  */
@@ -2766,6 +2768,8 @@ declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArg
2766
2768
  AddProductToCartFromWishlist: Task;
2767
2769
  } & {
2768
2770
  AddProductToWishlist: Task;
2771
+ } & {
2772
+ SelectProductFilterOption: Task;
2769
2773
  }, _playwright_test.PlaywrightWorkerArgs & _playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
2770
2774
 
2771
2775
  export { type AccountData, 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 FlowTemplate, type Language$2 as Language, type Manufacturer, type Media, 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 VariantListingConfig, compareFlowTemplateWithFlow, createRandomImage, extractIdFromUrl, getCountryId, getCurrency, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageData, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, isSaaSInstance, isThemeCompiled, setOrderStatus, test };
package/dist/index.mjs CHANGED
@@ -3359,6 +3359,8 @@ class Home {
3359
3359
  __publicField$U(this, "closeGuestSessionButton");
3360
3360
  __publicField$U(this, "productImages");
3361
3361
  __publicField$U(this, "productListItems");
3362
+ __publicField$U(this, "loader");
3363
+ __publicField$U(this, "productVariantCharacteristicsOptions");
3362
3364
  /**
3363
3365
  * @deprecated Use 'Header/languagesDropdown' instead
3364
3366
  */
@@ -3468,6 +3470,8 @@ class Home {
3468
3470
  this.productItemNames = this.productList.locator(".product-name");
3469
3471
  this.productRatingButton = this.filterMultiSelect.locator('.btn:has-text("Rating min.")');
3470
3472
  this.productRatingList = page.locator(".filter-rating-select-list-item");
3473
+ this.loader = page.locator(".has-element-loader");
3474
+ this.productVariantCharacteristicsOptions = page.locator(".product-variant-characteristics-option");
3471
3475
  }
3472
3476
  async getRatingItemLocatorByRating(rating) {
3473
3477
  return this.productRatingList.filter({ hasText: `min. ${rating}/5` });
@@ -7960,6 +7964,19 @@ const AddProductToWishlist = test$f.extend({
7960
7964
  }
7961
7965
  });
7962
7966
 
7967
+ const SelectProductFilterOption = test$f.extend({
7968
+ SelectProductFilterOption: async ({ StorefrontHome }, use) => {
7969
+ const task = (filterButton, optionName) => {
7970
+ return async function SelectProductFilterOption2() {
7971
+ await filterButton.click();
7972
+ const optionLocator = await StorefrontHome.getFilterItemByFilterName(optionName);
7973
+ await optionLocator.click();
7974
+ };
7975
+ };
7976
+ await use(task);
7977
+ }
7978
+ });
7979
+
7963
7980
  const test$3 = mergeTests(
7964
7981
  Login,
7965
7982
  Logout,
@@ -7984,7 +8001,8 @@ const test$3 = mergeTests(
7984
8001
  ValidateAccessibility,
7985
8002
  RemoveProductFromWishlist,
7986
8003
  AddProductToCartFromWishlist,
7987
- AddProductToWishlist
8004
+ AddProductToWishlist,
8005
+ SelectProductFilterOption
7988
8006
  );
7989
8007
 
7990
8008
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "11.16.1",
3
+ "version": "11.16.2",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",