diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx index 68c4e960741819..a3e2a55fc75690 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx @@ -175,6 +175,9 @@ describe('when on the hosts page', () => { status: overallStatus, }; policyResponse.Endpoint.policy.applied.actions.push(downloadModelAction); + } else { + // Else, make sure the status of the generated action matches what was passed in + downloadModelAction.status = overallStatus; } if ( @@ -371,7 +374,7 @@ describe('when on the hosts page', () => { }); }); - describe.skip('when showing host Policy Response panel', () => { + describe('when showing host Policy Response panel', () => { let renderResult: ReturnType; beforeEach(async () => { coreStart.http.post.mockImplementation(async (requestOptions) => {