Skip to content

Commit bbe226d

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@
447447
<group value="mtf_migrated"/>
448448
</annotations>
449449
<before>
450+
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
451+
<actionGroup ref="deleteAllProductsUsingProductGrid" stepKey="deleteAllProducts"/>
450452
<createData entity="ApiProductWithDescription" stepKey="simple1"/>
451453
<createData entity="ApiGroupedProduct" stepKey="createProduct"/>
452454
<createData entity="OneSimpleProductLink" stepKey="addProductOne">
@@ -460,10 +462,11 @@
460462
</before>
461463
<after>
462464
<deleteData stepKey="deleteProduct" createDataKey="createProduct"/>
465+
<actionGroup ref="logout" stepKey="logoutFromAdmin"/>
463466
</after>
464467
<amOnPage url="{{StorefrontHomePage.url}}" stepKey="goToFrontPage"/>
465468
<actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="searchStorefront">
466-
<argument name="phrase" value="$createProduct.name$"/>
469+
<argument name="phrase" value="&quot;$createProduct.name$&quot;"/>
467470
</actionGroup>
468471
<actionGroup ref="StorefrontAddToCartFromQuickSearch" stepKey="addProductToCart">
469472
<argument name="productName" value="$createProduct.name$"/>

0 commit comments

Comments
 (0)