[Security Solution][Endpoint] Re-enable responder release action test (#177918)

## Summary

Re-enables release action responder test

closes elastic/kibana/issues/162530
This commit is contained in:
Ash 2024-03-06 08:48:46 +01:00 committed by GitHub
parent ae203f60ea
commit 32e5e8309c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,8 +24,7 @@ import { UPGRADE_AGENT_FOR_RESPONDER } from '../../../../../common/translations'
jest.mock('../../../../../common/experimental_features_service');
// FLAKY: https://github.com/elastic/kibana/issues/162530
describe.skip('When using the release action from response actions console', () => {
describe('When using the release action from response actions console', () => {
let render: (
capabilities?: EndpointCapabilities[]
) => Promise<ReturnType<AppContextTestRender['render']>>;
@ -219,12 +218,14 @@ describe.skip('When using the release action from response actions console', ()
it('should display completion output if done (no additional API calls)', async () => {
await render();
expect(apiMocks.responseProvider.actionDetails).toHaveBeenCalledTimes(1);
await waitFor(() => {
expect(apiMocks.responseProvider.actionDetails).toHaveBeenCalledTimes(1);
});
await consoleManagerMockAccess.openRunningConsole();
expect(apiMocks.responseProvider.actionDetails).toHaveBeenCalledTimes(1);
await waitFor(() => {
expect(apiMocks.responseProvider.actionDetails).toHaveBeenCalledTimes(1);
});
});
});
});