Fix protected branches access control spec

This commit is contained in:
Clement Ho 2018-04-23 16:49:07 -05:00
parent e2d018c205
commit c7dd05e968
1 changed files with 2 additions and 2 deletions

View File

@ -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