Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-2491 Make the product details widget compatible with the Classic Theme
  3. COMMERCE-6369

CommerceProductDetails#AssertProductCanBeAddedToCartFromProductDetailsIfBackOrderIsEnabled

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Shopping Experience
    • Labels:
    • Failed Testing:
      -1

      Description

      Functionality Covered:

      • As a buyer, I want to be able to add a product to the cart in Product Details regardless of the availability, if back ordererabilty of that product is enabled

      Steps:

      1. Login as [email protected]
      2. Go to Applications Menu → Control Panel → Sites
      3. Create a new site using Minium(siteName = Minium)
      4. Go to Applications Menu -> Commerce -> Products
      5. Create a new Simple product(name: "Simple T-Shirt", catalog: "Minium")
      6. Navigate to SKUs tab
      7. On a SKUs entry(e.g. "default"), assert that "Available Quantity" is 0
      8. Navigate to the Configuration tab
      9. If "Allow Back Orders" is already enabled, disable it -> Publish
      10. Navigate to Minium site -> Account Management page
      11. Add a new Account (Test Test as administrator)
      12. Navigate to Minium Catalog page
      13. Navigate to the U-Joint product details page
      14. Assert that the "Add to Cart" button is disabled and the product cannot be added to the cart
      15. Go to Applications Menu -> Commerce -> Products
      16. Click on a product name(e.g. Simple T-Shirt)
      17. Navigate to the Configuration tab
      18. Enable "Allow Back Orders" -> Publish
      19. Navigate to Minium site -> Catalog page
      20. Navigate to the U-Joint product details page
      21. Assert that the "Add to Cart" button is enabled and the product can be added to the cart

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kristin.onias Kristin Onias
              Reporter:
              lorenzo.lapescara Lorenzo La Pescara
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package