diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-03-11 11:54:38 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-03-11 11:54:38 +0100 |
commit | 77cf702220418eb38a4e6bc0bfb89e9157b2c7ed (patch) | |
tree | 9dcac4ee69747049f12a0bf37e40b78bda742719 /tests | |
parent | d40b21ac815b8088a5d0b51a6d48b39ed754631a (diff) | |
download | nextcloud-server-77cf702220418eb38a4e6bc0bfb89e9157b2c7ed.tar.gz nextcloud-server-77cf702220418eb38a4e6bc0bfb89e9157b2c7ed.zip |
Fix acceptance tests for wrong password message due to changed message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-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"); } |