From 7f78d4a1485c0cf68021ed426192d3f1e5cbd80f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 12 Nov 2018 17:05:29 -0300 Subject: [PATCH] Bug 21775: Logout before trying to login 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 99c66fc9a6..4c6cd9957c 100644 --- a/t/db_dependent/selenium/regressions.t +++ b/t/db_dependent/selenium/regressions.t @@ -102,7 +102,7 @@ subtest 'Play sound on the circulation page' => sub { my $patron = $builder->build_object({ class => 'Koha::Patrons', value => { flags => 0 }}); my $mainpage = $s->base_url . q|mainpage.pl|; - $driver->get($mainpage); + $driver->get($mainpage . q|?logout.x=1|); like( $driver->get_title(), qr(Log in to Koha), ); $s->auth; -- 2.39.5