Skip to content

Commit 49f3f51

Browse files
committed
updated with AdminOpenCMSPagesGridActionGroup
1 parent 960a51f commit 49f3f51

8 files changed

+20
-22
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
</assertEquals>
5959

6060
<!-- Verify that the CMS page have the required field name indicator next to Page Title -->
61-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnPagePagesGrid"/>
62-
<waitForPageLoad stepKey="waitForPageLoad1"/>
61+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnPagePagesGrid"/>
62+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad1"/>
6363
<click selector="{{CmsPagesPageActionsSection.addNewPageButton}}" stepKey="clickAddNewPage"/>
6464
<executeJS function="{{CmsNewPagePageBasicFieldsSection.RequiredFieldIndicator}}" stepKey="pageTitleRequiredFieldIndicator"/>
6565
<assertEquals message="pass" stepKey="assertRequiredFieldIndicator5">

app/code/Magento/Cms/Test/Mftf/Test/AdminAddImageToWYSIWYGBlockTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
<actionGroup ref="DeleteFolderActionGroup" stepKey="DeleteCreatedFolder">
6464
<argument name="ImageFolder" value="ImageFolder"/>
6565
</actionGroup>
66-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnEditPage"/>
67-
<waitForPageLoad stepKey="waitForPageLoad"/>
66+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnEditPage"/>
67+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad"/>
6868
<conditionalClick selector="{{CmsPagesPageActionsSection.clearAllButton}}" dependentSelector="{{CmsPagesPageActionsSection.activeFilters}}" stepKey="clickToResetFilter" visible="true"/>
6969
<waitForPageLoad stepKey="waitForGridReload"/>
7070
<deleteData createDataKey="createPreReqBlock" stepKey="deletePreReqBlock" />

app/code/Magento/Cms/Test/Mftf/Test/AdminAddVariableToWYSIWYGBlockTest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
<seeElement selector="{{TinyMCESection.InsertVariableBtn}}" stepKey="InsertVariableBtn" />
8383
<click selector="{{BlockNewPagePageActionsSection.expandSplitButton}}" stepKey="expandSplitButton"/>
8484
<click selector="{{BlockNewPagePageActionsSection.saveAndClose}}" stepKey="clickSaveBlock"/>
85-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnEditPage"/>
86-
<waitForPageLoad stepKey="waitForPageLoad7"/>
85+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnEditPage"/>
86+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad7"/>
8787
<conditionalClick selector="{{CmsPagesPageActionsSection.clearAllButton}}" dependentSelector="{{CmsPagesPageActionsSection.activeFilters}}" stepKey="clickToResetFilter1" visible="true"/>
8888
<waitForPageLoad stepKey="waitForFilterReload"/>
8989
<click selector="{{CmsPagesPageActionsSection.filterButton}}" stepKey="clickFiltersBtn" />
@@ -136,8 +136,8 @@
136136
<!--see custom variable blank-->
137137
<dontSee userInput="{{customVariable.html}}" stepKey="dontSeeCustomVariableName" />
138138
<after>
139-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnEditPage"/>
140-
<waitForPageLoad stepKey="waitForPageLoad2"/>
139+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnEditPage"/>
140+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad2"/>
141141
<conditionalClick selector="{{CmsPagesPageActionsSection.clearAllButton}}" dependentSelector="{{CmsPagesPageActionsSection.activeFilters}}" stepKey="clickToResetFilter" visible="true"/>
142142
<waitForPageLoad stepKey="waitForGridReload"/>
143143
<deleteData createDataKey="createPreReqBlock" stepKey="deletePreReqBlock" />

app/code/Magento/Cms/Test/Mftf/Test/AdminAddWidgetToWYSIWYGBlockTest.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
<waitForPageLoad stepKey="waitForPageLoad7" />
7575
<see userInput="Home page" stepKey="seeHomePageCMSPage"/>
7676
<after>
77-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnEditPage"/>
78-
<waitForPageLoad stepKey="waitForPageLoad2"/>
77+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnEditPage"/>
78+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad2"/>
7979
<conditionalClick selector="{{CmsPagesPageActionsSection.clearAllButton}}" dependentSelector="{{CmsPagesPageActionsSection.activeFilters}}" stepKey="clickToResetFilter" visible="true"/>
8080
<waitForPageLoad stepKey="waitForGridReload"/>
8181
<deleteData createDataKey="createCMSPage" stepKey="deletePreReqCMSPage" />
@@ -85,4 +85,3 @@
8585
</after>
8686
</test>
8787
</tests>
88-

app/code/Magento/Cms/Test/Mftf/Test/VerifyTinyMCEv4IsNativeWYSIWYGOnBlockTest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
<see selector="{{TinyMCESection.InsertVariableBtn}}" userInput="Insert Variable..." stepKey="assertInfo19"/>
4141
<click selector="{{BlockNewPagePageActionsSection.expandSplitButton}}" stepKey="expandSplitButton"/>
4242
<click selector="{{BlockNewPagePageActionsSection.saveAndClose}}" stepKey="clickSaveBlock"/>
43-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnEditPage"/>
44-
<waitForPageLoad stepKey="waitForPageLoad2"/>
43+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnEditPage"/>
44+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad2"/>
4545
<conditionalClick selector="{{CmsPagesPageActionsSection.clearAllButton}}" dependentSelector="{{CmsPagesPageActionsSection.activeFilters}}" stepKey="clickToResetFilter" visible="true"/>
4646
<waitForPageLoad stepKey="waitForGridReload"/>
4747
<click selector="{{CmsPagesPageActionsSection.filterButton}}" stepKey="clickFiltersBtn" />
@@ -85,8 +85,8 @@
8585
<!--see content of Block on Storefront-->
8686
<see userInput="Hello Block Page!" stepKey="seeContent"/>
8787
<after>
88-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnEditPage"/>
89-
<waitForPageLoad stepKey="waitForPageLoad"/>
88+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnEditPag"/>
89+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad"/>
9090
<conditionalClick selector="{{CmsPagesPageActionsSection.clearAllButton}}" dependentSelector="{{CmsPagesPageActionsSection.activeFilters}}" stepKey="clickToResetFilter" visible="true"/>
9191
<waitForPageLoad stepKey="waitForGridReload"/>
9292
<deleteData createDataKey="createPreReqCMSPage" stepKey="deletePreReqCMSPage" />

app/code/Magento/Cms/Test/Mftf/Test/VerifyTinyMCEv4IsNativeWYSIWYGOnCMSPageTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<actionGroup ref="EnabledWYSIWYGActionGroup" stepKey="enableWYSIWYG"/>
2424
<actionGroup ref="CliEnableTinyMCE4ActionGroup" stepKey="switchToTinyMCE4" />
2525
</before>
26-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnPagePagesGrid"/>
27-
<waitForPageLoad stepKey="waitForPageLoad1"/>
26+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnPagePagesGrid"/>
27+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForPageLoad1"/>
2828
<click selector="{{CmsPagesPageActionsSection.addNewPageButton}}" stepKey="clickAddNewPage"/>
2929
<fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_defaultCmsPage.title}}" stepKey="fillFieldTitle"/>
3030
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="clickExpandContent"/>

app/code/Magento/Widget/Test/Mftf/Test/NewProductsListWidgetTest.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@
3131
</after>
3232

3333
<!-- Create a CMS page containing the New Products widget -->
34-
35-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnCmsList"/>
36-
<waitForPageLoad stepKey="waitForCmsList"/>
34+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnCmsList"/>
35+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForCmsList"/>
3736
<click selector="{{CmsPagesPageActionsSection.addNewPageButton}}" stepKey="clickAddNewPageButton"/>
3837
<fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_newDefaultCmsPage.title}}" stepKey="fillPageTitle"/>
3938
<click selector="{{CmsNewPagePageContentSection.header}}" stepKey="expandContentSection"/>

app/code/Magento/Widget/Test/Mftf/Test/ProductsListWidgetTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
<deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
3333
</after>
3434
<!-- Create a CMS page containing the Products List widget -->
35-
<amOnPage url="{{CmsPagesPage.url}}" stepKey="amOnCmsList"/>
36-
<waitForPageLoad stepKey="waitForCmsList"/>
35+
<actionGroup ref="AdminOpenCMSPagesGridActionGroup" stepKey="amOnCmsList"/>
36+
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="waitForCmsList"/>
3737
<conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/>
3838
<click selector="{{CmsPagesPageActionsSection.addNewPageButton}}" stepKey="clickAddNewPageButton"/>
3939
<fillField selector="{{CmsNewPagePageBasicFieldsSection.pageTitle}}" userInput="{{_newDefaultCmsPage.title}}" stepKey="fillPageTitle"/>

0 commit comments

Comments
 (0)