Skip to content

Commit

Permalink
delete users after tests in mftf (magento#22833: Short-term admin acc…
Browse files Browse the repository at this point in the history
…ounts)
  • Loading branch information
lfolco committed Oct 14, 2019
1 parent 91e0604 commit 47dfddb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,10 @@
</actionGroup>
<actionGroup ref="AssertMessageOnAdminLoginActionGroup" stepKey="checkLoginMessage" />

<!-- delete user -->
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<actionGroup ref="AdminDeleteCustomUserActionGroup" stepKey="deleteUser">
<argument name="user" value="NewAdminUser" />
</actionGroup>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,10 @@
</actionGroup>
<actionGroup ref="AssertAdminDashboardPageIsVisibleActionGroup" stepKey="seeDashboardPage"/>

<actionGroup ref="logout" stepKey="logoutAsUserWithValidExpiration"/>
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
<actionGroup ref="AdminDeleteCustomUserActionGroup" stepKey="deleteUser">
<argument name="user" value="NewAdminUser"/>
</actionGroup>
</test>
</tests>

0 comments on commit 47dfddb

Please sign in to comment.