Skip to content

Commit 8871c90

Browse files
committed
MC-975: Editing Text content block on Pagebuilder does not indicate Textarea is required
- add steps to validate user can recover from error
1 parent 9fa97cd commit 8871c90

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,13 @@
15841584
<click selector="{{EditPanelForm.editFormSave}}" stepKey="clickSaveColumn"/>
15851585
<waitForPageLoad stepKey="waitForPageLoad2"/>
15861586
<seeElement selector="{{TextOnConfiguration.panelFieldValidationErrorMessage(PageBuilderTextContentTypeEmpty.section, PageBuilderTextContentTypeEmpty.errorMessage)}}" stepKey="seeElementErrorMessage"/>
1587-
<actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
1587+
<!-- Validate User Can Recover From Error -->
1588+
<comment userInput="Validate User Can Recover From Error" stepKey="commentValidateRecovery"/>
1589+
<actionGroup ref="addTextToTinyMCE" stepKey="enterText">
1590+
<argument name="property" value="PageBuilderTextProperty"/>
1591+
</actionGroup>
1592+
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
1593+
<waitForElementVisible selector="{{TextOnStage.text('1', PageBuilderTextProperty.value)}}" stepKey="waitForTextStage"/>
15881594
</test>
15891595
<test name="TextDisabledWYSIWYGAddImage">
15901596
<annotations>

0 commit comments

Comments
 (0)