File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
LoginAsCustomer/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 23
23
stepKey =" enableLoginAsCustomer" />
24
24
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
25
25
stepKey =" enableLoginAsCustomerAutoDetection" />
26
- <magentoCLI command =" cache:flush config" stepKey =" flushCacheBeforeTestRun" />
27
26
<createData entity =" _defaultCategory" stepKey =" createCategory" />
28
27
<createData entity =" SimpleProduct" stepKey =" createSimpleProduct" >
29
28
<requiredEntity createDataKey =" createCategory" />
30
29
</createData >
31
30
<createData entity =" Simple_US_Customer_Assistance_Allowed" stepKey =" createCustomer" />
32
31
<actionGroup ref =" AdminLoginActionGroup" stepKey =" login" />
32
+ <actionGroup ref =" CliIndexerReindexActionGroup" stepKey =" reindex" >
33
+ <argument name =" indices" value =" " />
34
+ </actionGroup >
35
+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanInvalidatedCachesAfterSet" >
36
+ <argument name =" tags" value =" config full_page" />
37
+ </actionGroup >
33
38
</before >
34
39
<after >
35
40
<deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
39
44
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
40
45
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
41
46
stepKey =" disableLoginAsCustomer" />
42
- <magentoCLI command =" cache:flush config" stepKey =" flushCacheAfterTestRun" />
47
+ <actionGroup ref =" CliIndexerReindexActionGroup" stepKey =" reindexAfter" >
48
+ <argument name =" indices" value =" " />
49
+ </actionGroup >
50
+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanInvalidatedCachesDefault" >
51
+ <argument name =" tags" value =" config full_page" />
52
+ </actionGroup >
43
53
</after >
44
54
45
55
<!-- Verify Login as Customer Login action works correctly from Customer page -->
Original file line number Diff line number Diff line change 21
21
</annotations >
22
22
<before >
23
23
<magentoCLI command =" config:set {{StorefrontEnableAddStoreCodeToUrls.path}} {{StorefrontEnableAddStoreCodeToUrls.value}}" stepKey =" addStoreCodeToUrlEnable" />
24
+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanInvalidatedCachesAfterSet" >
25
+ <argument name =" tags" value =" config full_page" />
26
+ </actionGroup >
24
27
</before >
25
28
<after >
26
29
<magentoCLI command =" config:set {{StorefrontDisableAddStoreCodeToUrls.path}} {{StorefrontDisableAddStoreCodeToUrls.value}}" stepKey =" addStoreCodeToUrlDisable" />
30
+ <actionGroup ref =" CliCacheCleanActionGroup" stepKey =" cleanInvalidatedCachesDefault" >
31
+ <argument name =" tags" value =" config full_page" />
32
+ </actionGroup >
27
33
</after >
28
34
29
35
<actionGroup ref =" StorefrontClickOnHeaderLogoActionGroup" stepKey =" clickOnStorefrontHeaderLogo" />
You can’t perform that action at this time.
0 commit comments