Commit 7a6e4f24 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'bw-masster-broken-mr-edit' into 'master'

Close Reviewer menu after making selection

See merge request gitlab-org/gitlab!62352
parents ffed5fe4 5b2763d4
......@@ -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