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

56 lines
2.3 KiB

#-- copyright
# OpenProject Meeting Plugin
#
# Copyright (C) 2011-2014 the OpenProject Foundation (OPF)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# See doc/COPYRIGHT.md for more details.
#++
Feature: Locking meetings
Background:
Given there is 1 project with the following:
| identifier | dingens |
| name | dingens |
And the project "dingens" uses the following modules:
| meetings |
And there is 1 user with:
| login | bob |
And there is a role "user"
And the user "bob" is a "user" in the project "dingens"
And there is 1 meeting in project "dingens" created by "bob" with:
| title | Bobs Meeting |
And the meeting "Bobs Meeting" has 1 agenda with:
| text | awesome! |
@javascript
Scenario: Save a meeting after it has changed while editing
Given the role "user" may have the following rights:
| view_meetings |
| create_meetings |
| create_meeting_agendas |
| edit_meetings |
When I am already logged in as "bob"
And I go to the Meetings page for the project called "dingens"
And I click on "Bobs Meeting"
And I follow "Edit" within ".meeting_agenda"
# Change the text of the agenda to create an editing conflict
And the meeting "Bobs Meeting" has 1 agenda with:
| text | and now for something completely different |
And I fill in "Blabla oder?" for "meeting_agenda_text"
And I click on "Save"
Then I should see "Information has been updated by at least one other user in the meantime."
# Prüfen, ob die Editbox noch sichtbar ist
#And I should see "Text formatting" within "#tab-content-agenda"