Fix acceptance tests for wrong password message due to changed message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
d40b21ac81
commit
77cf702220
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue