diff options
author | Cyrille Bollu <cyrpub@bollu.be> | 2022-05-31 17:23:06 +0200 |
---|---|---|
committer | Cyrille Bollu <cyrpub@bollu.be> | 2022-05-31 17:26:58 +0200 |
commit | 4a790fedf091089f072557e1a52ef83ea5efed33 (patch) | |
tree | 983204a166dcf8efcf0befb660d7cb9865a6dd09 /tests | |
parent | 5a12e8f906ea5075193d88963cbdf805a097f626 (diff) | |
download | nextcloud-server-4a790fedf091089f072557e1a52ef83ea5efed33.tar.gz nextcloud-server-4a790fedf091089f072557e1a52ef83ea5efed33.zip |
More meaningfull message when a public authenticated share's password is wrong or has expired
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/acceptance/features/bootstrap/PublicShareContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/PublicShareContext.php b/tests/acceptance/features/bootstrap/PublicShareContext.php index 6e4957c9ce3..d31d6541335 100644 --- a/tests/acceptance/features/bootstrap/PublicShareContext.php +++ b/tests/acceptance/features/bootstrap/PublicShareContext.php @@ -48,7 +48,7 @@ class PublicShareContext implements Context, ActorAwareInterface { * @return Locator */ public static function wrongPasswordMessage() { - return Locator::forThe()->xpath("//*[@class = 'warning' and normalize-space() = 'The password is wrong. Try again.']")-> + return Locator::forThe()->css(".warning .wrongPasswordMsg")-> describedAs("Wrong password message in Authenticate page"); } |