From 1667bd648e1697148f3d67bee25c48eac00a72aa Mon Sep 17 00:00:00 2001 From: William Desportes Date: Fri, 22 May 2020 23:33:27 +0200 Subject: [PATCH] Fix isLoggedIn selenium test base function Signed-off-by: William Desportes --- test/selenium/TestBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php index 3ff66d6848..5c76c91f84 100644 --- a/test/selenium/TestBase.php +++ b/test/selenium/TestBase.php @@ -592,11 +592,11 @@ abstract class TestBase extends TestCase * * @return bool Where or not user is logged in */ - public function isLoggedIn() + public function isLoggedIn(): bool { return $this->isElementPresent( 'xpath', - '//*[@id="server-breadcrumb"]/a[1]' + '//*[@class="navigationbar"]' ); }