From f050c4e1f675f27179094afdcf43155f6056131c 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 (cherry picked from commit 7f78d4a1485c0cf68021ed426192d3f1e5cbd80f) Signed-off-by: Martin Renvoize --- 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 8c95824cd2..b76c8d4d44 100644 --- a/t/db_dependent/selenium/regressions.t +++ b/t/db_dependent/selenium/regressions.t @@ -82,7 +82,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