Skip to content

Commit 81dcd4a

Browse files
committed
B2B-1703: Add MFTF test for MC-38558
- Fixing failing test
1 parent 1b0fdcf commit 81dcd4a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/ProductData.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@
7272
<requiredEntity type="product_extension_attribute">EavStockItem</requiredEntity>
7373
<requiredEntity type="custom_attribute_array">CustomAttributeCategoryIds</requiredEntity>
7474
</entity>
75+
<entity name="SimpleProduct_NoSpaces" extends="SimpleProduct" type="product">
76+
<data key="name" unique="suffix">SimpleProduct</data>
77+
<data key="sku" unique="suffix">SimpleProduct</data>
78+
<data key="urlKey" unique="suffix">simpleproduct</data>
79+
</entity>
7580
<entity name="ProductForPartialSearch" extends="SimpleProduct" type="product">
7681
<data key="sku">partialTestSku</data>
7782
</entity>

app/code/Magento/Checkout/Test/Mftf/ActionGroup/StorefrontAddProductToCartActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
</arguments>
1919

2020
<click selector="{{StorefrontProductInfoMainSection.AddToCart}}" stepKey="clickAddToCart"/>
21+
<waitForPageLoad stepKey="waitForPageLoad"/>
2122
<waitForElementVisible selector="{{StorefrontCategoryMainSection.SuccessMsg}}" stepKey="waitForSuccessMessage"/>
2223
<see selector="{{StorefrontProductPageSection.messagesBlock}}" userInput="You added {{product.name}} to your shopping cart." stepKey="assertSuccessMessage"/>
2324
<seeLink stepKey="assertLinkToShoppingCart" url="{{_ENV.MAGENTO_BASE_URL}}checkout/cart/" userInput="shopping cart"/>

0 commit comments

Comments
 (0)