Commit 03c02cb9 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '222249-broken-test-in-spec-features-groups-members-leave_group_spec-rb' into 'master'

Fix flaky leave_group_spec.rb if network is slow

Closes #222249

See merge request gitlab-org/gitlab!34488
parents 24a40597 08cc10de
...@@ -31,6 +31,7 @@ describe 'Groups > Members > Leave group' do ...@@ -31,6 +31,7 @@ describe 'Groups > Members > Leave group' do
page.accept_confirm page.accept_confirm
wait_for_all_requests
expect(current_path).to eq(dashboard_groups_path) expect(current_path).to eq(dashboard_groups_path)
expect(group.users).not_to include(user) expect(group.users).not_to include(user)
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