Commit 50f5f4e4 authored by Sean McGivern's avatar Sean McGivern

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
parents 6bdca449 ea849ee6
...@@ -10,6 +10,7 @@ RSpec.shared_examples "protected tags > access control > CE" do ...@@ -10,6 +10,7 @@ RSpec.shared_examples "protected tags > access control > CE" do
unless allowed_to_create_button.text == access_type_name unless allowed_to_create_button.text == access_type_name
allowed_to_create_button.click allowed_to_create_button.click
find('.dropdown.open .dropdown-menu li', match: :first)
within(".dropdown.open .dropdown-menu") { click_on access_type_name } within(".dropdown.open .dropdown-menu") { click_on access_type_name }
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment