Skip to content

Commit d2a58bc

Browse files
committed
add indexing and clean the cache after enableing flat rate
1 parent a2268af commit d2a58bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontCategoryRulesShouldApplyToGroupedProductWithInvisibleIndividualProductTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
</annotations>
2020
<before>
2121
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
22+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
23+
<magentoCLI command="cache:flush" stepKey="flushCache"/>
2224
<createData entity="ApiCategory" stepKey="createCategoryOne"/>
2325
<createData entity="ApiSimpleProduct" stepKey="createFirstSimpleProduct">
2426
<field key ="price">100</field>

0 commit comments

Comments
 (0)