Skip to content

Commit d46a92b

Browse files
ENGCOM-8535: [MFTF] Updating with OpenEditProductOnBackendActionGroup #31243
2 parents 459963f + faf77dd commit d46a92b

12 files changed

+60
-60
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
</after>
4343

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

5252
<!-- Assign simple product to created store view -->
5353
<click selector="{{AdminCategoryMainActionsSection.CategoryStoreViewDropdownToggle}}" stepKey="clickCategoryStoreViewDropdownToggle"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
</after>
4343

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

5252
<!-- Assign simple product to created store view -->
5353
<click selector="{{AdminCategoryMainActionsSection.CategoryStoreViewDropdownToggle}}" stepKey="clickCategoryStoreViewDropdownToggle"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
</after>
4545

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

5454
<!-- Update simple product with tier price(in stock) -->
5555
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductTierPrice300InStock.name}}" stepKey="fillSimpleProductName"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
</after>
3535

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

4444
<!-- Update simple product with regular price(in stock) -->
4545
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductDisabled.name}}" stepKey="fillSimpleProductName"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
</after>
3939

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

4848
<!-- Update simple product with regular price -->
4949
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductEnabledFlat.name}}" stepKey="fillSimpleProductName"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
</after>
3737

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

4646
<!-- Update simple product with regular price(in stock) -->
4747
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductNotVisibleIndividually.name}}" stepKey="fillSimpleProductName"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
</after>
3535

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

4444
<!-- Update simple product by unselecting categories -->
4545
<scrollTo selector="{{AdminProductFormSection.productStockStatus}}" stepKey="scroll"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
</after>
3737

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

4646
<!-- Update simple product with regular price(in stock) -->
4747
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPrice245InStock.name}}" stepKey="fillSimpleProductName"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
</after>
3737

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

4646
<!-- Update simple product with regular price(in stock) -->
4747
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPrice32501InStock.name}}" stepKey="fillSimpleProductName"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
</after>
3737

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

4646
<!-- Update simple product with regular price(in stock) -->
4747
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPrice325InStock.name}}" stepKey="fillSimpleProductName"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
</after>
3737

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

4646
<!-- Update simple product with regular price -->
4747
<fillField selector="{{AdminProductFormSection.productName}}" userInput="{{simpleProductRegularPriceCustomOptions.name}}" stepKey="fillSimpleProductName"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
</after>
3737

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

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

0 commit comments

Comments
 (0)