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/StorefrontAddStoreCodeInUrlTest.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="StorefrontAddStoreCodeInUrlTest">
        <annotations>
            <features value="Backend"/>
            <stories value="Admin Panel URL with Store Code"/>
            <title value="Store code should be added to storefront URL if the corresponding configuration is enabled"/>
            <description value="Store code should be added to storefront URL if the corresponding configuration is enabled"/>
            <testCaseId value="MC-15944"/>
            <severity value="CRITICAL"/>
            <group value="store"/>
            <group value="mtf_migrated"/>
            <group value="pr_exclude"/>
        </annotations>
        <before>
            <magentoCLI command="config:set {{StorefrontEnableAddStoreCodeToUrls.path}} {{StorefrontEnableAddStoreCodeToUrls.value}}" stepKey="addStoreCodeToUrlEnable"/>
            <actionGroup ref="CliCacheFlushActionGroup" stepKey="flushPageCache">
                <argument name="tags" value="full_page"/>
            </actionGroup>
        </before>
        <after>
            <magentoCLI command="config:set {{StorefrontDisableAddStoreCodeToUrls.path}} {{StorefrontDisableAddStoreCodeToUrls.value}}" stepKey="addStoreCodeToUrlDisable"/>
            <actionGroup ref="CliCacheFlushActionGroup" stepKey="flushPageCacheAfter">
                <argument name="tags" value="full_page"/>
            </actionGroup>
        </after>

        <actionGroup ref="StorefrontClickOnHeaderLogoActionGroup" stepKey="clickOnStorefrontHeaderLogo"/>
        <actionGroup ref="AssertStorefrontStoreCodeInUrlActionGroup" stepKey="seeStoreCodeInUrl"/>
    </test>
</tests>

Spamworldpro Mini