Skip to content

Commit 9751bdf

Browse files
committed
MC-137: add advance catalog search for virtual product tests.
- search by product name - search by product sku - search by product description - search by product short description - search by price (cherry picked from commit a4d72c2)
1 parent 2267f37 commit 9751bdf

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/CatalogSearch/Test/AdvanceCatalogSearchVirtualProductsTest.xml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<annotations>
1313
<features value="CatalogSearch"/>
1414
<stories value="Advanced catalog search for virtual products"/>
15-
<title value="Advanced catalog search for virtual products by product name"/>
16-
<description value="Advanced catalog search for virtual products by product name"/>
15+
<title value="Guest customer should be able to find virtual products by product name in advanced catalog search"/>
16+
<description value="Guest customer should be able to find virtual products by product name in advanced catalog search"/>
1717
<severity value="MAJOR"/>
1818
<testCaseId value="MC-137"/>
1919
<group value="CatalogSearch"/>
@@ -31,13 +31,14 @@
3131
</actionGroup>
3232
<actionGroup ref="StorefrontCheckAdvancedSearchResultActionGroup" stepKey="StorefrontCheckAdvancedSearchResult"/>
3333
<see userInput="1 item" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/>
34+
<see userInput="$$createProductOne.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.productName}}" stepKey="seeProductName"/>
3435
</test>
3536
<test name="AdvanceCatalogSearchVirtualProductBySkuTest">
3637
<annotations>
3738
<features value="CatalogSearch"/>
3839
<stories value="Advanced catalog search for virtual products"/>
39-
<title value="Advanced catalog search for virtual products by product sku"/>
40-
<description value="Advanced catalog search for virtual products by product sku"/>
40+
<title value="Guest customer should be able to find virtual products by product sku in advanced catalog search"/>
41+
<description value="Guest customer should be able to find virtual products by product sku in advanced catalog search"/>
4142
<severity value="MAJOR"/>
4243
<testCaseId value="MC-162"/>
4344
<group value="CatalogSearch"/>
@@ -55,14 +56,15 @@
5556
</actionGroup>
5657
<actionGroup ref="StorefrontCheckAdvancedSearchResultActionGroup" stepKey="StorefrontCheckAdvancedSearchResult"/>
5758
<see userInput="1 item" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/>
59+
<see userInput="$$createProductOne.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.productName}}" stepKey="seeProductName"/>
5860
</test>
5961

6062
<test name="AdvanceCatalogSearchVirtualProductByDescriptionTest">
6163
<annotations>
6264
<features value="CatalogSearch"/>
6365
<stories value="Advanced catalog search for virtual products"/>
64-
<title value="Advanced catalog search for virtual products by product description"/>
65-
<description value="Advanced catalog search for virtual products by product description"/>
66+
<title value="Guest customer should be able to find virtual products by product description in advanced catalog search"/>
67+
<description value="Guest customer should be able to find virtual products by product description in advanced catalog search"/>
6668
<severity value="MAJOR"/>
6769
<testCaseId value="MC-163"/>
6870
<group value="CatalogSearch"/>
@@ -80,14 +82,15 @@
8082
</actionGroup>
8183
<actionGroup ref="StorefrontCheckAdvancedSearchResultActionGroup" stepKey="StorefrontCheckAdvancedSearchResult"/>
8284
<see userInput="1 item" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/>
85+
<see userInput="$$createProductOne.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.productName}}" stepKey="seeProductName"/>
8386
</test>
8487

8588
<test name="AdvanceCatalogSearchVirtualProductByShortDescriptionTest">
8689
<annotations>
8790
<features value="CatalogSearch"/>
8891
<stories value="Advanced catalog search for virtual products"/>
89-
<title value="Advanced catalog search for virtual products by product short description"/>
90-
<description value="Advanced catalog search for virtual products by product short description"/>
92+
<title value="Guest customer should be able to find virtual products by product short description in advanced catalog search"/>
93+
<description value="Guest customer should be able to find virtual products by product short description in advanced catalog search"/>
9194
<severity value="MAJOR"/>
9295
<testCaseId value="MC-164"/>
9396
<group value="CatalogSearch"/>
@@ -105,14 +108,15 @@
105108
</actionGroup>
106109
<actionGroup ref="StorefrontCheckAdvancedSearchResultActionGroup" stepKey="StorefrontCheckAdvancedSearchResult"/>
107110
<see userInput="1 item" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/>
111+
<see userInput="$$createProductOne.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.productName}}" stepKey="seeProductName"/>
108112
</test>
109113

110114
<test name="AdvanceCatalogSearchVirtualProductByPriceTest">
111115
<annotations>
112116
<features value="CatalogSearch"/>
113117
<stories value="Advanced catalog search for virtual products"/>
114-
<title value="Advanced catalog search for virtual products by product price"/>
115-
<description value="Advanced catalog search for virtual products by price"/>
118+
<title value="Guest customer should be able to find virtual products by product price in advanced catalog search"/>
119+
<description value="Guest customer should be able to find virtual products by product price in advanced catalog search"/>
116120
<severity value="MAJOR"/>
117121
<testCaseId value="MC-165"/>
118122
<group value="CatalogSearch"/>
@@ -132,5 +136,6 @@
132136
</actionGroup>
133137
<actionGroup ref="StorefrontCheckAdvancedSearchResultActionGroup" stepKey="StorefrontCheckAdvancedSearchResult"/>
134138
<see userInput="1 item" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey="see"/>
139+
<see userInput="$$createProductOne.name$$" selector="{{StorefrontCatalogSearchAdvancedResultMainSection.productName}}" stepKey="seeProductName"/>
135140
</test>
136141
</tests>

0 commit comments

Comments
 (0)