Bug 34478: Adjust selenium tests

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2023-12-12 14:32:59 +01:00
parent 21f5c30920
commit 8a39b582f1
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
1 changed files with 1 additions and 1 deletions

View File

@ -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" );