Skip to content

Commit a7a572b

Browse files
Merge pull request #5158 from magento-engcom/2.3-develop-fix-for-msi
Revert changes that should be in Magento CE
2 parents f004950 + 54b2e88 commit a7a572b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11+
<!--Navigate to create order page (New Order -> Select Customer)-->
12+
<actionGroup name="NavigateToNewOrderPageExistingCustomerActionGroup">
13+
<arguments>
14+
<argument name="customer"/>
15+
<argument name="storeView" defaultValue="_defaultStore"/>
16+
</arguments>
17+
<amOnPage url="{{AdminOrdersPage.url}}" stepKey="navigateToOrderIndexPage"/>
18+
<waitForPageLoad stepKey="waitForIndexPageLoad"/>
19+
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="Orders" stepKey="seeIndexPageTitle"/>
20+
<click selector="{{AdminOrdersGridSection.createNewOrder}}" stepKey="clickCreateNewOrder"/>
21+
<waitForPageLoad stepKey="waitForCustomerGridLoad"/>
22+
23+
<conditionalClick selector="{{AdminOrderCustomersGridSection.resetButton}}" dependentSelector="{{AdminOrderCustomersGridSection.resetButton}}" visible="true" stepKey="clearExistingCustomerFilters"/>
24+
<fillField userInput="{{customer.email}}" selector="{{AdminOrderCustomersGridSection.emailInput}}" stepKey="filterEmail"/>
25+
<click selector="{{AdminOrderCustomersGridSection.apply}}" stepKey="applyFilter"/>
26+
<waitForPageLoad stepKey="waitForFilteredCustomerGridLoad"/>
27+
<click selector="{{AdminOrderCustomersGridSection.firstRow}}" stepKey="clickOnCustomer"/>
28+
<waitForPageLoad stepKey="waitForCreateOrderPageLoad"/>
29+
30+
<conditionalClick selector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" dependentSelector="{{AdminOrderStoreScopeTreeSection.storeOption(storeView.name)}}" visible="true" stepKey="selectStoreViewIfAppears"/>
31+
<waitForPageLoad stepKey="waitForCreateOrderPageLoadAfterStoreSelect"/>
32+
<see selector="{{AdminHeaderSection.pageTitle}}" userInput="Create New Order" stepKey="seeNewOrderPageTitle"/>
33+
</actionGroup>
34+
</actionGroups>

0 commit comments

Comments
 (0)