From 710ee4d17f8131f656effb13576f5ca4a6bfc040 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Wed, 11 Dec 2024 06:42:29 +0000 Subject: Merge r23388 from trunk to 6.0-stable (#41918). git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23389 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/functional/issues_controller_test.rb') diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index fbe512122..643345eac 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -5993,7 +5993,10 @@ class IssuesControllerTest < Redmine::ControllerTest assert_response :success reason = l(:notice_issue_not_closable_by_blocking_issue) - assert_select 'span.icon-warning[title=?]', reason, :text => reason + assert_select 'span.icon-warning[title=?]', reason do + assert_select "svg.icon-svg use:match('href', ?)", /assets\/icons-\w+.svg#icon--warning/ + assert_select 'span.icon-label', test: reason + end end def test_get_edit_should_display_visible_spent_time_custom_field -- cgit v1.2.3