Commit aac9a974 authored by Tetiana Chupryna's avatar Tetiana Chupryna

Merge branch 'fix_protected_branch_test' into 'master'

Add wait in push_access_levels tests

See merge request gitlab-org/gitlab!67863
parents b349800e 5e06cd86
...@@ -23,6 +23,7 @@ RSpec.shared_examples "protected branches > access control > CE" do ...@@ -23,6 +23,7 @@ RSpec.shared_examples "protected branches > access control > CE" do
end end
click_on_protect click_on_protect
wait_for_requests
expect(ProtectedBranch.count).to eq(1) expect(ProtectedBranch.count).to eq(1)
expect(ProtectedBranch.last.push_access_levels.map(&:access_level)).to eq([access_type_id]) expect(ProtectedBranch.last.push_access_levels.map(&:access_level)).to eq([access_type_id])
......
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