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:
commit
1832537571
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue