Commit graph

27 commits

Author SHA1 Message Date
Ferdinand Thiessen
fd96a32dda
test: adjust cypress tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-05 02:23:30 +01:00
Ferdinand Thiessen
493c371a22
refactor(files_versions): adjust frontend for new files sidebar API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-05 02:23:15 +01:00
Louis Chmn
8dc64d794c refactor(files_versions): Migrate to Vue3
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-24 17:46:44 +02:00
Ferdinand Thiessen
1082dee5a4
chore: migrate Cypress to @nextcloud/e2e-test-server
- chore: use vite preprocessor for Cypress

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-22 11:57:17 +02:00
Ferdinand Thiessen
91f3b6b4ee
chore: adjust code to new codestyle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:42 +02:00
skjnldsv
9806a9830c feat(files_sharing): allow viewing files with download disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-26 11:47:53 +02:00
Ferdinand Thiessen
00a1f23913
fix(files_versions): correctly show version author also for shared files
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>
2025-03-25 21:33:06 +01:00
Ferdinand Thiessen
45cfaa1b3b
test: make cypress run in secure context and add WebAuthn tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 11:57:14 +01:00
Louis Chemineau
ebda7b45f6
chore: Update @nextcloud/cypress to v1.0.0-beta.11
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-25 16:22:09 +01:00
skjnldsv
08af33b5d9 chore: add file request cypress testing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-19 12:20:25 +02:00
skjnldsv
9b84831c8d fix(files_sharing): adjust IAttributes API and files_versions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
Andy Scherzinger
5c49a54801
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-26 20:05:04 +02:00
Eduardo Morales
0213fb6b5d
fix(Cypress): Adjust tests for new breadcrumbs
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 01:17:53 +02:00
Louis Chemineau
369274c9ee
feat(files_versions): Add listener and interfaces to allow versions migration across storages
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-26 17:40:31 +01:00
Louis Chemineau
01fe326df1
test(files): Add e2e tests for live photo sync
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-14 11:07:20 +01:00
Louis Chemineau
f7a0246290
test(files_versions): Add tests for versions actions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-27 09:28:23 +01:00
skjnldsv
5b757c33d8 fix(cypress): files_versions flakyness
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-22 19:10:09 +01:00
John Molakvoæ
e040d939e5
feat(files): add sharing icon in header
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-02 01:16:41 +02:00
John Molakvoæ
fdf07fc759
fix(cypress): adjust selectors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
Louis Chemineau
5dc64ebee6 Prevent expiration from delete file in cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 17:03:13 +02:00
Louis Chemineau
ea028a1b01 Use random names in files_version e2e tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau
186491113e Do not stop docker in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau
c43220abd2 Increase wait time
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau
f882446f38 Try to chain cypress commands
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau
c0ff8789c3 Add comments about why we wait in files_versions' cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau
49134c6595 Increase wait to ensure versions are created
In files_versions cypress tests, we wait for 1000ms between each versions uploads to make sure that the server properly create a version. Under 1s the serve does not create a version.

This commit increases the wait time as it might help to ensure that the time span is enough between two uploads.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau
fd9937a171 Add cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +00:00