Skip to content

Commit 68122a3

Browse files
committed
ACQE-4622: [MFTF TESTS] AdminCreateOrdersAndCheckGridsTest
1 parent 396d799 commit 68122a3

File tree

3 files changed

+23
-10
lines changed

3 files changed

+23
-10
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
<suites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Suite/etc/suiteSchema.xsd">
11+
<suite name="AsyncOperationsSuite">
12+
<include>
13+
<group name="async_operations"/>
14+
</include>
15+
</suite>
16+
</suites>

app/code/Magento/AsyncConfig/Test/Mftf/Test/AsyncConfigurationTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<severity value="MAJOR"/>
1717
<testCaseId value="ACPT-885"/>
1818
<group value="configuration"/>
19+
<group value="async_operations" />
1920
</annotations>
2021
<before>
2122
<!--Enable Async Configuration-->

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<useCaseId value="ACP2E-1367" />
1717
<testCaseId value="AC-7106" />
1818
<group value="sales"/>
19+
<group value="async_operations" />
1920
</annotations>
2021
<before>
2122
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
@@ -47,8 +48,7 @@
4748
<requiredEntity createDataKey="createGuestCartOne"/>
4849
</updateData>
4950

50-
<magentoCLI command="cron:run --group=default" stepKey="runCronOne"/>
51-
<wait stepKey="waitForRunCronOne" time="60" />
51+
<magentoCron groups="default" stepKey="runCronOne"/>
5252

5353
<createData entity="Invoice" stepKey="invoiceOrderOne">
5454
<requiredEntity createDataKey="createGuestCartOne"/>
@@ -70,8 +70,7 @@
7070
<requiredEntity createDataKey="createGuestCartOne"/>
7171
</createData>
7272

73-
<magentoCLI command="cron:run --group=default" stepKey="runCronTwo"/>
74-
<wait stepKey="waitForRunCronTwo" time="60" />
73+
<magentoCron groups="default" stepKey="runCronTwo"/>
7574

7675
<createData entity="GuestCart" stepKey="createGuestCartThree"/>
7776
<createData entity="SimpleCartItem" stepKey="addCartItemThree">
@@ -97,8 +96,7 @@
9796
<requiredEntity createDataKey="createGuestCartTwo"/>
9897
</createData>
9998

100-
<magentoCLI command="cron:run --group=default" stepKey="runCronThree"/>
101-
<wait stepKey="waitForRunCronThree" time="60" />
99+
<magentoCron groups="default" stepKey="runCronThree"/>
102100

103101
<createData entity="Invoice" stepKey="invoiceOrderTwo">
104102
<requiredEntity createDataKey="createGuestCartTwo"/>
@@ -112,15 +110,13 @@
112110
<requiredEntity createDataKey="createGuestCartTwo"/>
113111
</createData>
114112

115-
<magentoCLI command="cron:run --group=default" stepKey="runCronFour"/>
116-
<wait stepKey="waitForRunCronFour" time="60" />
113+
<magentoCron groups="default" stepKey="runCronFour"/>
117114

118115
<createData entity="CreditMemo" stepKey="refundOrderThree">
119116
<requiredEntity createDataKey="createGuestCartThree"/>
120117
</createData>
121118

122-
<magentoCLI command="cron:run --group=default" stepKey="runCronFive"/>
123-
<wait stepKey="waitForRunCronFive" time="60" />
119+
<magentoCron groups="default" stepKey="runCronFive"/>
124120

125121
<actionGroup ref="AdminLoginActionGroup" stepKey="LoginAsAdmin"/>
126122

0 commit comments

Comments
 (0)