| enter invalid URL as OpenProject host | good error message shown, setting not saved, next step not enabled | | |
| enter valid URL, that does not have an OpenProject listening as OpenProject host | good error message shown, setting not saved, next step not enabled | | |
| enter valid and correct OpenProject host | no error message shown, setting saved, next step enabled | | |
| enter only client Id | settings cannot be saved | | |
| enter also client secret | settings can be saved, NextCloud OAuth settings are generated and shown | | |
| copy the credentials | Project folders settings is displayed, the toggle button is enabled | | |
| disable the automatically managed folders and continue | Project folders settings should be disabled and a button to edit the setup should be displayed | | |
### Configuration as admin with project folders
#### Prerequisites
- NextCloud installed
- OpenProject Integration app installed
- OpenProject Integration app enabled
- Groupfolders app installed
- Groupfolders app enabled
### Run tests as
1. main admin user
2. newly created user that is member of the "admin" group
| enter invalid URL as OpenProject host | good error message shown, setting not saved, next step not enabled | | |
| enter valid URL, that does not have an OpenProject listening as OpenProject host | good error message shown, setting not saved, next step not enabled | | |
| enter valid and correct OpenProject host | no error message shown, setting saved, next step enabled | | |
| enter only client Id | settings cannot be saved | | |
| enter also client secret | settings can be saved, NextCloud OAuth settings are generated and shown | | |
| check dashboard | button to connect to OpenProject shown | | |
| check OpenProject sidebar of a file | button to connect to OpenProject shown | | |
| check personal settings | button to connect to OpenProject shown | | |
| if connected, disconnect from OP, connect to OP through the file sidebar | oauth connection process successful, message shown that connection was established, after connection redirected to the sidebar of the same file | | |
| if connected, disconnect from OP, connect to OP through the dashboard | oauth connection process successful, message shown that connection was established, after connection redirected to dashboard | | |
| if connected, disconnect from OP, connect to OP through the personal settings | oauth connection process successful, message shown that connection was established, after connection redirected to settings page | | |
| connect to OP, check personal settings | button to disconnect from OpenProject shown | | |
| connect to OP, check dashboard | notifications listed, or message that there are no notifications | | |
| connect to OP, check file sidebar of a file | message saying that no workpackages are linked yet | | |
| generate some notifications in OP, display the OP dashboard in NC | all OP notifications listed (not aggregated), every item links to the corresponding notification in OP | | |
| generate more than 6 notifications in OP, display the OP dashboard in NC | 6 OP notifications listed and a link to the OP notification center | | |
| mark all notifications in OP as read, display the OP dashboard in NC | no OP notifications listed but a good message saying that there are no notifications | | |