Skip to content

Commit 161836a

Browse files
committed
MAGETWO-58964: Sort order doesn't work correctly on the search result page
- Update functional tests with detailed summary and correct ticket id.
1 parent a2d59ac commit 161836a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dev/tests/functional/tests/app/Magento/CatalogSearch/Test/TestCase/SearchEntityResultsTest.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,19 @@
7575
<constraint name="Magento\CatalogSearch\Test\Constraint\AssertCatalogSearchQueryLength" />
7676
<constraint name="Magento\CatalogSearch\Test\Constraint\AssertProductCanBeOpenedFromSearchResult" />
7777
</variation>
78-
<variation name="SearchEntityResultsTestVariation16" summary="Search for two simple products and check their order" ticketId="MAGETWO-58964">
78+
<variation name="SearchEntityResultsTestVariation16"
79+
summary="Search for two simple products for text in attributes with same search weight and check their sort order"
80+
ticketId="MAGETWO-64501">
7981
<data name="catalogSearch/data/query_text/search_query" xsi:type="string">alaska</data>
8082
<data name="catalogSearch/data/query_text/value" xsi:type="array">
8183
<item name="product_2" xsi:type="string">catalogProductSimple::search_weight_term_twice_weight_1</item>
8284
<item name="product_1" xsi:type="string">catalogProductSimple::search_weight_term_once_weight_1</item>
8385
</data>
8486
<constraint name="Magento\CatalogSearch\Test\Constraint\AssertCatalogSearchResultOrder" />
8587
</variation>
86-
<variation name="SearchEntityResultsTestVariation17" summary="Search for two simple products and check their order" ticketId="MAGETWO-58964">
88+
<variation name="SearchEntityResultsTestVariation17"
89+
summary="Search for two simple products for text in attributes with different search weight and check their sort order"
90+
ticketId="MAGETWO-64502">
8791
<data name="catalogSearch/data/query_text/search_query" xsi:type="string">alaska</data>
8892
<data name="catalogSearch/data/query_text/value" xsi:type="array">
8993
<item name="product_1" xsi:type="string">catalogProductSimple::search_weight_term_once_weight_5</item>

0 commit comments

Comments
 (0)