NAME
Kernel::Test::Role::Selenium::Agent::HandlesSearchOverlay – role to interact with search overlay in Selenium tests.
SimpleSearch()
Opens search overlay and sets the given search query
$Self->SimpleSearch(
SearchQuery => 'SearchTerm',
);
SimpleSearchResultList()
Opens search overlay and sets the given search query and navigate to the full search results screen
$Self->SimpleSearch(
SearchQuery => 'SearchTerm',
);
RecentSearchTerms()
Returns Recent Seearch terms from the overlay.
my $Result = $Self->RecentSearchTerms();
$Result = [
'Ticket',
'ITSM',
'OTRS',
...
];