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:
commit
50f5f4e4ad
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue