mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 21:26:07 +10:00
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: LICENSE VERSION app/controllers/omniauth_callbacks_controller.rb app/helpers/application_helper.rb app/helpers/merge_requests_helper.rb app/models/group.rb app/models/project.rb app/models/project_team.rb app/views/admin/groups/edit.html.haml app/views/groups/_projects.html.haml app/views/groups/edit.html.haml db/schema.rb doc/install/installation.md doc/integration/README.md lib/gitlab/git_access.rb lib/gitlab/markdown.rb spec/helpers/merge_requests_helper.rb spec/models/merge_request_spec.rb
28 lines
796 B
Gherkin
28 lines
796 B
Gherkin
@admin
|
|
Feature: Admin Groups
|
|
Background:
|
|
Given I sign in as an admin
|
|
And I have group with projects
|
|
And User "John Doe" exists
|
|
And I visit admin groups page
|
|
|
|
Scenario: See group list
|
|
Then I should be all groups
|
|
|
|
Scenario: Create a group
|
|
When I click new group link
|
|
And submit form with new group info
|
|
Then I should be redirected to group page
|
|
And I should see newly created group
|
|
|
|
@javascript
|
|
Scenario: Add user into projects in group
|
|
When I visit admin group page
|
|
When I select user "John Doe" from user list as "Reporter"
|
|
Then I should see "John Doe" in team list in every project as "Reporter"
|
|
|
|
Scenario: Shared projects
|
|
Given group has shared projects
|
|
When I visit group page
|
|
Then I should see project shared with group
|