aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* fix(cypress): wait for apps list fetch for better testing stabilityskjnldsv2024-07-041-0/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* test: Don't use @nc/axios in cypressLouis Chemineau2024-07-021-3/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Allow to reset unified search using the ↵Ferdinand Thiessen2024-06-274-17/+101
| | | | | | `nextcloud:unified-search:reset` event Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cypress): Check for local changes before trying to apply themMarcel Müller2024-06-151-3/+20
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix(files): Use `data-cy` (data attribute) instead of `cy-data`Ferdinand Thiessen2024-06-112-7/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-061-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(cypress): Add tests for files sidebarFerdinand Thiessen2024-06-042-1/+99
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(cypress): Fix testsChristopher Ng2024-05-301-0/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-2648-756/+117
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-213-151/+322
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: cypressSimon L.2024-05-211-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* fix(files): Ensure search query is cleared when changing view or directoryFerdinand Thiessen2024-04-172-0/+172
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Do not show files from hidden folders in "Recent"-view if hidden ↵Ferdinand Thiessen2024-04-161-0/+116
| | | | | | | | files are disabled by user Needed to adjust the store creation to be able to inject pinia before the vue app is initialized. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(tests): Adjust tests for changed css classesFerdinand Thiessen2024-04-101-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(Cypress): Adjust tests for new breadcrumbsEduardo Morales2024-04-103-13/+13
| | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
* chore: add drag and drop recursion and FilesystemAPI testingskjnldsv2024-04-042-60/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: adjusting cypress drag and drop testsskjnldsv2024-04-042-1/+134
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>