Skip to content

Commit 06ec3e8

Browse files
committed
MC-3020: Stabilize PR
- Fixing test that was merged into mainline w/ issues
1 parent 2a710ef commit 06ec3e8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,8 @@
734734
<annotations>
735735
<features value="PageBuilder"/>
736736
<stories value="HTML Code"/>
737-
<title value="Validate Required Attributes"/>
738-
<description value="Add HTML and validate save without required fields causes error"/>
737+
<title value="Validate No Required Attributes"/>
738+
<description value="Add HTML and validate save without entering any fields on edit form is successful"/>
739739
<severity value="MAJOR"/>
740740
<useCaseId value="MC-1408"/>
741741
<testCaseId value="MAGETWO-91142"/>
@@ -759,11 +759,9 @@
759759
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
760760
<argument name="contentType" value="PageBuilderHtmlContentType"/>
761761
</actionGroup>
762-
<!-- Validate Cannot Save -->
763-
<comment userInput="Validate Cannot Save" stepKey="commentValidateCannotSave"/>
764-
<waitForElementVisible time="5" selector="{{EditPanelForm.editFormSave}}" stepKey="waitForColumnSaveButton"/>
765-
<click selector="{{EditPanelForm.editFormSave}}" stepKey="clickSaveColumn"/>
766-
<waitForPageLoad stepKey="waitForPageLoad"/>
762+
<!-- Validate Can Save Without Entering Fields -->
763+
<comment userInput="Validate Can Save Without Entering Fields" stepKey="commentValidateSave"/>
764+
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
767765
<waitForElementVisible selector="{{HtmlOnStage.empty('1')}}" stepKey="waitForHtmlBaseStage1"/>
768766
</test>
769767
</tests>

0 commit comments

Comments
 (0)