diff --git a/blueocean-dashboard/src/main/js/components/testing/TestResults.jsx b/blueocean-dashboard/src/main/js/components/testing/TestResults.jsx
index 88b66137..8475c8d4 100644
--- a/blueocean-dashboard/src/main/js/components/testing/TestResults.jsx
+++ b/blueocean-dashboard/src/main/js/components/testing/TestResults.jsx
@@ -116,31 +116,31 @@ export default class TestResult extends Component {
);
if (newFailures.length > 0) {
- newFailureBlock = [
-
New failing - {newFailures.length}
,
- newFailures.map((t, i) => ),
- ];
+ newFailureBlock = (
+
New failing - {newFailures.length}
+ {newFailures.map((t, i) => )}
+ );
}
if (existingFailures.length > 0) {
- existingFailureBlock = [
- Existing failures - {existingFailures.length}
,
- existingFailures.map((t, i) => ),
- ];
+ existingFailureBlock = (
+
Existing failures - {existingFailures.length}
+ {existingFailures.map((t, i) => )}
+ );
}
if (fixed.length > 0) {
- fixedBlock = [
- Fixed
,
- fixed.map((t, i) => ),
- ];
+ fixedBlock = (
+
Fixed
+ {fixed.map((t, i) => )}
+ );
}
if (skipped.length > 0) {
- skippedBlock = [
- Skipped - {skipped.length}
,
- skipped.map((t, i) => ),
- ];
+ skippedBlock = (
+
Skipped - {skipped.length}
+ {skipped.map((t, i) => )}
+ );
}
}
diff --git a/blueocean-dashboard/src/main/less/testing.less b/blueocean-dashboard/src/main/less/testing.less
index 50100dfb..5c352da3 100644
--- a/blueocean-dashboard/src/main/less/testing.less
+++ b/blueocean-dashboard/src/main/less/testing.less
@@ -1,9 +1,12 @@
.test-results-container {
- h4 {
- margin: 1em 0 .4em 0;
+ .test-result-block {
+ margin: 1em 0 0 0;
&:first-child {
margin-top: 0;
}
+ h4 {
+ margin: 0 0 .4em 0;
+ }
}
.test-console {
padding: 1em;