Commit Graph

299 Commits (0059d17ae32e9880d9b4916c5a5ff404aad0a659)

Author SHA1 Message Date
John Molakvoæ d10c4c3f6d
Add additional no-background and custom colour test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +07:00
Ferdinand Thiessen d452b872c9 fix: Improve dockerNode logging
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 14:37:44 +07:00
Ferdinand Thiessen 8d57cdcab5
fix(theming): Add `aria-pressed` attribute to active background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 01:35:54 +07:00
Christopher Ng b3d426c510 fix(cypress): User groups test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-12 15:39:42 +07:00
Christopher Ng 4386803ae8 test(settings): Create and delete groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 10:39:54 +07:00
John Molakvoæ 35aed73ede
feat: allow external drop and add dropzone
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 15:28:52 +07:00
Joas Schilling ae54cc05aa
fix(CI): Fix server setup in cypress by overwriting all files in shallow-server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 08:40:12 +07:00
Christopher Ng 091b3e0586 fix(cypress): User table create/delete tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07:00
Christopher Ng 95a7925dc9 fix(cypress): User table disable/enable tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07:00
Christopher Ng 37fa4efdae fix(cypress): User table modify tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07:00
Christopher Ng 8a31efb644 fix(cypress): User table column tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 +07: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 +07:00
John Molakvoæ 2a31bc7fd3
fix(files): fix flaky cypress files test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-01 18:24:05 +07:00
Ferdinand Thiessen 5e9a6c1a0b fix(cypress): Fix the user theming cypress test for the new filepicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +07:00
John Molakvoæ fdf07fc759
fix(cypress): adjust selectors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +07:00
Christopher Ng 0f90c94232 fix(cypress): Show and hide columns
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-08 17:20:34 +07:00
Christopher Ng cd38017724 fix(cypress): Can delete a user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-08 17:20:25 +07:00
Ferdinand Thiessen 650312580f fix(cypress): Really mock the initial state instead of trying to stub a module
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:21:34 +07:00
Ferdinand Thiessen ee18e43d97 fix(cypress): Make sure cypress can preprocess files corrently (this drops 78 dependencies)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +07:00
Christopher Ng 8695e7cdc6 test(settings): User management settings dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-18 20:28:15 +07:00
Christopher Ng faf2b2339d test(settings): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 21:35:55 +07:00
Christopher Ng ce99dd9eec fix(cypress): users
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 +07:00
Christopher Ng b65eb0c03d fix(cypress): users_modify
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 +07:00
Christopher Ng 957dbee1b0 fix(cypress): users_disable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 +07:00
John Molakvoæ 93096a9a9b
fix(cypress): revert only toggle
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-06 21:27:17 +07:00
Ferdinand Thiessen 97683a5b66 fix(settings): Migrate away from deprecated `NcPopoverMenu`
* Replace popover menu with `NcActions`
* Deduplicate user actions code between `UserRow` and `UserRowSimple`
* Fix user action to cover whole row heigh to prevent dropdown from shining through the actions
* Fix user action popover to be overlayed by current edited row actions

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-30 11:38:11 +07:00
Ferdinand Thiessen 5e81a9e53d fix: Add cypress test for changing password in the users list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-29 00:08:21 +07:00
Ferdinand Thiessen 7f861980a3
fix(core): Do not invert app menu text color
* Also fixes other cypress test
* Build assets

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-19 09:49:36 +07:00
John Molakvoæ 497d195310
chore(deps): update cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 11:40:25 +07:00
John Molakvoæ 29a7f7f6ef
feat(files_trashbin): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +07: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 +07: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 +07: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 +07:00
Louis Chemineau c43220abd2 Increase wait time
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +07:00
Louis Chemineau f882446f38 Try to chain cypress commands
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +07: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 +07: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 +07:00
Louis Chemineau fc1a16283e Reset theming in cypress test
The test in admin-settings does not reset the theming.
So when it is run before user-background, the "Default cloud background is not rendered" test fails.

This makes sure that the theming is reset before running "User default background settings"

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-31 14:18:26 +07:00
Louis Chemineau fd9937a171 Add cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +07:00
Louis Chemineau 305b1b6d21 Forward branch env var to the cypress container
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +07:00
Louis Chemineau 535c228d57 Use current git branch by default when setting up cypress container
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-18 17:17:06 +07:00
John Molakvoæ b9906fb21e
feat(files): Quota in navigation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 18:30:41 +07:00
John Molakvoæ 5b9a8f0407
Add component testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:14 +07:00
John Molakvoæ 8f1bf13ae3
Fix preview crop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:54 +07:00
Louis Chemineau 7a73219412 Checkout current branch in cypress tests in CI
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-12-27 11:44:46 +07:00
John Molakvoæ 1acd42e10c
Invert header if primary is bright and background disabled
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-08 17:52:50 +07:00
John Molakvoæ f26ee9c69d
Faster theming tests, better colours comparison and properly follow admin theming changes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-30 18:39:57 +07:00
John Molakvoæ a869259e41
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:26:27 +07:00
John Molakvoæ 064fa10ecf
Extract colour from custom background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +07:00