summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-03 01:55:46 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-03 01:55:46 +0100
commitdc3febc24192aa9e8397036222156ebf6abf50b5 (patch)
tree270d069cbb33a677b6aacb8cacf62de6c7381bbb
parent185fd98fd4cb8f920558aea3795c4e1774cd39f5 (diff)
downloadgitlab-ce-dc3febc24192aa9e8397036222156ebf6abf50b5.tar.gz
Added find before clicking the access_type_name within the dropdown
-rw-r--r--spec/features/protected_tags/access_control_ce_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/protected_tags/access_control_ce_spec.rb b/spec/features/protected_tags/access_control_ce_spec.rb
index 5b2baf8616c..6d22f59cd36 100644
--- a/spec/features/protected_tags/access_control_ce_spec.rb
+++ b/spec/features/protected_tags/access_control_ce_spec.rb
@@ -10,6 +10,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
unless allowed_to_create_button.text == access_type_name
allowed_to_create_button.click
+ find('.dropdown.open .dropdown-menu', match: :first)
within(".dropdown.open .dropdown-menu") { click_on access_type_name }
end
end