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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-email/Test/Mftf/Test/TransactionalEmailsLogoUploadTest.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="TransactionalEmailsLogoUploadTest">
        <annotations>
            <features value="Email"/>
            <stories value="Transactional Emails logo"/>
            <title value="Uploading a Transactional Emails logo"/>
            <description value="Transactional Emails Logo should be able to be uploaded in the admin and previewed"/>
            <severity value="CRITICAL"/>
            <testCaseId value="MC-27620"/>
            <useCaseId value="MC-10932"/>
            <group value="theme"/>
            <group value="email"/>
        </annotations>
        <before>
            <!--Login to Admin Area-->
            <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
        </before>
        <after>
            <!-- Clear filter on Design Config Page -->
            <amOnPage url="{{DesignConfigPage.url}}" stepKey="navigateToDesignConfigPage" />
            <waitForPageLoad stepKey="waitForPageLoadToViewDesignConfigPage"/>
            <actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearFilter"/>
            <!--Logout from Admin Area-->
            <actionGroup ref="AdminLogoutActionGroup" stepKey="logoutOfAdmin"/>
        </after>
        <!--Navigate to content->Design->Config page-->
        <amOnPage url="{{DesignConfigPage.url}}" stepKey="navigateToDesignConfigPage" />
        <waitForPageLoad stepKey="waitForPageLoadToViewDesignConfigPage"/>
        <actionGroup ref="AdminGridFilterSearchResultsBySelectActionGroup" stepKey="filterThemeDesignConfiguration">
            <argument name="attributeSelector" value="store_id"/>
            <argument name="attributeValue" value="{{_defaultStore.name}}"/>
        </actionGroup>
        <click selector="{{AdminDesignConfigSection.scopeRow('1')}}" stepKey="editStoreView"/>
        <waitForPageLoad stepKey="waitForPageLoadToOpenStoreViewEditPage"/>
        <!-- Upload Image -->
        <actionGroup ref="AdminUploadTransactionEmailsImageActionGroup" stepKey="uploadImage">
            <argument name="width" value="200"/>
            <argument name="height" value="100"/>
        </actionGroup>
        <!--Save Design Configuration -->
        <actionGroup ref="ClickSaveButtonActionGroup" stepKey="saveDesignConfiguration">
            <argument name="message" value="You saved the configuration."/>
        </actionGroup>
    </test>
</tests>

Spamworldpro Mini