Skip to content

Commit

Permalink
[Uptime] Fix overview flaky test (#137833)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Aug 2, 2022
1 parent eac425f commit 2091184
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@
import React from 'react';
import { OverviewPageComponent } from './overview';
import { render } from '../lib/helper/rtl_helpers';
import { unifiedSearchPluginMock } from '@kbn/unified-search-plugin/public/mocks';
import { setAutocomplete } from '@kbn/unified-search-plugin/public/services';

describe('MonitorPage', () => {
beforeEach(() => {
const autocompleteStart = unifiedSearchPluginMock.createStartContract();
setAutocomplete(autocompleteStart.autocomplete);
});

// FLAKY: https://github.com/elastic/kibana/issues/131346
describe.skip('MonitorPage', () => {
it('renders expected elements for valid props', async () => {
const { findByText, findByPlaceholderText } = render(<OverviewPageComponent />);

Expand Down

0 comments on commit 2091184

Please sign in to comment.