Skip to content

Commit 5a8eb63

Browse files
fixed functional test for bundle product validation
1 parent 1046d8f commit 5a8eb63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<requiredEntity createDataKey="simpleProduct2"/>
3737
<field key="qty">4</field>
3838
</createData>
39-
<magentoCLI command="indexer:reindex" arguments="cataloginventory_stock" stepKey="reindex"/>
39+
<magentoCron stepKey="runCronIndex" groups="indexer:reindex"/>
4040
</before>
4141
<after>
4242
<deleteData createDataKey="bundleProduct" stepKey="deleteBundleProduct"/>
@@ -48,7 +48,7 @@
4848
</actionGroup>
4949
<actionGroup ref="StorefrontSelectCustomizeAndAddToTheCartButtonActionGroup" stepKey="customizeBundleProduct"/>
5050
<actionGroup ref="StorefrontAddToTheCartButtonActionGroup" stepKey="addToCartBundleProduct"/>
51-
<actionGroup ref="AssertStorefrontBundleValidationCountActionGroup" stepKey="assertBundleValidationCount"/>
51+
<actionGroup ref="AssertStorefrontBundleValidationMessagesCountActionGroup" stepKey="assertBundleValidationCount"/>
5252
<actionGroup ref="AssertStorefrontBundleValidationMessageActionGroup" stepKey="assertBundleValidationMessage">
5353
<argument name="message" value="Please select one of the options."/>
5454
</actionGroup>

0 commit comments

Comments
 (0)