summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-03-11 11:54:38 +0100
committerMorris Jobke <hey@morrisjobke.de>2019-03-11 11:54:38 +0100
commit77cf702220418eb38a4e6bc0bfb89e9157b2c7ed (patch)
tree9dcac4ee69747049f12a0bf37e40b78bda742719 /tests
parentd40b21ac815b8088a5d0b51a6d48b39ed754631a (diff)
downloadnextcloud-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.php2
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");
}