diff --git a/test/examples/index_pattern_field_editor_example/index_pattern_field_editor_example.ts b/test/examples/index_pattern_field_editor_example/index_pattern_field_editor_example.ts index cdd2a468238f7..93d523bedeb4d 100644 --- a/test/examples/index_pattern_field_editor_example/index_pattern_field_editor_example.ts +++ b/test/examples/index_pattern_field_editor_example/index_pattern_field_editor_example.ts @@ -11,15 +11,19 @@ import { PluginFunctionalProviderContext } from 'test/plugin_functional/services // eslint-disable-next-line import/no-default-export export default function ({ getService }: PluginFunctionalProviderContext) { const testSubjects = getService('testSubjects'); + const retry = getService('retry'); - // FLAKY: https://github.com/elastic/kibana/issues/116463 - describe.skip('', () => { + describe('index pattern field editor example', () => { it('finds an index pattern', async () => { - await testSubjects.existOrFail('indexPatternTitle'); + await retry.try(async () => { + await testSubjects.existOrFail('indexPatternTitle'); + }); }); it('opens the field editor', async () => { await testSubjects.click('addField'); - await testSubjects.existOrFail('flyoutTitle'); + await retry.try(async () => { + await testSubjects.existOrFail('flyoutTitle'); + }); }); }); }