aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
Commit message (Collapse)AuthorAgeFilesLines
* fix: Redirect user to login if session is terminatedFerdinand Thiessen3 days1-0/+62
| | | | | | | | | | | | | | If a session timed out or was closed in another tab, then currently the user gets random error messages. This intercepts 401 responses (should only happen if logged out, or the users does something wrong). If we get a 401, we make sure its because of the session, by checking if the user can access the files app. If that is also the case we forward the user to the login page and set the redirect URL to the last used URL. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* perf(files_trashbin): use empty trashbin endpoint instead of batch delete ↵skjnldsv10 days1-1/+1
| | | | | | requests Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_trashbin): add cypress testsskjnldsv10 days2-4/+127
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): cancel renaming on enter if no file name changesskjnldsv12 days1-0/+39
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Copying a live photo to a folder with a conflicting mov fileLouis Chemineau2024-12-042-6/+18
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* test: Copying a folder containing live photosLouis Chemineau2024-12-042-68/+147
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* 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-2511-76/+35
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(systemtags): enhance create tag in tag picker UXskjnldsv2024-11-151-1/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(profile): move profile app from core to appsskjnldsv2024-11-141-4/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): open sidebar on sharing tab by default for filesskjnldsv2024-11-081-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files): add selection cypress testsskjnldsv2024-11-074-3/+89
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* test: Add proper styles for Cypress component testsFerdinand Thiessen2024-10-295-96/+109
| | | | | | | This also fixes Typescript issue but requires to slightly adjust the Navigation test as the progress bar is not visible (because it is overlayed by another element). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): fix view only actions button selectorfeat/files-bulk-taggingskjnldsv2024-10-291-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(systemtags): add cypress tests and fix a few logic issuesskjnldsv2024-10-292-2/+379
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Adjust NavigationQuota for Nextcloud 30 designFerdinand Thiessen2024-10-211-0/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure renaming state is correctly resetFerdinand Thiessen2024-10-151-1/+29
| | | | | | | | | | | | | Problem: Is a node is renamed and the new name is out of the current visible list of nodes the component will be recycled, this means the props will change, so when the `onRename` functions is about to reset the state the `this.source` will point to a different node. To fix this, but also to separate business logic from visual representation, the logic is moved into the renaming store and the component is only responsible for rendering. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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(files): Add tests for path handlingFerdinand Thiessen2024-09-201-0/+33
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add end-to-end tests for new public share Vue UIFerdinand Thiessen2024-09-0614-111/+855
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add end-to-end tests for public page header actionsFerdinand Thiessen2024-09-033-0/+260
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(cypress): Await promise in response to prevent timeoutFerdinand Thiessen2024-09-011-1/+4
| | | | | | | | | | | | | | | The idea is to intercept the request, then test the loading state, and after the tests continue the request. Problem here: `cy.intercept` has a timeout on the request-handler which uses the same timeout as DOM assertions (4s) we could increase it, but this also will increase DOM assertion timeout. So instead we do not await in the request handler, but in the response handler. This should use the response timeout which is much higher (30s). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add Cypress test for renaming loading stateFerdinand Thiessen2024-08-312-0/+48
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly check for already used names when creating new folderFerdinand Thiessen2024-08-273-8/+140
| | | | | | Also add Cypress tests for the "new"-menu. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cypress): drop unwanted docker output charactersskjnldsv2024-08-221-4/+9
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(cypress): enable apcuskjnldsv2024-08-221-6/+24
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(cypress): put nextcloud into ramskjnldsv2024-08-222-3/+15
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(cypress): allow db snapshot and restore fo faster testsskjnldsv2024-08-222-7/+43
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Access node owner by top level `owner` propertyFerdinand Thiessen2024-08-171-0/+105
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(tests): Fix import in cypress test limit_to_same_group.cy.tsCôme Chilliet2024-08-121-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-121-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-121-1/+28
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(tests): Test limiting sharing to same groupLouis Chemineau2024-08-121-0/+97
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* test: Added e2e tests for inline system tags file actionFerdinand Thiessen2024-08-082-0/+199
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: unify bundle namingJérôme Herbinet2024-08-061-1/+1
| | | | | Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(core): Migrate UserMenu / AccountMenu to NcListItemFerdinand Thiessen2024-08-061-2/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add test for recent viewFerdinand Thiessen2024-08-011-0/+44
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Provide file actions from list entry to make it reactiveFerdinand Thiessen2024-08-013-4/+151
| | | | | | | | 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>
* test(files_sharing): Add test for "note to recipient" featureFerdinand Thiessen2024-07-312-2/+79
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Fix cypress docker integration when testing locallyFerdinand Thiessen2024-07-301-2/+2
| | | | | | The tar library was updated but not the syntax adjusted. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly validate new node nameFerdinand Thiessen2024-07-261-0/+77
| | | | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/45409 This includes two fixes: 1. The name in the "new node" dialog is correctly selected (e.g. `file.txt` only `file` is selected by default), to allow quick naming 2. `@nextcloud/files` functions for filename validation are used, this allows to use new Nextcloud 30 capabilities (e.g. reserved names) Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* refactor(core): Replace security annotations with respective attributesprovokateurin2024-07-261-4/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* test: Add cypress tests for file list filteringFerdinand Thiessen2024-07-254-90/+300
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add regression test for opening shared foldersFerdinand Thiessen2024-07-251-0/+59
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Ensure displayname is a stringFerdinand Thiessen2024-07-251-0/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: add file request cypress testingskjnldsv2024-07-194-1/+156
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Close the sidebar on navigationFerdinand Thiessen2024-07-151-4/+53
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): adjust IAttributes API and files_versionsskjnldsv2024-07-122-1/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(theming): Allow shipped backgrounds to have a dark variantFerdinand Thiessen2024-07-121-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Adjust cypress tests to use reusable POM for header navigationFerdinand Thiessen2024-07-106-159/+258
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>