Commit 3a8cf276 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-comments-spec' into 'master'

Fix merge_request_spec

See merge request gitlab-org/gitlab-ce!15250
parents d9a1dc3d a2e2b11c
...@@ -71,7 +71,7 @@ shared_examples 'discussion comments' do |resource_name| ...@@ -71,7 +71,7 @@ shared_examples 'discussion comments' do |resource_name|
expect(page).not_to have_selector menu_selector expect(page).not_to have_selector menu_selector
find(toggle_selector).click find(toggle_selector).click
find('body').click execute_script("document.querySelector('body').click()")
expect(page).not_to have_selector menu_selector expect(page).not_to have_selector menu_selector
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