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/meeting_update.feature

60 lines
2.3 KiB

#-- copyright
# OpenProject is a project management system.
#
# Copyright (C) 2011-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: Updating meetings
Background:
Given there is 1 project with the following:
| name | worlddomination |
And the project "worlddomination" uses the following modules:
| meetings |
And there is a role "user"
And the role "user" may have the following rights:
| view_meetings |
| edit_meetings |
And there is 1 user with:
| login | alice |
| firstname | alice |
| lastname | alice |
And there is 1 user with:
| login | bob |
| firstname | bob |
| lastname | bobbit |
And there is 1 user with:
| login | chuck |
| firstname | chuck |
| lastname | testa |
And the user "alice" is a "user" in the project "worlddomination"
And the user "bob" is a "user" in the project "worlddomination"
And the user "chuck" is a "user" in the project "worlddomination"
And there is 1 meeting in project "worlddomination" created by "alice" with:
| title | Meeting 1 |
| location | Room 1 |
| duration | 1:30 |
| start_time | 2011-02-11 12:30:00 |
And "bob" is invited to the Meeting "Meeting 1"
Scenario: Adding a new invitee
When I am already logged in as "alice"
And I go to the edit page of the meeting called "Meeting 1"
And I check "chuck testa invited"
And I click on "Save"
Then I should see "Successful update."
And I should see "chuck testa"
Scenario: Removing an invitee
When I am already logged in as "alice"
And I go to the edit page of the meeting called "Meeting 1"
And I uncheck "bob bobbit invited"
And I click on "Save"
Then I should see "Successful update."
And I should not see "bob bobbit"