Lines 355-361
subtest 'OPAC - Suggest for purchase' => sub {
Link Here
|
355 |
$driver->get( $opac_base_url . "opac-detail.pl?biblionumber=$biblionumber" ); |
355 |
$driver->get( $opac_base_url . "opac-detail.pl?biblionumber=$biblionumber" ); |
356 |
|
356 |
|
357 |
$s->click({ href => '/opac-suggestions.pl?op=add&biblionumber=' . $biblionumber }); |
357 |
$s->click({ href => '/opac-suggestions.pl?op=add&biblionumber=' . $biblionumber }); |
358 |
is( $driver->find_element('//input[@id="title"]')->get_value(), |
358 |
is( $driver->find_element('//a[@id="title"]')->get_text(), |
359 |
$biblio->title, |
359 |
$biblio->title, |
360 |
"Suggestion's title correctly filled in with biblio's title" ); |
360 |
"Suggestion's title correctly filled in with biblio's title" ); |
361 |
|
361 |
|
362 |
- |
|
|