summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-03-20 22:16:11 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-03-20 22:16:11 +0000
commit3cee462b672632787070e41fc62a6114f4fd2397 (patch)
treec616e56c2062961eda8bd9da712835786265d9f3 /test
parent1d32a44afa2dc649866ea71828ff7d8f67fae3c7 (diff)
downloadredmine-3cee462b672632787070e41fc62a6114f4fd2397.tar.gz
redmine-3cee462b672632787070e41fc62a6114f4fd2397.zip
Fix that @tracker_ids[]@ field is rendered multiple time. Add some assertions to @test_index@ (#6432).
git-svn-id: http://svn.redmine.org/redmine/trunk@21482 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/versions_controller_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/versions_controller_test.rb b/test/functional/versions_controller_test.rb
index 80e51880e..fdd767560 100644
--- a/test/functional/versions_controller_test.rb
+++ b/test/functional/versions_controller_test.rb
@@ -45,6 +45,9 @@ class VersionsControllerTest < Redmine::ControllerTest
# Context menu on issues
assert_select "form[data-cm-url=?]", '/issues/context_menu'
assert_select "div#sidebar" do
+ # Tracker checkboxes
+ assert_select 'input[type=hidden][name=?]', 'tracker_ids[]'
+ assert_select 'input[type=checkbox][name=?]', 'tracker_ids[]', 3
# Links to versions anchors
assert_select 'a[href=?]', '#2.0'
# Links to completed versions in the sidebar