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

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

Return to bug 30626