Skip to content

Commit 595fc30

Browse files
authored
Merge pull request #358 from magento-engcom/2.4-develop-express-lane-prs
Update action group names according to changes in Magento 2 CE
2 parents 92f7a4a + 892025e commit 595fc30

File tree

69 files changed

+1389
-1389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1389
-1389
lines changed

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/CatalogProductActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<conditionalClick selector="{{sectionSelector}}" dependentSelector="{{sectionDependentSelector}}" visible="false" stepKey="expandSection"/>
3232
<waitForPageLoad time="30" stepKey="waitForSectionToExpand"/>
3333
</actionGroup>
34-
<actionGroup name="saveCatalogCategory" extends="saveCategoryForm">
34+
<actionGroup name="saveCatalogCategory" extends="SaveCategoryFormActionGroup">
3535
<!-- Move to CE: Fix CE action group -->
3636
<waitForElementVisible selector="{{AdminCategoryMainActionsSection.SaveButton}}" stepKey="waitForSaveCategoryButton" before="saveCategory"/>
3737
<waitForPageLoad stepKey="waitForPageLoad" after="saveCategory"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCMSBlockDisablePageBuilderTests.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<before>
8080
<createData entity="_emptyCmsBlock" stepKey="createPreReqBlock" after="loginAsAdmin"/>
8181
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
82-
<actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCMSBlockPage">
82+
<actionGroup ref="NavigateToCreatedCMSBlockPageActionGroup" stepKey="navigateToCreatedCMSBlockPage">
8383
<argument name="CMSBlockPage" value="$$createPreReqBlock$$"/>
8484
</actionGroup>
8585
</before>
@@ -91,7 +91,7 @@
9191
<seeElement selector="{{PageBuilderStage.stageWrapper}}" stepKey="seeElementPageBuilderStage"/>
9292
<dontSeeElementInDOM selector="{{CmsNewBlockBlockBasicFieldsSection.content_textarea}}" stepKey="dontSeeContentAreaInDOM"/>
9393
<magentoCLI command="config:set cms/pagebuilder/enabled 0" stepKey="disablePageBuilder"/>
94-
<actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCMSBlockPage">
94+
<actionGroup ref="NavigateToCreatedCMSBlockPageActionGroup" stepKey="navigateToCreatedCMSBlockPage">
9595
<argument name="CMSBlockPage" value="$$createPreReqBlock$$"/>
9696
</actionGroup>
9797
<seeElementInDOM selector="{{CmsNewBlockBlockBasicFieldsSection.content_textarea}}" stepKey="seeContentAreaInDOM"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCMSBlockPageBuilderTests.xml

Lines changed: 68 additions & 68 deletions
Large diffs are not rendered by default.

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCMSPagePageBuilderTests.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<actionGroup ref="logout" stepKey="logout"/>
3232
</after>
3333
<!--Create CMS Page using PageBuilder-->
34-
<actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToContentCreatedCMSPage1">
34+
<actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToContentCreatedCMSPage1">
3535
<argument name="CMSPage" value="$$createPreReqCMSPage$$"/>
3636
</actionGroup>
3737
<waitForElementVisible selector="{{PageBuilderPanel.layoutMenuSection}}" stepKey="waitForPageBuilderDisplay"/>
@@ -50,7 +50,7 @@
5050
<click selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="saveCMSWithPageBuilderContent"/>
5151
<!--Enable WYSIWYG-->
5252
<magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG"/>
53-
<actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToContentCreatedCMSPage2">
53+
<actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToContentCreatedCMSPage2">
5454
<argument name="CMSPage" value="$$createPreReqCMSPage$$"/>
5555
</actionGroup>
5656
<actionGroup ref="verifyPageBuilderVisibleOnPage" stepKey="verifyPageBuilderVisibleOnCMSPage"/>
@@ -116,11 +116,11 @@
116116
</actionGroup>
117117
<!-- Use Full Width layout -->
118118
<comment userInput="Set Layout to Page - Full Width" stepKey="commentSetLayout"/>
119-
<actionGroup ref="setLayout" stepKey="setFullWidthLayout">
119+
<actionGroup ref="SetLayoutActionGroup" stepKey="setFullWidthLayout">
120120
<argument name="designSection" value="CmsDesignSection"/>
121121
<argument name="layoutOption" value="PageBuilderFullWidthLayout.cms"/>
122122
</actionGroup>
123-
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
123+
<actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage"/>
124124
<!-- Check that description is full width on storefront -->
125125
<comment userInput="Check that description is full width on storefront" stepKey="commentSeeDescriptionFullWidth"/>
126126
<actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront">
@@ -175,11 +175,11 @@
175175
</actionGroup>
176176
<!-- Use Category - Full Width layout -->
177177
<comment userInput="Set Layout to Category - Full Width" stepKey="commentSetLayout"/>
178-
<actionGroup ref="setLayout" stepKey="setCategoryFullWidthLayout">
178+
<actionGroup ref="SetLayoutActionGroup" stepKey="setCategoryFullWidthLayout">
179179
<argument name="designSection" value="CmsDesignSection"/>
180180
<argument name="layoutOption" value="PageBuilderFullWidthLayout.category"/>
181181
</actionGroup>
182-
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
182+
<actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage"/>
183183
<!-- Check that content is displayed on storefront with the category full width layout -->
184184
<comment userInput="Check that content is displayed on storefront with the product full width layout" stepKey="commentSeeContent"/>
185185
<openNewTab stepKey="openNewTab"/>
@@ -190,11 +190,11 @@
190190
<!-- Use Product - Full Width layout -->
191191
<comment userInput="Set Layout to Product - Full Width" stepKey="commentSetLayout2"/>
192192
<switchToNextTab stepKey="switchToNextTab"/>
193-
<actionGroup ref="setLayout" stepKey="setProductFullWidthLayout">
193+
<actionGroup ref="SetLayoutActionGroup" stepKey="setProductFullWidthLayout">
194194
<argument name="designSection" value="CmsDesignSection"/>
195195
<argument name="layoutOption" value="PageBuilderFullWidthLayout.product"/>
196196
</actionGroup>
197-
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
197+
<actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage2"/>
198198
<!-- Check that content is displayed on storefront with the product full width layout -->
199199
<comment userInput="Check that content is displayed on storefront with the product full width layout" stepKey="commentSeeContent2"/>
200200
<switchToNextTab stepKey="switchToNextTab1"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCatalogCategoryDisablePageBuilderTests.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
<before>
4040
<createData entity="_defaultCategory" stepKey="createCategory"/>
4141
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
42-
<actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedCategory">
42+
<actionGroup ref="NavigateToCreatedCategoryActionGroup" stepKey="navigateToCreatedCategory">
4343
<argument name="Category" value="$$createCategory$$"/>
4444
</actionGroup>
45-
<actionGroup ref="expandAdminProductSection" stepKey="expandAdminProductSection"/>
45+
<actionGroup ref="ExpandAdminProductSectionActionGroup" stepKey="expandAdminProductSection"/>
4646
</before>
4747
<after>
4848
<magentoCLI command="config:set cms/pagebuilder/enabled 1" stepKey="enablePageBuilder"/>
@@ -52,10 +52,10 @@
5252
<seeElement selector="{{PageBuilderProductAttribute.PageBuilderBtn('description')}}" stepKey="seePageBuilderButton"/>
5353
<dontSeeElementInDOM selector="{{CategoryContentSection.descriptionTextArea}}" stepKey="dontSeeDescriptionAreaInDOM"/>
5454
<magentoCLI command="config:set cms/pagebuilder/enabled 0" stepKey="disablePageBuilder"/>
55-
<actionGroup ref="navigateToCreatedCategory" stepKey="navigateToCreatedCategory">
55+
<actionGroup ref="NavigateToCreatedCategoryActionGroup" stepKey="navigateToCreatedCategory">
5656
<argument name="Category" value="$$createCategory$$"/>
5757
</actionGroup>
58-
<actionGroup ref="expandAdminProductSection" stepKey="expandAdminProductSection"/>
58+
<actionGroup ref="ExpandAdminProductSectionActionGroup" stepKey="expandAdminProductSection"/>
5959
<seeElementInDOM selector="{{CategoryContentSection.descriptionTextArea}}" stepKey="seeDescriptionAreaInDOM"/>
6060
<dontSeeElementInDOM selector="{{PageBuilderProductAttribute.PageBuilderBtn('description')}}" stepKey="dontSeePageBuilderButton"/>
6161
</test>

0 commit comments

Comments
 (0)