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-customer/Test/Mftf/ActionGroup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-customer/Test/Mftf/ActionGroup/DeleteCustomerActionGroup.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="DeleteCustomerActionGroup">
        <annotations>
            <description>Goes to the Admin Customers grid page. Deletes a Customer based on the provided Last Name.</description>
        </annotations>
        <arguments>
            <argument name="lastName" defaultValue=""/>
        </arguments>

        <!--Clear filter if exist-->
        <amOnPage url="{{AdminCustomerPage.url}}" stepKey="navigateToCustomers"/>
        <conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clearExistingCustomerFilters"/>

        <click stepKey="chooseCustomer" selector="{{CustomersPageSection.customerCheckbox(lastName)}}"/>
        <waitForAjaxLoad stepKey="waitForThick" time="2"/>
        <click stepKey="OpenActions" selector="{{CustomersPageSection.actions}}"/>
        <waitForAjaxLoad stepKey="waitForDelete" time="5"/>
        <click stepKey="ChooseDelete" selector="{{CustomersPageSection.delete}}"/>
        <waitForPageLoad stepKey="waitForDeleteItemPopup" time="10"/>
        <click stepKey="clickOnOk" selector="{{CustomersPageSection.ok}}"/>
        <waitForElementVisible stepKey="waitForSuccessfullyDeletedMessage" selector="{{CustomersPageSection.deletedSuccessMessage}}" time="10"/>
        <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskDisappear"/>
    </actionGroup>
</actionGroups>

Spamworldpro Mini