Fixed ref switcher tests

This commit is contained in:
Phil Hughes 2017-02-20 10:28:45 +00:00
parent 8cbf27af2b
commit e4067c57ab

View file

@ -20,6 +20,8 @@ feature 'Ref switcher', feature: true, js: true do
input.set 'binary' input.set 'binary'
wait_for_ajax wait_for_ajax
expect(find('.dropdown-content ul')).to have_selector('li', count: 6)
page.within '.dropdown-content ul' do page.within '.dropdown-content ul' do
input.native.send_keys :enter input.native.send_keys :enter
end end