summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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");
}
/**