summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-07 21:44:42 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-08-07 21:44:42 +0000
commitcb1b4af099ef88c530f4bfd24dd3290bf9387dfb (patch)
treedecbcbdcb6d43b903c362d1e3c9406b5eca2df7a /spec
parent475f41acd4a8e0666736d40feb4d8945cf2c306a (diff)
downloadgitlab-ce-cb1b4af099ef88c530f4bfd24dd3290bf9387dfb.tar.gz
Resolve "User dropdown in filtered search does not load avatar on `master`"
Diffstat (limited to 'spec')
-rw-r--r--spec/features/merge_requests/form_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_requests/form_spec.rb b/spec/features/merge_requests/form_spec.rb
index 6ffb05c5030..89410b0e90f 100644
--- a/spec/features/merge_requests/form_spec.rb
+++ b/spec/features/merge_requests/form_spec.rb
@@ -41,7 +41,7 @@ describe 'New/edit merge request', :js do
expect(page).to have_content user2.name
end
- click_link 'Assign to me'
+ find('a', text: 'Assign to me').trigger('click')
expect(find('input[name="merge_request[assignee_id]"]', visible: false).value).to match(user.id.to_s)
page.within '.js-assignee-search' do
expect(page).to have_content user.name