summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-23 16:49:07 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-23 16:49:07 -0500
commitc7dd05e968dd515810d79688ecde08cb3ca725ec (patch)
tree7de15349afd0c37590291a92365a08e390b5a37c /spec
parente2d018c20577cd54e4d07a8446c1845c7f42050e (diff)
downloadgitlab-ce-c7dd05e968dd515810d79688ecde08cb3ca725ec.tar.gz
Fix protected branches access control spec
Diffstat (limited to 'spec')
-rw-r--r--spec/support/shared_examples/features/protected_branches_access_control_ce.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared_examples/features/protected_branches_access_control_ce.rb b/spec/support/shared_examples/features/protected_branches_access_control_ce.rb
index 17f319f49e9..5241c0fa6f1 100644
--- a/spec/support/shared_examples/features/protected_branches_access_control_ce.rb
+++ b/spec/support/shared_examples/features/protected_branches_access_control_ce.rb
@@ -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