Commit 12d53cbe 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
parent 7041de94
...@@ -181,7 +181,7 @@ feature 'Issue Sidebar', feature: true do ...@@ -181,7 +181,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