use changed step for login admin

pull/6827/head
Christian Ratz 11 years ago
parent b7935d4461
commit fe19a7e893
  1. 4
      features/global_create_project.feature
  2. 6
      features/global_role_assignment.feature
  3. 4
      features/global_role_crud.feature
  4. 2
      features/member_roles.feature
  5. 2
      features/no_module.feature

@ -2,13 +2,13 @@ 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"
And I am already 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"
And I am already admin
When I go to the edit page of the role "Global"
Then I should see "Create project"

@ -15,7 +15,7 @@ Feature: Global Role Assignment
| Firstname | Bob |
| Lastname | Bobbit |
And the user "bob" has the global role "global_role1"
And I am already logged in as "admin"
And I am already admin
When I go to the edit page of the user called "bob"
And I click on "tab-global_roles"
Then I should see "global_role1" within "#table_principal_roles"
@ -32,7 +32,7 @@ Feature: Global Role Assignment
| Login | bob |
| Firstname | Bob |
| Lastname | Bobbit |
And I am already logged in as "admin"
And I am already admin
When I go to the edit page of the user called "bob"
And I click on "tab-global_roles"
And I select the available global role "global_role"
@ -53,7 +53,7 @@ Feature: Global Role Assignment
| Firstname | Bob |
| Lastname | Bobbit |
And the user "bob" has the global role "global_role"
And I am already logged in as "admin"
And I am already admin
When I go to the edit page of the user called "bob"
And I click on "tab-global_roles"
And I delete the assigned role "global_role"

@ -5,7 +5,7 @@ Feature: As an admin
@javascript
Scenario: Global Role creation
Given there is the global permission "glob_test" of the module "global_group"
And I am already logged in as "admin"
And I am already admin
When I go to the new page of "Role"
And I check "global_role"
Then I should see "Global group"
@ -18,6 +18,6 @@ Feature: As an admin
@javascript
Scenario: Global Roles can not be assigned issues to
Given there is a global role "global_role_x"
And I am already logged in as "admin"
And I am already admin
When I go to the edit page of the role called "global_role_x"
Then I should not see "Issues can be assigned to this role"

@ -11,7 +11,7 @@ Feature: Unchanged Member Roles
| Lastname | Bobbit |
And there is a global role "GlobalRole1"
And there is a role "MemberRole1"
And I am already logged in as "admin"
And I am already admin
When I go to the members tab of the settings page for the project "projectid"
And I select the principal "bob"
Then I should see "MemberRole1"

@ -5,6 +5,6 @@ Feature: No Module
And there is 1 project with the following:
| name | test |
| identifier | test |
And I am already logged in as "admin"
And I am already admin
When I go to the members tab of the settings page for the project "test"
Then I should not see "Global"

Loading…
Cancel
Save