|
8 | 8 |
|
9 | 9 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
|
11 |
| - <actionGroup name="expandPageBuilderPanelGroup"> |
| 11 | + <actionGroup name="expandPageBuilderPanelMenuSection"> |
12 | 12 | <arguments>
|
13 |
| - <argument name="group"/> |
| 13 | + <argument name="contentType"/> |
14 | 14 | <argument name="pageBuilderArea" defaultValue="" type="string"/>
|
15 | 15 | </arguments>
|
16 |
| - <waitForElementVisible selector="{{pageBuilderArea}}{{PageBuilderPanel.panelGroup(group.section)}}" stepKey="waitForGroupVisible"/> |
17 |
| - <conditionalClick selector="{{pageBuilderArea}}{{PageBuilderPanel.panelGroup(group.section)}}" dependentSelector="{{pageBuilderArea}}{{PageBuilderPanel.panelGroupActive(group.section)}}" visible="false" stepKey="expandGroup"/> |
18 |
| - <waitForElementVisible selector="{{pageBuilderArea}}{{PageBuilderPanel.panelGroupActive(group.section)}}" stepKey="waitForGroupExpanded"/> |
| 16 | + <waitForElementVisible selector="{{pageBuilderArea}}{{PageBuilderPanel.panelMenuSection(contentType.section)}}" stepKey="waitForcontentTypeVisible"/> |
| 17 | + <conditionalClick selector="{{pageBuilderArea}}{{PageBuilderPanel.panelMenuSection(contentType.section)}}" dependentSelector="{{pageBuilderArea}}{{PageBuilderPanel.panelMenuSectionActive(contentType.section)}}" visible="false" stepKey="expandContentTypeMenuSection"/> |
| 18 | + <waitForElementVisible selector="{{pageBuilderArea}}{{PageBuilderPanel.panelMenuSectionActive(contentType.section)}}" stepKey="waitForMenuSectionExpanded"/> |
19 | 19 | </actionGroup>
|
20 |
| - <actionGroup name="closePageBuilderPanelGroups"> |
21 |
| - <click selector="{{PageBuilderPanel.elementsGroup}}" stepKey="clickElementsGroup"/> |
22 |
| - <click selector="{{PageBuilderPanel.mediaGroup}}" stepKey="clickMediaGroup"/> |
23 |
| - <click selector="{{PageBuilderPanel.addContentGroup}}" stepKey="clickAddContentGroup"/> |
| 20 | + <actionGroup name="closePageBuilderPanelMenuSections"> |
| 21 | + <click selector="{{PageBuilderPanel.elementsMenuSection}}" stepKey="clickElementsMenuSection"/> |
| 22 | + <click selector="{{PageBuilderPanel.mediaMenuSection}}" stepKey="clickMediaMenuSection"/> |
| 23 | + <click selector="{{PageBuilderPanel.addContentMenuSection}}" stepKey="clickAddContentMenuSection"/> |
24 | 24 | </actionGroup>
|
25 |
| - <actionGroup name="validateGroupsAndContentTypes"> |
26 |
| - <seeNumberOfElements selector="{{PageBuilderPanel.allPanelGroups}}" userInput="4" stepKey="seeNumberOfGroups"/> |
27 |
| - <seeNumberOfElements selector="{{PageBuilderPanel.allGroupContentTypes('layout')}}" userInput="3" stepKey="seeNumberOfLayoutGroupContentTypes"/> |
28 |
| - <see userInput="Layout" selector="{{PageBuilderPanel.layoutGroup}}" stepKey="seeLayoutGroup"/> |
29 |
| - <see userInput="Row" selector="{{PageBuilderPanel.layoutGroupContentType}}" stepKey="seeLayoutGroupRow"/> |
30 |
| - <see userInput="Column" selector="{{PageBuilderPanel.layoutGroupContentType}}" stepKey="seeLayoutGroupColumn"/> |
31 |
| - <see userInput="Tabs" selector="{{PageBuilderPanel.layoutGroupContentType}}" stepKey="seeLayoutGroupTabs"/> |
32 |
| - <click selector="{{PageBuilderPanel.elementsGroup}}" stepKey="clickElementsGroup"/> |
33 |
| - <seeNumberOfElements selector="{{PageBuilderPanel.allGroupContentTypes('elements')}}" userInput="5" stepKey="seeNumberOfElementsGroupContentTypes"/> |
34 |
| - <see userInput="Elements" selector="{{PageBuilderPanel.elementsGroup}}" stepKey="seeElementsGroup"/> |
35 |
| - <see userInput="Text" selector="{{PageBuilderPanel.elementsGroupContentType}}" stepKey="seeElementsGroupText"/> |
36 |
| - <see userInput="Heading" selector="{{PageBuilderPanel.elementsGroupContentType}}" stepKey="seeElementsGroupHeading"/> |
37 |
| - <see userInput="Buttons" selector="{{PageBuilderPanel.elementsGroupContentType}}" stepKey="seeElementsGroupButtons"/> |
38 |
| - <see userInput="Divider" selector="{{PageBuilderPanel.elementsGroupContentType}}" stepKey="seeElementsGroupDivider"/> |
39 |
| - <see userInput="HTML Code" selector="{{PageBuilderPanel.elementsGroupContentType}}" stepKey="seeElementsGroupHtml"/> |
40 |
| - <click selector="{{PageBuilderPanel.mediaGroup}}" stepKey="clickMediaGroup"/> |
41 |
| - <seeNumberOfElements selector="{{PageBuilderPanel.allGroupContentTypes('media')}}" userInput="5" stepKey="seeNumberOfMediaGroupContentTypes"/> |
42 |
| - <see userInput="Media" selector="{{PageBuilderPanel.mediaGroup}}" stepKey="seeMediaGroup"/> |
43 |
| - <see userInput="Image" selector="{{PageBuilderPanel.mediaGroupContentType}}" stepKey="seeMediaGroupImage"/> |
44 |
| - <see userInput="Video" selector="{{PageBuilderPanel.mediaGroupContentType}}" stepKey="seeMediaGroupVideo"/> |
45 |
| - <see userInput="Banner" selector="{{PageBuilderPanel.mediaGroupContentType}}" stepKey="seeMediaGroupBanner"/> |
46 |
| - <see userInput="Slider" selector="{{PageBuilderPanel.mediaGroupContentType}}" stepKey="seeMediaGroupSlider"/> |
47 |
| - <see userInput="Map" selector="{{PageBuilderPanel.mediaGroupContentType}}" stepKey="seeMediaGroupMap"/> |
48 |
| - <click selector="{{PageBuilderPanel.addContentGroup}}" stepKey="clickAddContentGroup"/> |
49 |
| - <seeNumberOfElements selector="{{PageBuilderPanel.allGroupContentTypes('add_content')}}" userInput="2" stepKey="seeNumberOfAddContentGroupContentTypes"/> |
50 |
| - <see userInput="Add Content" selector="{{PageBuilderPanel.addContentGroup}}" stepKey="seeAddContentGroup"/> |
51 |
| - <see userInput="Block" selector="{{PageBuilderPanel.addContentGroupContentType}}" stepKey="seeAddContentGroupBlock"/> |
52 |
| - <see userInput="Products" selector="{{PageBuilderPanel.addContentGroupContentType}}" stepKey="seeAddContentGroupProducts"/> |
| 25 | + <actionGroup name="validateMenuSectionsAndContentTypes"> |
| 26 | + <seeNumberOfElements selector="{{PageBuilderPanel.allPanelMenuSections}}" userInput="4" stepKey="seeNumberOfMenuSections"/> |
| 27 | + <seeNumberOfElements selector="{{PageBuilderPanel.allMenuSectionContentTypes('layout')}}" userInput="3" stepKey="seeNumberOfLayoutMenuSectionContentTypes"/> |
| 28 | + <see userInput="Layout" selector="{{PageBuilderPanel.layoutMenuSection}}" stepKey="seeLayoutMenuSection"/> |
| 29 | + <see userInput="Row" selector="{{PageBuilderPanel.layoutMenuSectionContentType}}" stepKey="seeLayoutMenuSectionRow"/> |
| 30 | + <see userInput="Column" selector="{{PageBuilderPanel.layoutMenuSectionContentType}}" stepKey="seeLayoutMenuSectionColumn"/> |
| 31 | + <see userInput="Tabs" selector="{{PageBuilderPanel.layoutMenuSectionContentType}}" stepKey="seeLayoutMenuSectionTabs"/> |
| 32 | + <click selector="{{PageBuilderPanel.elementsMenuSection}}" stepKey="clickElementsMenuSection"/> |
| 33 | + <seeNumberOfElements selector="{{PageBuilderPanel.allMenuSectionContentTypes('elements')}}" userInput="5" stepKey="seeNumberOfElementsMenuSectionContentTypes"/> |
| 34 | + <see userInput="Elements" selector="{{PageBuilderPanel.elementsMenuSection}}" stepKey="seeElementsMenuSection"/> |
| 35 | + <see userInput="Text" selector="{{PageBuilderPanel.elementsMenuSectionContentType}}" stepKey="seeElementsMenuSectionText"/> |
| 36 | + <see userInput="Heading" selector="{{PageBuilderPanel.elementsMenuSectionContentType}}" stepKey="seeElementsMenuSectionHeading"/> |
| 37 | + <see userInput="Buttons" selector="{{PageBuilderPanel.elementsMenuSectionContentType}}" stepKey="seeElementsMenuSectionButtons"/> |
| 38 | + <see userInput="Divider" selector="{{PageBuilderPanel.elementsMenuSectionContentType}}" stepKey="seeElementsMenuSectionDivider"/> |
| 39 | + <see userInput="HTML Code" selector="{{PageBuilderPanel.elementsMenuSectionContentType}}" stepKey="seeElementsMenuSectionHtml"/> |
| 40 | + <click selector="{{PageBuilderPanel.mediaMenuSection}}" stepKey="clickMediaMenuSection"/> |
| 41 | + <seeNumberOfElements selector="{{PageBuilderPanel.allMenuSectionContentTypes('media')}}" userInput="5" stepKey="seeNumberOfMediaMenuSectionContentTypes"/> |
| 42 | + <see userInput="Media" selector="{{PageBuilderPanel.mediaMenuSection}}" stepKey="seeMediaMenuSection"/> |
| 43 | + <see userInput="Image" selector="{{PageBuilderPanel.mediaMenuSectionContentType}}" stepKey="seeMediaMenuSectionImage"/> |
| 44 | + <see userInput="Video" selector="{{PageBuilderPanel.mediaMenuSectionContentType}}" stepKey="seeMediaMenuSectionVideo"/> |
| 45 | + <see userInput="Banner" selector="{{PageBuilderPanel.mediaMenuSectionContentType}}" stepKey="seeMediaMenuSectionBanner"/> |
| 46 | + <see userInput="Slider" selector="{{PageBuilderPanel.mediaMenuSectionContentType}}" stepKey="seeMediaMenuSectionSlider"/> |
| 47 | + <see userInput="Map" selector="{{PageBuilderPanel.mediaMenuSectionContentType}}" stepKey="seeMediaMenuSectionMap"/> |
| 48 | + <click selector="{{PageBuilderPanel.addContentMenuSection}}" stepKey="clickAddContentMenuSection"/> |
| 49 | + <seeNumberOfElements selector="{{PageBuilderPanel.allMenuSectionContentTypes('add_content')}}" userInput="2" stepKey="seeNumberOfAddContentMenuSectionContentTypes"/> |
| 50 | + <see userInput="Add Content" selector="{{PageBuilderPanel.addContentMenuSection}}" stepKey="seeAddContentMenuSection"/> |
| 51 | + <see userInput="Block" selector="{{PageBuilderPanel.addContentMenuSectionContentType}}" stepKey="seeAddContentMenuSectionBlock"/> |
| 52 | + <see userInput="Products" selector="{{PageBuilderPanel.addContentMenuSectionContentType}}" stepKey="seeAddContentMenuSectionProducts"/> |
53 | 53 | </actionGroup>
|
54 | 54 | </actionGroups>
|
0 commit comments