Skip to content

Commit ed28dfe

Browse files
committed
fixed AdminEditCustomerOrdersSection.orderIdInGridUsingClassName selector
1 parent 15620b5 commit ed28dfe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Customer/Test/Mftf/Section/AdminEditCustomerOrdersSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
<section name="AdminEditCustomerOrdersSection">
1212
<element name="orderGrid" type="text" selector="#customer_orders_grid_table"/>
1313
<element name="orderIdInGrid" type="text" selector="//td[contains(., '{{orderId}}')]" parameterized="true"/>
14+
<element name="orderIdInGridUsingClassName" type="text" selector="//td[@class=' col-increment_id ' and contains(., '{{orderId}}')]" parameterized="true"/>
1415
</section>
1516
</sections>

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminOpenOrderByIdFromOrdersGridOnCustomerEditPageActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<argument name="orderId" type="string"/>
1717
</arguments>
1818

19-
<click selector="{{AdminEditCustomerOrdersSection.orderIdInGrid('$orderId')}}" stepKey="selectOrderById"/>
19+
<click selector="{{AdminEditCustomerOrdersSection.orderIdInGridUsingClassName('$orderId')}}" stepKey="selectOrderById"/>
2020
<waitForPageLoad stepKey="waitForOrderPageToOpen"/>
2121

2222
</actionGroup>

0 commit comments

Comments
 (0)