Scenario 7 - Testing ProductRequiredFor with No Group and One Element Not Passed

Send a validation request with no group and one element that is not passed.

Procedure

  1. Create a product bundle that has ProductComprisedOf Phone1.
  2. Set Phone1 ProductComprisedOf SIM_Card.
  3. Set SIM_Card to have ProductRequiredFor Data_Plan.
  4. Set Data_Plan with a restriction of minimum and maximum number of one.
  5. Add Data_Plan and SIM_Card to your basket.

Result

During validation, when you add both products (the product bundle and Data_Plan) to your basket, an error occurs because the minimum and maximum number is defined as one for Data_Plan, which was already added to the basket from the product bundle.