Skip to content

Commit 33a940c

Browse files
committed
ACQE-5351: [MFTF PR TESTS] Replace magentoCli Commands for Cron with magentoCron
- Removing waits
1 parent 5ecf1fa commit 33a940c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontCustomerSelectAndSetBundleOptionsTest.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2424
<createData entity="SimpleProduct2" stepKey="simpleProduct1"/>
2525
<createData entity="SimpleProduct2" stepKey="simpleProduct2"/>
26-
27-
<magentoCron stepKey="runCronIndex" groups="index"/>
26+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="runCronIndex">
27+
<argument name="indices" value=""/>
28+
</actionGroup>
2829
</before>
2930
<after>
3031
<!-- Delete the bundled product -->
@@ -93,7 +94,7 @@
9394
<!-- Save product and go to storefront -->
9495
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
9596

96-
<wait stepKey="waitBeforeIndexerAfterBundle" time="60"/>
97+
<comment userInput="BIC workaround" stepKey="waitBeforeIndexerAfterBundle"/>
9798
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="runCronIndexerAfterBundle">
9899
<argument name="indices" value=""/>
99100
</actionGroup>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontValidateQuantityBundleProductsTest.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
2323
<createData entity="SimpleProduct2" stepKey="createProduct1"/>
2424
<createData entity="SimpleProduct2" stepKey="createProduct2"/>
25-
<magentoCron stepKey="runCronIndex" groups="index"/>
25+
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="runCronIndex">
26+
<argument name="indices" value=""/>
27+
</actionGroup>
2628
</before>
2729
<after>
2830
<!-- Delete the bundled product -->
@@ -71,7 +73,7 @@
7173
<!-- Save product and go to storefront -->
7274
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
7375

74-
<wait stepKey="waitBeforeIndexerAfterBundle" time="60"/>
76+
<comment userInput="BIC workaround" stepKey="waitBeforeIndexerAfterBundle"/>
7577
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="runCronIndexerAfterBundle">
7678
<argument name="indices" value=""/>
7779
</actionGroup>

0 commit comments

Comments
 (0)