Skip to content

Commit 6b799d6

Browse files
committed
Merge branch 'MC-3162-panel-regroup' of github.com:magento-obsessive-owls/magento2-page-builder into MC-3162-panel-regroup
2 parents 83b2132 + 04959e3 commit 6b799d6

File tree

1 file changed

+53
-53
lines changed

1 file changed

+53
-53
lines changed

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

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,34 @@
2929
<actionGroup ref="logout" stepKey="logout"/>
3030
</after>
3131
<!-- Validate Layout group-->
32-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Row', 'layout')}}" stepkey="validateContentType1"/>
33-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Column', 'layout')}}" stepkey="validateContentType2"/>
34-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Tabs', 'layout')}}" stepkey="validateContentType3"/>
35-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Accordion', 'layout')}}" stepkey="validateContentType4"/>
36-
<click selector="{{PageBuilderPanel.group('layout')}}" stepkey="closeLayoutGroup"/>
32+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Row', 'layout')}}" stepKey="validateContentType1"/>
33+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Column', 'layout')}}" stepKey="validateContentType2"/>
34+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Tabs', 'layout')}}" stepKey="validateContentType3"/>
35+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Accordion', 'layout')}}" stepKey="validateContentType4"/>
36+
<click selector="{{PageBuilderPanel.group('layout')}}" stepKey="closeLayoutGroup"/>
3737
<!-- Validate Elements group -->
38-
<click selector="{{PageBuilderPanel.group('elements')}}" stepkey="openElementGroup"/>
39-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Text', 'elements')}}" stepkey="validateContentType5"/>
40-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Heading', 'elements')}}" stepkey="validateContentType6"/>
41-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Buttons', 'elements')}}" stepkey="validateContentType7"/>
42-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Divider', 'elements')}}" stepkey="validateContentType8"/>
43-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Newsletter', 'elements')}}" stepkey="validateContentType9"/>
44-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Anchor', 'elements')}}" stepkey="validateContentType10"/>
45-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('HTML Code', 'elements')}}" stepkey="validateContentType11"/>
46-
<click selector="{{PageBuilderPanel.group('elements')}}" stepkey="closeElementGroup"/>
38+
<click selector="{{PageBuilderPanel.group('elements')}}" stepKey="openElementGroup"/>
39+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Text', 'elements')}}" stepKey="validateContentType5"/>
40+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Heading', 'elements')}}" stepKey="validateContentType6"/>
41+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Buttons', 'elements')}}" stepKey="validateContentType7"/>
42+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Divider', 'elements')}}" stepKey="validateContentType8"/>
43+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Newsletter', 'elements')}}" stepKey="validateContentType9"/>
44+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Anchor', 'elements')}}" stepKey="validateContentType10"/>
45+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('HTML Code', 'elements')}}" stepKey="validateContentType11"/>
46+
<click selector="{{PageBuilderPanel.group('elements')}}" stepKey="closeElementGroup"/>
4747
<!-- Validate Media Group -->
48-
<click selector="{{PageBuilderPanel.group('media')}}" stepkey="openMediaGroup"/>
49-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Image', 'media')}}" stepkey="validateContentType12"/>
50-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Video', 'media')}}" stepkey="validateContentType13"/>
51-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Banner', 'media')}}" stepkey="validateContentType14"/>
52-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Slider', 'media')}}" stepkey="validateContentType15"/>
53-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Map', 'media')}}" stepkey="validateContentType16"/>
54-
<click selector="{{PageBuilderPanel.group('media')}}" stepkey="closeMediaGroup"/>
48+
<click selector="{{PageBuilderPanel.group('media')}}" stepKey="openMediaGroup"/>
49+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Image', 'media')}}" stepKey="validateContentType12"/>
50+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Video', 'media')}}" stepKey="validateContentType13"/>
51+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Banner', 'media')}}" stepKey="validateContentType14"/>
52+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Slider', 'media')}}" stepKey="validateContentType15"/>
53+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Map', 'media')}}" stepKey="validateContentType16"/>
54+
<click selector="{{PageBuilderPanel.group('media')}}" stepKey="closeMediaGroup"/>
5555
<!-- Validate Add Content Group -->
56-
<click selector="{{PageBuilderPanel.group('add-content')}}" stepkey="openAddContentGroup"/>
57-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Block', 'add-content')}}" stepkey="validateContentType17"/>
58-
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Products', 'add-content')}}" stepkey="validateContentType18"/>
59-
<click selector="{{PageBuilderPanel.group('add-content')}}" stepkey="closeAddContentGroup"/>
56+
<click selector="{{PageBuilderPanel.group('add-content')}}" stepKey="openAddContentGroup"/>
57+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Block', 'add-content')}}" stepKey="validateContentType17"/>
58+
<seeElement selector="{{PageBuilderPanel.contentTypeInGroup('Products', 'add-content')}}" stepKey="validateContentType18"/>
59+
<click selector="{{PageBuilderPanel.group('add-content')}}" stepKey="closeAddContentGroup"/>
6060
</test>
6161
<test name="ValidatePanelDefaultState">
6262
<annotations>
@@ -78,10 +78,10 @@
7878
<after>
7979
<actionGroup ref="logout" stepKey="logout"/>
8080
</after>
81-
<seeElement selector="{{PageBuilderPanel.groupExpanded('layout')}}" stepkey="checkLayoutActive"/>
82-
<dontSeeElement selector="{{PageBuilderPanel.groupExpanded('elements')}}" stepkey="checkInactiveGroup1"/>
83-
<dontSeeElement selector="{{PageBuilderPanel.groupExpanded('media')}}" stepkey="checkInactiveGroup2"/>
84-
<dontSeeElement selector="{{PageBuilderPanel.groupExpanded('add-content')}}" stepkey="checkInactiveGroup3"/>
81+
<seeElement selector="{{PageBuilderPanel.groupExpanded('layout')}}" stepKey="checkLayoutActive"/>
82+
<dontSeeElement selector="{{PageBuilderPanel.groupExpanded('elements')}}" stepKey="checkInactiveGroup1"/>
83+
<dontSeeElement selector="{{PageBuilderPanel.groupExpanded('media')}}" stepKey="checkInactiveGroup2"/>
84+
<dontSeeElement selector="{{PageBuilderPanel.groupExpanded('add-content')}}" stepKey="checkInactiveGroup3"/>
8585
</test>
8686
<test name="ValidatePanelContentTypeIcons">
8787
<annotations>
@@ -104,32 +104,32 @@
104104
<actionGroup ref="logout" stepKey="logout"/>
105105
</after>
106106
<!-- Validate Layout Icons -->
107-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Row','row')}}" stepkey="validateIcon1"/>
108-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Column','column')}}" stepkey="validateIcon1"/>
109-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Tabs','tabs')}}" stepkey="validateIcon1"/>
110-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Accordion','accordian')}}" stepkey="validateIcon1"/>
111-
<click selector="{{PageBuilderPanel.group('layout')}}" stepkey="closeLayoutGroup"/>
107+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Row','row')}}" stepKey="validateIcon1"/>
108+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Column','column')}}" stepKey="validateIcon2"/>
109+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Tabs','tabs')}}" stepKey="validateIcon3"/>
110+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Accordion','accordian')}}" stepKey="validateIcon4"/>
111+
<click selector="{{PageBuilderPanel.group('layout')}}" stepKey="closeLayoutGroup"/>
112112
<!-- Validate Elements Icons -->
113-
<click selector="{{PageBuilderPanel.group('elements')}}" stepkey="openElementsGroup"/>
114-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Text','text')}}" stepkey="validateIcon1"/>
115-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Heading','heading')}}" stepkey="validateIcon1"/>
116-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Buttons','button')}}" stepkey="validateIcon1"/>
117-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Divider','divider')}}" stepkey="validateIcon1"/>
118-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Newsletter','newsletter')}}" stepkey="validateIcon1"/>
119-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Anchor','anchor')}}" stepkey="validateIcon1"/>
120-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('HTML Code','code')}}" stepkey="validateIcon1"/>
121-
<click selector="{{PageBuilderPanel.group('elements')}}" stepkey="closeElementsGroup"/>
113+
<click selector="{{PageBuilderPanel.group('elements')}}" stepKey="openElementsGroup"/>
114+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Text','text')}}" stepKey="validateIcon5"/>
115+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Heading','heading')}}" stepKey="validateIcon6"/>
116+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Buttons','button')}}" stepKey="validateIcon7"/>
117+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Divider','divider')}}" stepKey="validateIcon8"/>
118+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Newsletter','newsletter')}}" stepKey="validateIcon9"/>
119+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Anchor','anchor')}}" stepKey="validateIcon10"/>
120+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('HTML Code','code')}}" stepKey="validateIcon11"/>
121+
<click selector="{{PageBuilderPanel.group('elements')}}" stepKey="closeElementsGroup"/>
122122
<!-- Validate Media Icons -->
123-
<click selector="{{PageBuilderPanel.group('media')}}" stepkey="openMediaGroup"/>
124-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Image','image')}}" stepkey="validateIcon1"/>
125-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Video','video')}}" stepkey="validateIcon1"/>
126-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Banner','banner')}}" stepkey="validateIcon1"/>
127-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Slider','slider')}}" stepkey="validateIcon1"/>
128-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Map','map')}}" stepkey="validateIcon1"/>
129-
<click selector="{{PageBuilderPanel.group('media')}}" stepkey="closeMediaGroup"/>
123+
<click selector="{{PageBuilderPanel.group('media')}}" stepKey="openMediaGroup"/>
124+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Image','image')}}" stepKey="validateIcon12"/>
125+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Video','video')}}" stepKey="validateIcon13"/>
126+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Banner','banner')}}" stepKey="validateIcon14"/>
127+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Slider','slider')}}" stepKey="validateIcon15"/>
128+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Map','map')}}" stepKey="validateIcon16"/>
129+
<click selector="{{PageBuilderPanel.group('media')}}" stepKey="closeMediaGroup"/>
130130
<!-- Validate Media Icons -->
131-
<click selector="{{PageBuilderPanel.group('add-content')}}" stepkey="openAddContentGroup"/>
132-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Block','block')}}" stepkey="validateIcon1"/>
133-
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Products','products')}}" stepkey="validateIcon1"/>
131+
<click selector="{{PageBuilderPanel.group('add-content')}}" stepKey="openAddContentGroup"/>
132+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Block','block')}}" stepKey="validateIcon17"/>
133+
<seeElement selector="{{PageBuilderPanel.contentTypeWithIcon('Products','products')}}" stepKey="validateIcon18"/>
134134
</test>
135135
</tests>

0 commit comments

Comments
 (0)