Skip to content

Commit 05deb9d

Browse files
committed
MQE-1384: Deliver weekly MTF to MFTF conversion
1 parent b601e3b commit 05deb9d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<element name="productGridElement2" type="text" selector="#addselector" />
1717
<element name="productGridRows" type="text" selector="table.data-grid tr.data-row"/>
1818
<element name="firstProductRow" type="text" selector="table.data-grid tr.data-row:first-of-type"/>
19+
<element name="firstProductRowEditButton" type="button" selector="table.data-grid tr.data-row td .action-menu-item:first-of-type"/>
1920
<element name="productThumbnail" type="text" selector="table.data-grid tr:nth-child({{row}}) td.data-grid-thumbnail-cell > img" parameterized="true"/>
2021
<element name="productThumbnailBySrc" type="text" selector="img.admin__control-thumbnail[src*='{{pattern}}']" parameterized="true"/>
2122
<element name="productGridCell" type="text" selector="//tr[{{row}}]//td[count(//div[@data-role='grid-wrapper']//tr//th[contains(., '{{column}}')]/preceding-sibling::th) +1 ]" parameterized="true"/>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminConfigurableProductUpdateAttributeTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
</actionGroup>
233233
<waitForPageLoad stepKey="waitForProductFilterLoad"/>
234234

235-
<click selector="{{AdminProductGridSection.firstRow}}" stepKey="clickOnProductPage"/>
235+
<click selector="{{AdminProductGridSection.firstProductRowEditButton}}" stepKey="clickOnProductPage"/>
236236
<waitForPageLoad stepKey="waitForProductPageLoad"/>
237237

238238
<!-- Open the wizard for editing configurations and fill out a new attribute -->

0 commit comments

Comments
 (0)