fix click trigger method

上级 9aed01f0
......@@ -71,7 +71,7 @@ shared_examples 'discussion comments' do |resource_name|
expect(page).not_to have_selector menu_selector
find(toggle_selector).click
find('body').trigger 'click'
find('body').click
expect(page).not_to have_selector menu_selector
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册