Skip to content

Commit 62f69dc

Browse files
committed
MC-18165: Quick search with two chars shows all products
1 parent bbe226d commit 62f69dc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdvanceCatalogSearchSimpleProductTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@
1919
<group value="Catalog"/>
2020
</annotations>
2121
<before>
22+
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
23+
<actionGroup ref="deleteAllProductsUsingProductGrid" stepKey="deleteAllProducts"/>
2224
<createData entity="ApiProductWithDescription" stepKey="product"/>
2325
</before>
2426
<after>
2527
<deleteData createDataKey="product" stepKey="delete"/>
28+
<actionGroup ref="logout" stepKey="logoutFromAdmin"/>
2629
</after>
2730
</test>
2831
<test name="AdvanceCatalogSearchSimpleProductBySkuTest">

app/code/Magento/CatalogSearch/Test/Mftf/Test/AdvanceCatalogSearchSimpleProductTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<actionGroup ref="GoToStoreViewAdvancedCatalogSearchActionGroup" stepKey="GoToStoreViewAdvancedCatalogSearchActionGroup"/>
2222
<actionGroup ref="StorefrontAdvancedCatalogSearchByProductNameActionGroup" stepKey="search">
23-
<argument name="name" value="$$product.name$$"/>
23+
<argument name="name" value="&quot;$$product.name$$&quot;"/>
2424
</actionGroup>
2525
<actionGroup ref="StorefrontCheckAdvancedSearchResultActionGroup" stepKey="StorefrontCheckAdvancedSearchResult"/>
2626
<see userInput="1 item" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/>

0 commit comments

Comments
 (0)