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