aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
Commit message (Collapse)AuthorAgeFilesLines
* fix(settings): allow to clear twitter and fediverseFerdinand Thiessen2025-04-271-1/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): group admins only can add users to their groupsFerdinand Thiessen2025-04-271-0/+186
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cypress): rename select all clearskjnldsv2025-04-241-2/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(i18n): Use "name" instead of "nickname"rakekniven2025-04-231-2/+2
| | | | | | | Users asked why they should use a nickname? "Name" covers nickname, pseudonym, username or real name. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(cypress): Handle password confirmation dialog at the right timeCôme Chilliet2025-04-081-2/+3
| | | | | | According to failed CI it shows up earlier than expected when deleting a user Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: ensure enabled (enforced) themes are always set on template layoutfix/master-template-layoutFerdinand Thiessen2025-04-041-0/+19
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(settings): Fix group items not being foundChristopher Ng2025-03-281-26/+24
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* test(settings): Correctly find group in selectChristopher Ng2025-03-281-0/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* test(settings): Wait until groups list has loadedChristopher Ng2025-03-281-0/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files_versions): correctly show version author also for shared filesFerdinand Thiessen2025-03-252-0/+60
| | | | | | | The users endpoint is not available for other users if the current user has no admin privileges, so instead use the displaynames endpoint. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(tests): Files are sorted by Name by default, no need to click itCôme Chilliet2025-03-251-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(files): Ensure actions never overflow filenameFerdinand Thiessen2025-03-241-2/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(cypress): wait for button to be visibletest/cypress-flakyFerdinand Thiessen2025-03-192-17/+29
| | | | | | | Instead of just expecting the button in the DOM. This causes flaky tests with files-renaming. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #51250 from ↵yemkareems2025-03-193-6/+110
|\ | | | | | | | | nextcloud/fix/pass-hide-download-in-update-request fix: pass hide download attribute while creating the share to fix github issue 50788
| * test: add cypress tests for sharing download permissionFerdinand Thiessen2025-03-183-6/+110
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | test: make cypress run in secure context and add WebAuthn testsFerdinand Thiessen2025-03-198-106/+285
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(profile): allow to reset phone numberFerdinand Thiessen2025-03-161-0/+34
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): ensure share status action works also in grid viewFerdinand Thiessen2025-03-131-36/+59
| | | | | | | | | | | | Remove some hacks from files app about the *files_sharing* status action, in general not sure why this hack was there instead of being in the correct app - but it broke the grid view. So now the sharing information is also available in grid view. Moreover the icon is fixed in size to not overflow the actions menu. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #51288 from nextcloud/fix/admin-tag-color-preventJohn Molakvoæ2025-03-061-0/+58
|\ | | | | fix(systemtags): unify restrict_creation_to_admin handling
| * fix(systemtags): prevent tag edition if restrictedskjnldsv2025-03-061-0/+58
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | test: Remove `.only(` callsartonge/test/remove_only_callsLouis Chemineau2025-03-062-2/+2
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): also show file list headers on empty viewsFerdinand Thiessen2025-03-052-0/+26
| | | | | | | It is needed, e.g. for the note-to-recipient, that the headers are also shown when there is no content (yet). 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>
* test(e2e): adjust trashbin tests to be less flakytest/cypress-flakynessFerdinand Thiessen2025-03-034-40/+88
| | | | | | | | | 1. Move general files delete action (thats not trashbin app!) to files tests. 2. Delete files (move to trashbin) before loading the page so previews are not generated so they cannot lock the file. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_trashbin): disable bulk download for trashbinFerdinand Thiessen2025-02-282-3/+77
| | | | | | | The backend does not allow bulk download within the trashbin, so we need to disable this also on the frontend. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cypress): wait for toast to appearskjnldsv2025-02-281-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): allow to ignore warning to change file typeFerdinand Thiessen2025-02-251-11/+32
| | | | | | | | | | | | | * Missing pieces of https://github.com/nextcloud/server/issues/46528 * Add checkbox to not show this dialog again * Add user config as suggested by designers in files settings to reenable or diable this behavior. * Fix behavior of dialog: It says "keep .ext" but it does not keep the extension but cancels the operation. From the button label the user expects that the operation is continued but with the old extension. * Added more test coverage by adding component tests. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): handle failed node properlyskjnldsv2025-02-212-24/+99
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(cypress): action selector menu lookupskjnldsv2025-02-202-5/+23
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(cypress): also log the current server image shaskjnldsv2025-02-201-0/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files_external): add cypress tests for user credentials actionskjnldsv2025-02-203-2/+178
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): do not show extension warning for folders renamingfix/files-rename-folderskjnldsv2025-02-191-1/+64
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): properly show file not found errorskjnldsv2025-02-181-1/+42
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(sharing): Allow to set default view mode for public sharesFerdinand Thiessen2025-02-101-0/+102
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: compile assetsskjnldsv2025-02-072-2/+2
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(files): add actions cypress testsskjnldsv2025-02-074-11/+243
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #50678 from nextcloud/fix/harden-account-propertiesFerdinand Thiessen2025-02-061-6/+13
|\ | | | | fix(AccountProperty): better validation of twitter and fediverse handles
| * fix(settings): Also sanitize fediverse and twitter handle in the frontendFerdinand Thiessen2025-02-061-6/+13
| | | | | | | | 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>
* fix(files): Do not download files with `openfile` query flagFerdinand Thiessen2025-02-063-9/+190
| | | | | | | Instead of downloading files, if there is no other default action, we should just open the details tab. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(files): Make scrolling tests independent from magic valuesFerdinand Thiessen2025-02-054-80/+185
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly scroll selected file into viewFerdinand Thiessen2025-02-051-0/+280
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add Cypress command for deleting filesFerdinand Thiessen2025-02-052-0/+28
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(cypress): Finish commentChristopher Ng2025-02-041-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Fix casingChristopher Ng2025-02-041-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore(files): Change "filename" to "file name"Christopher Ng2025-02-041-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* test(files_sharing): add e2e tests for public link sharingnfebe2025-02-033-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>
* 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>
* fix(theming): Ensure to only send valid URLs to backendFerdinand Thiessen2025-01-271-0/+143
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(tests): Make linter happy in cypress testschore/cypress-typosFerdinand Thiessen2025-01-224-8/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>