From 7d08c78103792e599b0676c318da1aca54501289 Mon Sep 17 00:00:00 2001 From: Apekshit Sharma Date: Mon, 10 Jul 2017 12:01:02 -0700 Subject: [PATCH] HBASE-18341 (addendum) Replace '.' in test names with '_' when using them as html ids since dot have special significance in CSS selectors. Without it, we weren't able to select elements and add svg (trends columns) to them. Change-Id: Ia63ff0851f0a2fad0789a24edf2f0ad00060d578 --- dev-support/flaky-dashboard-template.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-support/flaky-dashboard-template.html b/dev-support/flaky-dashboard-template.html index 49ab9b063c8..f37c7d5f53d 100644 --- a/dev-support/flaky-dashboard-template.html +++ b/dev-support/flaky-dashboard-template.html @@ -156,7 +156,8 @@ Legend : green: success, red: failed, yellow: timeout, blue: hanging {{ failed|length }} / {{ timeout|length }} / {{ hanging|length }} - {% set sparkline_id = "sparkline_" ~ test ~ "_" ~ url_counter %} + {# Replace '.' in test names with '_' because dots are part of css selectors. #} + {% set sparkline_id = "sparkline_" ~ test|replace(".","_") ~ "_" ~ url_counter %}