Skip to content

Commit

Permalink
XWIKI-21452: Macros info, success, warning and error are only disting…
Browse files Browse the repository at this point in the history
…uished by colors

  * Fix LoginIT test
  • Loading branch information
surli committed Aug 22, 2024
1 parent 98ea5ae commit 9ab1290
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ public void loginAs(String username, String password)

public boolean hasInvalidCredentialsErrorMessage()
{
return getErrorMessages().contains("Error:\nInvalid credentials");
return getErrorMessages().contains("Error: Invalid credentials");
}

/**
* @since 11.6RC1
*/
public boolean hasCaptchaErrorMessage()
{
return getErrorMessages().contains("Error:\nPlease fill the captcha form to login.");
return getErrorMessages().contains("Error: Please fill the captcha form to login.");
}

/**
Expand Down

0 comments on commit 9ab1290

Please sign in to comment.