From 6f603f285f4b8514bf42efe90fe62f571ff715ca Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 18 Feb 2020 02:06:51 +0000 Subject: Fix that CSS selector in test_index_should_show_warning_when_no_workflow_is_defined is too specific (#32927). Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@19521 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issue_statuses_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/functional/issue_statuses_controller_test.rb b/test/functional/issue_statuses_controller_test.rb index 703ed92e4..507c13afc 100644 --- a/test/functional/issue_statuses_controller_test.rb +++ b/test/functional/issue_statuses_controller_test.rb @@ -54,7 +54,7 @@ class IssueStatusesControllerTest < Redmine::ControllerTest assert_select 'tr:not(:last-of-type) span.icon-warning', :count => 0 assert_select 'tr:last-of-type' do assert_select 'td.name', :text => status.name - assert_select 'td:nth-of-type(3) span.icon-warning', + assert_select 'td span.icon-warning', :text => /#{I18n.t(:text_status_no_workflow)}/ end end -- cgit v1.2.3