Skip to content

Commit 46f30b2

Browse files
committed
MC-3228: Add Missing P0-P1 MFTF Tests For Slider
- Fixing failing test
1 parent ab5f293 commit 46f30b2

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Data/SlideData.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,7 @@
212212
<data key="paddingRight">40</data>
213213
<data key="paddingBottom">40</data>
214214
<data key="paddingLeft">40</data>
215-
<data key="desktopValue">40px 40px 40px 40px</data>
216-
<data key="mobileValue">40px 40px 40px 40px</data>
215+
<data key="value">40px</data>
217216
</entity>
218217
<entity name="PageBuilderSlideItemPosterPadding_Unique" type="pagebuilder_slide_item_padding_property">
219218
<data key="name">Margins and Padding</data>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
<seeElement selector="{{SlideOnBackend.posterBorderWidth('1', PageBuilderAdvancedBorderWidthPropertyDefault.value)}}" stepKey="seeBorderWidthStage"/>
479479
<seeElement selector="{{SlideOnBackend.posterBorderRadius('1', PageBuilderAdvancedBorderRadiusDefaultProperty.value)}}" stepKey="seeBorderRadiusStage"/>
480480
<seeElement selector="{{SlideOnBackend.posterMargins('1', PageBuilderMarginsPropertyDefault.value)}}" stepKey="seeMarginsStage"/>
481-
<seeElement selector="{{SlideOnBackend.posterPadding('1', PageBuilderSlideItemPosterPadding_Default.desktopValue)}}" stepKey="seePaddingStage"/>
481+
<seeElement selector="{{SlideOnBackend.posterPadding('1', PageBuilderSlideItemPosterPadding_Default.value)}}" stepKey="seePaddingStage"/>
482482
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
483483
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/>
484484
<!-- Validate Stage After Save -->
@@ -489,7 +489,7 @@
489489
<seeElement selector="{{SlideOnBackend.posterBorderWidth('1', PageBuilderAdvancedBorderWidthPropertyDefault.value)}}" stepKey="seeBorderWidthStage2"/>
490490
<seeElement selector="{{SlideOnBackend.posterBorderRadius('1', PageBuilderAdvancedBorderRadiusDefaultProperty.value)}}" stepKey="seeBorderRadiusStage2"/>
491491
<seeElement selector="{{SlideOnBackend.posterMargins('1', PageBuilderMarginsPropertyDefault.value)}}" stepKey="seeMarginsStage2"/>
492-
<seeElement selector="{{SlideOnBackend.posterPadding('1', PageBuilderSlideItemPosterPadding_Default.desktopValue)}}" stepKey="seePaddingStage2"/>
492+
<seeElement selector="{{SlideOnBackend.posterPadding('1', PageBuilderSlideItemPosterPadding_Default.value)}}" stepKey="seePaddingStage2"/>
493493
<!-- Validate Edit Panel After Save -->
494494
<comment userInput="Validate Edit Panel After Save" stepKey="commentValidateEditPanel2"/>
495495
<actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditPanel1">
@@ -534,9 +534,9 @@
534534
<seeElement selector="{{SlideOnFrontend.borderRadius('1', PageBuilderAdvancedBorderRadiusDefaultProperty.value)}}" stepKey="seeBorderRadiusStorefront"/>
535535
<seeElement selector="{{SlideOnFrontend.cssClasses('1', PageBuilderAdvancedCssClassesDefaultProperty.value)}}" stepKey="seeCSSClassesStorefront"/>
536536
<seeElement selector="{{SlideOnFrontend.margins('1', PageBuilderMarginsPropertyDefault.value)}}" stepKey="seeMarginsStorefront"/>
537-
<seeElement selector="{{SlideOnFrontend.padding('1', PageBuilderSlideItemPosterPadding_Default.desktopValue)}}" stepKey="seePaddingStorefront"/>
538-
<seeElementInDOM selector="{{SlideOnFrontend.mobilePadding('1', PageBuilderSlideItemPosterPadding_Default.mobileValue)}}" stepKey="seeInDOMMobilePaddingStorefront"/>
539-
<dontSeeElement selector="{{SlideOnFrontend.mobilePadding('1', PageBuilderSlideItemPosterPadding_Default.mobileValue)}}" stepKey="dontSeeMobilePaddingStorefront"/>
537+
<seeElement selector="{{SlideOnFrontend.padding('1', PageBuilderSlideItemPosterPadding_Default.value)}}" stepKey="seePaddingStorefront"/>
538+
<seeElementInDOM selector="{{SlideOnFrontend.mobilePadding('1', PageBuilderSlideItemPosterPadding_Default.value)}}" stepKey="seeInDOMMobilePaddingStorefront"/>
539+
<dontSeeElement selector="{{SlideOnFrontend.mobilePadding('1', PageBuilderSlideItemPosterPadding_Default.value)}}" stepKey="dontSeeMobilePaddingStorefront"/>
540540
</test>
541541
<test name="SlideItemMoveSlideItemsToRearrange">
542542
<annotations>

0 commit comments

Comments
 (0)