Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3748

Create Inventory Integration Tests for Product Bundles

    Details

      Description

      Test:

      • create bundle with 3 options each option has 3 values that link to unique products

      Test1:
      create preorder for bundle where each option points to random value (values still point to valid products)
      update inventory to be unavailable for one of option values demanded by pre-order
      Try to Checkout Order
      Expect:
      Checkout Fails
      Inventory is not updated

      Test2:
      create preorder for bundle where each option points to random value (values still point to valid products)
      update inventory to be unavailable for one of option values demanded by pre-order
      Try to Checkout Order
      Expect:
      Checkout Succeed
      Inventory Updated

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              igor.beslic Igor Beslic
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.1