Add search_helpers changes from security-33712
This commit is contained in:
parent
fd4d850b68
commit
8ed43e7469
|
@ -20,6 +20,12 @@ module SearchHelpers
|
|||
end
|
||||
end
|
||||
|
||||
def has_search_scope?(scope)
|
||||
page.within '.search-filter' do
|
||||
has_link?(scope)
|
||||
end
|
||||
end
|
||||
|
||||
def max_limited_count
|
||||
Gitlab::SearchResults::COUNT_LIMIT_MESSAGE
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue