Commit a2e2b11c authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix merge_request_spec

parent d45fef88
...@@ -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