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

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
...@@ -167,7 +167,7 @@ def visit_issue(project, issue) ...@@ -167,7 +167,7 @@ def visit_issue(project, issue)
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
Supports Markdown
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