aboutsummaryrefslogtreecommitdiffstats
path: root/cypress/support
Commit message (Collapse)AuthorAgeFilesLines
* test: Adjust Cypress setup to support mainline JS syntaxFerdinand Thiessen2024-11-072-0/+10
| | | | | | TODO: Drop when we support Node 22. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure renaming state is correctly resetFerdinand Thiessen2024-11-071-0/+1
| | | | | | | | | | | | | 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>
* chore(cypress): adjust files-sidebar.cy.tsskjnldsv2024-08-021-0/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(cypress): Add tests for files sidebarFerdinand Thiessen2024-06-071-1/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.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>