break up sections to make the axe report easier to scan

This commit is contained in:
Brian Hicks 2019-11-15 10:53:44 -06:00
parent 45574578ca
commit cc61d72b55

View File

@ -1,5 +1,5 @@
def node: " at \(.target | join(" ")):\n\n \(.failureSummary | gsub("\n"; "\n "))";
def violation: " \(.id): \(.impact) violation with \(.nodes | length) instances.\n\n \(.help) (\(.helpUrl))\n\n\(.nodes | map(node) | join("\n\n"))";
def node: " at \(.target | join(" ")):\n\n \(.failureSummary | gsub("\n"; "\n "))";
def violation: "\(.id): \(.impact) violation with \(.nodes | length) instances.\n\n\(.help) (\(.helpUrl))\n\n\(.nodes | map(node) | join("\n\n"))";
"Tested \(.url) with \(.testEngine.name) \(.testEngine.version) at \(.timestamp)
@ -11,5 +11,7 @@ Summary: \(.passes | length) passes | \(.violations | map(.nodes | length) | add
Violations:
\(.violations | map(violation) | join("\n\n"))
"
----------
\(.violations | map(violation) | join("\n\n----------\n\n"))
"