Skip to content

Commit

Permalink
magento#31251: [MFTF] Refactoring of Search actions on Storefront.
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Foxtrot committed Dec 29, 2020
1 parent 680312b commit 332ef5d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@
</after>

<!-- Search default simple product in the grid -->
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterAndSelectProductActionGroup" stepKey="openProductCatalogPage">
<argument name="productSku" value="$initialSimpleProduct.sku$"/>
</actionGroup>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="AdminOrderGridClickFirstRowActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price(in stock) -->
Expand Down Expand Up @@ -74,8 +76,6 @@
<click selector="{{AdminProductGridFilterSection.applyFilters}}" stepKey="clickApplyFiltersButton"/>
<actionGroup ref="AdminOrderGridClickFirstRowActionGroup" stepKey="clickFirstRowToVerifyUpdatedSimpleProductVisibleInGrid"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilSimpleProductPageIsOpened"/>
<!-- <click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToVerifyUpdatedSimpleProductVisibleInGrid"/>
<waitForPageLoad stepKey="waitUntilSimpleProductPageIsOpened"/> -->

<!-- Verify customer see updated simple product in the product form page -->
<seeInField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPrice32501InStock.name}}" stepKey="seeSimpleProductName"/>
Expand Down

0 comments on commit 332ef5d

Please sign in to comment.