|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
| 8 | + |
| 9 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 11 | + <test name="AdminContentThemesSortTest"> |
| 12 | + <annotations> |
| 13 | + <features value="Theme"/> |
| 14 | + <stories value="Menu Navigation"/> |
| 15 | + <title value="Admin content themes sort themes test"/> |
| 16 | + <description value="Admin should be able to sort Themes"/> |
| 17 | + <severity value="CRITICAL"/> |
| 18 | + <testCaseId value="https://github.com/magento/magento2/pull/25926"/> |
| 19 | + <group value="menu"/> |
| 20 | + </annotations> |
| 21 | + <before> |
| 22 | + <actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/> |
| 23 | + </before> |
| 24 | + <after> |
| 25 | + <actionGroup ref="logout" stepKey="logout"/> |
| 26 | + </after> |
| 27 | + <actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToContentThemesPage"> |
| 28 | + <argument name="menuUiId" value="{{AdminMenuContent.dataUiId}}"/> |
| 29 | + <argument name="submenuUiId" value="{{AdminMenuContentDesignThemes.dataUiId}}"/> |
| 30 | + </actionGroup> |
| 31 | + <actionGroup ref="AdminAssertPageTitleActionGroup" stepKey="seePageTitle"> |
| 32 | + <argument name="title" value="{{AdminMenuContentDesignThemes.pageTitle}}"/> |
| 33 | + </actionGroup> |
| 34 | + <click selector="{{AdminThemeSection.columnHeader('Theme Title')}}" stepKey="clickSortByTitle"/> |
| 35 | + <click selector="{{AdminThemeSection.columnHeader('Theme Title')}}" stepKey="clickSortByTitleSecondTime"/> |
| 36 | + <seeNumberOfElements selector="{{AdminThemeSection.rowsInColumn('theme_path')}}" userInput="2" stepKey="see2RowsOnTheGrid"/> |
| 37 | + <seeElement selector="{{AdminThemeSection.gridCellUpdated('Magento Luma')}}" stepKey="seeLumaThemeInTitleColumn"/> |
| 38 | + <seeElement selector="{{AdminThemeSection.gridCellUpdated('Magento Blank')}}" stepKey="seeBlankThemeInTitleColumn"/> |
| 39 | + </test> |
| 40 | +</tests> |
0 commit comments