Skip to content

Commit fad4421

Browse files
committed
Fixed the mftf broken test
1 parent 69a3a19 commit fad4421

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<actionGroup ref="AdminSwitchAllIndexerToActionModeActionGroup" stepKey="onUpdateBySchedule">
5454
<argument name="action" value="Update by Schedule"/>
5555
</actionGroup>
56+
<wait time="30" stepKey="waitForLoad"/>
5657
</before>
5758
<after>
5859
<!-- Switch indexers to "Update on Save" mode -->
@@ -96,7 +97,7 @@
9697
<wait time="60" stepKey="waitForChanges"/>
9798
<magentoCLI command="cron:run --group index" stepKey="runCron"/>
9899
<magentoCLI command="cron:run --group index" stepKey="runCronTwice"/>
99-
<wait time="60" stepKey="waitForChanges1"/>
100+
<wait time="30" stepKey="waitForLoad"/>
100101

101102
<!-- 5. Open category A on Storefront again -->
102103
<actionGroup ref="ReloadPageActionGroup" stepKey="reloadCategoryA"/>
@@ -127,7 +128,7 @@
127128
<wait time="60" stepKey="waitOneMinute"/>
128129
<magentoCLI command="cron:run --group index" stepKey="runCron1"/>
129130
<magentoCLI command="cron:run --group index" stepKey="runCronTwice1"/>
130-
131+
<wait time="30" stepKey="waitForLoad"/>
131132
<!-- 9. Open category A on Storefront again -->
132133
<actionGroup ref="ReloadPageActionGroup" stepKey="refreshCategoryAPage"/>
133134

@@ -183,7 +184,7 @@
183184
<wait time="60" stepKey="waitMinute"/>
184185
<magentoCLI command="cron:run --group index" stepKey="runCron2"/>
185186
<magentoCLI command="cron:run --group index" stepKey="runCronTwice2"/>
186-
187+
<wait time="30" stepKey="waitForLoad1"/>
187188
<!-- 15. Open category B on Storefront -->
188189
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="onPageCategoryB">
189190
<argument name="categoryName" value="$$createCategoryB.name$$"/>
@@ -243,7 +244,7 @@
243244
<wait time="60" stepKey="waitForOneMinute"/>
244245
<magentoCLI command="cron:run --group index" stepKey="runCron3"/>
245246
<magentoCLI command="cron:run --group index" stepKey="runCronTwice3"/>
246-
247+
<wait time="30" stepKey="waitForLoad1"/>
247248
<!-- 17.15. Open category B on Storefront -->
248249
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="openPageCategoryB">
249250
<argument name="categoryName" value="$$createCategoryB.name$$"/>
@@ -305,7 +306,7 @@
305306
<wait time="60" stepKey="waitExtraMinute"/>
306307
<magentoCLI command="cron:run --group index" stepKey="runCron4"/>
307308
<magentoCLI command="cron:run --group index" stepKey="runCronTwice4"/>
308-
309+
<wait time="30" stepKey="waitForLoad1"/>
309310
<!-- 18.15. Open category B on Storefront -->
310311
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" stepKey="navigateToPageCategoryB">
311312
<argument name="categoryName" value="$$createCategoryB.name$$"/>

0 commit comments

Comments
 (0)