From 8a39b582f1d2ef5cb3cb7c1a0fe615ff931716c5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Dec 2023 14:32:59 +0100 Subject: [PATCH] Bug 34478: Adjust selenium tests Signed-off-by: Jonathan Druart --- t/db_dependent/selenium/regressions.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/selenium/regressions.t b/t/db_dependent/selenium/regressions.t index b9e9cb2edf..9f42cec5b4 100755 --- a/t/db_dependent/selenium/regressions.t +++ b/t/db_dependent/selenium/regressions.t @@ -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" ); -- 2.39.5