Merge pull request #52 from finnlabs/fix-spec-according-to-select2

Select2 is no longer used for multiple selects
pull/6827/head
Stefan Botzenhart 9 years ago
commit 327fe89ec2
  1. 16
      features/member_roles.feature

@ -22,13 +22,11 @@ Feature: Unchanged Member Roles
@javascript
Scenario: Global Roles should not be displayed as assignable project roles
Given there is 1 project with the following:
| Name | projectname |
| Identifier | projectid |
And there is a global role "GlobalRole1"
And there is a role "MemberRole1"
And I am already admin
| Name | projectname |
| Identifier | projectid |
And there is a global role "GlobalRole1"
And there is a role "MemberRole1"
And I am already admin
When I go to the new member page of the project "projectid"
And I enter the role name "MemberRole1"
Then I should see "MemberRole1"
And I enter the role name "GlobalRole1"
Then I should not see "GlobalRole1"
Then I should see "MemberRole1" within "#member_role_ids"
Then I should not see "GlobalRole1" within "#member_role_ids"

Loading…
Cancel
Save