Refactor trace guidance to avoid raw html in translations

Also rearrange to avoid multiple sentences in a heading.
This commit is contained in:
Andy Allan 2023-02-08 14:33:46 +00:00
parent 317b1871f4
commit 10e035df93
3 changed files with 9 additions and 3 deletions

View file

@ -756,7 +756,7 @@ class TracesControllerTest < ActionDispatch::IntegrationTest
assert_template "index"
if traces.empty?
assert_select "h4", /Nothing here yet/
assert_select "h2", /Nothing here yet/
else
assert_select "table#trace_list tbody", :count => 1 do
assert_select "tr", :count => traces.length do |rows|