Skip to content

Commit e41a816

Browse files
committed
MC-20336: Update tests related to Catalog Search and Swatches
1 parent 113519a commit e41a816

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/code/Magento/CatalogSearch/Test/Mftf/ActionGroup/AdminSetMinimalQueryLengthActionGroup.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
<see userInput="{{MinMaxQueryLength.Hint}}" selector="{{AdminCatalogSearchConfigurationSection.maxQueryLengthHint}}" stepKey="seeHint2"/>
2626
<uncheckOption selector="{{AdminCatalogSearchConfigurationSection.minQueryLengthInherit}}" stepKey="uncheckSystemValue"/>
2727
<fillField selector="{{AdminCatalogSearchConfigurationSection.minQueryLength}}" userInput="{{minLength}}" stepKey="setMinQueryLength"/>
28+
<!--Scrolling till Category Permissions to make sure the collapse tab for Catalog Search is visible-->
29+
<scrollTo selector="{{AdminCatalogSearchConfigurationSection.categoryPermissions}}" stepKey="scrollToCatalogSearchTab1"/>
2830
<click selector="{{AdminCatalogSearchConfigurationSection.catalogSearchTab}}" stepKey="collapseTab"/>
2931
<click selector="{{ContentManagementSection.Save}}" stepKey="saveConfig"/>
3032
<waitForPageLoad stepKey="waitForConfigSaved"/>

app/code/Magento/Config/Test/Mftf/Section/CatalogSearchAdminConfigSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
-->
88
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
99
<section name="AdminCatalogSearchConfigurationSection">
10+
<element name="categoryPermissions" type="button" selector="#catalog_magento_catalogpermissions-head"/>
1011
<element name="catalogSearchTab" type="button" selector="#catalog_search-head"/>
1112
<element name="checkIfCatalogSearchTabExpand" type="button" selector="#catalog_search-head:not(.open)"/>
1213
<element name="searchEngineDefaultSystemValue" type="checkbox" selector="#catalog_search_engine_inherit"/>

0 commit comments

Comments
 (0)