-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathOauthFlow.feature
More file actions
21 lines (19 loc) · 1.22 KB
/
OauthFlow.feature
File metadata and controls
21 lines (19 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Feature:
As an admin
I want to setup oauth between nextcloud and openproject
So that the apps can communicate with each other
Scenario: user logs in
Given openproject administrator has logged in openproject using the webUI
And nextcloud administrator has logged in using the webUI
And the administrator has navigated to the openproject tab in administrator settings
And nextcloud administrator adds the openproject host
When openproject administrator adds the nextcloud host with name "nextcloud" in file storage
And openproject administrator copies the openproject oauth credentials
And nextcloud administrator pastes the openproject oauth credentials
And nextcloud administrator copies the nextcloud oauth credentials
And openproject administrator pastes the nextcloud oauth credentials
Then file storage "nextcloud" should be listed on the webUI of openproject
And the oauth setting from should be completed on the webUI of nextcloud
When administator connects to the openproject through the personal settings
And the user authorizes in open project with username "admin2" and password "admin2"
Then the button with "Disconnect from OpenProject" text should be displayed in the webUI