summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-05-03 10:56:49 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-05-03 10:56:49 +0000
commit50f5f4e4ade31cd96443a76630f56dee3c7cce10 (patch)
treefa78bf7b1023318df20662d81100b82b1251ceee
parent6bdca4493761dfe9259f869a51b6887063fcedd3 (diff)
parentea849ee605ded67724ec99f3ae4b428d4d49840d (diff)
downloadgitlab-ce-50f5f4e4ade31cd96443a76630f56dee3c7cce10.tar.gz
Merge branch 'fix-protected_tags_spec-master-dropdown-transient-failure' into 'master'
Added find before clicking the access_type_name within the dropdown See merge request !11051
-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..5b24ac0292b 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 li', match: :first)
within(".dropdown.open .dropdown-menu") { click_on access_type_name }
end
end