File tree 19 files changed +35
-38
lines changed
LoginAsCustomer/Test/Mftf/Test
19 files changed +35
-38
lines changed Original file line number Diff line number Diff line change 23
23
<requiredEntity createDataKey =" createCategory" />
24
24
</createData >
25
25
<magentoCLI command =" config:set {{CatalogInventoryOptionsOnlyXleftThreshold.path}} 10000" stepKey =" setStockThresholdQty" />
26
- <magentoCLI command = " cache:flush config " stepKey =" flushCache" />
26
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCache" />
27
27
</before >
28
28
<after >
29
29
<deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
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" />
26
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
27
27
<createData entity =" _defaultCategory" stepKey =" createCategory" />
28
28
<createData entity =" SimpleProduct" stepKey =" createSimpleProduct" >
29
29
<requiredEntity createDataKey =" createCategory" />
38
38
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
39
39
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
40
40
stepKey =" disableLoginAsCustomer" />
41
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
41
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
42
42
</after >
43
43
44
44
<!-- Admin Login as Customer from Customer page -->
Original file line number Diff line number Diff line change 28
28
<magentoCLI
29
29
command =" config:set {{StorefrontEnableAddStoreCodeToUrls.path}} {{StorefrontEnableAddStoreCodeToUrls.value}}"
30
30
stepKey =" enableAddStoreCodeToUrls" />
31
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
31
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
32
32
<actionGroup ref =" AdminLoginActionGroup" stepKey =" adminLogin" />
33
33
<actionGroup ref =" AdminCreateStoreViewActionGroup" stepKey =" createCustomStoreView" />
34
34
</before >
43
43
<magentoCLI
44
44
command =" config:set {{StorefrontDisableAddStoreCodeToUrls.path}} {{StorefrontDisableAddStoreCodeToUrls.value}}"
45
45
stepKey =" disableAddStoreCodeToUrls" />
46
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
46
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
47
47
</after >
48
48
49
49
<!-- Login as Customer from Customer page -->
Original file line number Diff line number Diff line change 26
26
<magentoCLI
27
27
command =" config:set {{StorefrontEnableAddStoreCodeToUrls.path}} {{StorefrontEnableAddStoreCodeToUrls.value}}"
28
28
stepKey =" enableAddStoreCodeToUrls" />
29
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
29
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
30
30
<actionGroup ref =" AdminLoginActionGroup" stepKey =" adminLogin" />
31
31
<actionGroup ref =" AdminCreateWebsiteActionGroup" stepKey =" createCustomWebsite" >
32
32
<argument name =" newWebsiteName" value =" {{customWebsite.name}}" />
60
60
<magentoCLI
61
61
command =" config:set {{StorefrontDisableAddStoreCodeToUrls.path}} {{StorefrontDisableAddStoreCodeToUrls.value}}"
62
62
stepKey =" disableAddStoreCodeToUrls" />
63
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
63
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
64
64
</after >
65
65
66
66
<!-- Login as Customer from Customer page -->
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" />
26
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
27
27
<createData entity =" Simple_US_Customer_Assistance_Allowed" stepKey =" createCustomer" />
28
28
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAdmin" />
29
29
</before >
32
32
<deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
33
33
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
34
34
stepKey =" disableLoginAsCustomer" />
35
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
35
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
36
36
</after >
37
37
38
38
<!-- Login as Customer Login from Customer page -->
Original file line number Diff line number Diff line change 19
19
</annotations >
20
20
<before >
21
21
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0" stepKey =" disableLoginAsCustomer" />
22
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
22
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
23
23
<actionGroup ref =" AdminLoginActionGroup" stepKey =" login" />
24
24
</before >
25
25
<after >
Original file line number Diff line number Diff line change 24
24
stepKey =" enableLoginAsCustomer" />
25
25
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
26
26
stepKey =" enableLoginAsCustomerAutoDetection" />
27
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
27
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
28
28
<createData entity =" NewAdminUser" stepKey =" createNewAdmin" />
29
29
<createData entity =" Simple_US_Customer_Assistance_Allowed" stepKey =" createFirstCustomer" />
30
30
<createData entity =" Simple_US_CA_Customer_Assistance_Allowed" stepKey =" createSecondCustomer" />
40
40
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutAfter" />
41
41
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
42
42
stepKey =" disableLoginAsCustomer" />
43
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
43
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
44
44
</after >
45
45
46
46
<!-- Login into First Customer account -->
Original file line number Diff line number Diff line change 29
29
stepKey =" enableLoginAsCustomer" />
30
30
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 1"
31
31
stepKey =" enableLoginAsCustomerManualChoose" />
32
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
32
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
33
33
<actionGroup ref =" AdminLoginActionGroup" stepKey =" adminLogin" />
34
34
<actionGroup ref =" AdminCreateNewStoreGroupActionGroup" stepKey =" createCustomStore" >
35
35
<argument name =" website" value =" {{_defaultWebsite.name}}" />
54
54
stepKey =" disableLoginAsCustomer" />
55
55
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
56
56
stepKey =" enableLoginAsCustomerAutoDetection" />
57
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
57
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
58
58
<deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
59
59
<deleteData createDataKey =" createProduct" stepKey =" deleteProduct" />
60
60
<deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
Original file line number Diff line number Diff line change 25
25
stepKey =" enableLoginAsCustomer" />
26
26
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 1"
27
27
stepKey =" enableLoginAsCustomerManualChoose" />
28
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
28
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
29
29
<actionGroup ref =" AdminLoginActionGroup" stepKey =" adminLogin" />
30
30
<actionGroup ref =" AdminCreateNewStoreGroupActionGroup" stepKey =" createCustomStore" >
31
31
<argument name =" website" value =" {{_defaultWebsite.name}}" />
50
50
stepKey =" disableLoginAsCustomer" />
51
51
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
52
52
stepKey =" enableLoginAsCustomerAutoDetection" />
53
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
53
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
54
54
<deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
55
55
</after >
56
56
Original file line number Diff line number Diff line change 30
30
stepKey =" enableLoginAsCustomer" />
31
31
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
32
32
stepKey =" enableLoginAsCustomerAutoDetection" />
33
- <actionGroup ref =" CliCacheFlushActionGroup" stepKey =" flushCacheBeforeTestRun" >
34
- <argument name =" tags" value =" config" />
35
- </actionGroup >
36
-
33
+ <comment userInput =" Adding the comment to replace 'cache:flush' command for preserving Backward Compatibility" stepKey =" flushCacheBeforeTestRun" />
37
34
<createData entity =" SimpleProduct2" stepKey =" createProduct1" />
38
35
<createData entity =" SimpleProduct2" stepKey =" createProduct2" />
39
36
<createData entity =" Simple_US_Customer_Assistance_Allowed_Two_Addresses" stepKey =" createCustomer" />
47
44
<actionGroup ref =" AdminOrdersGridClearFiltersActionGroup" stepKey =" clearAllOrdersGridFilters" />
48
45
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" adminLogout" />
49
46
<actionGroup ref =" CliDisableFreeShippingMethodActionGroup" stepKey =" disableFreeShipping" />
50
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
47
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
51
48
</after >
52
49
53
50
<!-- Login as Customer from Customer page -->
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" />
26
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
27
27
<createData entity =" _defaultCategory" stepKey =" createCategory" />
28
28
<createData entity =" SimpleProduct" stepKey =" createProduct" >
29
29
<requiredEntity createDataKey =" createCategory" />
59
59
60
60
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
61
61
stepKey =" disableLoginAsCustomer" />
62
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
62
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
63
63
</after >
64
64
65
65
<!-- Login as Customer from Customer page -->
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" />
26
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
27
27
<createData entity =" _defaultCategory" stepKey =" createCategory" />
28
28
<createData entity =" SimpleProduct" stepKey =" createProduct" >
29
29
<requiredEntity createDataKey =" createCategory" />
59
59
60
60
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
61
61
stepKey =" disableLoginAsCustomer" />
62
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
62
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
63
63
</after >
64
64
65
65
<!-- Login to storefront as Customer -->
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" />
26
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
27
27
<createData entity =" Simple_US_Customer_Assistance_Allowed" stepKey =" createCustomer" />
28
28
<actionGroup ref =" AdminLoginActionGroup" stepKey =" login" />
29
29
</before >
30
30
<after >
31
31
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
32
32
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
33
33
stepKey =" disableLoginAsCustomer" />
34
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
34
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
35
35
</after >
36
36
37
37
<!-- Admin Login as Customer from Customer page -->
Original file line number Diff line number Diff line change 24
24
stepKey =" enableLoginAsCustomer" />
25
25
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
26
26
stepKey =" enableLoginAsCustomerAutoDetection" />
27
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
27
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
28
28
<createData entity =" Simple_US_Customer_Assistance_Allowed" stepKey =" createCustomer" />
29
29
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsDefaultUser" />
30
30
</before >
33
33
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutAfter" />
34
34
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
35
35
stepKey =" disableLoginAsCustomer" />
36
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
36
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
37
37
</after >
38
38
39
39
<!-- Login into Customer account -->
Original file line number Diff line number Diff line change 22
22
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 1" stepKey =" enableLoginAsCustomer" />
23
23
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
24
24
stepKey =" enableLoginAsCustomerAutoDetection" />
25
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
25
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
26
26
<createData entity =" Simple_US_Customer_Assistance_Allowed" stepKey =" createFirstCustomer" />
27
27
<createData entity =" Simple_US_CA_Customer_Assistance_Allowed" stepKey =" createSecondCustomer" />
28
28
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsDefaultUser" />
33
33
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutAfter" />
34
34
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
35
35
stepKey =" disableLoginAsCustomer" />
36
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
36
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
37
37
</after >
38
38
39
39
<!-- Login into First Customer account -->
Original file line number Diff line number Diff line change 24
24
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 1" stepKey =" enableLoginAsCustomer" />
25
25
<magentoCLI command =" config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
26
26
stepKey =" enableLoginAsCustomerAutoDetection" />
27
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheBeforeTestRun" />
27
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheBeforeTestRun" />
28
28
<createData entity =" _defaultCategory" stepKey =" createCategory" />
29
29
<createData entity =" SimpleProduct" stepKey =" createSimpleProduct" >
30
30
<requiredEntity createDataKey =" createCategory" />
67
67
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logOut" />
68
68
69
69
<magentoCLI command =" config:set {{LoginAsCustomerConfigDataEnabled.path}} 0" stepKey =" disableLoginAsCustomer" />
70
- <magentoCLI command = " cache:flush config " stepKey =" flushCacheAfterTestRun" />
70
+ <comment userInput = " Adding the comment to replace ' cache:flush' command for preserving Backward Compatibility " stepKey =" flushCacheAfterTestRun" />
71
71
</after >
72
72
73
73
<!-- Login as new User -->
You can’t perform that action at this time.
0 commit comments