mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security Solution] Improves host isolation exceptions test reliability (#117327)
This commit is contained in:
parent
ea7ff2932d
commit
c6db4986ed
1 changed files with 2 additions and 3 deletions
|
@ -168,9 +168,8 @@ describe('When on the host isolation exceptions page', () => {
|
|||
it('should show the create flyout when the add button is pressed', async () => {
|
||||
render();
|
||||
await dataReceived();
|
||||
act(() => {
|
||||
userEvent.click(renderResult.getByTestId('hostIsolationExceptionsListAddButton'));
|
||||
});
|
||||
userEvent.click(renderResult.getByTestId('hostIsolationExceptionsListAddButton'));
|
||||
await dataReceived();
|
||||
expect(renderResult.getByTestId('hostIsolationExceptionsCreateEditFlyout')).toBeTruthy();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue