File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 163
163
<click selector =" {{AdminOrderFormConfigureProductSection.ok}}" stepKey =" clickOkConfigurablePopover2" />
164
164
<click selector =" {{AdminOrderFormItemsSection.updateItemsAndQuantities}}" stepKey =" clickUpdateItemsAndQuantity" />
165
165
<grabTextFrom selector =" {{AdminOrderFormItemsOrderedSection.itemsSKU('1')}}" stepKey =" grabSKU" />
166
+ <grabTextFrom selector =" {{AdminOrderFormItemsSection.productName}}" stepKey =" grabProductName" />
166
167
167
- <waitForPageLoad stepKey =" waitForPageload" />
168
168
<!-- Check that product total is correct -->
169
169
<assertStringContainsString stepKey =" AssertSKU" >
170
170
<actualResult type =" const" >$grabSKU</actualResult >
171
171
<expectedResult type =" string" >SKU:</expectedResult >
172
172
</assertStringContainsString >
173
173
174
174
<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 >
177
177
</assertStringContainsString >
178
178
179
179
<assertStringContainsString stepKey =" AssertProduct2" >
Original file line number Diff line number Diff line change 38
38
<element name =" removeCoupon" type =" button" selector =" .added-coupon-code .action-remove" />
39
39
<element name =" totalRecords" type =" text" selector =" #sales_order_create_search_grid-total-count" />
40
40
<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" />
41
42
</section >
42
43
</sections >
You can’t perform that action at this time.
0 commit comments