|
8 | 8 |
|
9 | 9 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
|
11 |
| - <actionGroup name="validateVisualSelects"> |
12 |
| - <arguments> |
13 |
| - <argument name="property1" defaultValue=""/> |
14 |
| - <argument name="property2" defaultValue=""/> |
15 |
| - <argument name="property3" defaultValue=""/> |
16 |
| - <argument name="property4" defaultValue=""/> |
17 |
| - </arguments> |
18 |
| - <waitForElement selector="{{PageBuilderActionsSection.panelFieldControl(property1.section, property1.fieldName)}}" stepKey="waitForElementVisible" /> |
19 |
| - <seeElement selector="{{VisualSelectComponent.firstSelection(property1.value)}}" stepKey="seeFirstSelection"/> |
20 |
| - <seeElement selector="{{VisualSelectComponent.firstSelection(property2.value)}}" stepKey="seeSecondSelection"/> |
21 |
| - <seeElement selector="{{VisualSelectComponent.firstSelection(property3.value)}}" stepKey="seeThirdSelection"/> |
22 |
| - <seeElement selector="{{VisualSelectComponent.firstSelection(property4.value)}}" stepKey="seeFourthSelection"/> |
23 |
| - </actionGroup> |
24 |
| - <actionGroup name="validateTextAlignment"> |
25 |
| - <arguments> |
26 |
| - <argument name="property" defaultValue=""/> |
27 |
| - </arguments> |
28 |
| - <waitForElement selector="{{PageBuilderActionsSection.panelFieldControl(property.section, property.fieldName)}}" stepKey="waitForElementVisible" /> |
29 |
| - <seeElement selector="//li[@name='{{property.value}}' and contains(@class,'active')]" stepKey="alignmentIsSelected" /> |
30 |
| - </actionGroup> |
31 | 11 | <actionGroup name="fillSlideOutPanelFieldMargins">
|
32 | 12 | <arguments>
|
33 | 13 | <argument name="property" defaultValue=""/>
|
|
50 | 30 | <fillField selector="{{AdvancedForm.advancedPaddingBottom}}" userInput="{{property.paddingBottom}}" stepKey="fillPaddingBottomField"/>
|
51 | 31 | <click selector="{{PageBuilderActionsSection.panelFieldLabel(property.section, property.fieldName, property.section, property.name)}}" stepKey="clickOnFieldLabel"/>
|
52 | 32 | </actionGroup>
|
53 |
| - <actionGroup name="clearSlideOutPanelFieldMarginsAndPadding"> |
| 33 | + <actionGroup name="fillSlideOutPanelFieldMarginsAndPadding"> |
54 | 34 | <arguments>
|
55 | 35 | <argument name="property" defaultValue=""/>
|
56 | 36 | </arguments>
|
57 | 37 | <waitForLoadingMaskToDisappear stepKey="waitForSpinner"/>
|
58 | 38 | <waitForElement time="2" selector="{{PageBuilderActionsSection.panelFieldControl(property.section, property.fieldName)}}" stepKey="waitForElementVisible" />
|
59 | 39 | <see userInput="{{property.name}}" selector="{{PageBuilderActionsSection.panelFieldLabel(property.section, property.fieldName, property.section, property.name)}}" stepKey="seePropertyLabel"/>
|
60 |
| - <clearField selector="{{AdvancedForm.advancedMarginTop}}" stepKey="clearMarginTopField"/> |
61 |
| - <clearField selector="{{AdvancedForm.advancedMarginRight}}" stepKey="clearMarginRightField"/> |
62 |
| - <clearField selector="{{AdvancedForm.advancedMarginLeft}}" stepKey="clearMarginLeftField"/> |
63 |
| - <clearField selector="{{AdvancedForm.advancedMarginBottom}}" stepKey="clearMarginBottomField"/> |
64 |
| - <clearField selector="{{AdvancedForm.advancedPaddingTop}}" stepKey="clearPaddingTopField"/> |
65 |
| - <clearField selector="{{AdvancedForm.advancedPaddingRight}}" stepKey="clearPaddingRightField"/> |
66 |
| - <clearField selector="{{AdvancedForm.advancedPaddingLeft}}" stepKey="clearPaddingLeftField"/> |
67 |
| - <clearField selector="{{AdvancedForm.advancedPaddingBottom}}" stepKey="clearPaddingBottomField"/> |
| 40 | + <fillField selector="{{AdvancedForm.advancedMarginTop}}" userInput="{{property.marginTop}}" stepKey="fillMarginTopField"/> |
| 41 | + <fillField selector="{{AdvancedForm.advancedMarginRight}}" userInput="{{property.marginRight}}" stepKey="fillMarginRightField"/> |
| 42 | + <fillField selector="{{AdvancedForm.advancedMarginBottom}}" userInput="{{property.marginBottom}}" stepKey="fillMarginBottomField"/> |
| 43 | + <fillField selector="{{AdvancedForm.advancedMarginLeft}}" userInput="{{property.marginLeft}}" stepKey="fillMarginLeftField"/> |
| 44 | + <fillField selector="{{AdvancedForm.advancedPaddingTop}}" userInput="{{property.paddingTop}}" stepKey="fillPaddingTopField"/> |
| 45 | + <fillField selector="{{AdvancedForm.advancedPaddingRight}}" userInput="{{property.paddingRight}}" stepKey="fillPaddingRightField"/> |
| 46 | + <fillField selector="{{AdvancedForm.advancedPaddingBottom}}" userInput="{{property.paddingBottom}}" stepKey="fillPaddingBottomField"/> |
| 47 | + <fillField selector="{{AdvancedForm.advancedPaddingLeft}}" userInput="{{property.paddingLeft}}" stepKey="fillPaddingLeftField"/> |
68 | 48 | <click selector="{{PageBuilderActionsSection.panelFieldLabel(property.section, property.fieldName, property.section, property.name)}}" stepKey="clickOnFieldLabel"/>
|
69 | 49 | </actionGroup>
|
70 | 50 | <actionGroup name="clearSlideOutPanelFieldMargins">
|
|
89 | 69 | <clearField selector="{{AdvancedForm.advancedPaddingBottom}}" stepKey="clearPaddingBottomField"/>
|
90 | 70 | <click selector="{{PageBuilderActionsSection.panelFieldLabel(property.section, property.fieldName, property.section, property.name)}}" stepKey="clickOnFieldLabel"/>
|
91 | 71 | </actionGroup>
|
92 |
| - <actionGroup name="fillSlideOutPanelFieldMarginsAndPadding"> |
| 72 | + <actionGroup name="clearSlideOutPanelFieldMarginsAndPadding"> |
93 | 73 | <arguments>
|
94 | 74 | <argument name="property" defaultValue=""/>
|
95 | 75 | </arguments>
|
96 | 76 | <waitForLoadingMaskToDisappear stepKey="waitForSpinner"/>
|
97 | 77 | <waitForElement time="2" selector="{{PageBuilderActionsSection.panelFieldControl(property.section, property.fieldName)}}" stepKey="waitForElementVisible" />
|
98 | 78 | <see userInput="{{property.name}}" selector="{{PageBuilderActionsSection.panelFieldLabel(property.section, property.fieldName, property.section, property.name)}}" stepKey="seePropertyLabel"/>
|
99 |
| - <fillField selector="{{AdvancedForm.advancedMarginTop}}" userInput="{{property.marginTop}}" stepKey="fillMarginTopField"/> |
100 |
| - <fillField selector="{{AdvancedForm.advancedMarginRight}}" userInput="{{property.marginRight}}" stepKey="fillMarginRightField"/> |
101 |
| - <fillField selector="{{AdvancedForm.advancedMarginBottom}}" userInput="{{property.marginBottom}}" stepKey="fillMarginBottomField"/> |
102 |
| - <fillField selector="{{AdvancedForm.advancedMarginLeft}}" userInput="{{property.marginLeft}}" stepKey="fillMarginLeftField"/> |
103 |
| - <fillField selector="{{AdvancedForm.advancedPaddingTop}}" userInput="{{property.paddingTop}}" stepKey="fillPaddingTopField"/> |
104 |
| - <fillField selector="{{AdvancedForm.advancedPaddingRight}}" userInput="{{property.paddingRight}}" stepKey="fillPaddingRightField"/> |
105 |
| - <fillField selector="{{AdvancedForm.advancedPaddingBottom}}" userInput="{{property.paddingBottom}}" stepKey="fillPaddingBottomField"/> |
106 |
| - <fillField selector="{{AdvancedForm.advancedPaddingLeft}}" userInput="{{property.paddingLeft}}" stepKey="fillPaddingLeftField"/> |
| 79 | + <clearField selector="{{AdvancedForm.advancedMarginTop}}" stepKey="clearMarginTopField"/> |
| 80 | + <clearField selector="{{AdvancedForm.advancedMarginRight}}" stepKey="clearMarginRightField"/> |
| 81 | + <clearField selector="{{AdvancedForm.advancedMarginLeft}}" stepKey="clearMarginLeftField"/> |
| 82 | + <clearField selector="{{AdvancedForm.advancedMarginBottom}}" stepKey="clearMarginBottomField"/> |
| 83 | + <clearField selector="{{AdvancedForm.advancedPaddingTop}}" stepKey="clearPaddingTopField"/> |
| 84 | + <clearField selector="{{AdvancedForm.advancedPaddingRight}}" stepKey="clearPaddingRightField"/> |
| 85 | + <clearField selector="{{AdvancedForm.advancedPaddingLeft}}" stepKey="clearPaddingLeftField"/> |
| 86 | + <clearField selector="{{AdvancedForm.advancedPaddingBottom}}" stepKey="clearPaddingBottomField"/> |
107 | 87 | <click selector="{{PageBuilderActionsSection.panelFieldLabel(property.section, property.fieldName, property.section, property.name)}}" stepKey="clickOnFieldLabel"/>
|
108 | 88 | </actionGroup>
|
109 | 89 | <actionGroup name="seeInMarginFieldsSlideOutPanel">
|
|
441 | 421 | <waitForElement selector="{{page.padding(index, padding.value)}}" stepKey="waitForPadding"/>
|
442 | 422 | <dontSeeElement selector="{{page.padding(index, padding.value)}}" stepKey="dontSeePadding"/>
|
443 | 423 | </actionGroup>
|
| 424 | + <actionGroup name="validateTextAlignment"> |
| 425 | + <arguments> |
| 426 | + <argument name="property" defaultValue=""/> |
| 427 | + </arguments> |
| 428 | + <waitForElement selector="{{PageBuilderActionsSection.panelFieldControl(property.section, property.fieldName)}}" stepKey="waitForElementVisible" /> |
| 429 | + <seeElement selector="//li[@name='{{property.value}}' and contains(@class,'active')]" stepKey="alignmentIsSelected" /> |
| 430 | + </actionGroup> |
444 | 431 | </actionGroups>
|
0 commit comments