Fix protected branches access control spec
This commit is contained in:
parent
e2d018c205
commit
c7dd05e968
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ shared_examples "protected branches > access control > CE" do
|
||||||
|
|
||||||
unless allowed_to_push_button.text == access_type_name
|
unless allowed_to_push_button.text == access_type_name
|
||||||
allowed_to_push_button.click
|
allowed_to_push_button.click
|
||||||
within(".dropdown.open .dropdown-menu") { click_on access_type_name }
|
within(".dropdown.show .dropdown-menu") { click_on access_type_name }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ shared_examples "protected branches > access control > CE" do
|
||||||
|
|
||||||
unless allowed_to_merge_button.text == access_type_name
|
unless allowed_to_merge_button.text == access_type_name
|
||||||
allowed_to_merge_button.click
|
allowed_to_merge_button.click
|
||||||
within(".dropdown.open .dropdown-menu") { click_on access_type_name }
|
within(".dropdown.show .dropdown-menu") { click_on access_type_name }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue