summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGretaD <gretadoci@gmail.com>2019-12-16 17:12:20 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-12-19 16:14:47 +0100
commit455013c3098d0ef2232e1f0c60aeb1f0b94b91ca (patch)
treee653b95f71d26013624f4165a3fdc8be158de763 /tests
parent57997fefa2da537381ed8bec1dce039d7a4b6438 (diff)
downloadnextcloud-server-455013c3098d0ef2232e1f0c60aeb1f0b94b91ca.tar.gz
nextcloud-server-455013c3098d0ef2232e1f0c60aeb1f0b94b91ca.zip
fix the folder share
Signed-off-by: GretaD <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/features/bootstrap/FilesAppSharingContext.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/acceptance/features/bootstrap/FilesAppSharingContext.php b/tests/acceptance/features/bootstrap/FilesAppSharingContext.php
index 6bebfc5b3d3..040c5c4dd75 100644
--- a/tests/acceptance/features/bootstrap/FilesAppSharingContext.php
+++ b/tests/acceptance/features/bootstrap/FilesAppSharingContext.php
@@ -108,18 +108,18 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
// forThe()->checkbox("Can reshare") can not be used here; that would
// return the checkbox itself, but the element that the user interacts
// with is the label.
- return Locator::forThe()->xpath("//label[normalize-space() = 'Can reshare']")->
+ return Locator::forThe()->xpath("//label[normalize-space() = 'Allow resharing']")->
descendantOf(self::shareWithMenu($sharedWithName))->
- describedAs("Can reshare checkbox in the share with $sharedWithName menu in the details view in Files app");
+ describedAs("Allow resharing checkbox in the share with $sharedWithName menu in the details view in Files app");
}
/**
* @return Locator
*/
public static function canReshareCheckboxInput($sharedWithName) {
- return Locator::forThe()->checkbox("Can reshare")->
+ return Locator::forThe()->checkbox("Allow resharing")->
descendantOf(self::shareWithMenu($sharedWithName))->
- describedAs("Can reshare checkbox input in the share with $sharedWithName menu in the details view in Files app");
+ describedAs("Allow resharing checkbox input in the share with $sharedWithName menu in the details view in Files app");
}
/**