/
ThemeTest.xml
33 lines (32 loc) · 1.41 KB
/
ThemeTest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?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="logout" stepKey="logoutOfAdmin"/>
</after>
<!--Login to Admin Area-->
<actionGroup ref="LoginAsAdmin" 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>