Skip to content

Commit 635c4f3

Browse files
committed
MC-405: [Banner] User couldn't insert a URL Link into Banner content
- Fixing typos, updating data, updating hard coded arguments
1 parent 5a95c9a commit 635c4f3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@
139139
<argument name="title" type="string" defaultValue=""/>
140140
</arguments>
141141
<comment userInput="insertLinkInWYSIWYG" stepKey="comment"/>
142-
<waitForElementVisible selector="{{section.wysiwygInsertLinkButton}}" stepKey="waitForInsertLinKButton"/>
143-
<click selector="{{section.wysiwygInsertLinkButton}}" stepKey="clickInsertLinKButton"/>
142+
<waitForElementVisible selector="{{section.wysiwygInsertLinkButton}}" stepKey="waitForInsertLinkButton"/>
143+
<click selector="{{section.wysiwygInsertLinkButton}}" stepKey="clickInsertLinkButton"/>
144144
<waitForPageLoad stepKey="waitForPageLoad"/>
145145
<waitForElementVisible selector="{{WYSIWYGInsertLinkModal.modal}}" stepKey="waitForInsertLinkModal"/>
146146
<fillField selector="{{WYSIWYGInsertLinkModal.urlInput}}" userInput="{{url}}" stepKey="insertUrl"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
<data key="product">Product</data>
1414
<data key="category">Category</data>
1515
<data key="page">Page</data>
16-
<data key="googleUrl">https://google.com</data>
16+
<data key="googleUrl">https://www.google.com</data>
1717
</entity>
1818
</entities>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
<!-- Add Link To WYSIWYG -->
4545
<comment userInput="Add Link To WYSIWYG" stepKey="commentAddLink"/>
4646
<actionGroup ref="insertLinkInWYSIWYG" stepKey="insertLinkInWYSIWYG">
47-
<argument name="url" value="https://google.com"/>
48-
<argument name="textToDisplay" value="https://google.com"/>
47+
<argument name="url" value="{{ExternalLink.googleUrl}}"/>
48+
<argument name="textToDisplay" value="{{ExternalLink.googleUrl}}"/>
4949
</actionGroup>
5050
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
5151
<!-- Validate Stage -->

0 commit comments

Comments
 (0)