From 77cf702220418eb38a4e6bc0bfb89e9157b2c7ed Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 11 Mar 2019 11:54:38 +0100 Subject: [PATCH] Fix acceptance tests for wrong password message due to changed message Signed-off-by: Morris Jobke --- tests/acceptance/features/bootstrap/LoginPageContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/features/bootstrap/LoginPageContext.php b/tests/acceptance/features/bootstrap/LoginPageContext.php index 048d23d929..7862e306b2 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"); }