Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Hotel committed Nov 4, 2020
1 parent 85b410d commit 312d9d4
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
stepKey="enableLoginAsCustomer"/>
<magentoCLI command="config:set {{LoginAsCustomerStoreViewLogin.path}} 0"
stepKey="enableLoginAsCustomerAutoDetection"/>
<magentoCLI command="cache:flush config" stepKey="flushCacheBeforeTestRun"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="flushCacheBeforeTestRun">
<argument name="tags" value="config"/>
</actionGroup>
<createData entity="Simple_US_Customer_Assistance_Allowed" stepKey="createFirstCustomer"/>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsDefaultUser"/>
</before>
Expand All @@ -37,7 +39,9 @@
<!-- Set config back-->
<magentoCLI command="config:set {{LoginAsCustomerConfigDataEnabled.path}} 0"
stepKey="disableLoginAsCustomer"/>
<magentoCLI command="cache:flush config" stepKey="flushCacheAfterTestRun"/>
<actionGroup ref="CliCacheCleanActionGroup" stepKey="flushCacheAfterTestRun">
<argument name="tags" value="config"/>
</actionGroup>
</after>
<!-- Login into First Customer account -->
<actionGroup ref="AdminLoginAsCustomerLoginFromCustomerPageActionGroup"
Expand Down

0 comments on commit 312d9d4

Please sign in to comment.