mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Fix “I can insert an image from the CMS file store”.
This commit is contained in:
parent
046a5fd6bb
commit
b097948568
@ -55,12 +55,11 @@ Feature: Insert an image into a page
|
|||||||
# Required to avoid "unsaved changed" browser dialog
|
# Required to avoid "unsaved changed" browser dialog
|
||||||
Then I press the "Save draft" button
|
Then I press the "Save draft" button
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario: I can insert an image from the CMS file store
|
Scenario: I can insert an image from the CMS file store
|
||||||
Given I press the "Insert Media" button
|
Given I press the "Insert Media" button
|
||||||
And I press the "From the CMS" button
|
And I press the "From the CMS" button
|
||||||
And I select "folder1" in the "Find in Folder" dropdown
|
And I fill in the "ParentID" dropdown with "folder1"
|
||||||
And I select "file1.jpg"
|
And I click on "file1.jpg" in the "Files" table
|
||||||
When I press the "Insert" button
|
When I press the "Insert" button
|
||||||
Then the "Content" HTML field should contain "file1.jpg"
|
Then the "Content" HTML field should contain "file1.jpg"
|
||||||
# Required to avoid "unsaved changed" browser dialog
|
# Required to avoid "unsaved changed" browser dialog
|
||||||
|
Loading…
Reference in New Issue
Block a user