| Current Path : /home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/Test/ |
| Current File : //home/rtorresani/www/vendor/magento/module-cms/Test/Mftf/Test/AdminCreateCmsPageTest.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="AdminCreateCmsPageTest">
<annotations>
<features value="Cms"/>
<stories value="Create a CMS Page via the Admin"/>
<title value="Admin should be able to create a CMS Page"/>
<description value="Admin should be able to create a CMS Page"/>
<severity value="CRITICAL"/>
<testCaseId value="MAGETWO-25580"/>
<group value="Cms"/>
</annotations>
<before>
<actionGroup ref="AdminDisableWYSIWYGActionGroup" stepKey="disableWYSYWYG"/>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginGetFromGeneralFile"/>
<comment userInput="BIC workaround" stepKey="disableWYSIWYG"/>
</before>
<after>
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="navigateToCmsPageGrid"/>
<actionGroup ref="ResetAdminDataGridToDefaultViewActionGroup" stepKey="clearGridFilters"/>
<actionGroup ref="DeletePageByUrlKeyActionGroup" stepKey="deletePage">
<argument name="UrlKey" value="{{_defaultCmsPage.identifier}}"/>
</actionGroup>
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>
<actionGroup ref="AdminEnableWYSIWYGActionGroup" stepKey="enableWYSYWYG"/>
</after>
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="navigateToCmsPageGrid"/>
<actionGroup ref="CreateNewPageWithBasicValues" stepKey="createNewPageWithBasicValues"/>
<actionGroup ref="SaveCmsPageActionGroup" stepKey="clickSaveCmsPageButton"/>
<actionGroup ref="VerifyCreatedCmsPage" stepKey="verifyCmsPage"/>
<comment userInput="BIC workaround" stepKey="deletePage"/>
</test>
</tests>