Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-06-01 10:04:11 +0300
committerGitHub <noreply@github.com>2022-06-01 10:04:11 +0300
commit07262715046e95a3989899630e6b398cceeea4d3 (patch)
tree099207265de47eaa6a5deb66010b4ad99b3b375c /tests
parente6177afeda0e2e9374e37b1131e131af2c4f6da3 (diff)
parent4a790fedf091089f072557e1a52ef83ea5efed33 (diff)
Merge pull request #32371 from nextcloud/fix-31952
More meaningfull message when a public authenticated share's password is wrong or has expired.
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/PublicShareContext.php2
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");
}