Bug 34478: Adjust selenium tests
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
21f5c30920
commit
8a39b582f1
|
|
@ -354,7 +354,7 @@ subtest 'OPAC - Suggest for purchase' => sub {
|
|||
my $biblio = Koha::Biblios->find($biblionumber);
|
||||
$driver->get( $opac_base_url . "opac-detail.pl?biblionumber=$biblionumber" );
|
||||
|
||||
$s->click({ href => '/opac-suggestions.pl?op=add&biblionumber=' . $biblionumber });
|
||||
$s->click({ href => '/opac-suggestions.pl?op=cud-add&biblionumber=' . $biblionumber });
|
||||
is( $driver->find_element('//a[@id="title"]')->get_text(),
|
||||
$biblio->title,
|
||||
"Suggestion's title correctly filled in with biblio's title" );
|
||||
|
|
|
|||
Loading…
Reference in New Issue