Commit 587b1490 authored by Stan Hu's avatar Stan Hu

Make issue_sidebar_spec.rb less flaky

The previous behavior attempted to click on some arbitrary point of the
sidebar to hide the sidebar, but in many occasions this point was
obscured by the opened assignee dropdown already.

To make this spec less flaky, click on the `Participants` section to
make the sidebar go away.

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/329662
parent 4cd14988
......@@ -189,7 +189,7 @@ RSpec.describe 'Issue Sidebar' do
click_link user2.name
end
find('.js-right-sidebar').click
find('.participants').click
wait_for_requests
open_assignees_dropdown
......
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