Skip to content

Commit 79ae8bb

Browse files
Lusine-PapyanYuliyaLabudova
authored andcommitted
MAGETWO-96429: Wrong special price displayed in product search results
- Update automated test script
1 parent a08a573 commit 79ae8bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Search/Test/Mftf/Section/StorefrontQuickSearchResultsSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<element name="searchTextBox" type="text" selector="#search"/>
1313
<element name="searchTextBoxButton" type="button" selector="button[class='action search']"/>
1414
<element name="productLink" type="select" selector="a[class='product-item-link']"/>
15+
<element name="productSpecialPrice" type="text" selector="//a[contains(text(), '{{productName}}')]/ancestor::div//span[contains(@data-price-type, 'finalPrice')]/span[contains(@class, 'price')]" parameterized="true"/>
1516
<element name="asLowAsLabel" type="text" selector=".minimal-price-link > span"/>
1617
<element name="textArea" type="text" selector="li[class='item']"/>
1718
<element name="regularPrice" type="text" selector="//span[@class='price-wrapper ']/span[@class='price']"/>

0 commit comments

Comments
 (0)