-
Notifications
You must be signed in to change notification settings - Fork 154
graphQl-812: test Add Variation From Another Configurable Product To Cart #866
graphQl-812: test Add Variation From Another Configurable Product To Cart #866
Conversation
When we are trying to add variation that does not belong to the parent product, exception should be thrown. You can create an issue if it does not work as expected and skip test with reference to this issue. Thanks. |
Hi @lenaorobei
I believe there are 2 cases:
The 2 test case are covered so far. So I should add the 1 test case, right? |
I mean that the case you added |
I agree with @lenaorobei. The configurable product should be added only when a simple product belongs to configurable. Here in the test, we see that it is possible to use Skipped tests with correct expectations and reference to the issue is a good idea. |
… super attributes
…therConfigurableProductToCart' of github.com:magento/graphql-ce into GraphQl-812-testAddVariationFromAnotherConfigurableProductToCart # Conflicts: # dev/tests/api-functional/testsuite/Magento/GraphQl/ConfigurableProduct/AddConfigurableProductToCartTest.php
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please skip this specific case with the reference to https://github.com/magento/magento2 issue.
Thanks.
…therConfigurableProductToCart' of github.com:magento/graphql-ce into GraphQl-812-testAddVariationFromAnotherConfigurableProductToCart
…hTheSameSuperAttributeToCart as skipped
Hi @lenaorobei, thank you for the review.
|
…e Product To Cart #866
Hi @VitaliyBoyko, thank you for your contribution! |
Description (*)
Added adding a variation from another configurable product to cart test cases
Fixed Issues (if relevant)