Skip to content

Commit c01947c

Browse files
author
Hwashiang Yu
committed
MC-3889: Adding spaces to Button/Heading text on stage results in   added to the text after save
- Updated test coverage after QA review
1 parent 816163f commit c01947c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@
10871087
<annotations>
10881088
<features value="PageBuilder"/>
10891089
<stories value="Banner"/>
1090-
<title value="Banner Poster - Update All Attributes"/>
1090+
<title value="Poster - Update All Attributes"/>
10911091
<description value="A user should be able to add a poster banner with all attribute fields filled."/>
10921092
<severity value="CRITICAL"/>
10931093
<useCaseId value="MC-1433"/>
@@ -1433,7 +1433,7 @@
14331433
<annotations>
14341434
<features value="PageBuilder"/>
14351435
<stories value="Banner"/>
1436-
<title value="Banner Poster - HTML Value In Buttons Does Not Render As HTML"/>
1436+
<title value="Poster - HTML Value In Buttons Does Not Render As HTML"/>
14371437
<description value="Validate that html can be entered into the button and that the html doesn't render on stage and storefront."/>
14381438
<severity value="MAJOR"/>
14391439
<useCaseId value="MC-849"/>
@@ -1450,7 +1450,7 @@
14501450
<annotations>
14511451
<features value="PageBuilder"/>
14521452
<stories value="Banner"/>
1453-
<title value="Banner Poster - Non Breaking Space In Button Does Not Render as nbsp;"/>
1453+
<title value="Poster - Non Breaking Space In Button Does Not Render as nbsp;"/>
14541454
<description value="Validate that non breaking space can be entered into the button and that the html doesn't render on stage and storefront as nbsp."/>
14551455
<severity value="MAJOR"/>
14561456
<useCaseId value="MC-3889"/>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,6 @@
13841384
<!--Edit button item text inline on stage -->
13851385
<comment userInput="Edit button item text inline on stage" stepKey="commentEditButtonItem"/>
13861386
<pressKey selector="{{ButtonItemOnStage.editableButtonItemElement('1')}}" userInput="{{PageBuilderButtonItemText_NBSP.value}}" stepKey="enterNBSPButtonItemText"/>
1387-
<click selector="{{PageBuilderPanel.searchPanel}}" stepKey="unFocusEditor"/>
13881387
<!-- Stage: Check NBSP in button item -->
13891388
<comment userInput="Check NBSP in button item" stepKey="commentStageCheckNBSP"/>
13901389
<see selector="{{ButtonItemOnStage.base('1')}}" userInput="{{PageBuilderButtonItemText_NBSP.value}}" stepKey="seeStageNBSPButtonItemText"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@
12151215
<annotations>
12161216
<features value="PageBuilder"/>
12171217
<stories value="Slider"/>
1218-
<title value="Slider Poster - Non Breaking Space In Button Does Not Render as nbsp;"/>
1218+
<title value="Poster - Non Breaking Space In Button Does Not Render as nbsp;"/>
12191219
<description value="Validate that non breaking space can be entered into the button and that the html doesn't render on stage and storefront as nbsp."/>
12201220
<severity value="MAJOR"/>
12211221
<useCaseId value="MC-3889"/>

0 commit comments

Comments
 (0)