Skip to content

Commit bc90ac5

Browse files
author
okarpenko
committed
2 parents 58c070d + 42ff063 commit bc90ac5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ 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();
8081
}
8182
}
8283
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<constraint name="Magento\Wishlist\Test\Constraint\AssertProductsIsAbsentInWishlist" />
2121
</variation>
2222
<variation name="AddProductsToCartFromCustomerWishlistOnFrontendTestVariation3">
23-
<data name="products" xsi:type="string">catalogProductSimple::default,catalogProductVirtual::product_50_dollar</data>
23+
<data name="products" xsi:type="string">catalogProductSimple::default,catalogProductVirtual::product_50_dollar,catalogProductSimple::default,catalogProductVirtual::product_50_dollar</data>
2424
<data name="qty" xsi:type="string">-</data>
2525
<constraint name="Magento\Checkout\Test\Constraint\AssertProductQtyInShoppingCart" />
2626
<constraint name="Magento\Wishlist\Test\Constraint\AssertWishlistIsEmpty" />

0 commit comments

Comments
 (0)