Commit d32e0b31 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Trigger click instead of actual click to make sure the right button is always hit

parent c89849af
...@@ -152,7 +152,7 @@ feature 'Issue Sidebar', feature: true do ...@@ -152,7 +152,7 @@ feature 'Issue Sidebar', feature: true do
end end
def open_issue_sidebar def open_issue_sidebar
find('aside.right-sidebar.right-sidebar-collapsed .js-sidebar-toggle').click find('aside.right-sidebar.right-sidebar-collapsed .js-sidebar-toggle').trigger('click')
find('aside.right-sidebar.right-sidebar-expanded') find('aside.right-sidebar.right-sidebar-expanded')
end end
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