mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MNT Test empty alt tags are included (#2978)
This commit is contained in:
parent
6218b130d6
commit
01e51c425f
@ -39,7 +39,7 @@ So that I can link to a external website or a page on my site
|
|||||||
And I should not see "Link text"
|
And I should not see "Link text"
|
||||||
When I select "About Us" in the "#Form_editorInternalLink_PageID_Holder" tree dropdown
|
When I select "About Us" in the "#Form_editorInternalLink_PageID_Holder" tree dropdown
|
||||||
And I press the "Insert link" button
|
And I press the "Insert link" button
|
||||||
Then the "Content" HTML field should contain "<a href="[sitetree_link,id=2]"><img src="file1.jpg"></a>"
|
Then the "Content" HTML field should contain "<a href="[sitetree_link,id=2]"><img src="file1.jpg" alt=""></a>"
|
||||||
# Required to avoid "unsaved changed" browser dialog
|
# Required to avoid "unsaved changed" browser dialog
|
||||||
And I press the "Save" button
|
And I press the "Save" button
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ So that I can link to a external website or a page on my site
|
|||||||
And I should not see "Link text"
|
And I should not see "Link text"
|
||||||
When I fill in "http://silverstripe.org" for "URL"
|
When I fill in "http://silverstripe.org" for "URL"
|
||||||
And I press the "Insert link" button
|
And I press the "Insert link" button
|
||||||
Then the "Content" HTML field should contain "<a href="http://silverstripe.org"><img src="file1.jpg"></a>"
|
Then the "Content" HTML field should contain "<a href="http://silverstripe.org"><img src="file1.jpg" alt=""></a>"
|
||||||
# Required to avoid "unsaved changed" browser dialog
|
# Required to avoid "unsaved changed" browser dialog
|
||||||
And I press the "Save" button
|
And I press the "Save" button
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ So that I can link to a external website or a page on my site
|
|||||||
When I select "Details" in the "#Form_editorAnchorLink_PageID_Holder" tree dropdown
|
When I select "Details" in the "#Form_editorAnchorLink_PageID_Holder" tree dropdown
|
||||||
And I select "youranchor" in the "#Form_editorAnchorLink_Anchor_Holder" anchor dropdown
|
And I select "youranchor" in the "#Form_editorAnchorLink_Anchor_Holder" anchor dropdown
|
||||||
And I press the "Insert link" button
|
And I press the "Insert link" button
|
||||||
Then the "Content" HTML field should contain "<a href="[sitetree_link,id=3]#youranchor"><img src="file1.jpg"></a>"
|
Then the "Content" HTML field should contain "<a href="[sitetree_link,id=3]#youranchor"><img src="file1.jpg" alt=""></a>"
|
||||||
# Required to avoid "unsaved changed" browser dialog
|
# Required to avoid "unsaved changed" browser dialog
|
||||||
And I press the "Save" button
|
And I press the "Save" button
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user