mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed "insert image" behat feature
Was using wrong button label, and ignoring the "unsaved changes" warning dialog
This commit is contained in:
parent
de3b1b22d3
commit
2fd5558a70
@ -23,5 +23,7 @@ And I fill in "RemoteURL" with "http://www.silverstripe.com/themes/sscom/images/
|
|||||||
And I press the "Add url" button
|
And I press the "Add url" button
|
||||||
Then I should see "silverstripe_logo_web.png (www.silverstripe.com)" in the ".ss-assetuploadfield span.name" element
|
Then I should see "silverstripe_logo_web.png (www.silverstripe.com)" in the ".ss-assetuploadfield span.name" element
|
||||||
|
|
||||||
When I press the "Update" button
|
When I press the "Insert" button
|
||||||
Then the "Content" HTML field should contain "silverstripe_logo_web.png"
|
Then the "Content" HTML field should contain "silverstripe_logo_web.png"
|
||||||
|
# Required to avoid "unsaved changed" browser dialog
|
||||||
|
Then I press the "Save draft" button
|
Loading…
Reference in New Issue
Block a user