Let user select a tracker from the modal (#442).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18016 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2019-03-30 06:23:52 +00:00
parent 56742e65de
commit b46741f7fc
2 changed files with 25 additions and 1 deletions

View File

@@ -340,4 +340,19 @@ class IssuesTest < ApplicationSystemTestCase
subjects = csv.map {|row| row[subject_index]}
assert_equal subjects.sort, subjects
end
def test_issue_trackers_description_should_select_tracker
log_user('admin', 'admin')
visit '/issues/1'
page.first(:link, 'Edit').click
page.click_link('View all trackers description')
assert page.has_css?('#trackers_description')
within('#trackers_description') do
click_link('Feature')
end
assert !page.has_css?('#trackers_description')
assert_equal "2", page.find('select#issue_tracker_id').value
end
end