From 3b90fef04f914aa6d4a43322771ea1d6b3329af2 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Wed, 1 Jul 2015 13:24:44 +1200 Subject: [PATCH] BUG fix behat tests Fixes #1223 --- tests/behat/features/insert-a-link.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/behat/features/insert-a-link.feature b/tests/behat/features/insert-a-link.feature index 055be288..3d66fbf9 100644 --- a/tests/behat/features/insert-a-link.feature +++ b/tests/behat/features/insert-a-link.feature @@ -52,9 +52,9 @@ So that I can link to a external website or a page on my site Given I select "awesome" in the "Content" HTML field When I press the "Insert Link" button When I select the "Download a file" radio button - And I fill in the "File" dropdown with "file1.jpg" + And I attach the file "testfile.jpg" to "file[Uploads][]" with HTML5 And I press the "Insert link" button - Then the "Content" HTML field should contain "awesome" + Then the "Content" HTML field should contain "awesome" # Required to avoid "unsaved changes" browser dialog Then I press the "Save draft" button