File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Catalog/view/adminhtml/web/catalog/product/composite Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments