[Koha-bugs] [Bug 31199] selenium/patrons_search.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 27 14:30:27 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31199

--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
About "Cannot wait more for jQuery to be active" it seems that we are failing
in the following test (line number from 22.11.x)

276     # Adding the surname of the first patron in the "Name" column
277     # We expect only 1 result
278    
$s->driver->find_element('//table[@id="'.$table_id.'"]//input[@placeholder="Name
search"]')->send_keys($patrons[0]->surname);
279     $s->wait_for_ajax;
280     is( $driver->find_element('//div[@id="'.$table_id.'_info"]')->get_text,
sprintf('Showing 1 to %s of %s entries (filtered from %s total entries)', 1, 1,
$total_number_of_patrons), 'Refining with header filt    ers works to further
filter the original query' );

We could wrap the wait_for_ajax call into an eval and see if it fixes the
random failure, but it's quite ugly...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list