tests: update smoke testing#1011
Conversation
| - [ ] In `Nextcloud`, navigate to `Personal Settings > Openproject` and click on `Connect to OpenProject` button. | ||
| - [ ] `Nextcloud` admin should be connected as an `OpenProject` admin. | ||
| - [ ] Also, create a user in both `Nextcloud` as well as `OpenProject`. | ||
| - [ ] From the personal section of the created user in `Nextcloud`, connect to `OpenProject`. |
There was a problem hiding this comment.
login as created user and from the settings -> connect...
There was a problem hiding this comment.
Why is it needed?
| - [ ] Create a new user( with username, display name, password, and email) | ||
| - [ ] Run following command: | ||
| - `php occ config:system:set user_oidc --type boolean --value="true" oidc_provider_bearer_validation` | ||
| - Note: This enables bearer token validation for `user_oidc`. Without it, login or connection may fail. This may also be missing during local setups. |
There was a problem hiding this comment.
still unclear that its required for local setup only
There was a problem hiding this comment.
I ahave done the changes there. Could you check if it is clear and easy to understand?
| - Discovery endpoint: `<keycloak_instance_url>/realms/<realm-name>/.well-known/openid-configuration` (for example realm name can be `opnc`) | ||
| - Scope: `openid email profile api_v3` | ||
| - submit | ||
| - [ ] Login as keycloak-created user in `Nextcloud`. |
There was a problem hiding this comment.
it would be good to add link to the documentation where we can see the keycloak users credentials
There was a problem hiding this comment.
I don’t think there is any dedicated documentation for the user credentials.
In the Docker setup, a script automatically creates a user and sets the password, so we use that existing user. In other setups, you can simply create a new user manually and set the password yourself.
Docker setup password is set here:
There was a problem hiding this comment.
I made some changes there. Please take a look and let me know if it looks good or not.
There was a problem hiding this comment.
I don’t think there is any dedicated documentation for the user credentials. In the Docker setup, a script automatically creates a user and sets the password, so we use that existing user. In other setups, you can simply create a new user manually and set the password yourself.
Docker setup password is set here:
integration_openproject/dev/keycloak/keycloak.sh
Line 64 in 65f7742
"value": "1234",
will I or someone remember or where to look in the future?
There was a problem hiding this comment.
I added it. Could you check if it is clear and easy to understand?
69f594b to
04254b3
Compare
|
could you please add missing fullstops(.) and also making consistent either |
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
04254b3 to
2bb1e85
Compare
Done ✅ |
Description
This PR updates the smoke testing documents.
Related Issue or Workpackage
Screenshots (if appropriate):
Types of changes
Checklist:
CHANGELOG.mdfile