Skip to content

Commit eef4df2

Browse files
author
Sergey Semenov
committed
MAGETWO-36215: Second Product isn't added to Shopping Cart from Wishlist from first atempt
1 parent 8913522 commit eef4df2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dev/tests/functional/tests/app/Magento/Wishlist/Test/TestCase/AddProductsToCartFromCustomerWishlistOnFrontendTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ protected function addToCart(array $products, $qty)
7777
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
7878
if (!$this->wishlistIndex->getWishlistBlock()->isVisible()) {
7979
$this->catalogProductView->getViewBlock()->addToCart($product);
80-
$this->catalogProductView->getMessagesBlock()->waitSuccessMessage();
8180
}
8281
}
8382
}

dev/tests/functional/tests/app/Magento/Wishlist/Test/TestCase/AddProductsToCartFromCustomerWishlistOnFrontendTest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
<constraint name="Magento\Wishlist\Test\Constraint\AssertProductsIsAbsentInWishlist" />
2121
</variation>
2222
<variation name="AddProductsToCartFromCustomerWishlistOnFrontendTestVariation3">
23-
<data name="issue" xsi:type="string">Bug: MAGETWO-36215</data>
24-
<data name="products" xsi:type="string">catalogProductSimple::default,catalogProductVirtual::product_50_dollar,catalogProductSimple::default,catalogProductVirtual::product_50_dollar</data>
23+
<data name="products" xsi:type="string">catalogProductSimple::default,catalogProductVirtual::product_50_dollar</data>
2524
<data name="qty" xsi:type="string">-</data>
2625
<constraint name="Magento\Checkout\Test\Constraint\AssertProductQtyInShoppingCart" />
2726
<constraint name="Magento\Wishlist\Test\Constraint\AssertWishlistIsEmpty" />

0 commit comments

Comments
 (0)