Skip to content

Commit 068e8d3

Browse files
ACQE-8299: [MFTF TESTS] Test failure on min max quantity screen
- Updated quantity error xpath.
1 parent 132b9e6 commit 068e8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Section/StorefrontProductPageSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<element name="qtyInputWithProduct" type="input" selector="//tr//strong[contains(.,'{{productName}}')]/../../td[@class='col qty']//input" parameterized="true"/>
2828
<element name="customOptionRadio" type="input" selector="//span[contains(text(),'{{customOption}}')]/../../input" parameterized="true"/>
2929
<element name="onlyProductsLeft" type="block" selector="//div[@class='product-info-price']//div[@class='product-info-stock-sku']//div[@class='availability only']"/>
30-
<element name="qtyErr" type="text" selector="//*[@data-ui-id='message-error']//div"/>
30+
<element name="qtyErr" type="text" selector="//div[@id='qty-error' and contains(@class, 'mage-error')]"/>
3131
<element name="addToCart" type="button" selector="button#product-addtocart-button" />
3232
<element name="attributeTypes" type="text" selector="//th[@class='col label' and text()='{{attributeName}}']/following-sibling::td[@class='col data']" parameterized="true"/>
3333
</section>

0 commit comments

Comments
 (0)