Louis Chemineau
4e65026d2f
chore(tests): Fix using save/restore state in cypress
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 10:26:40 +01:00
Ferdinand Thiessen
2777ef7ea7
fix(files): Do not download files with openfile query flag
...
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>
2025-02-14 16:40:19 +01:00
Ferdinand Thiessen
42c5900e11
test: Adjust Cypress setup to support mainline JS syntax
...
TODO: Drop when we support Node 22.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-07 17:37:44 +01:00
Ferdinand Thiessen
533c5e2aa4
fix(files): Ensure renaming state is correctly reset
...
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>
2024-11-07 16:37:55 +01:00
skjnldsv
a2ea37921f
chore(cypress): adjust files-sidebar.cy.ts
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-02 15:00:47 +02:00
Ferdinand Thiessen
7b49eea413
feat(cypress): Add tests for files sidebar
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 12:08:37 +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
Ferdinand Thiessen
3fede00732
feat(login): Clear login form (password) after IDLE timeout
...
For security reasons it is recommended to stop the login process at a defined time,
this could prevent password leaks by e.g. user forgetting that they entered their password on public devices.
Enforced e.g. by the BSI ORP.4.A13 rule.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-25 12:22:53 +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
Christopher Ng
84ceaddc66
fix(cypress): ResizeObserver loop undelivered notifications error
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-12 15:01:45 -07:00
skjnldsv
16b818bd1e
fix(cypress): more stable navigation-bar-settings cypress tests
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-22 18:36:24 +01:00
Ferdinand Thiessen
da346aa80e
fix(theming): Adjust dark theme to be accessible adjust cypress tests
...
Also fix warning text color for bright / default theme on blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 00:58:30 +01:00
Ferdinand Thiessen
d58b41301a
fix(cypress): Adjust cypress tests that relied on version to be 28
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-24 00:57:55 +01:00
Ferdinand Thiessen
205801adc6
fix(files): Add cypress e2e tests
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:43 +01:00
Ferdinand Thiessen
b2d999fd68
fix(cypress): Do not install calendar app from app store for testing but use locally provided test app
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-12 01:13:21 +01:00
Ferdinand Thiessen
9cabaaee8e
chore(cypress): Migrate header contacts menu tests from Behat to Cypress
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 20:17:00 +01:00
Ferdinand Thiessen
a7c88519f7
chore(cypress): Move clearState from user utils to shared common utils
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-29 23:36:58 +01:00
Ferdinand Thiessen
bfc8b0bc15
chore(cypress): Migrate access-level tests from Behat to Cypress as this are UI tests
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-29 23:36:58 +01:00
Ferdinand Thiessen
ec1ae4505b
tests: Add accessibility tests for CSS color variables
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:21 +02:00
Ferdinand Thiessen
5b0c27b6da
fix(settings): Stablize user list cypress tests
...
* Use common `data-testid` to identify elements rather than to depend on internal classes or properties
* Force clean the state for the user tests
* Move leftover acceptance tests for users from drone to cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 11:36:24 +02:00
Ferdinand Thiessen
add1d922ba
fix(cypress): Replace flaky password-confirmation hack with conditional testing for the password modal
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:19 +02: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 +02: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 +02: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 +02: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 +02:00
John Molakvoæ
497d195310
chore(deps): update cypress
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 11:40:25 +02:00
John Molakvoæ
29a7f7f6ef
feat(files_trashbin): migrate to vue
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +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
John Molakvoæ
b9906fb21e
feat(files): Quota in navigation
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 18:30:41 +01:00
John Molakvoæ
5b9a8f0407
Add component testing
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:14 +01: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 +01: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 +01:00
John Molakvoæ
064fa10ecf
Extract colour from custom background
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +01:00