Skip to content

Commit 1fccdae

Browse files
authored
Add Perf Test and Baseline CI for traffic light (#990)
Add Perf Test and Baseline CI for traffic light Signed-off-by: LongyuZhang <[email protected]>
1 parent 7ae96cd commit 1fccdae

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test-result-summary-client/src/TrafficLight/TrafficLight.jsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,10 @@ function TrafficLight() {
184184
);
185185
}
186186

187+
const testCI = Number(testValues.CI).toFixed(3);
188+
const baselineCI = Number(baselineValues.CI).toFixed(3);
187189
const totalCI = Number(testValues.CI + baselineValues.CI).toFixed(
188-
4
190+
3
189191
);
190192

191193
let icon = iconRed;
@@ -202,7 +204,9 @@ function TrafficLight() {
202204
Test Score: {testScore} <br />
203205
Baseline Score: {baselineScore}
204206
<br />
205-
TotalCI: {totalCI}
207+
Test CI: {testCI} <br />
208+
Baseline CI: {baselineCI} <br />
209+
Total CI: {totalCI}
206210
</pre>
207211
}
208212
>

0 commit comments

Comments
 (0)