Skip to content

Commit

Permalink
ENGCOM-8535: [MFTF] Updating with OpenEditProductOnBackendActionGroup #…
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldagama committed Dec 15, 2020
2 parents 459963f + faf77dd commit d46a92b
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
</after>

<!-- Search default simple product in grid -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Assign simple product to created store view -->
<click selector="{{AdminCategoryMainActionsSection.CategoryStoreViewDropdownToggle}}" stepKey="clickCategoryStoreViewDropdownToggle"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
</after>

<!-- Search default simple product in grid -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Assign simple product to created store view -->
<click selector="{{AdminCategoryMainActionsSection.CategoryStoreViewDropdownToggle}}" stepKey="clickCategoryStoreViewDropdownToggle"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
</after>

<!-- Search default simple product in the grid -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with tier price(in stock) -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductTierPrice300InStock.name}}" stepKey="fillSimpleProductName"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
</after>

<!-- Search default simple product in the grid page -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price(in stock) -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductDisabled.name}}" stepKey="fillSimpleProductName"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
</after>

<!-- Search default simple product in the grid page -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductEnabledFlat.name}}" stepKey="fillSimpleProductName"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
</after>

<!-- Search default simple product in the grid page -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price(in stock) -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductNotVisibleIndividually.name}}" stepKey="fillSimpleProductName"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
</after>

<!--Search default simple product in the grid page -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product by unselecting categories -->
<scrollTo selector="{{AdminProductFormSection.productStockStatus}}" stepKey="scroll"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
</after>

<!-- Search default simple product in the grid page -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price(in stock) -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPrice245InStock.name}}" stepKey="fillSimpleProductName"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
</after>

<!-- Search default simple product in the grid -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price(in stock) -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPrice32501InStock.name}}" stepKey="fillSimpleProductName"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
</after>

<!-- Search default simple product in the grid -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price(in stock) -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPrice325InStock.name}}" stepKey="fillSimpleProductName"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
</after>

<!-- Search default simple product in the grid -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPriceCustomOptions.name}}" stepKey="fillSimpleProductName"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
</after>

<!-- Search default simple product in the grid -->
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage"/>
<actionGroup ref="FilterProductGridBySku2ActionGroup" stepKey="filterProductGrid">
<argument name="sku" value="$$initialSimpleProduct.sku$$"/>
<actionGroup ref="AdminClearFiltersActionGroup" stepKey="openProductCatalogPage"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="filterProductGrid"/>
<actionGroup ref="OpenEditProductOnBackendActionGroup" stepKey="clickFirstRowToOpenDefaultSimpleProduct">
<argument name="product" value="$$initialSimpleProduct$$"/>
</actionGroup>
<click selector="{{AdminProductGridFilterSection.nthRow('1')}}" stepKey="clickFirstRowToOpenDefaultSimpleProduct"/>
<waitForPageLoad stepKey="waitUntilProductIsOpened"/>
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitUntilProductIsOpened"/>

<!-- Update simple product with regular price(out of stock) -->
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPrice32503OutOfStock.name}}" stepKey="fillSimpleProductName"/>
Expand Down

0 comments on commit d46a92b

Please sign in to comment.