Skip to content

Commit

Permalink
[Security Solution] Move console jest tests to integration and unskip (
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlog authored Oct 12, 2022
1 parent 358979d commit b5fde66
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@

import type { RenderHookResult } from '@testing-library/react-hooks';
import { renderHook as _renderHook, act } from '@testing-library/react-hooks';
import { useConsoleManager } from './console_manager';
import { useConsoleManager } from '../console_manager';
import React from 'react';
import type {
ConsoleManagerClient,
ConsoleRegistrationInterface,
RegisteredConsoleClient,
} from './types';
import type { AppContextTestRender } from '../../../../../common/mock/endpoint';
import { createAppRootMockRenderer } from '../../../../../common/mock/endpoint';
} from '../types';
import type { AppContextTestRender } from '../../../../../../common/mock/endpoint';
import { createAppRootMockRenderer } from '../../../../../../common/mock/endpoint';
import {
ConsoleManagerTestComponent,
getConsoleManagerMockRenderResultQueriesAndActions,
getNewConsoleRegistrationMock,
} from './mocks';
} from '../mocks';
import userEvent from '@testing-library/user-event';
import { waitFor } from '@testing-library/react';
import { enterConsoleCommand } from '../../mocks';
import { enterConsoleCommand } from '../../../mocks';

describe('When using ConsoleManager', () => {
describe('and using the ConsoleManagerInterface via the hook', () => {
Expand Down Expand Up @@ -203,8 +203,7 @@ describe('When using ConsoleManager', () => {
});
});

// FLAKY: https://github.com/elastic/kibana/issues/142683
describe.skip('and when the console page overlay is rendered into the page', () => {
describe('and when the console page overlay is rendered into the page', () => {
type ConsoleManagerQueriesAndActions = ReturnType<
typeof getConsoleManagerMockRenderResultQueriesAndActions
>;
Expand Down

0 comments on commit b5fde66

Please sign in to comment.