Skip to content

Commit 328cbaf

Browse files
committed
MC-35717: Admin can not add a Product with a Customizable Option (File) to Order by SKU
1 parent f545b8a commit 328cbaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<section name="AdminOrderFormCustomOptionsSection">
1111
<element name="quantity" type="input" selector="//input[@id='product_composite_configure_input_qty']"/>
1212
<element name="file" type="file" selector="//input[@type='file'][contains(@class, 'product-custom-option')]" />
13-
<element name="buttonOk" type="button" selector="//button[contains(@class, 'action-primary')][@data-role='action']"/>
13+
<element name="buttonOk" type="button" selector="//button[contains(@class, 'action-primary')][@data-role='action']" timeout="30"/>
1414
<element name="linkChange" type="text" selector="//div[contains(@class, 'entry-edit')]//a[contains(text(),'Change')]"/>
1515
</section>
1616
</sections>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<element name="configureButtonBySku" type="button" selector="//div[@class='sku-configure-button']//span[contains(text(),'Configure')]"/>
1414
<element name="configureProductOk" type="button" selector="//div[@class='page-main-actions']//span[contains(text(),'OK')]"/>
1515
<element name="configureProductQtyField" type="input" selector="//*[@id='super-product-table']/tbody/tr[{{arg}}]/td[5]/input[1]" parameterized="true"/>
16-
<element name="addProductToOrder" type="input" selector="//*[@title='Add Products to Order']"/>
16+
<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"/>

0 commit comments

Comments
 (0)