aboutsummaryrefslogtreecommitdiffstats
path: root/cypress/e2e/files_sharing
Commit message (Collapse)AuthorAgeFilesLines
* test(files_sharing): Check that default expiration date is shown b4 create sharenfebe2025-02-111-5/+14
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* chore(assets): Recompile assetsbackport/50626/stable29nextcloud-command2025-02-111-1/+1
| | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* test(files_sharing): add e2e tests for public link sharingnfebe2025-02-113-41/+293
| | | | | | | | | | | | | | | | | | 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>
* feat: Add setup-public-share.tsnfebe2025-02-111-0/+127
| | | | | | | | | | This addition enhances the testing framework for public sharing by improving the setup and management of share contexts. 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: Add end-to-end test for share expiration dateFerdinand Thiessen2025-01-152-3/+149
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(tests): fix import in cypress test limit_to_same_group.cy.tsCôme Chilliet2024-08-131-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(tests): Fix import in cypress test limit_to_same_group.cy.tsCôme Chilliet2024-08-131-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(tests): Fix SPDX license header on new cypress testCôme Chilliet2024-08-131-19/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Remove shares only if there are no more common groups between usersCôme Chilliet2024-08-131-1/+28
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(tests): Test limiting sharing to same groupLouis Chemineau2024-08-131-0/+97
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Provide file actions from list entry to make it reactiveFerdinand Thiessen2024-08-081-2/+2
| | | | | | | | This fixes non reactive default action text of the name component. Also use download action as default action so that only one place is needed to define how to download a file. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cypress): filesSharingUtils importskjnldsv2024-08-021-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* test: Add regression test for opening shared foldersFerdinand Thiessen2024-08-021-0/+59
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(files): Add e2e tests for live photo syncLouis Chemineau2024-03-141-0/+8
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* test(files_sharing): Add utils to e2e tests files_sharingLouis Chemineau2024-02-271-0/+104
Signed-off-by: Louis Chemineau <louis@chmn.me>