Commit 308e2d3f authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Fixed issue_sidebar_spec.rb click as true click cannot hit the right element and removed sleep

parent 1d2b2bd9
......@@ -151,9 +151,7 @@ feature 'Issue Sidebar', feature: true do
end
def open_issue_sidebar
page.within('aside.right-sidebar.right-sidebar-collapsed') do
find('.js-sidebar-toggle').click
sleep 1
end
find('aside.right-sidebar.right-sidebar-collapsed .js-sidebar-toggle').trigger('click')
find('aside.right-sidebar.right-sidebar-expanded')
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