OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/features/global_create_project.feature

44 lines
1.6 KiB

Feature: Global Create Project
Scenario: Create Project is not a member permission
Given there is a role "Member"
And I am already logged in as "admin"
When I go to the edit page of the role "Member"
Then I should not see "Create project"
Scenario: Create Project is a global permission
Given there is a global role "Global"
And I am already logged in as "admin"
When I go to the edit page of the role "Global"
Then I should see "Create project"
Scenario: Create Project displayed to user
Given there is a global role "Global"
And the global role "Global" may have the following rights:
| add_project |
And there is 1 User with:
| Login | bob |
| Firstname | Bob |
| Lastname | Bobbit |
And the user "bob" has the global role "Global"
When I am already logged in as "bob"
And I go to the overall projects page
Then I should see "New project"
Scenario: Create Project displayed to user
Given there is a global role "Global"
And the global role "Global" may have the following rights:
| add_project |
And there is 1 User with:
| Login | bob |
| Firstname | Bob |
| Lastname | Bobbit |
And the user "bob" has the global role "Global"
When I am already logged in as "bob"
And I go to the new page of "Project"
And I fill in "project_name" with "ProjectName"
And I fill in "project_identifier" with "projectid"
And I press "Save"
Then I should see "Successful creation."
And I should be on the settings page of the project called "ProjectName"