Skip to content

Commit 396d799

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

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
</updateData>
4949

5050
<magentoCLI command="cron:run --group=default" stepKey="runCronOne"/>
51+
<wait stepKey="waitForRunCronOne" time="60" />
5152

5253
<createData entity="Invoice" stepKey="invoiceOrderOne">
5354
<requiredEntity createDataKey="createGuestCartOne"/>
@@ -70,6 +71,7 @@
7071
</createData>
7172

7273
<magentoCLI command="cron:run --group=default" stepKey="runCronTwo"/>
74+
<wait stepKey="waitForRunCronTwo" time="60" />
7375

7476
<createData entity="GuestCart" stepKey="createGuestCartThree"/>
7577
<createData entity="SimpleCartItem" stepKey="addCartItemThree">
@@ -96,6 +98,7 @@
9698
</createData>
9799

98100
<magentoCLI command="cron:run --group=default" stepKey="runCronThree"/>
101+
<wait stepKey="waitForRunCronThree" time="60" />
99102

100103
<createData entity="Invoice" stepKey="invoiceOrderTwo">
101104
<requiredEntity createDataKey="createGuestCartTwo"/>
@@ -110,16 +113,14 @@
110113
</createData>
111114

112115
<magentoCLI command="cron:run --group=default" stepKey="runCronFour"/>
116+
<wait stepKey="waitForRunCronFour" time="60" />
113117

114118
<createData entity="CreditMemo" stepKey="refundOrderThree">
115119
<requiredEntity createDataKey="createGuestCartThree"/>
116120
</createData>
117121

118122
<magentoCLI command="cron:run --group=default" stepKey="runCronFive"/>
119-
<magentoCLI command="cron:run --group=default" stepKey="runCronSix"/>
120-
<magentoCLI command="cron:run --group=default" stepKey="runCronSeven"/>
121-
<magentoCLI command="cron:run --group=default" stepKey="runCronEight"/>
122-
<magentoCLI command="cron:run --group=default" stepKey="runCronNine"/>
123+
<wait stepKey="waitForRunCronFive" time="60" />
123124

124125
<actionGroup ref="AdminLoginActionGroup" stepKey="LoginAsAdmin"/>
125126

@@ -135,7 +136,7 @@
135136
<argument name="entityId" value="$createGuestCartOne.return$"/>
136137
</actionGroup>
137138

138-
<waitForPageLoad time="30" stepKey="waitForPageLoadOne"/>
139+
<wait time="30" stepKey="waitOne"/>
139140

140141
<actionGroup ref="AdminOpenInvoiceTabFromOrderPageActionGroup" stepKey="openInvoicesTabOrdersPageOne"/>
141142
<waitForLoadingMaskToDisappear stepKey="waitForInvoiceGridLoadingMask1" after="openInvoicesTabOrdersPageOne"/>
@@ -150,7 +151,7 @@
150151
<argument name="entityId" value="$createGuestCartTwo.return$"/>
151152
</actionGroup>
152153

153-
<waitForPageLoad time="30" stepKey="waitForPageLoadTwo"/>
154+
<wait time="30" stepKey="waitTwo"/>
154155

155156
<actionGroup ref="AdminOpenInvoiceTabFromOrderPageActionGroup" stepKey="openInvoicesTabOrdersPageTwo"/>
156157
<waitForLoadingMaskToDisappear stepKey="waitForInvoiceGridLoadingMask2" after="openInvoicesTabOrdersPageTwo"/>
@@ -165,7 +166,7 @@
165166
<argument name="entityId" value="$createGuestCartThree.return$"/>
166167
</actionGroup>
167168

168-
<waitForPageLoad time="30" stepKey="waitForPageLoadThree"/>
169+
<wait time="30" stepKey="waitThree"/>
169170

170171
<actionGroup ref="AdminOpenInvoiceTabFromOrderPageActionGroup" stepKey="openInvoicesTabOrdersPageThree"/>
171172
<waitForLoadingMaskToDisappear stepKey="waitForInvoiceGridLoadingMask3" after="openInvoicesTabOrdersPageThree"/>

0 commit comments

Comments
 (0)