Commit 5b2763d4 authored by Brett Walker's avatar Brett Walker

Close Reviewer menu after making selection

It looks like the Reviewer menu was made sticky (can
select multiple reviewers), however the menu was not
being closed and therefore occluding the Milestone menu.
parent ffed5fe4
......@@ -15,6 +15,7 @@ RSpec.shared_examples 'an editable merge request' do
page.within '.dropdown-menu-user' do
click_link user.name
end
find('.js-reviewer-search').click
expect(find('input[name="merge_request[reviewer_ids][]"]', visible: false).value).to match(user.id.to_s)
page.within '.js-reviewer-search' do
expect(page).to have_content user.name
......
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