Commit graph

148 commits

Author SHA1 Message Date
Ferdinand Thiessen
4cadb82850
feat(settings): Implement new app discover section for app management
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +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
Ferdinand Thiessen
30d5b02811
feat(settings): Split account management into navigation and content
The should ease the maintenance of it due to reduced complexity.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +01:00
Ferdinand Thiessen
84cb04f7c0
feat: Make appstore sidebar tabs standalone components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +01:00
John Molakvoæ (skjnldsv)
b5b658c0d0
fix(settings): users settings cypress
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-03-07 11:54:54 +01:00
Christopher Ng
93b094923e fix(cypress): Adjust cypress tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-06 09:30:41 -08:00
Grigorii K. Shartsev
680f439f73 fix(settings): emails actions a11y and design
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-05 22:07:49 +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
Louis Chemineau
7962379511
test(files_sharing): Add utils to e2e tests files_sharing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-27 09:22:29 +01:00
Louis Chemineau
83d08a293a
test(files): Add move and copy utils for e2e tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-27 09:22:29 +01:00
skjnldsv
5b757c33d8 fix(cypress): files_versions flakyness
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-22 19:10:09 +01: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
e292cf546f
enh(settings): Add Cypress tests for personal information
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-15 00:47:12 +01:00
John Molakvoæ
524ed97d62
fix: replace Account name by Login
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:10 +01:00
John Molakvoæ
b1a47f79f3
fix: cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:08 +01:00
Ferdinand Thiessen
fbba6f93a2
fix(files): Update webdav to 5.3.2 fixing handling of files with XML entities in their names
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 11:08:00 +01:00
Ferdinand Thiessen
d247e237b6
fix(cypress): Adjust cypress tests for changed theming
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-06 21:25:55 +01:00
Joas Schilling
ee4a7ca2ba
fix(tests): Fix flyke cypress test
This is a "Ctrl+D" instead of "Ctrl+S" fail from b2d999fd68

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-05 16:41:40 +01:00
Joas Schilling
b99749d257
fix(tests): Make the cypress apps management test more reliable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-02 07:04:33 +01:00
Ferdinand Thiessen
9052bc6ff4
fix(cypress): Adjust files sorting tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:31:24 +01:00
Ferdinand Thiessen
5d61b806d6
fix(cypress): Wait for color change in pickRandomColor
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 16:04:32 +01:00
Grigorii K. Shartsev
6df488df21 test(theming): update e2e tests after separating color button and preview
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 14:35:31 +01:00
Grigorii K. Shartsev
1112b9e9a5 fix(theming): change color button contrast on user settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 14:35:31 +01:00
Christopher Ng
0fe76a9433 test(files): Fix file picker test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 11:44:50 -08:00
Christopher Ng
4f5f9ae98b test(theming): Fix navigation bar tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 11:38:40 -08:00
Ferdinand Thiessen
a289fdd2d7
fix(files): Allow to copy or move file to folder with similar name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:41:53 +01:00
Ferdinand Thiessen
eaad30c346
enh(files): Allow to copy files into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:41:53 +01:00
Pytal
089aec87ec
Merge pull request #42066 from nextcloud/fix/cypress-wait-for-network-requests
fix(cypress): Wait for network requests to finish when using the FilePicker
2023-12-06 10:49:54 -08:00
Ferdinand Thiessen
aa30452cb4
Merge pull request #41948 from nextcloud/fix/accessibility-dark-mode
fix(theming): Adjust dark theme to be accessible adjust cypress tests
2023-12-06 17:50:38 +01:00
Ferdinand Thiessen
008ea1bff2
fix(cypress): Wait for network requests to finish when using the FilePicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 17:07:08 +01:00
Ferdinand Thiessen
869935f8ef
fix(cypress): Adjust user columns tests to be more specific when selecting a modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 09:28:17 +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
c79c12e9da
enh(files): Add cypress tests for copy and move
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 19:12:19 +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
0b55db7f1d
fix(cypress): Adjust user settings tests for changed actions component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 23:16:23 +01:00
Ferdinand Thiessen
b06951ed3b fix(cypress): Make new-users test less flaky by using test isolation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 13:42:51 +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
Christopher Ng
470f825f8b test(systemtags): Admin system tags form
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 18:34:14 -08:00
julia.kirschenheuter
25d87033b1 Add link for opening app details
Add `alt` for `AppScore` image

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 10:50:10 +01:00
Ferdinand Thiessen
4303895565 fix(cypress): Adjust admin theming tests for new @nextcloud/vue release
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:01:32 +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
54c934b910
chore(cypress): Migrate apps acceptance tests to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:07:43 +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
84421f4c7c
Merge pull request #41137 from nextcloud/chore/migrate-access-level-cypress
chore(cypress): Migrate access-level tests from Behat to Cypress
2023-11-02 17:44:52 +01:00
Ferdinand Thiessen
0219bfa6b5 fix(tests): Make app order Cypress tests more robust
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Ferdinand Thiessen
8e2824ea24
chore(tests): Migrate duplicated menu settings tests (access levels) to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 01:05:25 +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
3378a73e99
fix(theming): Make changes on primary color less invasiv
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen
3676295f7b
fix(theming): Ensure all text colors have enough contrast for accessibility
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen
4e8c690dc7 fix(cypress): Fix linter errors on Cypress chains and refactor wait-until checker functions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 15:42:15 +02:00
Ferdinand Thiessen
e93ccca823
fix(cypress): Fix selector for the user menu button
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 12:15:18 +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
4c4e4ec991 chore(tests): Migrate login acceptance tests from behat to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-23 16:10:06 +02:00
Ferdinand Thiessen
615a6846da
feat(theming): Allow to reset the user defined app order to the default value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:25 +02:00
Ferdinand Thiessen
9697df1ea5
fix(theming): App order settings - ensure the focus is kept on button
When pressing a button for changing the app order that button should keep the focus after reordering the list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:18 +02:00
Ferdinand Thiessen
e9d4036389
feat(theming): Allow to configure default apps and app order in frontend settings
* Also add API for setting the value using ajax.
* Add cypress tests for app order and defaul apps

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:17 +02:00
Ferdinand Thiessen
3f83ae145f
fix(cypress): Test using data-test-id attributes rather than private classes
Makes the test more resilant to inner component changes of the `@nextcloud/vue` library.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:20 +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æ
4f4074452d
Fix background removal not applying to user default theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 12:01:29 +02:00
John Molakvoæ
a024ee1cfe
Fix background removal check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +02:00
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 +02: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 +02: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
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 +02: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 +02: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 +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
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
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 +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
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 +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
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 +01: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æ
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æ
a869259e41
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:26:27 +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