SalesforceCommerceCloud / pwa-kit

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-kit-overview.html
BSD 3-Clause "New" or "Revised" License
283 stars 130 forks source link

@W-15752101: Tests for variant prices in PLP #1817

Closed unandyala closed 4 months ago

unandyala commented 4 months ago

Extend Product tile tests to include swatch selection and corresponding price display

Description

  1. When the user navigates to a swatch, verify that the corresponding price and promotion are rendered
  2. When there are multiple variants, swatch navigation still shows the price range From <<Starting Price>>
  3. Found and fixed a issue with the main product flag in product-utils

Types of Changes

How to Test-Drive This PR