aboutsummaryrefslogtreecommitdiffstats
path: root/cypress/e2e/files_sharing/public-share
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): show note, label and list of uploaded files on file dropFerdinand Thiessen2025-05-261-2/+5
| | | | | | | | | This was missing from the Vue migration of the public share view: - Show the note as the description of the file drop - Show the label as the heading of the file drop if available - Show list of uploaded files for verification Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Replace the deprecated direct download link with the public DAV endpointartonge/feat/do_not_require_samesite_strict_cookie_on_public.phpLouis Chemineau2025-05-211-2/+2
| | | | | | Follow-up of #48098 Signed-off-by: Louis Chemineau <louis@chmn.me>
* test: add cypress tests for sharing download permissionFerdinand Thiessen2025-03-182-4/+108
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): ensure downloaded file has the correct filenameFerdinand Thiessen2025-03-052-104/+142
| | | | | | | | Single file shares use the share token as source name, so we need to use the displayname. To do so we need to set the download attribute to the displayname of the file to download. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(sharing): Allow to set default view mode for public sharesFerdinand Thiessen2025-02-101-0/+102
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(files_sharing): Check that default expiration date is shown b4 create sharenfebe2025-02-061-5/+14
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* test(files_sharing): add e2e tests for public link sharingnfebe2025-02-032-41/+275
| | | | | | | | | | | | | | | | | | This commit introduces end-to-end tests for various public link sharing scenarios in the `files_sharing` app. It validates the behavior under multiple configurations: - Password and expiration date enforced - Password enforced with a default expiration date - Expiration date enforced with optional password - Default password and expiration date without enforcement - Password enforced, expiration date set but not enforced - Both password and expiration date not enforced, but defaults set - Password not enforced, expiration date enforced - Password not enforced, default expiration date set - Password and expiration date not enforced with no defaults The tests ensure proper validation and functionality of the configurations, leveraging the `setupData` and `createShare` utilities. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor: Modularize setup-public-share.tsnfebe2025-02-031-64/+77
| | | | | | | | | | | This update enhances the testing framework for public sharing by improving the setup and management of share contexts. It refactors the code to make the `createShare` function reusable externally, ensuring better testability and flexibility. Additionally, the update optimizes share permission adjustments and improves state management, making public share setups more efficient and maintainable. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* test(files): Update testsChristopher Ng2024-12-032-8/+0
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore: Update @nextcloud/cypress to v1.0.0-beta.11artonge/chore/update_nc_cypress_beta.11Louis Chemineau2024-11-252-10/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files_sharing): fix view only actions button selectorfeat/files-bulk-taggingskjnldsv2024-10-291-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): Make the files download action use WebDAV zip downloadFerdinand Thiessen2024-09-281-3/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add end-to-end tests for new public share Vue UIFerdinand Thiessen2024-09-068-0/+920
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>