Skip to content

Commit 462bd56

Browse files
committed
MC-4331: Convert DeleteProductsFromCartOfAdvancedCheckoutEntityTest to MFTF
1 parent 1e7ea98 commit 462bd56

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutCartProductSection.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,8 @@
4646
<element name="checkoutCartProductPrice" type="text" selector="//td[@class='col price']//span[@class='price']"/>
4747
<element name="checkoutCartSubtotal" type="text" selector="//td[@class='col subtotal']//span[@class='price']"/>
4848
<element name="emptyCart" selector=".cart-empty" type="text"/>
49+
<!-- Required attention section -->
50+
<element name="removeProductBySku" type="button" selector="//*[contains(text(), '{{sku}}')]/ancestor::tbody//button" parameterized="true" timeout="30"/>
51+
<element name="failedItemBySku" type="block" selector="//*[@class='cart item' and .//tr[contains(@class,'info') and .//div[contains(.,'{{sku}}')]]]" parameterized="true" timeout="30"/>
4952
</section>
5053
</sections>

0 commit comments

Comments
 (0)