mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Fixing behat regression
This commit is contained in:
parent
f81159c2f7
commit
bf6a84bd2f
@ -49,9 +49,9 @@ Feature: Insert an image into a page
|
||||
And I wait for 2 seconds
|
||||
# Note change in default behaviour from 3.1, respect default Upload.replaceFile=false
|
||||
Then there should be a file "assets/Uploads/file1.jpg"
|
||||
And there should be a file "assets/Uploads/file2.jpg"
|
||||
And there should be a file "assets/Uploads/file1-v2.jpg"
|
||||
When I press the "Insert" button
|
||||
Then the "Content" HTML field should contain "file2.jpg"
|
||||
Then the "Content" HTML field should contain "file1-v2.jpg"
|
||||
# Required to avoid "unsaved changed" browser dialog
|
||||
Then I press the "Save draft" button
|
||||
|
||||
@ -91,4 +91,4 @@ Feature: Insert an image into a page
|
||||
And I press the "Insert" button
|
||||
Then the "Content" HTML field should contain "<img src=assets/folder1/file1.jpg width=10 height=20>"
|
||||
# Required to avoid "unsaved changed" browser dialog
|
||||
Then I press the "Save draft" button
|
||||
Then I press the "Save draft" button
|
||||
|
Loading…
x
Reference in New Issue
Block a user