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
This commit is contained in:
Sean McGivern 2017-05-03 10:56:49 +00:00
commit 50f5f4e4ad

View file

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