Skip to content

Commit a1b1ddf

Browse files
committed
MAGETWO-91377: Create MFTF Tests
- Fix MFTF tests
1 parent 829693b commit a1b1ddf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,10 @@
293293
</arguments>
294294
<waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeInStage(contentType.role)}}" stepKey="waitForContentTypeInStageVisible" />
295295
<moveMouseOver selector="{{PageBuilderActionsSection.contentTypeInStage(contentType.role)}}" x="{{offsetXCoordinate}}" y="{{offsetYCoordinate}}" stepKey="onMouseOverContentTypeStage"/>
296-
<waitForPageLoad stepKey="waitForPageLoad"/>
296+
<waitForPageLoad stepKey="waitForOptionsAnimation"/>
297297
<waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeOptionsMenuByIndex(contentType.role, '1')}}" stepKey="waitForOptions" />
298298
<click selector="{{PageBuilderActionsSection.contentTypeRemove(contentType.role)}}" stepKey="clickRemoveContentType"/>
299+
<waitForPageLoad stepKey="waitForRemoveAnimation"/>
299300
</actionGroup>
300301
<actionGroup name="removeContentTypeFromStageByIndex">
301302
<arguments>
@@ -307,7 +308,7 @@
307308
<seeElement selector="{{PageBuilderActionsSection.contentTypeInStageByIndex(contentType.role, contentTypeNumber)}}" stepKey="seeContentTypeInStage" />
308309
<waitForElementVisible time="20" selector="{{PageBuilderActionsSection.contentTypeInStageByIndex(contentType.role, contentTypeNumber)}}" stepKey="waitForContentTypeInStageVisible" />
309310
<moveMouseOver selector="{{PageBuilderActionsSection.contentTypeInStageByIndex(contentType.role, contentTypeNumber)}}" x="{{x}}" y="{{y}}" stepKey="onMouseOverContentTypeStage"/>
310-
<waitForPageLoad stepKey="waitForPageLoad"/>
311+
<waitForPageLoad stepKey="waitForOptionsAnimation"/>
311312
<waitForElementVisible time="10" selector="{{PageBuilderActionsSection.contentTypeOptionsMenuByIndex(contentType.role, contentTypeNumber)}}" stepKey="waitForOptions" />
312313
<click selector="{{PageBuilderActionsSection.contentTypeRemoveByIndex(contentType.role, contentTypeNumber)}}" stepKey="clickRemoveContentType"/>
313314
<waitForPageLoad time="30" stepKey="waitForRemoveAnimation"/>

0 commit comments

Comments
 (0)