Skip to content

Commit 9d0ae13

Browse files
committed
#26986 Fix failing Functional Test: Change of behaviour when loading non-existing page (eg. 999)
1 parent 18e43a8 commit 9d0ae13

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

app/code/Magento/Elasticsearch6/Test/Mftf/Test/StorefrontProductQuickSearchUsingElasticSearch6WithNotAvailablePageTest.xml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,6 @@
3030
<argument name="phrase" value="AAA"/>
3131
<argument name="pageNumber" value="999"/>
3232
</actionGroup>
33-
<scrollTo selector="{{StorefrontCategoryBottomToolbarSection.currentPage}}" stepKey="scrollToBottomToolbarPager"/>
34-
<grabTextFrom selector="{{StorefrontCategoryBottomToolbarSection.currentPage}}" stepKey="grabNumberOfCurrentPage"/>
35-
<assertEquals stepKey="assertCurrentPageIsLastPageOfCatalogSearchResult">
36-
<expectedResult type="variable">grabNumberOfLastPage</expectedResult>
37-
<actualResult type="variable">grabNumberOfCurrentPage</actualResult>
38-
</assertEquals>
39-
<actionGroup ref="AssertProductOnCategoryPageActionGroup" stepKey="assertProductOnLastCatalogSearchPage">
40-
<argument name="product" value="$createSecondProduct$"/>
41-
</actionGroup>
42-
<actionGroup ref="StorefrontCheckProductIsMissingInCategoryProductsPageActionGroup" stepKey="assertFirstProductIsMissingOnLastCatalogSearchPage">
43-
<argument name="productName" value="$createFirstProduct.name$"/>
44-
</actionGroup>
33+
<actionGroup ref="AssertStorefrontNoProductsFoundActionGroup" stepKey="assertEmptyResultsPage"/>
4534
</test>
4635
</tests>

0 commit comments

Comments
 (0)