mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Endpoint] Fix flaky endpoints list unit test (#69591)
* Fix flaky endpoints list unit test * un-skip test Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
6fe244ecba
commit
9a41c1d0e7
1 changed files with 4 additions and 1 deletions
|
@ -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<typeof render>;
|
||||
beforeEach(async () => {
|
||||
coreStart.http.post.mockImplementation(async (requestOptions) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue