diff --git a/apps/files_sharing/js/dist/files_sharing_tab.js b/apps/files_sharing/js/dist/files_sharing_tab.js index 9987b4363e..27a3904f48 100644 Binary files a/apps/files_sharing/js/dist/files_sharing_tab.js and b/apps/files_sharing/js/dist/files_sharing_tab.js differ diff --git a/apps/files_sharing/js/dist/files_sharing_tab.js.map b/apps/files_sharing/js/dist/files_sharing_tab.js.map index b1bc871d6b..bfc16fb295 100644 Binary files a/apps/files_sharing/js/dist/files_sharing_tab.js.map and b/apps/files_sharing/js/dist/files_sharing_tab.js.map differ diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index ad36361b9c..a19d1331f6 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -42,12 +42,24 @@ {{ t('files_sharing', 'Allow creating') }} + + + + {{ t('files_sharing', 'Allow deleting') }} + + - - - {{ t('files_sharing', 'Allow deleting') }} - 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"); } /**