Skip to content

Commit f5001f7

Browse files
authored
Merge pull request #94 from magento-arcticfoxes/MC-20336
Mc 20336
2 parents 5be20b6 + c5e08c8 commit f5001f7

8 files changed

+19
-8
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/CatalogSearch/Test/Mftf/Test/LayerNavigationOfCatalogSearchTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
<fillField selector="{{AdminProductAttributeSection.customAttribute($$createPriceAttribute.attribute_code$$)}}" userInput="70" stepKey="fillCustomPrice2"/>
5858
<click selector="{{AdminProductFormSection.save}}" stepKey="clickSaveButton2"/>
5959
<waitForPageLoad stepKey="waitForSimpleProductSaved2"/>
60+
61+
<!--Run re-index task-->
62+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
63+
6064
<!--Navigate to category on Storefront-->
6165
<comment userInput="Navigate to category on Storefront" stepKey="comment3"/>
6266
<amOnPage url="{{StorefrontCategoryPage.url($$subCategory.name$$)}}" stepKey="goToCategoryStorefront"/>

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"/>

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontDisplayAllCharactersOnTextSwatchTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<fillField selector="{{AdminManageSwatchSection.swatchTextByIndex('3')}}" userInput="123456789012345678901" stepKey="fillSwatch3" after="clickAddSwatch3"/>
3030
<fillField selector="{{AdminManageSwatchSection.swatchAdminDescriptionByIndex('3')}}" userInput="123456789012345678901BrownD" stepKey="fillDescription3" after="fillSwatch3"/>
3131

32+
<!--Run re-index task-->
33+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
34+
3235
<see selector="{{StorefrontCategorySidebarSection.attributeNthOption(ProductAttributeFrontendLabel.label, '3')}}" userInput="123456789012345678901" stepKey="seeGreen" after="seeBlue"/>
3336
<see selector="{{StorefrontCategorySidebarSection.attributeNthOption(ProductAttributeFrontendLabel.label, '4')}}" userInput="123456789012345678901" stepKey="seeBrown" after="seeGreen"/>
3437

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontFilterByImageSwatchTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@
103103
<argument name="image" value="TestImageAdobe"/>
104104
</actionGroup>
105105

106+
<!-- Run re-index task-->
107+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
108+
106109
<!-- Go to the category page -->
107110
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>
108111
<waitForPageLoad stepKey="waitForCategoryPage"/>

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontFilterByTextSwatchTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@
8282
<argument name="attributeCode" value="{{ProductAttributeFrontendLabel.label}}"/>
8383
</actionGroup>
8484

85+
<!--Run re-index task-->
86+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
87+
8588
<!-- Go to the category page -->
8689
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>
8790
<waitForPageLoad stepKey="waitForCategoryPage"/>

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontFilterByVisualSwatchTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
<argument name="attributeCode" value="{{ProductAttributeFrontendLabel.label}}"/>
9595
</actionGroup>
9696

97+
<!-- Run re-index task-->
98+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
99+
97100
<!-- Go to the category page -->
98101
<amOnPage url="$$createCategory.name$$.html" stepKey="amOnCategoryPage"/>
99102
<waitForPageLoad stepKey="waitForCategoryPage"/>

var/.htaccess

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)