| Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-theme/Test/Mftf/Test/ |
| Current File : /var/www/clients/client3/web2/web/vendor/magento/module-theme/Test/Mftf/Test/ThemeTest.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="ThemeTest">
<annotations>
<features value="Theme"/>
<stories value="Themes"/>
<title value="Magento Rush theme should not be available in Themes grid"/>
<description value="Magento Rush theme should not be available in Themes grid"/>
<severity value="MAJOR"/>
<testCaseId value="MAGETWO-91409"/>
<group value="Theme"/>
</annotations>
<after>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutOfAdmin"/>
</after>
<!--Login to Admin Area-->
<actionGroup ref="AdminLoginActionGroup" stepKey="loginToAdminArea"/>
<!--Navigate to Themes page-->
<amOnPage url="{{ThemesPageIndex.url}}" stepKey="navigateToThemesIndexPage" />
<waitForPageLoad stepKey="wait1"/>
<dontSee selector="{{AdminThemeSection.gridCell('Magento Rush')}}" stepKey="dontSeeRushThemeInTitleColumn"/>
<waitForPageLoad stepKey="waitForThemeGridLoad"/>
<seeNumberOfElements selector="{{AdminThemeSection.rowsInColumn('theme_path')}}" userInput="2" stepKey="see2RowsOnTheGrid"/>
</test>
</tests>