File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
app/code/Magento/CatalogRule/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 31
31
<actionGroup stepKey =" selectNotLoggedInCustomerGroup" ref =" selectNotLoggedInCustomerGroup" />
32
32
<click stepKey =" saveAndApply" selector =" {{AdminNewCatalogPriceRule.saveAndApply}}" />
33
33
<see stepKey =" assertSuccess" selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" userInput =" You saved the rule." />
34
+
35
+ <!-- Perform reindex and flush cache -->
36
+ <magentoCLI command =" indexer:reindex" stepKey =" reindex" />
37
+ <magentoCLI command =" cache:flush" stepKey =" flushCache" />
34
38
</before >
35
39
<after >
36
40
<!-- delete the simple product and catalog price rule and logout -->
Original file line number Diff line number Diff line change 29
29
<selectOption selector =" {{AdminNewCatalogPriceRule.status}}" userInput =" Inactive" stepKey =" setInactive" />
30
30
<click selector =" {{AdminNewCatalogPriceRule.saveAndApply}}" stepKey =" saveAndApply" />
31
31
<see selector =" {{AdminCategoryMessagesSection.SuccessMessage}}" userInput =" You saved the rule." stepKey =" seeSuccess" />
32
+
33
+ <!-- Perform reindex and flush cache -->
34
+ <magentoCLI command =" indexer:reindex" stepKey =" reindex" />
35
+ <magentoCLI command =" cache:flush" stepKey =" flushCache" />
32
36
</before >
33
37
<after >
34
38
<deleteData createDataKey =" createProduct" stepKey =" deleteSimpleProduct" />
You can’t perform that action at this time.
0 commit comments