Commit c7dd05e9 authored by Clement Ho's avatar Clement Ho

Fix protected branches access control spec

parent e2d018c2
......@@ -10,7 +10,7 @@ shared_examples "protected branches > access control > CE" do
unless allowed_to_push_button.text == access_type_name
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
......@@ -55,7 +55,7 @@ shared_examples "protected branches > access control > CE" do
unless allowed_to_merge_button.text == access_type_name
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
......
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