Commit 62f856a3 authored by Stan Hu's avatar Stan Hu

Merge branch 'attemp-to-fix-issue_sidebar_spec-again' into 'master'

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

Closes #30504

See merge request !11127
parents 58166f03 d32e0b31
...@@ -167,7 +167,7 @@ feature 'Issue Sidebar', feature: true do ...@@ -167,7 +167,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