File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/code/Magento/Catalog/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 6060 <actionGroup ref =" LoginToStorefrontActionGroup" stepKey =" customerLogin" >
6161 <argument name =" Customer" value =" $$customer$$" />
6262 </actionGroup >
63- <actionGroup ref =" StorefrontNavigateToCategoryUrlActionGroup" stepKey =" NavigateToCategoryPageOnStoreFront" >
64- <argument name =" categoryUrl" value =" $$category.custom_attributes[url_key]$$" />
65- </actionGroup >
66- <!-- Step 2: Search for the product example - Bag -->
63+ <!-- Step 2: Search for the product Bag -->
6764 <actionGroup ref =" StoreFrontQuickSearchActionGroup" stepKey =" searchByCreatedTerm" >
6865 <argument name =" query" value =" Bag" />
6966 </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" />
7070 <!-- Step 3: Sort by Change to "Price". -->
71- <actionGroup ref =" StorefrontCategoryPageSortProductActionGroup" stepKey =" sortProductByPrice " />
71+ <actionGroup ref =" StorefrontCategoryPageSortProductActionGroup" stepKey =" sortProductByPriceAscending " />
7272 <!-- Step 4: Click the arrow to sort by price desc/asc by clicking on UP/Down arrow. -->
7373 <actionGroup ref =" StorefrontCategoryPageSortDescendingActionGroup" stepKey =" setDescendingDirection" />
7474 <selectOption selector =" {{StorefrontCategoryTopToolbarSection.sortByDropdown}}" userInput =" Price" stepKey =" selectSortByProductName" />
You can’t perform that action at this time.
0 commit comments