Lines 539-545
subtest 'Search patrons in modal' => sub {
Link Here
|
539 |
$s->auth; |
539 |
$s->auth; |
540 |
|
540 |
|
541 |
# Go to the add patron form |
541 |
# Go to the add patron form |
542 |
$driver->get( $base_url . "/admin/aqbudgets.pl?op=add_form&budget_id=1&budget_period_id=1" ); |
542 |
my $fund = $builder->build_object( { class => 'Koha::Acquisition::Funds' } ); |
|
|
543 |
push @cleanup, $fund->budget, $fund; |
544 |
$driver->get( $base_url . sprintf "/admin/aqbudgets.pl?op=add_form&budget_id=%s&budget_period_id=%s", $fund->budget_id, $fund->budget_period_id ); |
543 |
|
545 |
|
544 |
# Click "Select owner" |
546 |
# Click "Select owner" |
545 |
$driver->find_element('//a[@href="#patron_search_modal_owner"]')->click(); |
547 |
$driver->find_element('//a[@href="#patron_search_modal_owner"]')->click(); |
546 |
- |
|
|