Skip to content

Commit b538a51

Browse files
committed
ACP2E-1753: cleanup on MC-14271
1 parent 1e32555 commit b538a51

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/code/Magento/User/Test/Mftf/ActionGroup/AdminDeleteNewUserActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<argument name="userName" type="string" defaultValue="John"/>
1717
</arguments>
1818
<click stepKey="clickOnUser" selector="{{AdminDeleteUserSection.theUser(userName)}}"/>
19-
<fillField stepKey="typeCurrentPassword" selector="{{AdminDeleteUserSection.password}}" userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
19+
<fillField stepKey="typeCurrentPassword" selector="{{AdminDeleteUserSection.password}}" userInput="{{_CREDS.magento/MAGENTO_ADMIN_PASSWORD}}"/>
2020
<scrollToTopOfPage stepKey="scrollToTop"/>
2121
<click stepKey="clickToDeleteUser" selector="{{AdminDeleteUserSection.delete}}"/>
2222
<waitForPageLoad stepKey="waitForDeletePopupOpen" time="5"/>

app/code/Magento/User/Test/Mftf/Test/AdminDeleteOwnAdminUserAccountTest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
<after>
3636
<!-- Delete New Admin User -->
3737
<actionGroup ref="AdminLoginActionGroup" stepKey="LoginAdmin"/>
38-
<actionGroup ref="AdminDeleteUserViaCurlActionGroup" stepKey="deleteUser">
39-
<argument name="user" value="$$user$$" />
38+
<actionGroup ref="AdminOpenAdminUsersPageActionGroup" stepKey="goToAllUsersPage"/>
39+
<actionGroup ref="AdminDeleteNewUserActionGroup" stepKey="deleteUser">
40+
<argument name="userName" value="$$user.username$$"/>
4041
</actionGroup>
4142
<actionGroup ref="AdminLogoutActionGroup" stepKey="logOut"/>
4243
</after>

0 commit comments

Comments
 (0)