Skip to content

Commit 67ec8ca

Browse files
committed
MAGETWO-59632: Create Sales > Order from admin add configurable product and change options click OK does not update Items Ordered List
- FIx automated test
1 parent ac72939 commit 67ec8ca

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminOrderActionGroup.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,21 @@
122122
userInput="{{option.label}}" stepKey="selectionConfigurableOption"/>
123123
</actionGroup>
124124

125+
<actionGroup name="configureOrderedConfigurableProduct">
126+
<arguments>
127+
<argument name="attribute"/>
128+
<argument name="option"/>
129+
<argument name="quantity" type="string"/>
130+
</arguments>
131+
<click selector="{{AdminOrderFormItemsSection.configure}}" stepKey="clickConfigure"/>
132+
<waitForElementVisible selector="{{AdminOrderFormConfigureProductSection.optionSelect(attribute.default_frontend_label)}}" stepKey="waitForConfigurablePopover"/>
133+
<wait time="2" stepKey="waitForOptionsToLoad"/>
134+
<selectOption selector="{{AdminOrderFormConfigureProductSection.optionSelect(attribute.default_frontend_label)}}"
135+
userInput="{{option.label}}" stepKey="selectionConfigurableOption"/>
136+
<fillField selector="{{AdminOrderFormConfigureProductSection.quantity}}" userInput="{{quantity}}" stepKey="fillQuantity"/>
137+
<click selector="{{AdminOrderFormConfigureProductSection.ok}}" stepKey="clickOkConfigurablePopover"/>
138+
</actionGroup>
139+
125140
<!--Add bundle product to order -->
126141
<actionGroup name="addBundleProductToOrder">
127142
<arguments>

0 commit comments

Comments
 (0)