提交 f31cf06d 编写于 作者: S 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
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册