Skip to content

Commit 8b5c270

Browse files
authored
ACQE-7372 | [MFTF TESTS] StorefrontPartialWordQuickSearchStemmingTest
1 parent 86078eb commit 8b5c270

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,32 +75,36 @@
7575
</after>
7676
<!--Navigate to home page-->
7777
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToHomePage"/>
78-
<!--Search for word "5127S"-->
78+
<!--Search for word "5127AB"-->
7979
<actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="search1">
80-
<argument name="phrase" value="5127S"/>
80+
<argument name="phrase" value="5127AB"/>
8181
</actionGroup>
8282
<!--Assert that product1 is present in the search result-->
83-
<actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct1">
83+
<comment userInput="BIC workaround" stepKey="seeProduct1"/>
84+
<actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct1inAB">
8485
<argument name="productName" value="$$product1.name$$"/>
8586
</actionGroup>
8687
<!--Assert that product2 is not present in the search result-->
8788
<actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct2">
8889
<argument name="productName" value="$$product2.name$$"/>
8990
</actionGroup>
9091
<!--Assert that product2 is not present in the search result-->
91-
<actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct3">
92+
<comment userInput="BIC workaround" stepKey="dontSeeProduct3"/>
93+
<actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct3inAB">
9294
<argument name="productName" value="$$product3.name$$"/>
9395
</actionGroup>
9496
<!--Assert that product4 is present in the search result-->
95-
<actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct4">
97+
<comment userInput="BIC workaround" stepKey="seeProduct4"/>
98+
<actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct4inAB">
9699
<argument name="productName" value="$$product4.name$$"/>
97100
</actionGroup>
98101
<!--Assert that product5 is not present in the search result-->
99102
<actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct5">
100103
<argument name="productName" value="$$product5.name$$"/>
101104
</actionGroup>
102105
<!--Assert that product6 is not present in the search result-->
103-
<actionGroup ref="AssertStorefrontProductNameIsNotOnProductMainPageActionGroup" stepKey="dontSeeProduct6">
106+
<comment userInput="BIC workaround" stepKey="dontSeeProduct6"/>
107+
<actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProduct6inAB">
104108
<argument name="productName" value="$$product6.name$$"/>
105109
</actionGroup>
106110

0 commit comments

Comments
 (0)