Skip to content

Commit 62aefbb

Browse files
shanthishanthi
authored andcommitted
ACQE-4220
1 parent 161d083 commit 62aefbb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/EditOrderWithBundleProductBackendTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,17 @@
163163
<click selector="{{AdminOrderFormConfigureProductSection.ok}}" stepKey="clickOkConfigurablePopover2"/>
164164
<click selector="{{AdminOrderFormItemsSection.updateItemsAndQuantities}}" stepKey="clickUpdateItemsAndQuantity"/>
165165
<grabTextFrom selector="{{AdminOrderFormItemsOrderedSection.itemsSKU('1')}}" stepKey="grabSKU"/>
166+
<grabTextFrom selector="{{AdminOrderFormItemsSection.productName}}" stepKey="grabProductName"/>
166167

167-
<waitForPageLoad stepKey="waitForPageload"/>
168168
<!-- Check that product total is correct -->
169169
<assertStringContainsString stepKey="AssertSKU">
170170
<actualResult type="const">$grabSKU</actualResult>
171171
<expectedResult type="string">SKU:</expectedResult>
172172
</assertStringContainsString>
173173

174174
<assertStringContainsString stepKey="AssertBundleProduct">
175-
<actualResult type="const">$grabSKU</actualResult>
176-
<expectedResult type="const">$$createBundleProduct.sku$$</expectedResult>
175+
<actualResult type="const">$grabProductName</actualResult>
176+
<expectedResult type="string">$$createBundleProduct.name$$</expectedResult>
177177
</assertStringContainsString>
178178

179179
<assertStringContainsString stepKey="AssertProduct2">

app/code/Magento/Sales/Test/Mftf/Section/AdminOrderFormItemsSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838
<element name="removeCoupon" type="button" selector=".added-coupon-code .action-remove"/>
3939
<element name="totalRecords" type="text" selector="#sales_order_create_search_grid-total-count"/>
4040
<element name="numberOfPages" type="text" selector="div.admin__data-grid-pager-wrap div.admin__data-grid-pager > label"/>
41+
<element name="productName" type="button" selector="(.//*[@class='col-product'])[2]/span"/>
4142
</section>
4243
</sections>

0 commit comments

Comments
 (0)