aboutsummaryrefslogtreecommitdiffstats
path: root/cypress/support
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): Do not download files with `openfile` query flagFerdinand Thiessen2025-02-062-9/+10
| | | | | | | 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>
* test: Add Cypress command for deleting filesFerdinand Thiessen2025-02-052-0/+28
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Update @nextcloud/cypress to v1.0.0-beta.11artonge/chore/update_nc_cypress_beta.11Louis Chemineau2024-11-253-56/+20
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* test: Add proper styles for Cypress component testsFerdinand Thiessen2024-10-294-95/+107
| | | | | | | This also fixes Typescript issue but requires to slightly adjust the Navigation test as the progress bar is not visible (because it is overlayed by another element). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Adjust NavigationQuota for Nextcloud 30 designFerdinand Thiessen2024-10-211-0/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add end-to-end tests for new public share Vue UIFerdinand Thiessen2024-09-062-6/+34
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add end-to-end tests for public page header actionsFerdinand Thiessen2024-09-032-0/+41
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add Cypress test for renaming loading stateFerdinand Thiessen2024-08-311-0/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(cypress): put nextcloud into ramskjnldsv2024-08-221-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(cypress): allow db snapshot and restore fo faster testsskjnldsv2024-08-221-0/+23
| | | | 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-271-0/+1
| | | | | | `nextcloud:unified-search:reset` event Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(cypress): Add tests for files sidebarFerdinand Thiessen2024-06-041-1/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-265-57/+15
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(files_versions): Add listener and interfaces to allow versions ↵Louis Chemineau2024-03-261-1/+1
| | | | | | migration across storages Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(login): Clear login form (password) after IDLE timeoutFerdinand Thiessen2024-03-251-1/+1
| | | | | | | | | 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>
* test(files): Add e2e tests for live photo syncLouis Chemineau2024-03-141-30/+30
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(cypress): ResizeObserver loop undelivered notifications errorChristopher Ng2024-03-121-0/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(cypress): more stable navigation-bar-settings cypress testsskjnldsv2024-02-221-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(theming): Adjust dark theme to be accessible adjust cypress testsFerdinand Thiessen2023-12-011-0/+1
| | | | | | Also fix warning text color for bright / default theme on blurry background Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cypress): Adjust cypress tests that relied on version to be 28Ferdinand Thiessen2023-11-241-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add cypress e2e testsFerdinand Thiessen2023-11-161-2/+71
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cypress): Do not install calendar app from app store for testing but use ↵Ferdinand Thiessen2023-11-121-0/+22
| | | | | | locally provided test app Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(cypress): Migrate header contacts menu tests from Behat to CypressFerdinand Thiessen2023-11-051-1/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(cypress): Move `clearState` from user utils to shared common utilsFerdinand Thiessen2023-10-291-0/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(cypress): Migrate access-level tests from Behat to Cypress as this are ↵Ferdinand Thiessen2023-10-291-0/+20
| | | | | | UI tests Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* tests: Add accessibility tests for CSS color variablesFerdinand Thiessen2023-10-271-0/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): Stablize user list cypress testsFerdinand Thiessen2023-10-251-3/+4
| | | | | | | | * 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>
* fix(cypress): Replace flaky password-confirmation hack with conditional ↵Ferdinand Thiessen2023-10-191-0/+1
| | | | | | testing for the password modal Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: allow external drop and add dropzoneJohn Molakvoæ2023-10-101-0/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(cypress): Really mock the initial state instead of trying to stub a moduleFerdinand Thiessen2023-08-021-0/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(cypress): Make sure cypress can preprocess files corrently (this drops ↵Ferdinand Thiessen2023-08-021-1/+1
| | | | | | 78 dependencies) Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): Migrate away from deprecated `NcPopoverMenu`Ferdinand Thiessen2023-06-301-0/+32
| | | | | | | | | * 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>
* fix: Add cypress test for changing password in the users listFerdinand Thiessen2023-06-291-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): update cypressJohn Molakvoæ2023-04-211-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files_trashbin): migrate to vueJohn Molakvoæ2023-04-061-14/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Increase wait to ensure versions are createdLouis Chemineau2023-03-301-26/+25
| | | | | | | | 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>
* Add cypress testsLouis Chemineau2023-01-261-6/+36
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): Quota in navigationJohn Molakvoæ2023-01-173-11/+33
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add component testingJohn Molakvoæ2023-01-042-0/+47
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Invert header if primary is bright and background disabledJohn Molakvoæ2022-12-081-3/+49
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Faster theming tests, better colours comparison and properly follow admin ↵John Molakvoæ2022-11-301-3/+30
| | | | | | theming changes Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Extract colour from custom backgroundJohn Molakvoæ2022-11-292-0/+108
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>