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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-store/Test/Mftf/Test/AdminCreateWebsiteTest.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright © Magento, Inc. All rights reserved.
  * See COPYING.txt for license details.
  */
-->
<!-- Test XML Example -->
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
    <test name="AdminCreateWebsiteTest">
        <annotations>
            <stories value="Create Website"/>
            <title value="Create Website and Verify Store Form"/>
            <description value="Test log in to Stores and Create Website Test"/>
            <testCaseId value="MC-14302"/>
            <severity value="CRITICAL"/>
            <group value="store"/>
            <group value="mtf_migrated"/>
        </annotations>

        <before>
            <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
        </before>
        <after>
            <actionGroup ref="AdminDeleteWebsiteActionGroup" stepKey="deleteWebsite">
                <argument name="websiteName" value="{{customWebsite.name}}"/>
            </actionGroup>
            <magentoCron groups="index" stepKey="reindex"/>
            <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
        </after>

        <!--Create website and AssertWebsiteSuccessSaveMessage-->
        <actionGroup ref="AdminCreateWebsiteActionGroup" stepKey="createWebsite">
            <argument name="newWebsiteName" value="{{customWebsite.name}}"/>
            <argument name="websiteCode" value="{{customWebsite.code}}"/>
        </actionGroup>
        <magentoCron groups="index" stepKey="reindex"/>

        <!--Search created website in grid and verify AssertWebsiteInGrid-->
        <actionGroup ref="AssertWebsiteInGridActionGroup" stepKey="seeWebsiteInGrid">
            <argument name="websiteName" value="{{customWebsite.name}}"/>
        </actionGroup>

        <!--Verify website name and websitecode on website form (AssertWebsiteForm and AssertWebsiteOnStoreForm)-->
        <actionGroup ref="AssertWebsiteFormActionGroup" stepKey="seeWebsiteForm">
            <argument name="websiteName" value="{{customWebsite.name}}"/>
            <argument name="websiteCode" value="{{customWebsite.code}}"/>
        </actionGroup>
    </test>
</tests>

Spamworldpro Mini