View | Details | Raw Unified | Return to bug 30626
Collapse All | Expand All

(-)a/t/db_dependent/selenium/patrons_search.t (-2 / +1 lines)
Lines 244-250 subtest 'Search patrons' => sub { Link Here
244
244
245
    # Adding the surname of the first patron in the "Name" column
245
    # Adding the surname of the first patron in the "Name" column
246
    # We expect only 1 result
246
    # We expect only 1 result
247
    $s->driver->find_element('//*[@id="'.$table_id.'_filter"]//input')->send_keys($patrons[0]->surname);
247
    $s->driver->find_element('//table[@id="'.$table_id.'"]//input[@placeholder="Name search"]')->send_keys($patrons[0]->surname);
248
    $s->wait_for_ajax;
248
    $s->wait_for_ajax;
249
    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) );
249
    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) );
250
250
251
- 

Return to bug 30626