Skip to content

Commit 999b239

Browse files
author
joweecaquicla
committed
magento/adobe-stock-integration#1825: Stabilize CMS Page asset links tests - modified test file
1 parent 915c776 commit 999b239

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/MediaGalleryCmsUi/Test/Mftf/Test/AdminMediaGalleryAssertUsedInLinkPagesGridTest.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,12 @@
5757
<argument name="imageName" value="{{ImageMetadata.title}}"/>
5858
</actionGroup>
5959
<actionGroup ref="AdminMediaGalleryClickAddSelectedActionGroup" stepKey="clickAddSelectedContentImage"/>
60-
<click selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="savePage"/>
60+
<waitForPageLoad stepKey="waitForPageLoad10" />
61+
<waitForElementVisible selector="{{CmsNewPagePageActionsSection.saveAndContinueEdit}}" stepKey="waitForSaveButtonVisible"/>
62+
<click selector="{{CmsNewPagePageActionsSection.expandSplitButton}}" stepKey="expandButtonMenu"/>
63+
<click selector="{{CmsNewPagePageActionsSection.savePage}}" stepKey="savePage"/>
6164
<waitForPageLoad stepKey="waitForSaveToFinish"/>
65+
<see userInput="You saved the page." stepKey="seeSuccessMessage"/>
6266
<actionGroup ref="AdminOpenStandaloneMediaGalleryActionGroup" stepKey="openStandaloneMediaGallery"/>
6367
<actionGroup ref="ResetAdminDataGridToDefaultViewActionGroup" stepKey="resetAdminDataGridToDefaultView"/>
6468
<actionGroup ref="AdminMediaGalleryFolderSelectActionGroup" stepKey="selectFolder">

0 commit comments

Comments
 (0)