Skip to content

Commit

Permalink
Fix failing test on ElasticSearch Suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed Feb 25, 2020
1 parent 0fe9cf2 commit dab0cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
</actionGroup>
<selectOption selector="{{StorefrontCategoryBottomToolbarSection.perPage}}" userInput="2" stepKey="selectDisplayedProductInGridPerPage"/>
<waitForPageLoad stepKey="waitForPageLoad"/>

<seeInCurrentUrl stepKey="assertStillOnSecondPage" url="?p=2"/>

<actionGroup ref="AssertStorefrontNoProductsFoundActionGroup" stepKey="assertEmptyResultsPage"/>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
<remove keyForRemoval="assertFirstProductDisplayedOnCatalogSearchPage"/>
<remove keyForRemoval="assertSecondProductDisplayedOnCatalogSearchPage"/>
<grabTextFrom selector="{{StorefrontCategoryBottomToolbarSection.currentPage}}" stepKey="grabNumberOfLastPage"/>
<actionGroup ref="StorefrontQuickSearchWithPaginationActionGroup" stepKey="navigateToUnavailableCatalogSearchResultPage">
<actionGroup ref="StorefrontQuickSearchWithPaginationActionGroup" stepKey="navigateToUnavailableCatalogSearchResultPage" before="assertEmptyResultsPage">
<argument name="phrase" value="AAA"/>
<argument name="pageNumber" value="999"/>
</actionGroup>
<actionGroup ref="AssertStorefrontNoProductsFoundActionGroup" stepKey="assertEmptyResultsPage"/>
</test>
</tests>

0 comments on commit dab0cda

Please sign in to comment.