Skip to content

Commit 5778f09

Browse files
committed
MAGETWO-91968: No Required Attributes
- Adding no required fields test for Button Group
1 parent 7c337b3 commit 5778f09

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/PageBuilder/Test/AdminPageBuilderButtonsTest.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,40 @@
11021102
<argument name="index" value="1"/>
11031103
</actionGroup>
11041104
</test>
1105+
<test name="ButtonGroupNoRequiredAttributes">
1106+
<annotations>
1107+
<features value="Pagebuilder"/>
1108+
<stories value="Button Group"/>
1109+
<title value="Button Group - Validate No Required Attributes"/>
1110+
<description value="A user should be able to save a Button Group edit form without inputting data into any attribute field."/>
1111+
<severity value="AVERAGE"/>
1112+
<useCaseId value="MAGETWO-90473"/>
1113+
<testCaseId value="MAGETWO-92014"/>
1114+
<group value="pagebuilder"/>
1115+
<group value="pagebuilder-buttons"/>
1116+
</annotations>
1117+
<before>
1118+
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
1119+
<actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/>
1120+
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
1121+
</before>
1122+
<after>
1123+
<actionGroup ref="logout" stepKey="logout"/>
1124+
</after>
1125+
<actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle">
1126+
<argument name="contentBlockType" value="PageBuilderButtonsContentBlock"/>
1127+
</actionGroup>
1128+
<actionGroup ref="dragContentBlockToStage" stepKey="dragContentBlockToStage">
1129+
<argument name="contentBlockType" value="PageBuilderButtonsContentBlock"/>
1130+
</actionGroup>
1131+
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage">
1132+
<argument name="contentBlockType" value="PageBuilderButtonsContentBlock"/>
1133+
</actionGroup>
1134+
<!-- Validate No Required Fields -->
1135+
<comment userInput="Validate No Required Fields" stepKey="commentValidateNoRequired"/>
1136+
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
1137+
<waitForElementVisible time="10" selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="waitForCmsPageSaveButton"/>
1138+
</test>
11051139
<test name="ButtonItemValidateContentSectionFields">
11061140
<annotations>
11071141
<features value="PageBuilder"/>

0 commit comments

Comments
 (0)