Skip to content

Commit d1b9a09

Browse files
committed
MC-3407: Create/update MFTF tests for background attributes for tab
- Resolve issues with merge
1 parent 9ed2053 commit d1b9a09

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Section/PageBuilderTabsSection.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
<element name="tabContentPadding" type="button" selector="//*[@role='tabpanel'][{{arg1}}]//div[contains(@class, 'pagebuilder-tab-item')][contains(@style, 'padding: {{arg2}}')]" parameterized="true"/>
6666
<element name="tabTextContent" type="button" selector="//div[@class='pagebuilder-text']"/>
6767
<element name="tabColumnContent" type="button" selector="//div[contains(@class,'pagebuilder-tabs')]//div[contains(@class, 'pagebuilder-column-group')]"/>
68-
<element name="base" type="button" selector="(//div[contains(@class,'pagebuilder-tab-item') and contains(@class,'pagebuilder-content-type')])[{{arg1}}]" parameterized="true"/>
6968
<!-- Background Configuration -->
7069
<element name="backgroundPosition" type="button" selector="(//div[contains(@class,'pagebuilder-tab-item') and @data-element='desktop_image'])[{{arg1}}][contains(@style,'background-position: {{arg2}};')]" parameterized="true"/>
7170
<element name="backgroundSize" type="button" selector="(//div[contains(@class,'pagebuilder-tab-item') and @data-element='desktop_image'])[{{arg1}}][contains(@style,'background-size: {{arg2}};')]" parameterized="true"/>
@@ -90,7 +89,6 @@
9089
<element name="tabContentAdvancedStylesBorder" type="button" selector="(//div[@class='tabs-content']//div[@data-role='tab-item'])[{{arg1}}][contains(@style, 'border-style: {{arg2}}') and contains(@style, 'border-color: {{arg3}}') and contains(@style, 'border-width: {{arg4}}px') and contains(@style, 'border-radius: {{arg5}}px')]" parameterized="true"/>
9190
<element name="tabContentAdvancedStyles" type="button" selector="(//div[@class='tabs-content']//div[@data-role='tab-item'])[{{arg1}}]//div[@data-element='desktop_image'][contains(@style, 'text-align: {{arg2}}') and contains(@style, 'margin: {{arg3}}px') and contains(@style, 'padding: {{arg4}}px')]" parameterized="true"/>
9291
<element name="tabContentAdvancedClass" type="button" selector="(//div[@class='tabs-content']//div[@data-role='tab-item'])[{{arg1}}][contains(@class, '{{arg2}}')]" parameterized="true"/>
93-
<element name="base" type="button" selector="(//div[@data-role='tab-item'])[{{arg1}}]" parameterized="true"/>
9492
<!-- Background Configuration -->
9593
<element name="backgroundPosition" type="button" selector="(//div[@data-role='tab-item'])[{{arg1}}]//div[@data-element='desktop_image'][contains(@style,'background-position: {{arg2}};')]" parameterized="true"/>
9694
<element name="backgroundSize" type="button" selector="(//div[@data-role='tab-item'])[{{arg1}}]//div[@data-element='desktop_image'][contains(@style,'background-size: {{arg2}};')]" parameterized="true"/>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@
713713
<argument name="contentType" value="PageBuilderSliderContentType"/>
714714
</actionGroup>
715715
<actionGroup ref="fillSlideOutPanelField" stepKey="enterBackgroundColorFFFFFFProperty">
716-
<argument name="property" value="PageBuilderSlideWhiteBackgroundColorProperty"/>
716+
<argument name="property" value="PageBuilderBackgroundColorProperty_FFFFFF"/>
717717
</actionGroup>
718718
<actionGroup ref="addTextToTinyMCE" stepKey="addTextToTinyMCE">
719719
<argument name="property" value="PageBuilderSlideMessageProperty"/>
@@ -1964,7 +1964,7 @@
19641964
<argument name="contentType" value="PageBuilderSliderContentType"/>
19651965
</actionGroup>
19661966
<actionGroup ref="fillSlideOutPanelField" stepKey="enterBackgroundColorFFFFFFProperty">
1967-
<argument name="property" value="PageBuilderSlideWhiteBackgroundColorProperty"/>
1967+
<argument name="property" value="PageBuilderBackgroundColorProperty_FFFFFF"/>
19681968
</actionGroup>
19691969
<actionGroup ref="addTextToTinyMCE" stepKey="addTextToTinyMCE">
19701970
<argument name="property" value="PageBuilderSlideMessageProperty"/>
@@ -2021,7 +2021,7 @@
20212021
<argument name="contentType" value="PageBuilderSliderContentType"/>
20222022
</actionGroup>
20232023
<actionGroup ref="fillSlideOutPanelField" stepKey="enterBackgroundColorFFFFFFProperty">
2024-
<argument name="property" value="PageBuilderSlideWhiteBackgroundColorProperty"/>
2024+
<argument name="property" value="PageBuilderBackgroundColorProperty_FFFFFF"/>
20252025
</actionGroup>
20262026
<actionGroup ref="addTextToTinyMCE" stepKey="addTextToTinyMCE">
20272027
<argument name="property" value="PageBuilderSlideMessageProperty"/>

0 commit comments

Comments
 (0)