|
296 | 296 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
297 | 297 | <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeOptionsMenu(PageBuilderRowContentType.role)}}" stepKey="waitForOptions"/>
|
298 | 298 | </test>
|
| 299 | + <test name="ValidateGridSizeFormDisablesStageAfterTabItemOptions"> |
| 300 | + <annotations> |
| 301 | + <features value="Pagebuilder"/> |
| 302 | + <stories value="Column"/> |
| 303 | + <title value="Options panels should not appear when grid form is open"/> |
| 304 | + <description value="Verify that switching directly from the tab items options to grid form keeps stage disabled"/> |
| 305 | + <severity value="CRITICAL"/> |
| 306 | + <testCaseId value="MC-2350"/> |
| 307 | + <useCaseId value="MC-950"/> |
| 308 | + <group value="pagebuilder"/> |
| 309 | + <group value="pagebuilder-column"/> |
| 310 | + <group value="pagebuilder-columnGridSize"/> |
| 311 | + <group value="pagebuilder-tabs"/> |
| 312 | + </annotations> |
| 313 | + <before> |
| 314 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 315 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 316 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 317 | + </before> |
| 318 | + <after> |
| 319 | + <actionGroup ref="logout" stepKey="logOut"/> |
| 320 | + </after> |
| 321 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragAdditionalRow"> |
| 322 | + <argument name="contentType" value="PageBuilderRowContentType"/> |
| 323 | + </actionGroup> |
| 324 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragAdditionalRow2"> |
| 325 | + <argument name="contentType" value="PageBuilderRowContentType"/> |
| 326 | + </actionGroup> |
| 327 | + <actionGroup ref="dragContentTypeToContainer" stepKey="dragColumnIntoStage"> |
| 328 | + <argument name="contentType" value="PageBuilderColumnContentType"/> |
| 329 | + <argument name="containerTargetType" value="PageBuilderRowContentType"/> |
| 330 | + <argument name="containerTargetIndex" value="1"/> |
| 331 | + </actionGroup> |
| 332 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup"> |
| 333 | + <argument name="group" value="PageBuilderTabsContentType"/> |
| 334 | + </actionGroup> |
| 335 | + <actionGroup ref="dragContentTypeToContainer" stepKey="dragTabsIntoStage"> |
| 336 | + <argument name="contentType" value="PageBuilderTabsContentType"/> |
| 337 | + <argument name="containerTargetType" value="PageBuilderRowContentType"/> |
| 338 | + <argument name="containerTargetIndex" value="2"/> |
| 339 | + </actionGroup> |
| 340 | + <actionGroup ref="openGridSizeForm" stepKey="openGridSizeForm" /> |
| 341 | + <!-- Validate column options don't display --> |
| 342 | + <comment userInput="Validate column options don't display" stepKey="commentColumnOptionsHidden"/> |
| 343 | + <moveMouseOver selector="{{PageBuilderColumnSection.columnX('2')}}" stepKey="moveMouseOverColumn" /> |
| 344 | + <waitForPageLoad stepKey="waitForAnimations" /> |
| 345 | + <waitForElement selector="{{PageBuilderActionsSection.contentTypeOptionsMenuByIndex(PageBuilderColumnContentType.role, '2')}}" stepKey="waitForColumnOptions" /> |
| 346 | + <dontSee selector="{{PageBuilderActionsSection.contentTypeOptionsMenuByIndex(PageBuilderColumnContentType.role, '2')}}" stepKey="dontSeeColumnOptions" /> |
| 347 | + <waitForElementNotVisible selector="{{PageBuilderActionsSection.contentTypeOptionsMenuByIndex(PageBuilderColumnContentType.role, '2')}}" stepKey="notVisibleColumnOptions" /> |
| 348 | + <!-- Validate row options don't display --> |
| 349 | + <comment userInput="Validate row options don't display" stepKey="commentRowOptionsHidden"/> |
| 350 | + <moveMouseOver selector="{{PageBuilderActionsSection.contentTypeInStageByIndex(PageBuilderRowContentType.role, '3')}}" x="10" y="10" stepKey="moveMouseOverRow" /> |
| 351 | + <waitForPageLoad stepKey="waitForRowAnimations" /> |
| 352 | + <waitForElement selector="{{PageBuilderActionsSection.contentTypeOptionsMenuByIndex(PageBuilderRowContentType.role, '3')}}" stepKey="waitForRowOptions" /> |
| 353 | + <dontSee selector="{{PageBuilderActionsSection.contentTypeOptionsMenuByIndex(PageBuilderRowContentType.role, '3')}}" stepKey="dontSeeRowOptions" /> |
| 354 | + <!-- Close grid form and check options are restored --> |
| 355 | + <comment userInput="Close grid form and check options are restored" stepKey="commentCloseAndValidateOptionsAreRestored"/> |
| 356 | + <actionGroup ref="closeGridSizeForm" stepKey="closeGridForm" /> |
| 357 | + <moveMouseOver selector="{{PageBuilderActionsSection.contentTypeInStage(PageBuilderRowContentType.role)}}" x="10" y="0" stepKey="onMouseOverContentTypeStage"/> |
| 358 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
| 359 | + <waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeOptionsMenu(PageBuilderRowContentType.role)}}" stepKey="waitForOptions"/> |
| 360 | + </test> |
299 | 361 | <test name="ValidateUnfocusUpdatesGrid">
|
300 | 362 | <annotations>
|
301 | 363 | <features value="Pagebuilder"/>
|
|
833 | 895 | <description value="Verify that the grid form stays open after clicking the number spinners in input"/>
|
834 | 896 | <severity value="CRITICAL"/>
|
835 | 897 | <testCaseId value="MC-2308"/>
|
| 898 | + <useCaseId value="MC-950"/> |
836 | 899 | <group value="pagebuilder"/>
|
837 | 900 | <group value="pagebuilder-column"/>
|
838 | 901 | <group value="pagebuilder-columnGridSize"/>
|
|
0 commit comments