From c4472c8df073bf40fe99d6e2f60cefac3282e46a 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 --- 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.11.0