Skip to content

Commit c7ef24b

Browse files
committed
Fixed the broken mftf test
1 parent ec10221 commit c7ef24b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminProductCategoryIndexerInUpdateOnScheduleModeTest.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
<actionGroup ref="AdminSwitchAllIndexerToActionModeActionGroup" stepKey="onUpdateBySchedule">
5454
<argument name="action" value="Update by Schedule"/>
5555
</actionGroup>
56-
<wait time="30" stepKey="waitForLoad1"/>
5756
</before>
5857
<after>
5958
<!-- Switch indexers to "Update on Save" mode -->
@@ -97,7 +96,6 @@
9796
<wait time="60" stepKey="waitForChanges"/>
9897
<magentoCLI command="cron:run --group index" stepKey="runCron"/>
9998
<magentoCLI command="cron:run --group index" stepKey="runCronTwice"/>
100-
<wait time="30" stepKey="waitForLoad2"/>
10199

102100
<!-- 5. Open category A on Storefront again -->
103101
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadCategoryA"/>
@@ -128,7 +126,7 @@
128126
<wait time="60" stepKey="waitOneMinute"/>
129127
<magentoCLI command="cron:run --group index" stepKey="runCron1"/>
130128
<magentoCLI command="cron:run --group index" stepKey="runCronTwice1"/>
131-
<wait time="30" stepKey="waitForLoad3"/>
129+
132130
<!-- 9. Open category A on Storefront again -->
133131
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshCategoryAPage"/>
134132

@@ -184,7 +182,7 @@
184182
<wait time="60" stepKey="waitMinute"/>
185183
<magentoCLI command="cron:run --group index" stepKey="runCron2"/>
186184
<magentoCLI command="cron:run --group index" stepKey="runCronTwice2"/>
187-
<wait time="30" stepKey="waitForLoad4"/>
185+
188186
<!-- 15. Open category B on Storefront -->
189187
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="onPageCategoryB">
190188
<argument name="categoryName" value="$$createCategoryB.name$$"/>
@@ -244,7 +242,7 @@
244242
<wait time="60" stepKey="waitForOneMinute"/>
245243
<magentoCLI command="cron:run --group index" stepKey="runCron3"/>
246244
<magentoCLI command="cron:run --group index" stepKey="runCronTwice3"/>
247-
<wait time="30" stepKey="waitForLoad5"/>
245+
248246
<!-- 17.15. Open category B on Storefront -->
249247
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openPageCategoryB">
250248
<argument name="categoryName" value="$$createCategoryB.name$$"/>
@@ -306,7 +304,7 @@
306304
<wait time="60" stepKey="waitExtraMinute"/>
307305
<magentoCLI command="cron:run --group index" stepKey="runCron4"/>
308306
<magentoCLI command="cron:run --group index" stepKey="runCronTwice4"/>
309-
<wait time="30" stepKey="waitForLoad6"/>
307+
310308
<!-- 18.15. Open category B on Storefront -->
311309
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="navigateToPageCategoryB">
312310
<argument name="categoryName" value="$$createCategoryB.name$$"/>

0 commit comments

Comments
 (0)