Merge pull request #14623 from nextcloud/fix/noid/login-page-wrong-password

Fix acceptance tests for wrong password message due to changed message
This commit is contained in:
Morris Jobke 2019-03-11 12:49:05 +01:00 committed by GitHub
commit 1832537571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class LoginPageContext implements Context, ActorAwareInterface {
* @return Locator
*/
public static function wrongPasswordMessage() {
return Locator::forThe()->xpath("//*[@class = 'warning wrongPasswordMsg' and normalize-space() = 'Wrong password.']")->
return Locator::forThe()->xpath("//*[@class = 'warning wrongPasswordMsg' and normalize-space() = 'Wrong username or password.']")->
describedAs("Wrong password message in Login page");
}