Commit ea849ee6 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Find an actual list item

parent dc3febc2
...@@ -10,7 +10,7 @@ RSpec.shared_examples "protected tags > access control > CE" do ...@@ -10,7 +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', match: :first) 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