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([
452
452
}
453
453
} ,
454
454
455
+ /**
456
+ * Helper to find select element of currently confirmed item
457
+ */
458
+ getCurrentConfirmedSelectElement : function ( ) {
459
+ return $ ( this . confirmedCurrentId ) . getElementsByTagName ( 'select' ) ;
460
+ } ,
461
+
455
462
/**
456
463
* Helper to find qty of active form
457
464
*/
Original file line number Diff line number Diff line change 11
11
<section name =" AdminOrderFormItemsOrderedSection" >
12
12
<element name =" addProductsBySku" type =" button" selector =" //section[@id='order-items']//span[contains(text(),'Add Products By SKU')]" />
13
13
<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 " />
15
15
<element name =" configureProductQtyField" type =" input" selector =" //*[@id='super-product-table']/tbody/tr[{{arg}}]/td[5]/input[1]" parameterized =" true" />
16
16
<element name =" addProductToOrder" type =" input" selector =" //*[@title='Add Products to Order']" timeout =" 30" />
17
17
<element name =" itemsOrderedSummaryText" type =" textarea" selector =" //table[@class='data-table admin__table-primary order-tables']/tfoot/tr" />
18
18
<element name =" configureSelectAttribute" type =" select" selector =" select[id*=attribute]" />
19
19
<element name =" itemsSKU" type =" text" selector =" (//div[contains(@class, 'product-sku-block')])[{{productNumber}}]" parameterized =" true" />
20
20
<element name =" moveProduct" type =" select" selector =" //td[contains(.,'{{productName}}')]/../..//td//select" parameterized =" true" />
21
21
<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" />
22
23
</section >
23
24
</sections >
You can’t perform that action at this time.
0 commit comments