diff --git a/public/app/features/explore/spec/queryHistory.test.tsx b/public/app/features/explore/spec/queryHistory.test.tsx index a8e9cfd0acf..7ee48e8962c 100644 --- a/public/app/features/explore/spec/queryHistory.test.tsx +++ b/public/app/features/explore/spec/queryHistory.test.tsx @@ -68,6 +68,10 @@ jest.mock('app/core/services/PreferencesService', () => ({ }, })); +jest.mock('../hooks/useExplorePageTitle', () => ({ + useExplorePageTitle: jest.fn(), +})); + jest.mock('react-virtualized-auto-sizer', () => { return { __esModule: true, @@ -119,8 +123,7 @@ describe('Explore: Query History', () => { }); }); - // TODO: #86287 - it.skip('adds recently added query if the query history panel is already open', async () => { + it('adds recently added query if the query history panel is already open', async () => { const urlParams = { left: serializeStateToUrlParam({ datasource: 'loki',