Skip to content

Commit 6df4194

Browse files
ACQE-8641: [MFTF TESTS] AdminMassOrdersReleasePendingOrderTest
- Added select default store while order creation from admin.
1 parent 36d4d6f commit 6df4194

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
6-
*/
3+
/**
4+
* Copyright 2019 Adobe
5+
* All Rights Reserved.
6+
*/
77
-->
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -21,6 +21,8 @@
2121
<waitForPageLoad stepKey="waitForNewOrderPageOpened"/>
2222
<click stepKey="chooseCustomer" selector="{{AdminOrdersGridSection.customerInOrdersSection(customer.firstname)}}"/>
2323
<waitForPageLoad stepKey="waitForStoresPageOpened"/>
24+
<conditionalClick selector="{{AdminOrderFormStoreSelectorSection.defaultStoreViewButton}}" dependentSelector="{{AdminOrderFormStoreSelectorSection.storeSelectorContainer}}" visible="true" stepKey="selectDefaultStoreView"/>
25+
<waitForPageLoad stepKey="waitFPageOpened"/>
2426
<click selector="{{OrdersGridSection.addProducts}}" stepKey="clickOnAddProducts"/>
2527
<waitForPageLoad stepKey="waitForProductsListForOrder"/>
2628
<click selector="{{AdminOrdersGridSection.productForOrder(product.sku)}}" stepKey="chooseTheProduct"/>

0 commit comments

Comments
 (0)