Your IP : 216.73.216.208
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="AdminDeleteNewUserActionGroup">
<annotations>
<description>Deletes a User that contains the name 'John'. PLEASE NOTE: The Action Group values are Hardcoded.</description>
</annotations>
<arguments>
<argument name="userName" type="string" defaultValue="John"/>
</arguments>
<click stepKey="clickOnUser" selector="{{AdminDeleteUserSection.theUser(userName)}}"/>
<fillField stepKey="typeCurrentPassword" selector="{{AdminDeleteUserSection.password}}" userInput="{{_CREDS.magento/MAGENTO_ADMIN_PASSWORD}}"/>
<scrollToTopOfPage stepKey="scrollToTop"/>
<click stepKey="clickToDeleteUser" selector="{{AdminDeleteUserSection.delete}}"/>
<waitForPageLoad stepKey="waitForDeletePopupOpen" time="5"/>
<click stepKey="clickToConfirm" selector="{{AdminDeleteUserSection.confirm}}"/>
<waitForPageLoad stepKey="waitForPageLoad" time="10"/>
<see userInput="You deleted the user." stepKey="seeSuccessMessage" />
</actionGroup>
</actionGroups>