Refactor, refresh UI and unify the structure of journals, replies and comments (#42972, #40744).

git-svn-id: https://svn.redmine.org/redmine/trunk@23887 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2025-07-14 21:33:33 +00:00
parent 36446be97c
commit e940540e2e
14 changed files with 257 additions and 182 deletions

View File

@@ -2485,7 +2485,7 @@ class IssuesControllerTest < Redmine::ControllerTest
end
assert_select 'div#tab-content-history' do
assert_select 'div[id=?]', "change-#{Issue.find(1).journals.last.id}" do
assert_select 'ul.details', :text => "Subtask ##{issue.id} added"
assert_select 'ul.journal-details', :text => "Subtask ##{issue.id} added"
end
end
end
@@ -3305,7 +3305,7 @@ class IssuesControllerTest < Redmine::ControllerTest
assert_select 'a[title=?][href=?]', 'Edit', '/time_entries/3/edit'
assert_select 'a[title=?][href=?]', 'Delete', '/time_entries/3'
assert_select 'ul[class=?]', 'details', :text => /1.00 h/
assert_select 'ul[class=?]', 'journal-details', :text => /1.00 h/
end
end
@@ -8697,7 +8697,7 @@ class IssuesControllerTest < Redmine::ControllerTest
assert_select 'div#tab-content-history' do
assert_select 'div[id=?]', "change-#{parent.journals.last.id}" do
assert_select 'ul.details', :text => "Subtask deleted (##{child.id})"
assert_select 'ul.journal-details', :text => "Subtask deleted (##{child.id})"
end
end
end