Fix flaky leave_group_spec.rb if network is slow
requested to merge 222249-broken-test-in-spec-features-groups-members-leave_group_spec-rb into master
What does this MR do?
Wait until we are not on the group page anymore before asserting that we are on the dashboard page.
This is potentially completely incorrect approach but should work in theory..
Closes #222249 (closed)
Edited by Simon Knox