Skip to content

Commit 2ac0bfc

Browse files
committed
MC-13769: Add Missing P0-P1 MFTF Tests For PageBuilder On CMS Block - Render Content Through Block
- Fixing stepKeys
1 parent 4ecf177 commit 2ac0bfc

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,8 +1256,8 @@
12561256
<actionGroup ref="saveCMSBlock" stepKey="saveCMSBlock"/>
12571257
<!-- Validate CMS Block Stage -->
12581258
<comment userInput="Validate CMS Block Stage" stepKey="commentValidateCMSBlockStage"/>
1259-
<seeElement selector="{{HtmlOnStage.base('1')}}" stepKey="seeHtmlBaseBlockStage"/>
1260-
<seeElement selector="{{HtmlOnStage.html('1', PageBuilderHtmlPropertyButton.selector)}}" stepKey="seeHtmlBlockStage"/>
1259+
<seeElement selector="{{HtmlOnStage.base('1')}}" stepKey="seeHtmlBaseCMSBlockStage"/>
1260+
<seeElement selector="{{HtmlOnStage.html('1', PageBuilderHtmlPropertyButton.selector)}}" stepKey="seeHtmlCMSBlockStage"/>
12611261
<!-- Add Block to CMS Page -->
12621262
<comment userInput="Add Block to CMS Page" stepKey="commentAddBlockToCMSPage"/>
12631263
<actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage">
@@ -1278,8 +1278,8 @@
12781278
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsBlock"/>
12791279
<!-- Validate CMS Page Stage -->
12801280
<comment userInput="Validate CMS Page Stage" stepKey="commentValidateCMSPageStage"/>
1281-
<seeElement selector="{{HtmlOnStorefront.base('1')}}" stepKey="seeHtmlBasePageStage"/>
1282-
<seeElement selector="{{HtmlOnStorefront.html('1', PageBuilderHtmlPropertyButton.selector)}}" stepKey="seeHtmlPageStage"/>
1281+
<seeElement selector="{{HtmlOnStorefront.base('1')}}" stepKey="seeHtmlBaseCMSPageStage"/>
1282+
<seeElement selector="{{HtmlOnStorefront.html('1', PageBuilderHtmlPropertyButton.selector)}}" stepKey="seeHtmlCMSPageStage"/>
12831283
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
12841284
<!-- Validate CMS Page Storefront -->
12851285
<comment userInput="Validate CMS Page Storefront" stepKey="commentValidateCMSPageStorefront"/>
@@ -1342,7 +1342,7 @@
13421342
<actionGroup ref="saveCMSBlock" stepKey="saveCMSBlock"/>
13431343
<!-- Validate CMS Block Stage -->
13441344
<comment userInput="Validate CMS Block Stage" stepKey="commentValidateCMSBlockStage"/>
1345-
<actionGroup ref="validateVideo" stepKey="validateBlockStage">
1345+
<actionGroup ref="validateVideo" stepKey="validateCMSBlockStage">
13461346
<argument name="page" value="VideoOnStage"/>
13471347
<argument name="url" value="PageBuilderVideoUrl_YouTube"/>
13481348
<argument name="width" value="PageBuilderVideoWidth_500"/>
@@ -1367,7 +1367,7 @@
13671367
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsBlock"/>
13681368
<!-- Validate CMS Page Stage -->
13691369
<comment userInput="Validate CMS Page Stage" stepKey="commentValidateCMSPageStage"/>
1370-
<actionGroup ref="validateVideo" stepKey="validatePageStage">
1370+
<actionGroup ref="validateVideo" stepKey="validateCMSPageStage">
13711371
<argument name="page" value="VideoOnStorefront"/>
13721372
<argument name="url" value="PageBuilderVideoUrl_YouTube"/>
13731373
<argument name="width" value="PageBuilderVideoWidth_500"/>
@@ -1432,7 +1432,7 @@
14321432
<actionGroup ref="saveCMSBlock" stepKey="saveCMSBlock"/>
14331433
<!-- Validate CMS Block Stage -->
14341434
<comment userInput="Validate CMS Block Stage" stepKey="commentValidateCMSBlockStage"/>
1435-
<actionGroup ref="verifyBlockOnStage" stepKey="verifyBlockOnBlockStage">
1435+
<actionGroup ref="verifyBlockOnStage" stepKey="verifyBlockCMSBlockStage">
14361436
<argument name="block" value="$$createPreReqBlock$$"/>
14371437
<argument name="index" value="1"/>
14381438
</actionGroup>
@@ -1713,7 +1713,7 @@
17131713
<!-- Validate CMS Block Stage -->
17141714
<comment userInput="Validate CMS Block Stage" stepKey="commentValidateCMSBlockStage"/>
17151715
<actionGroup ref="validateContainedRowAppearance" stepKey="validateRowAppearanceCMSBlockStage"/>
1716-
<actionGroup ref="validateRowBackgroundAttributesWithAllUpdatedAndParallaxEnabled" stepKey="validateBackgroundBlockStage">
1716+
<actionGroup ref="validateRowBackgroundAttributesWithAllUpdatedAndParallaxEnabled" stepKey="validateBackgroundCMSBlockStage">
17171717
<argument name="page" value="RowOnStage"/>
17181718
<argument name="index" value="1"/>
17191719
<argument name="backgroundColor" value="PageBuilderBackgroundColor_Plaintext_Green"/>
@@ -1723,23 +1723,23 @@
17231723
<argument name="backgroundRepeat" value="PageBuilderBackgroundRepeat_Enabled"/>
17241724
<argument name="backgroundAttachment" value="PageBuilderBackgroundAttachment_Fixed"/>
17251725
</actionGroup>
1726-
<actionGroup ref="validateRowParallaxBackgroundAttributes" stepKey="validateParallaxBackgroundBlockStage">
1726+
<actionGroup ref="validateRowParallaxBackgroundAttributes" stepKey="validateParallaxBackgroundCMSBlockStage">
17271727
<argument name="page" value="RowOnStage"/>
17281728
<argument name="index" value="1"/>
17291729
<argument name="parallaxStateValue" value="PageBuilderRowParallax_Enabled"/>
17301730
<argument name="parallaxSpeedValue" value="PageBuilderRowParallaxSpeed_2"/>
17311731
</actionGroup>
1732-
<actionGroup ref="validateBackgroundImageContainerForParallaxRow" stepKey="validateBackgroundImageBlockStage">
1732+
<actionGroup ref="validateBackgroundImageContainerForParallaxRow" stepKey="validateBackgroundImageCMSBlockStage">
17331733
<argument name="section" value="RowOnStage"/>
17341734
<argument name="backgroundImage" value="PageBuilderBackgroundImage_JPG"/>
17351735
</actionGroup>
1736-
<actionGroup ref="validateLayoutStylesWithAllUpdated" stepKey="validateRowLayoutBlockStage">
1736+
<actionGroup ref="validateLayoutStylesWithAllUpdated" stepKey="validateRowLayoutCMSBlockStage">
17371737
<argument name="page" value="RowOnStage"/>
17381738
<argument name="index" value="1"/>
17391739
<argument name="minHeight" value="PageBuilderMinHeightProperty_500"/>
17401740
<argument name="verticalAlignContainer" value="PageBuilderVerticalAlignmentPropertyCenter"/>
17411741
</actionGroup>
1742-
<actionGroup ref="validateContentTypeHeightEqualToMinHeight" stepKey="validateRowHeightBlockStage">
1742+
<actionGroup ref="validateContentTypeHeightEqualToMinHeight" stepKey="validateRowHeightCMSBlockStage">
17431743
<argument name="content" value="{{RowOnStage.baseCSS}}"/>
17441744
<argument name="padding" value="PageBuilderPaddingProperty10"/>
17451745
<argument name="height" value="PageBuilderMinHeightProperty_500"/>
@@ -2086,7 +2086,7 @@
20862086
</actionGroup>
20872087
<comment userInput="---merging to remove step---" stepKey="enterParallaxBackgroundSpeed"/>
20882088
<!-- Validate CMS Block Stage -->
2089-
<actionGroup ref="validateBackgroundAttributes" stepKey="validateBackgroundBlockStage">
2089+
<actionGroup ref="validateBackgroundAttributes" stepKey="validateBackgroundCMSBlockStage">
20902090
<argument name="section" value="RowOnStage"/>
20912091
<argument name="index" value="1"/>
20922092
<argument name="backgroundColor" value="PageBuilderBackgroundColor_Plaintext_Green"/>
@@ -2096,8 +2096,8 @@
20962096
<argument name="backgroundRepeat" value="PageBuilderBackgroundRepeat_Enabled"/>
20972097
<argument name="backgroundAttachment" value="PageBuilderBackgroundAttachment_Fixed"/>
20982098
</actionGroup>
2099-
<comment userInput="---merging to remove step---" stepKey="validateParallaxBackgroundBlockStage"/>
2100-
<actionGroup ref="validateBackgroundImageContainer" stepKey="validateBackgroundImageBlockStage">
2099+
<comment userInput="---merging to remove step---" stepKey="validateParallaxBackgroundCMSBlockStage"/>
2100+
<actionGroup ref="validateBackgroundImageContainer" stepKey="validateBackgroundImageCMSBlockStage">
21012101
<argument name="section" value="RowOnStage_Contained"/>
21022102
<argument name="backgroundImage" value="PageBuilderBackgroundImage_JPG"/>
21032103
</actionGroup>
@@ -2165,7 +2165,7 @@
21652165
<comment userInput="---merging to remove step---" stepKey="enterParallaxBackgroundSpeed"/>
21662166
<!-- Validate CMS Block Stage -->
21672167
<actionGroup ref="validateFullWidthRowAppearance" stepKey="validateRowAppearanceCMSBlockStage"/>
2168-
<actionGroup ref="validateBackgroundAttributes" stepKey="validateBackgroundBlockStage">
2168+
<actionGroup ref="validateBackgroundAttributes" stepKey="validateBackgroundCMSBlockStage">
21692169
<argument name="section" value="RowOnStage"/>
21702170
<argument name="index" value="1"/>
21712171
<argument name="backgroundColor" value="PageBuilderBackgroundColor_Plaintext_Green"/>
@@ -2175,8 +2175,8 @@
21752175
<argument name="backgroundRepeat" value="PageBuilderBackgroundRepeat_Enabled"/>
21762176
<argument name="backgroundAttachment" value="PageBuilderBackgroundAttachment_Fixed"/>
21772177
</actionGroup>
2178-
<comment userInput="---merging to remove step---" stepKey="validateParallaxBackgroundBlockStage"/>
2179-
<actionGroup ref="validateBackgroundImageContainer" stepKey="validateBackgroundImageBlockStage">
2178+
<comment userInput="---merging to remove step---" stepKey="validateParallaxBackgroundCMSBlockStage"/>
2179+
<actionGroup ref="validateBackgroundImageContainer" stepKey="validateBackgroundImageCMSBlockStage">
21802180
<argument name="section" value="RowOnStage"/>
21812181
<argument name="backgroundImage" value="PageBuilderBackgroundImage_JPG"/>
21822182
</actionGroup>
@@ -2265,7 +2265,7 @@
22652265
<comment userInput="---merging to remove step---" stepKey="enterParallaxBackgroundSpeed"/>
22662266
<!-- Validate CMS Block Stage -->
22672267
<actionGroup ref="validateFullBleedRowAppearance" stepKey="validateRowAppearanceCMSBlockStage"/>
2268-
<actionGroup ref="validateBackgroundAttributes" stepKey="validateBackgroundBlockStage">
2268+
<actionGroup ref="validateBackgroundAttributes" stepKey="validateBackgroundCMSBlockStage">
22692269
<argument name="section" value="RowOnStage"/>
22702270
<argument name="index" value="1"/>
22712271
<argument name="backgroundColor" value="PageBuilderBackgroundColor_Plaintext_Green"/>
@@ -2275,8 +2275,8 @@
22752275
<argument name="backgroundRepeat" value="PageBuilderBackgroundRepeat_Enabled"/>
22762276
<argument name="backgroundAttachment" value="PageBuilderBackgroundAttachment_Fixed"/>
22772277
</actionGroup>
2278-
<comment userInput="---merging to remove step---" stepKey="validateParallaxBackgroundBlockStage"/>
2279-
<actionGroup ref="validateBackgroundImageContainer" stepKey="validateBackgroundImageBlockStage">
2278+
<comment userInput="---merging to remove step---" stepKey="validateParallaxBackgroundCMSBlockStage"/>
2279+
<actionGroup ref="validateBackgroundImageContainer" stepKey="validateBackgroundImageCMSBlockStage">
22802280
<argument name="section" value="RowOnStage"/>
22812281
<argument name="backgroundImage" value="PageBuilderBackgroundImage_JPG"/>
22822282
</actionGroup>

0 commit comments

Comments
 (0)