From 2ae0ad518e56164e830dc48d787f7cdbeb1c5c69 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 29 Aug 2024 17:51:10 +0000 Subject: [PATCH] Bug 35402: (follow-up) Fix regressions.t regressions.t looks for "beep.ogg" on the checkout page, but by default when a patron's account loads for checkout the "opening.ogg" sound is played. Signed-off-by: Tomas Cohen Arazi --- 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 6c7fed8b0e9..be42ffa17ad 100755 --- a/t/db_dependent/selenium/regressions.t +++ b/t/db_dependent/selenium/regressions.t @@ -181,7 +181,7 @@ subtest 'Play sound on the circulation page' => sub { $driver->get( $base_url . "/circ/circulation.pl?borrowernumber=" . $patron->borrowernumber ); - my $audio_node = $driver->find_element('//span[@id="audio-alert"]/audio[@src="/intranet-tmpl/prog/sound/beep.ogg"]'); + my $audio_node = $driver->find_element('//span[@id="audio-alert"]/audio[@src="/intranet-tmpl/prog/sound/opening.ogg"]'); push @cleanup, $patron, $patron->category, $patron->library; }; -- 2.46.0