Merge pull request #7565 from opf/merge/release-dev
Merge release/9.1 into dev [ci skip]pull/7570/head
commit
1c5ec3db79
@ -0,0 +1,18 @@ |
||||
Return-Path: <h.wurst@openproject.com> |
||||
Received: from osiris ([127.0.0.1]) |
||||
by OSIRIS |
||||
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200 |
||||
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris> |
||||
From: "Hans Wurst" <h.wurst@openproject.com> |
||||
To: <notifications@openproject.com> |
||||
Subject: OnlineStore - new Bug #42: Work package with list custom field |
||||
Date: Sun, 22 Jun 2008 12:28:07 +0200 |
||||
MIME-Version: 1.0 |
||||
Content-Type: text/plain; |
||||
format=flowed; |
||||
charset="iso-8859-1"; |
||||
reply-type=original |
||||
Content-Transfer-Encoding: 7bit |
||||
|
||||
This is a ticket submitted with a list custom field. |
||||
Letters:B |
@ -0,0 +1,18 @@ |
||||
Return-Path: <h.wurst@openproject.com> |
||||
Received: from osiris ([127.0.0.1]) |
||||
by OSIRIS |
||||
with hMailServer ; Sun, 22 Jun 2008 12:28:07 +0200 |
||||
Message-ID: <000501c8d452$a95cd7e0$0a00a8c0@osiris> |
||||
From: "Hans Wurst" <h.wurst@openproject.com> |
||||
To: <notifications@openproject.com> |
||||
Subject: OnlineStore - new Bug #42: Work package with text custom field |
||||
Date: Sun, 22 Jun 2008 12:28:07 +0200 |
||||
MIME-Version: 1.0 |
||||
Content-Type: text/plain; |
||||
format=flowed; |
||||
charset="iso-8859-1"; |
||||
reply-type=original |
||||
Content-Transfer-Encoding: 7bit |
||||
|
||||
This is a ticket submitted with a text custom field. |
||||
Notes:some text |
@ -0,0 +1,53 @@ |
||||
#-- copyright |
||||
# OpenProject is a project management system. |
||||
# Copyright (C) 2012-2018 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. |
||||
# |
||||
# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows: |
||||
# Copyright (C) 2006-2017 Jean-Philippe Lang |
||||
# Copyright (C) 2010-2013 the ChiliProject Team |
||||
# |
||||
# This program is free software; you can redistribute it and/or |
||||
# modify it under the terms of the GNU General Public License |
||||
# as published by the Free Software Foundation; either version 2 |
||||
# of the License, or (at your option) any later version. |
||||
# |
||||
# 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 docs/COPYRIGHT.rdoc for more details. |
||||
#++ |
||||
require 'spec_helper' |
||||
|
||||
class WorkPackageCards |
||||
include Capybara::DSL |
||||
include RSpec::Matchers |
||||
attr_reader :project |
||||
|
||||
def initialize(project = nil) |
||||
@project = project |
||||
end |
||||
|
||||
def open_full_screen_by_doubleclick(work_package) |
||||
loading_indicator_saveguard |
||||
page.driver.browser.action.double_click(card(work_package).native).perform |
||||
|
||||
Pages::FullWorkPackage.new(work_package, project) |
||||
end |
||||
|
||||
def select_work_package(work_package) |
||||
card(work_package).click |
||||
end |
||||
|
||||
def card(work_package) |
||||
page.find(".wp-card-#{work_package.id}") |
||||
end |
||||
end |
Loading…
Reference in new issue