Skip to content

Commit

Permalink
#26986 Fix failing Functional Test: Change of behaviour when loading …
Browse files Browse the repository at this point in the history
…non-existing page (eg. `999`)
  • Loading branch information
lbajsarowicz committed Feb 24, 2020
1 parent 18e43a8 commit 9d0ae13
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,6 @@
<argument name="phrase" value="AAA"/>
<argument name="pageNumber" value="999"/>
</actionGroup>
<scrollTo selector="{{StorefrontCategoryBottomToolbarSection.currentPage}}" stepKey="scrollToBottomToolbarPager"/>
<grabTextFrom selector="{{StorefrontCategoryBottomToolbarSection.currentPage}}" stepKey="grabNumberOfCurrentPage"/>
<assertEquals stepKey="assertCurrentPageIsLastPageOfCatalogSearchResult">
<expectedResult type="variable">grabNumberOfLastPage</expectedResult>
<actualResult type="variable">grabNumberOfCurrentPage</actualResult>
</assertEquals>
<actionGroup ref="AssertProductOnCategoryPageActionGroup" stepKey="assertProductOnLastCatalogSearchPage">
<argument name="product" value="$createSecondProduct$"/>
</actionGroup>
<actionGroup ref="StorefrontCheckProductIsMissingInCategoryProductsPageActionGroup" stepKey="assertFirstProductIsMissingOnLastCatalogSearchPage">
<argument name="productName" value="$createFirstProduct.name$"/>
</actionGroup>
<actionGroup ref="AssertStorefrontNoProductsFoundActionGroup" stepKey="assertEmptyResultsPage"/>
</test>
</tests>

0 comments on commit 9d0ae13

Please sign in to comment.