diff options
author | Cyrille Bollu <cyrpub@bollu.be> | 2022-05-31 17:23:06 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-06-01 07:08:41 +0000 |
commit | bef2960abfd633a4f8e18bbf14508e383bd76c53 (patch) | |
tree | b3902975bfb58d5d763aafba7afa62f5306852e9 /tests | |
parent | e7ddf60bab46935a937496c76b8696d6f7931053 (diff) | |
download | nextcloud-server-bef2960abfd633a4f8e18bbf14508e383bd76c53.tar.gz nextcloud-server-bef2960abfd633a4f8e18bbf14508e383bd76c53.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 2895202ed7f..554f8ab5a5d 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"); } |