Skip to content

Commit 522ffa1

Browse files
committed
ACQE-8973: [MFTF TESTS] AdminCreateOrderWithSelectedShoppingCartItemsTest
- Select default store views during order creation if multiple store view available.
1 parent 2687b48 commit 522ffa1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/Sales/Test/Mftf/Test/AdminCreateOrderWithSelectedShoppingCartItemsTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
<argument name="customer" value="$$simpleCustomer$$"/>
5959
</actionGroup>
6060

61+
<!--Step 3.1: Select Default Store View if store selector appears-->
62+
<conditionalClick selector="{{AdminOrderFormStoreSelectorSection.defaultStoreViewButton}}" dependentSelector="{{AdminOrderFormStoreSelectorSection.storeSelectorContainer}}" visible="true" stepKey="selectDefaultStoreView"/>
63+
<waitForPageLoad stepKey="waitForStoreViewSelected"/>
64+
6165
<!--Step 4: Add product2 to the order-->
6266
<actionGroup ref="AddSimpleProductToOrderActionGroup" stepKey="addSimpleProductToOrder">
6367
<argument name="product" value="$$product2$$"/>

0 commit comments

Comments
 (0)