From dfd01dc522ac64a725381f6d8b5e1ffb42b8b08f Mon Sep 17 00:00:00 2001 From: liyang Date: Thu, 22 May 2025 13:54:24 +0800 Subject: [PATCH] * [uitest] add ui test coverage report page. --- www/webcoverage.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/www/webcoverage.php b/www/webcoverage.php index 9de4439ddf..4138813565 100644 --- a/www/webcoverage.php +++ b/www/webcoverage.php @@ -117,3 +117,20 @@ function renderColorByCoveragePercent() { $(this).css('color', 'orange'); } + else + { + $(this).css('color', 'green'); + } + } + }); +} + +function implementExpand() +{ + $("tr[name$='-child']").hide(); + $("tr[name$='-parent']").click(function() + { + $(this).nextUntil("tr[name$='-parent']").slideToggle('fast'); + }); +} +