|
912 | 912 | </actionGroup>
|
913 | 913 | </test>
|
914 | 914 | <test name="BlockRenderButtonsThroughBlockContentTypeInlineNotSameSize">
|
915 |
| - <!--todo: add another test for 1) stacked & not same size, 2) inline & same size, 3) stacked & same size--> |
916 | 915 | <annotations>
|
917 | 916 | <features value="PageBuilder"/>
|
918 | 917 | <stories value="Block Content"/>
|
|
955 | 954 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuButtons">
|
956 | 955 | <argument name="contentType" value="PageBuilderButtonsContentType"/>
|
957 | 956 | </actionGroup>
|
958 |
| - <actionGroup ref="chooseVisualSelectOption" stepKey="setAppearanceInline"> |
| 957 | + <actionGroup ref="chooseVisualSelectOption" stepKey="setAppearanceOption"> |
959 | 958 | <argument name="property" value="PageBuilderButtonGroupAppearance_Inline"/>
|
960 | 959 | </actionGroup>
|
961 |
| - <actionGroup ref="conditionalClickSlideOutPanelFieldGeneral" stepKey="setSameSizeDisabled"> |
| 960 | + <actionGroup ref="conditionalClickSlideOutPanelFieldGeneral" stepKey="setSameSizeOption"> |
962 | 961 | <argument name="property" value="PageBuilderButtonGroupSameSize_Disabled"/>
|
963 | 962 | </actionGroup>
|
964 | 963 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsButtons"/>
|
|
1014 | 1013 | <argument name="buttonGroupPage" value="ButtonGroupOnStage"/>
|
1015 | 1014 | <argument name="buttonItemPage" value="ButtonItemOnStage"/>
|
1016 | 1015 | </actionGroup>
|
1017 |
| - <actionGroup ref="validateButtonItemsDifferentSizes" stepKey="validateButtonsDifferentSizesCMSBlockStage"> |
| 1016 | + <actionGroup ref="validateButtonItemsDifferentSizes" stepKey="validateButtonsSizesCMSBlockStage"> |
1018 | 1017 | <argument name="buttonGroupPage" value="ButtonGroupOnStage"/>
|
1019 | 1018 | <argument name="buttonItemPage" value="ButtonItemOnStage"/>
|
1020 | 1019 | </actionGroup>
|
|
1059 | 1058 | <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/>
|
1060 | 1059 | <argument name="buttonItemPage" value="ButtonItemOnStorefront"/>
|
1061 | 1060 | </actionGroup>
|
1062 |
| - <actionGroup ref="validateButtonItemsDifferentSizes" stepKey="validateButtonsDifferentSizesCMSPageStage"> |
| 1061 | + <actionGroup ref="validateButtonItemsDifferentSizes" stepKey="validateButtonsSizesCMSPageStage"> |
1063 | 1062 | <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/>
|
1064 | 1063 | <argument name="buttonItemPage" value="ButtonItemOnStorefront"/>
|
1065 | 1064 | </actionGroup>
|
|
1090 | 1089 | <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/>
|
1091 | 1090 | <argument name="buttonItemPage" value="ButtonItemOnStorefront"/>
|
1092 | 1091 | </actionGroup>
|
1093 |
| - <actionGroup ref="validateButtonItemsDifferentSizes" stepKey="validateButtonsDifferentSizesCMSPageStorefront"> |
| 1092 | + <actionGroup ref="validateButtonItemsDifferentSizes" stepKey="validateButtonsSizesCMSPageStorefront"> |
1094 | 1093 | <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/>
|
1095 | 1094 | <argument name="buttonItemPage" value="ButtonItemOnStorefront"/>
|
1096 | 1095 | </actionGroup>
|
1097 | 1096 | <click selector="{{ButtonItemOnStorefront.buttonItemUrl('1', PageBuilderButtonItemLink_NotSecure.value)}}" stepKey="clickButtonStorefront"/>
|
1098 | 1097 | <wait time="3" stepKey="waitArbitraryTimeForPotentialNavigationToOccurStorefront"/>
|
1099 | 1098 | <seeCurrentUrlEquals url="{{PageBuilderButtonItemLink_NotSecure.value}}" stepKey="seeThatUrlIsChangedToButtonUrlStorefront"/>
|
1100 | 1099 | </test>
|
| 1100 | + <test name="BlockRenderButtonsThroughBlockContentTypeInlineSameSize" extends="BlockRenderButtonsThroughBlockContentTypeInlineNotSameSize"> |
| 1101 | + <annotations> |
| 1102 | + <features value="PageBuilder"/> |
| 1103 | + <stories value="Block Content"/> |
| 1104 | + <title value="Render Buttons Through Block Content Type: Inline and Same Size"/> |
| 1105 | + <description value="Verify that users are able to successfully render and use the Buttons content type (inline and same size) through the Block content type."/> |
| 1106 | + <severity value="CRITICAL"/> |
| 1107 | + <testCaseId value="MC-13927"/> |
| 1108 | + <useCaseId value="MC-13769"/> |
| 1109 | + <group value="pagebuilder"/> |
| 1110 | + <group value="pagebuilder-block"/> |
| 1111 | + <group value="pagebuilder-block-content"/> |
| 1112 | + <group value="pagebuilder-buttons"/> |
| 1113 | + </annotations> |
| 1114 | + <actionGroup ref="conditionalClickSlideOutPanelFieldGeneral" stepKey="setSameSizeOption"> |
| 1115 | + <argument name="property" value="PageBuilderButtonGroupSameSize_Enabled"/> |
| 1116 | + </actionGroup> |
| 1117 | + <actionGroup ref="validateButtonItemsSameSize" stepKey="validateButtonsSizesCMSBlockStage"> |
| 1118 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1119 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1120 | + </actionGroup> |
| 1121 | + <actionGroup ref="validateButtonItemsSameSize" stepKey="validateButtonsSizesCMSPageStage"> |
| 1122 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1123 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1124 | + </actionGroup> |
| 1125 | + <actionGroup ref="validateButtonItemsSameSize" stepKey="validateButtonsSizesCMSPageStorefront"> |
| 1126 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1127 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1128 | + </actionGroup> |
| 1129 | + </test> |
| 1130 | + <test name="BlockRenderButtonsThroughBlockContentTypeStackedNotSameSize" extends="BlockRenderButtonsThroughBlockContentTypeInlineNotSameSize"> |
| 1131 | + <annotations> |
| 1132 | + <features value="PageBuilder"/> |
| 1133 | + <stories value="Block Content"/> |
| 1134 | + <title value="Render Buttons Through Block Content Type: Stacked and Not Same Size"/> |
| 1135 | + <description value="Verify that users are able to successfully render and use the Buttons content type (stacked and not same size) through the Block content type."/> |
| 1136 | + <severity value="CRITICAL"/> |
| 1137 | + <testCaseId value="MC-13928"/> |
| 1138 | + <useCaseId value="MC-13769"/> |
| 1139 | + <group value="pagebuilder"/> |
| 1140 | + <group value="pagebuilder-block"/> |
| 1141 | + <group value="pagebuilder-block-content"/> |
| 1142 | + <group value="pagebuilder-buttons"/> |
| 1143 | + </annotations> |
| 1144 | + <actionGroup ref="chooseVisualSelectOption" stepKey="setAppearanceOption"> |
| 1145 | + <argument name="property" value="PageBuilderButtonGroupAppearance_Stacked"/> |
| 1146 | + </actionGroup> |
| 1147 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="validateButtonGroupAppearanceCMSBlockStage"> |
| 1148 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1149 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1150 | + </actionGroup> |
| 1151 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="validateButtonGroupAppearanceCMSPageStage"> |
| 1152 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1153 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1154 | + </actionGroup> |
| 1155 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="validateButtonGroupAppearanceCMSPageStorefront"> |
| 1156 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1157 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1158 | + </actionGroup> |
| 1159 | + </test> |
| 1160 | + <test name="BlockRenderButtonsThroughBlockContentTypeStackedSameSize" extends="BlockRenderButtonsThroughBlockContentTypeInlineNotSameSize"> |
| 1161 | + <annotations> |
| 1162 | + <features value="PageBuilder"/> |
| 1163 | + <stories value="Block Content"/> |
| 1164 | + <title value="Render Buttons Through Block Content Type: Stacked and Same Size"/> |
| 1165 | + <description value="Verify that users are able to successfully render and use the Buttons content type (stacked and same size) through the Block content type."/> |
| 1166 | + <severity value="CRITICAL"/> |
| 1167 | + <testCaseId value="MC-13929"/> |
| 1168 | + <useCaseId value="MC-13769"/> |
| 1169 | + <group value="pagebuilder"/> |
| 1170 | + <group value="pagebuilder-block"/> |
| 1171 | + <group value="pagebuilder-block-content"/> |
| 1172 | + <group value="pagebuilder-buttons"/> |
| 1173 | + </annotations> |
| 1174 | + <actionGroup ref="chooseVisualSelectOption" stepKey="setAppearanceOption"> |
| 1175 | + <argument name="property" value="PageBuilderButtonGroupAppearance_Stacked"/> |
| 1176 | + </actionGroup> |
| 1177 | + <actionGroup ref="conditionalClickSlideOutPanelFieldGeneral" stepKey="setSameSizeOption"> |
| 1178 | + <argument name="property" value="PageBuilderButtonGroupSameSize_Enabled"/> |
| 1179 | + </actionGroup> |
| 1180 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="validateButtonGroupAppearanceCMSBlockStage"> |
| 1181 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1182 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1183 | + </actionGroup> |
| 1184 | + <actionGroup ref="validateButtonItemsSameSize" stepKey="validateButtonsSizesCMSBlockStage"> |
| 1185 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1186 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1187 | + </actionGroup> |
| 1188 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="validateButtonGroupAppearanceCMSPageStage"> |
| 1189 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1190 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1191 | + </actionGroup> |
| 1192 | + <actionGroup ref="validateButtonItemsSameSize" stepKey="validateButtonsSizesCMSPageStage"> |
| 1193 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1194 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1195 | + </actionGroup> |
| 1196 | + <actionGroup ref="validateButtonGroupStackedAppearance" stepKey="validateButtonGroupAppearanceCMSPageStorefront"> |
| 1197 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1198 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1199 | + </actionGroup> |
| 1200 | + <actionGroup ref="validateButtonItemsSameSize" stepKey="validateButtonsSizesCMSPageStorefront"> |
| 1201 | + <argument name="buttonGroupPage" value="ButtonGroupOnStorefront"/> |
| 1202 | + <argument name="buttonItemPage" value="ButtonItemOnStorefront"/> |
| 1203 | + </actionGroup> |
| 1204 | + </test> |
1101 | 1205 | </tests>
|
0 commit comments