From b0979485686c6d3651f64fc79995f13a4ea1b059 Mon Sep 17 00:00:00 2001 From: madmatt Date: Mon, 6 Jan 2014 10:47:45 +1300 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9CI=20can=20insert=20an=20image=20?= =?UTF-8?q?from=20the=20CMS=20file=20store=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/behat/features/insert-an-image.feature | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/behat/features/insert-an-image.feature b/tests/behat/features/insert-an-image.feature index c5a34421..e9a31395 100644 --- a/tests/behat/features/insert-an-image.feature +++ b/tests/behat/features/insert-an-image.feature @@ -55,12 +55,11 @@ Feature: Insert an image into a page # Required to avoid "unsaved changed" browser dialog Then I press the "Save draft" button - @todo Scenario: I can insert an image from the CMS file store Given I press the "Insert Media" button And I press the "From the CMS" button - And I select "folder1" in the "Find in Folder" dropdown - And I select "file1.jpg" + And I fill in the "ParentID" dropdown with "folder1" + And I click on "file1.jpg" in the "Files" table When I press the "Insert" button Then the "Content" HTML field should contain "file1.jpg" # Required to avoid "unsaved changed" browser dialog