Skip to content

Commit aa81299

Browse files
committed
ACQE-8176: [Sorting] Check whether customer/guest is able to sort the product in the frontend when Remember Category Pagination is enabled
- Added waitForText assertions in Step 2 as suggested
1 parent 147061f commit aa81299

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontAssertsCustomerBehaviourForProductTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
<actionGroup ref="StoreFrontQuickSearchActionGroup" stepKey="searchByCreatedTerm">
6565
<argument name="query" value="Bag"/>
6666
</actionGroup>
67-
<waitForElementVisible userInput="$product1.name$" selector="{{StorefrontCatalogSearchMainSection.searchResults}}" stepKey="seeProduct1"/>
68-
<waitForElementVisible userInput="$product2.name$" selector="{{StorefrontCatalogSearchMainSection.searchResults}}" stepKey="seeProduct2"/>
69-
<waitForElementVisible userInput="$product3.name$" selector="{{StorefrontCatalogSearchMainSection.searchResults}}" stepKey="seeProduct3"/>
67+
<waitForText userInput="$product1.name$" selector="{{StorefrontCatalogSearchMainSection.searchResults}}" stepKey="seeProduct1"/>
68+
<waitForText userInput="$product2.name$" selector="{{StorefrontCatalogSearchMainSection.searchResults}}" stepKey="seeProduct2"/>
69+
<waitForText userInput="$product3.name$" selector="{{StorefrontCatalogSearchMainSection.searchResults}}" stepKey="seeProduct3"/>
7070
<!-- Step 3: Sort by Change to "Price". -->
7171
<actionGroup ref="StorefrontCategoryPageSortProductActionGroup" stepKey="sortProductByPriceAscending"/>
7272
<!-- Step 4: Click the arrow to sort by price desc/asc by clicking on UP/Down arrow. -->

0 commit comments

Comments
 (0)