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/Test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-customer/Test/Mftf/Test/DeleteCustomerGroupTest.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright © Magento, Inc. All rights reserved.
  * See COPYING.txt for license details.
  */
-->

<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
    <test name="DeleteCustomerGroupTest">
        <annotations>
            <features value="Customer"/>
            <stories value="Delete Customer Group"/>
            <title value="Delete Customer Group in Admin Panel"/>
            <description value="Admin should be able to delete a Customer Group"/>
            <testCaseId value="MC-14590"/>
            <severity value="MAJOR"/>
            <group value="customers"/>
            <group value="mtf_migrated"/>
        </annotations>

        <before>
            <createData entity="CustomCustomerGroup" stepKey="customerGroup"/>
            <createData entity="UsCustomerAssignedToNewCustomerGroup" stepKey="customer">
                <requiredEntity createDataKey="customerGroup"/>
            </createData>
            <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
        </before>
        <after>
            <deleteData createDataKey="customer" stepKey="deleteCustomer"/>
            <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
        </after>

        <!--Customer Group success delete message-->
        <actionGroup ref="AdminDeleteCustomerGroupActionGroup" stepKey="deleteCustomerGroup">
            <argument name="customerGroupName" value="$$customerGroup.code$$"/>
        </actionGroup>
        <actionGroup ref="AssertCustomerGroupNotInGridActionGroup" stepKey="assertCustomerGroupNotInGrid">
            <argument name="customerGroup" value="$$customerGroup$$"/>
        </actionGroup>

        <actionGroup ref="AdminOpenCustomerEditPageActionGroup" stepKey="openCustomerEditPage">
            <argument name="customerId" value="$$customer.id$$"/>
        </actionGroup>

        <actionGroup ref="AssertCustomerGroupOnCustomerFormActionGroup" stepKey="assertCustomerGroupOnCustomerForm">
            <argument name="customerGroup" value="GeneralCustomerGroup"/>
        </actionGroup>

        <actionGroup ref="AdminOpenNewProductFormPageActionGroup" stepKey="openNewProductForm"/>

        <actionGroup ref="AssertCustomerGroupNotOnProductFormActionGroup" stepKey="assertCustomerGroupNotOnProductForm">
            <argument name="customerGroup" value="$$customerGroup$$"/>
        </actionGroup>
    </test>
</tests>

Spamworldpro Mini