Skip to content

[MFTF] Updating with OpenEditProductOnBackendActionGroup #31243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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