diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-03 01:55:46 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-03 01:55:46 +0100 |
commit | dc3febc24192aa9e8397036222156ebf6abf50b5 (patch) | |
tree | 270d069cbb33a677b6aacb8cacf62de6c7381bbb | |
parent | 185fd98fd4cb8f920558aea3795c4e1774cd39f5 (diff) | |
download | gitlab-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.rb | 1 |
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 |