Skip to content

Commit 2283662

Browse files
committed
MAGETWO-95212: Dynamic block call to getCurrentUrl method is returning ajax request value
- Added selector
1 parent 493e5b6 commit 2283662

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/CatalogWidget/Test/Mftf/Section/ProductListWidgetSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="ProductListWidgetSection">
1212
<element name="AddToCartByName" type="button" selector="//*[contains(@class,'product-item-info')][descendant::a[contains(text(), '{{arg1}}')]]//button[contains(@class,'tocart')]" parameterized="true"/>
13+
<element name="AddToCompareByName" type="button" selector="//*[contains(@class,'product-item-info')][descendant::a[contains(text(), '{{arg1}}')]]//button[contains(@class,'tocompare')]" parameterized="true"/>
1314
</section>
1415
</sections>

0 commit comments

Comments
 (0)