diff --git a/assets/js/components/HealthSummary/HomeHealthSummary.jsx b/assets/js/components/HealthSummary/HomeHealthSummary.jsx
index 5da316d2c6..433a95dc65 100644
--- a/assets/js/components/HealthSummary/HomeHealthSummary.jsx
+++ b/assets/js/components/HealthSummary/HomeHealthSummary.jsx
@@ -56,8 +56,13 @@ const healthSummaryTableConfig = {
title: 'Hosts',
key: 'hostsHealth',
className: 'text-center',
- render: (content) => {
- return ;
+ render: (content, item) => {
+ const linkToHosts = `/hosts?sid=${item.sid}`;
+ return (
+
+
+
+ );
},
},
],
diff --git a/test/e2e/cypress/integration/dashboard.js b/test/e2e/cypress/integration/dashboard.js
index 56a45ad0a4..10f0cb45d1 100644
--- a/test/e2e/cypress/integration/dashboard.js
+++ b/test/e2e/cypress/integration/dashboard.js
@@ -30,5 +30,11 @@ describe('Dashboard page', () => {
'1'
);
});
+
+ it('should have a working link to the passing checks in the overview component', () => {
+ cy.get(':nth-child(1) > :nth-child(5) > a').click();
+ cy.url().should('include', `/hosts?sid=NWD`);
+ cy.go('back');
+ });
});
});