Commit f0e4beae authored by Mike Greiling's avatar Mike Greiling

close dropdown after selection

parent de827908
...@@ -117,7 +117,7 @@ describe 'New/edit issue', :js do ...@@ -117,7 +117,7 @@ describe 'New/edit issue', :js do
page.within '.js-assignee-search' do page.within '.js-assignee-search' do
expect(page).to have_content user2.name expect(page).to have_content user2.name
end end
expect(find('a', text: 'Assign to me')).to be_visible find('body').click
find('a', text: 'Assign to me').click find('a', text: 'Assign to me').click
assignee_ids = page.all('input[name="issue[assignee_ids][]"]', visible: false) assignee_ids = page.all('input[name="issue[assignee_ids][]"]', visible: false)
......
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