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/roles/role_crud.feature

33 lines
1.1 KiB

#-- copyright
# OpenProject is a project management system.
#
# Copyright (C) 2012-2013 the OpenProject Team
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
#
# See doc/COPYRIGHT.rdoc for more details.
#++
Feature: As an admin
I want to administrate roles with permissions
So that I can modify permissions of roles
@javascript
Scenario: Normal Role creation with existing role with same name
And I am already admin
When I go to the new page of "Role"
Then I should see "Work packages can be assigned to this role"
When I fill in "Name" with "Manager"
And I click on "Create"
Then I should see "Successful creation."
@javascript
Scenario: Normal Role creation with existing role with same name
And there is a role "Manager"
And I am already admin
When I go to the new page of "Role"
Then I should see "Work packages can be assigned to this role"
When I fill in "Name" with "Manager"
And I click on "Create"
Then I should see "Name has already been taken"