Skip to content

Commit dd966e6

Browse files
committed
MAGETWO-58503: [Backport] - [Github] Add Configurable Product To Cart from Category Page #2574 #5850 #5882 #6572 #5558 #8470 - for 2.1
1 parent 640991b commit dd966e6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Page/Category/CatalogCategoryView.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
<block name="listProductBlock" class="Magento\Catalog\Test\Block\Product\ListProduct" locator=".products.wrapper.grid" strategy="css selector"/>
1616
<block name="topToolbar" class="Magento\Catalog\Test\Block\Product\ProductList\TopToolbar" locator=".//*[contains(@class,'toolbar-products')][1]" strategy="xpath"/>
1717
<block name="bottomToolbar" class="Magento\Catalog\Test\Block\Product\ProductList\BottomToolbar" locator=".//*[contains(@class,'toolbar-products')][2]" strategy="xpath"/>
18+
<block name="messagesBlock" class="Magento\Backend\Test\Block\Messages" locator=".page.messages" strategy="css selector" />
1819
</page>
1920
</config>

dev/tests/functional/tests/app/Magento/Swatches/Test/TestStep/AddProductToCartFromCatalogCategoryPageStep.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public function run()
9494
],
9595
],
9696
];
97+
$this->categoryView->getMessagesBlock()->waitSuccessMessage();
9798

9899
return [
99100
'cart' => $this->fixtureFactory->createByCode('cart', $cart),

0 commit comments

Comments
 (0)