Click in the body

parent 4dfae4af
...@@ -53,7 +53,7 @@ RSpec.describe 'Visual tokens', :js do ...@@ -53,7 +53,7 @@ RSpec.describe 'Visual tokens', :js do
end end
it 'ends editing mode when document is clicked' do it 'ends editing mode when document is clicked' do
find('#content-body').click find('body').click
expect_filtered_search_input_empty expect_filtered_search_input_empty
expect(page).to have_css('#js-dropdown-author', visible: false) expect(page).to have_css('#js-dropdown-author', visible: false)
......
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