Skip to content

Commit 680ab8d

Browse files
committed
Merge remote-tracking branch 'owls/MC-3328-mftf-block' into cms-team-1-delivery
2 parents 84d1a5f + c6357e6 commit 680ab8d

File tree

4 files changed

+840
-1
lines changed

4 files changed

+840
-1
lines changed

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

+7
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@
3232
<waitForElementNotVisible selector="{{PageBuilderStage.stageLoading}}" stepKey="waitForStageLoadingGraphicNotVisible"/>
3333
<waitForElementVisible time="30" selector="{{RowOnStage.base(rowIndex)}}" stepKey="waitForPageBuilderRow"/>
3434
</actionGroup>
35+
<actionGroup name="saveCMSBlock">
36+
<!-- This goes in CE repo -->
37+
<waitForElementVisible selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="waitForSaveButton"/>
38+
<click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="clickSaveButton"/>
39+
<waitForPageLoad stepKey="waitForPageLoad"/>
40+
<see userInput="You saved the block." stepKey="seeSuccessfulSaveMessage"/>
41+
</actionGroup>
3542
<actionGroup name="saveAndContinueEditCmsPage">
3643
<!-- This goes in CE repo -->
3744
<waitForElementVisible time="10" selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="waitForSaveAndContinueVisibility"/>

app/code/Magento/PageBuilder/Test/Mftf/Data/CmsPageData.xml

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@
1919
</entity>
2020
<entity name="_emptyCmsPage" type="cms_page">
2121
<!-- This goes in CE repo -->
22-
<data key="title">Test CMS Page</data>
22+
<data key="title" unique="suffix">Test CMS Page</data>
2323
<data key="identifier" unique="suffix">test-page-</data>
2424
</entity>
25+
<entity name="_emptyCmsBlock" type="block">
26+
<!-- This goes in CE repo -->
27+
<data key="title" unique="suffix">Test CMS Block</data>
28+
<data key="identifier" unique="suffix" >block</data>
29+
<data key="active">true</data>
30+
</entity>
2531
</entities>

0 commit comments

Comments
 (0)