Fix sidebar spec

Closed username-removed-408677 requested to merge fix-sidebar-spec into multiple_assignees_review

What does this MR do?

Fixes the sidebar spec so that rspec 6 20 passes as found in

Are there points in the code the reviewer needs to double check?

Shouldn't be

Why was this MR needed?

Fixes failing build

Screenshots (if relevant)


Does this MR meet the acceptance criteria?


What are the relevant issue numbers?

#1904 (closed)