Skip to content

Commit 1004f65

Browse files
committed
Merge remote-tracking branch 'origin/MC-34482-Vasyltsun' into MC-34482
# Conflicts: # app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportSimpleProductWithCustomAttributeTest.xml # app/code/Magento/MessageQueue/Test/Mftf/ActionGroup/AdminStartMessageQueueConsumerActionGroup.xml # app/code/Magento/MessageQueue/Test/Mftf/Data/QueueConsumerData.xml
2 parents b2168ec + caecffe commit 1004f65

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportSimpleProductWithCustomAttributeTest.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
<requiredEntity createDataKey="createAttributeSet"/>
2929
</createData>
3030

31-
<magentoCron stepKey="runCron"/>
31+
<magentoCLI command="cron:run" arguments="--group index" stepKey="cronRun"/>
32+
<magentoCLI command="cron:run" arguments="--group index" stepKey="cronRunToStartReindex"/>
3233
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
3334
</before>
3435
<after>
@@ -48,12 +49,10 @@
4849
<!-- Export created below products -->
4950
<actionGroup ref="ExportAllProductsActionGroup" stepKey="exportCreatedProducts"/>
5051

51-
<magentoCron stepKey="runCronIndex" groups="index"/>
52-
53-
<wait stepKey="waitForReindexing" time="60" />
52+
<!-- Start message queue for export consumer -->
53+
<actionGroup ref="AdminStartMessageQueueConsumerActionGroup" stepKey="startMessageQueue"/>
5454
<reloadPage stepKey="pageReload" />
5555
<waitForPageLoad stepKey="waitForPageLoaded" />
56-
5756
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="grabNameFile"/>
5857

5958
<!-- Download product -->

0 commit comments

Comments
 (0)