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
This commit is contained in:
commit
f31cf06d05
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue