summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorFilipa Lacerda <lacerda.filipa@gmail.com>2017-02-14 10:41:05 +0000
committerFilipa Lacerda <lacerda.filipa@gmail.com>2017-02-14 10:41:05 +0000
commit640e977d4d5b6ab8f0c48f3b58a14ed2301d8257 (patch)
treea10f81563ebe36b3f109c16d0cd4e46c4199dac2 /spec/features
parent01dfedbcad2b8c0988036f9083642a51ee4e9268 (diff)
parent010c9337b5e024d5af586fcc8d73fe72a52fd9f1 (diff)
downloadgitlab-ce-640e977d4d5b6ab8f0c48f3b58a14ed2301d8257.tar.gz
Merge branch '27966-branch-ref-switcher-input-filter-broken' into 'master'
Display loading indicator when filtering ref switcher dropdown Closes #27966 See merge request !9144
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/ref_switcher_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/ref_switcher_spec.rb b/spec/features/projects/ref_switcher_spec.rb
index 38fe2d92885..4eafac1acd8 100644
--- a/spec/features/projects/ref_switcher_spec.rb
+++ b/spec/features/projects/ref_switcher_spec.rb
@@ -20,9 +20,9 @@ feature 'Ref switcher', feature: true, js: true do
input.set 'binary'
wait_for_ajax
- input.native.send_keys :down
- input.native.send_keys :down
- input.native.send_keys :enter
+ page.within '.dropdown-content ul' do
+ input.native.send_keys :enter
+ end
end
expect(page).to have_title 'binary-encoding'