Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/magento/module-user/Test/Mftf/ActionGroup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-user/Test/Mftf/ActionGroup/AdminCreateUserActionGroup.xml
<?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="AdminCreateUserActionGroup">
        <annotations>
            <description>Goes to the Admin Users grid page. Clicks on Create User. Fills in the provided Role and User.</description>
        </annotations>
        <arguments>
            <argument name="role"/>
            <argument name="User" defaultValue="newAdmin"/>
        </arguments>

        <amOnPage url="{{AdminUsersPage.url}}" stepKey="amOnAdminUsersPage"/>
        <waitForPageLoad stepKey="waitForAdminUserPageLoad"/>
        <click selector="{{AdminCreateUserSection.create}}" stepKey="clickToCreateNewUser"/>
        <fillField selector="{{AdminEditUserSection.usernameTextField}}" userInput="{{User.username}}" stepKey="enterUserName"/>
        <fillField selector="{{AdminEditUserSection.firstNameTextField}}" userInput="{{User.firstName}}" stepKey="enterFirstName"/>
        <fillField selector="{{AdminEditUserSection.lastNameTextField}}" userInput="{{User.lastName}}" stepKey="enterLastName"/>
        <fillField selector="{{AdminEditUserSection.emailTextField}}" userInput="{{User.username}}@magento.com" stepKey="enterEmail"/>
        <fillField selector="{{AdminEditUserSection.passwordTextField}}" userInput="{{User.password}}" stepKey="enterPassword"/>
        <fillField selector="{{AdminEditUserSection.pwConfirmationTextField}}" userInput="{{User.password}}" stepKey="confirmPassword"/>
        <fillField selector="{{AdminEditUserSection.currentPasswordField}}" userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}" stepKey="enterCurrentPassword"/>
        <scrollToTopOfPage stepKey="scrollToTopOfPage"/>
        <click selector="{{AdminEditUserSection.userRoleTab}}" stepKey="clickUserRole"/>
        <waitForPageLoad stepKey="waitForAdminUserRoleTabLoad"/>
        <fillField selector="{{AdminEditUserSection.roleNameFilterTextField}}" userInput="{{role.name}}" stepKey="filterRole"/>
        <click selector="{{AdminEditUserSection.searchButton}}" stepKey="clickSearch"/>
        <waitForPageLoad stepKey="waitForLoadingMaskToDisappear1"/>
        <click selector="{{AdminEditUserSection.searchResultFirstRow}}" stepKey="selectRole"/>
        <click selector="{{AdminEditUserSection.saveButton}}" stepKey="clickSaveUser"/>
        <waitForPageLoad stepKey="waitForPageLoad2"/>
        <see userInput="You saved the user." stepKey="seeSuccessMessage"/>
    </actionGroup>
</actionGroups>

Spamworldpro Mini