mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[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:
parent
ae203f60ea
commit
32e5e8309c
1 changed files with 7 additions and 6 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue