You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/testing/smoke_testing.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The need for this smoke testing (manual) is that we do not have e2e test setup t
21
21
-[4. Create a WorkPackage from Nextcloud](#4-create-a-workpackage-from-nextcloud)
22
22
-[5. Check notification in `OpenProject` widget in Nextcloud](#5-check-notification-in-openproject-widget-in-nextcloud)
23
23
-[6. Setup and check project folder in Nextcloud (with project folder setup)](#6-setup-and-check-project-folder-in-nextcloud-with-project-folder-setup)
24
-
-[7. Check New folder with automatically managed permissions in OpenProject](#7-check-new-folder-with-automatically-managed-permissions-in-openproject)
24
+
-[7. Setup and Check New folder with automatically managed permissions in OpenProject](#7-setup-and-check-new-folder-with-automatically-managed-permissions-in-openproject)
25
25
26
26
-[App Upgrade Testing](#app-upgrade-testing)
27
27
-[Upgrade Steps](#upgrade-steps)
@@ -37,7 +37,7 @@ The need for this smoke testing (manual) is that we do not have e2e test setup t
37
37
### A1. Oauth configuration
38
38
-[ ] Keep two browser tabs open: one for `OpenProject` and one for `Nextcloud`.
39
39
-[ ] In `OpenProject`, as a user `admin`, navigate to `Administration > Files` and add a new `Nextcloud` storage:
40
-
- Add name to `Nextcloud` and host to `<nextcloud_host>`.
40
+
- Add name to `Nextcloud` and host to `<nextcloud-host>`.
41
41
- Select `Two-way OAuth 2.0 authorization code flow` as the authentication method.
42
42
- Click `Save and Continue` — note the generated `OpenProject OAuth Client ID` and `Client Secret`.
43
43
-[ ] In `Nextcloud`, as a user `admin`, navigate to `Administration Settings > OpenProject`:
@@ -68,32 +68,32 @@ The need for this smoke testing (manual) is that we do not have e2e test setup t
68
68
69
69
### A4. Connect OpenProject with Nextcloud
70
70
-[ ] Complete step [Test No A1](#a1-oauth-configuration).
71
-
-[ ] Complete step [Test No A3](#A3-Add-File-storage-Nextcloud-to-an-OpenProject-project).
71
+
-[ ] Complete step [Test No A3](#a3-add-file-storage-nextcloud-to-an-openproject-project).
72
72
-[ ] As a user `admin`, navigate to `Demo Project > Work Packages` and open any work package by clicking its ID.
73
73
-[ ] Navigate to `Files` tab, and login to `Nextcloud`.
74
74
-[ ]`OpenProject` admin is connected to `Nextcloud` as a `Nextcloud` admin.
75
75
-[ ] Add the created `OpenProject` user as the member of `Demo Project` project (admin can add members to a project).
76
-
-[ ] Login as created user in both openproject and nextcloud.
76
+
-[ ] Login as created user in both `Openproject` and `Nextcloud`.
77
77
-[ ] Try to connect the created `OpenProject` user as created `Nextcloud` user.
78
78
-[ ]`OpenProject` user should be connected as a `Nextcloud` user.
-[ ] Navigate to `Project settings > Files` of a project (for example, `Demo Project`) and add `Nextcloud` as a file storage.
218
-
-[ ] If you are using [Docker setup](../../dev/), default `Keycloak` users already exist (`alice` and `brian`, password: `1234`), so you can skip the user-creation steps below and go directly to step [B.2.4](#b24-setup-integration-token-exchange-disabled-in-nexcloud).
218
+
-[ ] If you are using [Docker setup](../../dev/), default `Keycloak` users already exist (`alice` and `brian`, password: `1234`), so you can skip the user-creation steps below and go directly to step [B.2.4](#b24-setup-integration-token-exchange-disabled-in-nextcloud).
219
219
-[ ] In Keycloak, go to the user management section. For example, if your realm name is `opnc`, navigate to: `opnc > Users`.
220
220
-[ ] Then create a user.
221
221
-[ ] In `Openproject`, login as keycloak-created user.
222
222
-[ ] In `OpenProject`, log out, then log in as a user `admin`.
223
223
-[ ] As an `OpenProject` admin, add keycloak-created user as a member in one of the project (for example, `Demo Project`).
224
224
225
-
#### B.2.4. Setup integration (token exchange disabled) in Nexcloud
225
+
#### B.2.4. Setup integration (token exchange disabled) in Nextcloud
226
226
-[ ] As a user `admin`, go to `Administration > OpenProject`.
227
227
-[ ] Under `Authentication Method`, select `Single-Sign-On through OpenID Connect Identity Provider`.
228
228
-[ ] In `Authentication settings`, select `provider Type` as `Keycloak`.
229
229
-[ ] Disable `token exchange`.
230
230
231
231
#### B.2.5. Verify Connection in nextcloud
232
-
-[ ]first, Complete steps **B.2.1** to **B.2.4**.
232
+
-[ ]First, complete steps **B.2.1** to **B.2.4**.
233
233
-[ ] In nextcloud, login as keycloak-created user.
234
234
-[ ] Navigate to `Settings > Openproject`.
235
235
-[ ] Should show user is connected as an OpenProject user.
0 commit comments