Commit f31cf06d authored by Sean McGivern's avatar Sean McGivern

Merge branch 'fix-issue_sidebar_spec-failure-and-remove-sleep' into 'master'

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

See merge request !11064
parents d88b9ac7 d6f07ce4
......@@ -152,9 +152,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').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