File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
CatalogRule/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 25
25
<requiredEntity createDataKey =" createCategory" />
26
26
</createData >
27
27
28
+ <!-- Perform reindex and flush cache -->
29
+ <magentoCLI command =" indexer:reindex" stepKey =" reindex" />
30
+ <magentoCLI command =" cache:flush" stepKey =" flushCache" />
31
+
28
32
<!-- log in and create the price rule -->
29
33
<actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
30
34
<actionGroup stepKey =" createNewPriceRule" ref =" newCatalogPriceRuleByUI" />
31
35
<actionGroup stepKey =" selectNotLoggedInCustomerGroup" ref =" selectNotLoggedInCustomerGroup" />
32
36
<click stepKey =" saveAndApply" selector =" {{AdminNewCatalogPriceRule.saveAndApply}}" />
33
37
<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" />
38
38
</before >
39
39
<after >
40
40
<!-- delete the simple product and catalog price rule and logout -->
Original file line number Diff line number Diff line change 26
26
<createData entity =" Simple_US_Customer" stepKey =" customer" />
27
27
</before >
28
28
29
+ <!-- Perform reindex and flush cache -->
30
+ <magentoCLI command =" indexer:reindex" stepKey =" reindex" />
31
+ <magentoCLI command =" cache:flush" stepKey =" flushCache" />
32
+
29
33
<actionGroup ref =" LoginToStorefrontActionGroup" stepKey =" loginToStorefrontAccount" >
30
34
<argument name =" Customer" value =" $$customer$$" />
31
35
</actionGroup >
You can’t perform that action at this time.
0 commit comments