|
142 | 142 | <argument name="containerOffsetXCoordinate" defaultValue="null" type="string"/>
|
143 | 143 | <argument name="containerOffsetYCoordinate" defaultValue="null" type="string"/>
|
144 | 144 | </arguments>
|
| 145 | + <comment userInput="moveContentTypeToContainer" stepKey="comment"/> |
145 | 146 | <waitForElementVisible time="20" selector="{{PageBuilderStage.contentTypeInStageByIndex(contentType.role, contentTypeIndex)}}" stepKey="waitForContentTypeInStageVisible"/>
|
146 | 147 | <moveMouseOver selector="{{PageBuilderStage.contentTypeInStageByIndex(contentType.role, contentTypeIndex)}}" x="{{offsetXCoordinate}}" y="{{offsetYCoordinate}}" stepKey="onMouseOverContentTypeStage"/>
|
147 | 148 | <waitForPageLoad time="30" stepKey="waitForAnimation"/>
|
|
151 | 152 | <waitForPageLoad time="30" stepKey="waitForStageToLoad"/>
|
152 | 153 | <waitForElementVisible time="30" selector="{{PageBuilderStage.contentTypeInStageByIndex(contentType.role, contentTypeIndex)}}" stepKey="waitForContentTypeInStage"/>
|
153 | 154 | </actionGroup>
|
154 |
| - <actionGroup name="cannotMoveContentTypeToContainer"> |
| 155 | + <actionGroup name="cannotMoveContentTypeToContainer" extends="moveContentTypeToContainer"> |
155 | 156 | <arguments>
|
156 |
| - <argument name="contentType"/> |
157 |
| - <argument name="contentTypeIndex" defaultValue="1" type="string"/> |
158 |
| - <argument name="containerTargetType"/> |
159 |
| - <argument name="containerTargetIndex" defaultValue="1" type="string"/> |
160 |
| - <argument name="offsetXCoordinate" defaultValue="10" type="string"/> |
161 |
| - <argument name="offsetYCoordinate" defaultValue="0" type="string"/> |
162 |
| - <argument name="containerOffsetXCoordinate" defaultValue="null" type="string"/> |
163 |
| - <argument name="containerOffsetYCoordinate" defaultValue="null" type="string"/> |
164 | 157 | <argument name="positionInContainer" defaultValue="1" type="string"/>
|
165 | 158 | </arguments>
|
166 |
| - <waitForElementVisible time="20" selector="{{PageBuilderStage.contentTypeInStageByIndex(contentType.role, contentTypeIndex)}}" stepKey="waitForContentTypeInStageVisible"/> |
167 |
| - <moveMouseOver selector="{{PageBuilderStage.contentTypeInStageByIndex(contentType.role, contentTypeIndex)}}" x="{{offsetXCoordinate}}" y="{{offsetYCoordinate}}" stepKey="onMouseOverContentTypeStage"/> |
168 |
| - <waitForPageLoad time="30" stepKey="waitForAnimation"/> |
169 |
| - <waitForElementVisible time="10" selector="{{PageBuilderContentTypeOptionsMenu.contentTypeOptionsMenuByIndex(contentType.role, contentTypeIndex)}}" stepKey="waitForOptions"/> |
170 |
| - <waitForElementVisible selector="{{PageBuilderContentTypeOptionsMenu.contentTypeMoveByIndex(contentType.role, contentTypeIndex)}}" stepKey="waitForEditButton"/> |
171 |
| - <dragAndDrop selector1="{{PageBuilderContentTypeOptionsMenu.contentTypeMoveByIndex(contentType.role, contentTypeIndex)}}" selector2="{{PageBuilderStage.contentTypeContainer(containerTargetType.role, containerTargetIndex)}}" x="{{containerOffsetXCoordinate}}" y="{{containerOffsetYCoordinate}}" stepKey="moveContentTypeIntoContainer"/> |
172 |
| - <waitForPageLoad time="30" stepKey="waitForStageToLoad"/> |
173 |
| - <waitForElementVisible time="30" selector="{{PageBuilderStage.contentTypeInStageByIndex(containerTargetType.role, containerTargetIndex)}}" stepKey="waitForContentTypeStage"/> |
174 |
| - <dontSeeElementInDOM selector="{{PageBuilderStage.contentTypeInsideContainerStage(containerTargetType.role, containerTargetIndex, positionInContainer, contentType.role, contentTypeIndex)}}" stepKey="dontSeeContentTypeInContainer"/> |
| 159 | + <comment userInput="cannotMoveContentTypeToContainer" stepKey="comment"/> |
| 160 | + <dontSeeElementInDOM selector="{{PageBuilderStage.contentTypeInsideContainerStage(containerTargetType.role, containerTargetIndex, positionInContainer, contentType.role, contentTypeIndex)}}" stepKey="dontSeeContentTypeInContainer" after="waitForContentTypeInStage"/> |
175 | 161 | </actionGroup>
|
176 | 162 | <actionGroup name="dragContentTypeNextToExistingContentType">
|
177 | 163 | <arguments>
|
|
0 commit comments