-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENGCOM-6425: Resolve Duplicate Records when sorting column in Content…
…->Themes Grid issue25925 #25926
- Loading branch information
Showing
3 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
app/code/Magento/Theme/Test/Mftf/Test/AdminContentThemeSortTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?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="AdminContentThemesSortTest"> | ||
<annotations> | ||
<features value="Theme"/> | ||
<stories value="Menu Navigation"/> | ||
<title value="Admin content themes sort themes test"/> | ||
<description value="Admin should be able to sort Themes"/> | ||
<severity value="CRITICAL"/> | ||
<testCaseId value="https://github.com/magento/magento2/pull/25926"/> | ||
<group value="menu"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="LoginAsAdmin"/> | ||
</before> | ||
<after> | ||
<actionGroup ref="logout" stepKey="logout"/> | ||
</after> | ||
<actionGroup ref="AdminNavigateMenuActionGroup" stepKey="navigateToContentThemesPage"> | ||
<argument name="menuUiId" value="{{AdminMenuContent.dataUiId}}"/> | ||
<argument name="submenuUiId" value="{{AdminMenuContentDesignThemes.dataUiId}}"/> | ||
</actionGroup> | ||
<actionGroup ref="AdminAssertPageTitleActionGroup" stepKey="seePageTitle"> | ||
<argument name="title" value="{{AdminMenuContentDesignThemes.pageTitle}}"/> | ||
</actionGroup> | ||
<click selector="{{AdminThemeSection.columnHeader('Theme Title')}}" stepKey="clickSortByTitle"/> | ||
<click selector="{{AdminThemeSection.columnHeader('Theme Title')}}" stepKey="clickSortByTitleSecondTime"/> | ||
<seeNumberOfElements selector="{{AdminThemeSection.rowsInColumn('theme_path')}}" userInput="2" stepKey="see2RowsOnTheGrid"/> | ||
<seeNumberOfElements selector="{{AdminThemeSection.gridCellUpdated('Magento Luma')}}" userInput="1" stepKey="seeLumaThemeInTitleColumn"/> | ||
</test> | ||
</tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters