aboutsummaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
Diffstat (limited to 'test/system')
-rw-r--r--test/system/searches_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/system/searches_test.rb b/test/system/searches_test.rb
index f1f2de4..e3b4993 100644
--- a/test/system/searches_test.rb
+++ b/test/system/searches_test.rb
@@ -90,6 +90,9 @@ class SearchesTest < ApplicationSystemTestCase
test 'edit an existing search works' do
visit edit_search_url(searches(:search1))
+ # Fill in the body input and press enter, otherwise the javascript
+ # controller won't fire up.
+ fill_in 'search_body', with: 'Autor'
find('#search_body').native.send_keys(:return)
# Hit the save button so the hidden form appears.