Skip to content

Commit 871bc2d

Browse files
committed
MAGETWO-92425: Create/Update Automated Tests
- Update special character image file to be cross compatible with all platforms - Update image cleanup action group to look for file names in image src attribute
1 parent fa7d03e commit 871bc2d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Section/TinyMCESection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<element name="Browse" type="button" selector=".mce-i-browse"/>
3737
<element name="BrowseUploadImage" type="file" selector=".fileupload" />
3838
<element name="image" type="text" selector="//small[text()='{{var1}}']" parameterized="true"/>
39-
<element name="imageOrImageCopy" type="text" selector="//small[text()='{{arg1}}']|//small[contains(text(),'{{arg2}}_') and contains(text(),'.{{arg3}}')]" parameterized="true"/>
39+
<element name="imageOrImageCopy" type="text" selector="//img[@src='{{arg1}}']|//img[contains(@src,'{{arg2}}_') and contains(@src,'.{{arg3}}')]" parameterized="true"/>
4040
<element name="imageSelected" type="text" selector="//small[text()='{{var1}}']/parent::*[@class='filecnt selected']" parameterized="true"/>
4141
<element name="ImageSource" type="input" selector=".mce-combobox.mce-abs-layout-item.mce-last.mce-has-open" />
4242
<element name="ImageDescription" type="input" selector=".mce-textbox.mce-abs-layout-item.mce-last" />

0 commit comments

Comments
 (0)