BigW Consortium Gitlab

Added find before clicking the access_type_name within the dropdown

parent 185fd98f
......@@ -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
......
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