Commit 108b6e7e authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch 'stabilize-member-leaves-project' into 'master'

Stabilize flaky spec/features/projects/members/member_leaves_project_spec.rb

See merge request gitlab-org/gitlab!78930
parents d602057e 2ed038e8
......@@ -26,6 +26,7 @@ RSpec.describe 'Projects > Members > Member leaves project' do
page.accept_confirm
wait_for_all_requests
expect(find('.flash-notice')).to have_content "You left the \"#{project.full_name}\" project"
expect(current_path).to eq(dashboard_projects_path)
expect(project.users.exists?(user.id)).to be_falsey
......
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