Skip to content

Commit cc766ae

Browse files
Lusine-Papyanvitalysery
authored andcommitted
MC-18709: [WYSIWYG]Spinner is Always Displayed on Media Gallery popup
- Updated automated test script
1 parent 7170855 commit cc766ae

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/code/Magento/Cms/Test/Mftf/ActionGroup/AdminCMSBlockContentActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10-
<actionGroup name="AddImageToCMSBlockContent">
10+
<actionGroup name="AdminAddImageToCMSBlockContent">
1111
<arguments>
1212
<argument name="image" type="entity" defaultValue="MagentoLogo"/>
1313
</arguments>

app/code/Magento/Cms/Test/Mftf/Section/CmsNewBlockBlockActionsSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<element name="ok" type="button" selector="//div[contains(@class, 'mce-floatpanel')]//span[contains(text(), 'Ok')]"/>
4040
</section>
4141
<section name="BlockSelectImageSection">
42-
<element name="uploadFile" type="input" selector="input[name='image']"/>
42+
<element name="uploadFile" type="input" selector="input.fileupload"/>
4343
<element name="addSelected" type="button" selector="#insert_files"/>
4444
<element name="treeRoot" type="text" selector="//div[contains(@class, 'jstree')]//a[contains(text(), 'Storage Root')]"/>
4545
</section>

app/code/Magento/Cms/Test/Mftf/Test/AdminMediaGalleryPopupUploadImagesWithoutErrorTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<test name="AdminMediaGalleryPopupUploadImagesWithoutErrorTest">
1111
<annotations>
1212
<features value="Cms"/>
13-
<stories value="WYSIWYG - Spinner is Always Displayed on Media Gallery popup"/>
13+
<stories value="Spinner is Always Displayed on Media Gallery popup"/>
1414
<title value="Media Gallery popup upload images without error"/>
1515
<description value="Media Gallery popup upload images without error"/>
1616
<severity value="CRITICAL"/>
@@ -40,7 +40,7 @@
4040
<actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToCreatedCMSBlockPage1">
4141
<argument name="CMSBlockPage" value="$$createBlock$$"/>
4242
</actionGroup>
43-
<actionGroup ref="AddImageToCMSBlockContent" stepKey="addImage">
43+
<actionGroup ref="AdminAddImageToCMSBlockContent" stepKey="addImage">
4444
<argument name="image" value="TestImageNew"/>
4545
</actionGroup>
4646
<click selector="{{BlockWYSIWYGSection.ShowHideBtn}}" stepKey="clickShowHideBtnFirstTime"/>
@@ -53,7 +53,7 @@
5353
<switchToIFrame stepKey="switchBack"/>
5454
<!--Add image second time and assert-->
5555
<comment userInput="Add image second time and assert" stepKey="commentAddImageAndAssert"/>
56-
<actionGroup ref="AddImageToCMSBlockContent" stepKey="addImageSecondTime">
56+
<actionGroup ref="AdminAddImageToCMSBlockContent" stepKey="addImageSecondTime">
5757
<argument name="image" value="MagentoLogo"/>
5858
</actionGroup>
5959
<switchToIFrame selector="{{BlockContentSection.contentIframe}}" stepKey="switchToContentFrameSecondTime"/>

0 commit comments

Comments
 (0)