diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-11 12:49:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 12:49:05 +0100 |
commit | 1832537571a0b60f81fa31fd992f97507d84ff33 (patch) | |
tree | da7adf137eb22c97ede3529efa738c0c1fc2d355 | |
parent | 065690dcf53b1e0e65ffbcafef4daa07bb56440c (diff) | |
parent | 77cf702220418eb38a4e6bc0bfb89e9157b2c7ed (diff) | |
download | nextcloud-server-1832537571a0b60f81fa31fd992f97507d84ff33.tar.gz nextcloud-server-1832537571a0b60f81fa31fd992f97507d84ff33.zip |
Merge pull request #14623 from nextcloud/fix/noid/login-page-wrong-password
Fix acceptance tests for wrong password message due to changed message
-rw-r--r-- | tests/acceptance/features/bootstrap/LoginPageContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/LoginPageContext.php b/tests/acceptance/features/bootstrap/LoginPageContext.php index 048d23d9295..7862e306b26 100644 --- a/tests/acceptance/features/bootstrap/LoginPageContext.php +++ b/tests/acceptance/features/bootstrap/LoginPageContext.php @@ -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"); } |