Skip to content

Commit

Permalink
XWIKI-21687: LoginIT.loginLogoutAsAdmin(TestUtils, TestReference) and…
Browse files Browse the repository at this point in the history
… LoginIT.loginWithInvalidCredentials(LogCaptureConfiguration) are flickering
  • Loading branch information
manuelleduc committed Jun 14, 2024
1 parent 8b02951 commit 0ddc451
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public ViewPage clickLocale(Locale locale)
*/
public void logout()
{
getDrawerMenu().toggle();
getDrawerMenu().show();
getDriver().findElement(By.id("tmLogout")).click();
// Update the CSRF token because the context user has changed (it's guest user now). Otherwise, APIs like
// TestUtils#createUser*(), which expect the currently cached token to be valid, will fail because they would be
Expand Down

0 comments on commit 0ddc451

Please sign in to comment.