Skip to content

Commit 327dc98

Browse files
committed
Merge remote-tracking branch 'origin/MC-40028' into 2.4-develop-pr142
2 parents c859072 + ad0b684 commit 327dc98

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

app/code/Magento/Catalog/view/adminhtml/web/catalog/product/composite/configure.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,13 @@ define([
452452
}
453453
},
454454

455+
/**
456+
* Helper to find select element of currently confirmed item
457+
*/
458+
getCurrentConfirmedSelectElement: function () {
459+
return $(this.confirmedCurrentId).getElementsByTagName('select');
460+
},
461+
455462
/**
456463
* Helper to find qty of active form
457464
*/

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
<section name="AdminOrderFormItemsOrderedSection">
1212
<element name="addProductsBySku" type="button" selector="//section[@id='order-items']//span[contains(text(),'Add Products By SKU')]"/>
1313
<element name="configureButtonBySku" type="button" selector="//div[@class='sku-configure-button']//span[contains(text(),'Configure')]"/>
14-
<element name="configureProductOk" type="button" selector="//div[@class='page-main-actions']//span[contains(text(),'OK')]"/>
14+
<element name="configureProductOk" type="button" selector="//div[@class='page-main-actions']//span[contains(text(),'OK')]" timeout="30"/>
1515
<element name="configureProductQtyField" type="input" selector="//*[@id='super-product-table']/tbody/tr[{{arg}}]/td[5]/input[1]" parameterized="true"/>
1616
<element name="addProductToOrder" type="input" selector="//*[@title='Add Products to Order']" timeout="30"/>
1717
<element name="itemsOrderedSummaryText" type="textarea" selector="//table[@class='data-table admin__table-primary order-tables']/tfoot/tr"/>
1818
<element name="configureSelectAttribute" type="select" selector="select[id*=attribute]"/>
1919
<element name="itemsSKU" type="text" selector="(//div[contains(@class, 'product-sku-block')])[{{productNumber}}]" parameterized="true"/>
2020
<element name="moveProduct" type="select" selector="//td[contains(.,'{{productName}}')]/../..//td//select" parameterized="true"/>
2121
<element name="productMessage" type="text" selector="//section[@id = 'order-items']//span[text()='{{productName}}']/ancestor::tr/..//div[contains(@class, 'message-{{messageType}}')]" parameterized="true"/>
22+
<element name="productPrice" type="text" selector="//div[@id = 'order-errors']//strong[text()='{{productName}}']/ancestor::tr/td[@data-column='price']" timeout="30" parameterized="true"/>
2223
</section>
2324
</sections>

0 commit comments

Comments
 (0)