Skip to content

Commit 80ff913

Browse files
committed
MC-4294: Cannot Activate Tab Item After Moving Tabs or Slider to New Parent Container
Add row appearance change and re-evaluation of slider integrity
1 parent ae6e932 commit 80ff913

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,18 @@
655655
</actionGroup>
656656
<seeElement selector="{{SlideOnBackend.backgroundColor('2', PageBuilderBackgroundColor_Hex_Grey.rgb)}}" stepKey="seeBackgroundColorForSlideItem2OnStageAfterMoving"/>
657657
<dontSeeElement selector="{{SlideOnBackend.backgroundColor('1', PageBuilderBackgroundColor_Hex_Grey.rgb)}}" stepKey="dontSeeBackgroundColorForSlideItem1OnStageAfterMoving"/>
658+
<!-- Change appearance of row and re-evaluate -->
659+
<comment userInput="Change appearance of row and re-evaluate" stepKey="commentChangeAppearanceOfRowAndReevaluate"/>
660+
<click selector="{{PageBuilderPanel.searchPanel}}" stepKey="loseFocus2"/>
661+
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStageForFirstRow">
662+
<argument name="contentType" value="PageBuilderRowContentType"/>
663+
</actionGroup>
664+
<actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearanceRow1">
665+
<argument name="property" value="PageBuilderRowAppearance_FullWidth"/>
666+
</actionGroup>
667+
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsRow1"/>
668+
<seeElement selector="{{SlideOnBackend.backgroundColor('2', PageBuilderBackgroundColor_Hex_Grey.rgb)}}" stepKey="seeBackgroundColorForSlideItem2OnStageAfterChangingRowAppearance"/>
669+
<dontSeeElement selector="{{SlideOnBackend.backgroundColor('1', PageBuilderBackgroundColor_Hex_Grey.rgb)}}" stepKey="dontSeeBackgroundColorForSlideItem1OnStageAfterChangingRowAppearance"/>
658670
<!-- Save Page -->
659671
<comment userInput="Save Page" stepKey="commentSavePage"/>
660672
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
@@ -675,8 +687,8 @@
675687
<argument name="contentTypeIndex" value="1"/>
676688
<argument name="containerTargetIndex" value="1"/>
677689
</actionGroup>
678-
<seeElement selector="{{SlideOnFrontend.backgroundColor('1', PageBuilderBackgroundColor_Hex_Grey.rgb)}}" stepKey="seeBackgroundColorForSlideItem1OnStorefront"/>
679-
<dontSeeElement selector="{{SlideOnFrontend.backgroundColor('2', PageBuilderBackgroundColor_Hex_Grey.rgb)}}" stepKey="dontSeeBackgroundColorForSlideItem2OnStorefront"/>
690+
<seeElement selector="{{SliderOnFrontend.slideNavigationDot('1', '1')}}" stepKey="seeSlideItem1NavigationDotOnStorefront"/>
691+
<seeElement selector="{{SliderOnFrontend.slideNavigationDot('1', '2')}}" stepKey="seeSlideItem2NavigationDotOnStorefront"/>
680692
</test>
681693
<test name="SliderValidateShowHideOnSliderDefaultState">
682694
<annotations>

0 commit comments

Comments
 (0)