Commit e517da3f authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Created wait_for_turbolinks and added test for refs dropdown selection with special chars

parent 5368b9f2
......@@ -22,8 +22,20 @@ feature 'Ref switcher', feature: true, js: true do
input.native.send_keys :down
input.native.send_keys :down
input.native.send_keys :enter
end
expect(page).to have_title 'expand-collapse-files'
end
it "user selects ref with special characters" do
click_button 'master'
wait_for_ajax
expect(page).to have_content 'expand-collapse-files'
page.within '.project-refs-form' do
page.fill_in 'Search branches and tags', with: "'test'"
click_link "'test'"
end
expect(page).to have_title "'test'"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment