kibana/test/examples/index_pattern_field_editor_example/index_pattern_field_editor_example.ts
2021-10-27 16:29:41 +00:00

26 lines
984 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
import { PluginFunctionalProviderContext } from 'test/plugin_functional/services';
// eslint-disable-next-line import/no-default-export
export default function ({ getService }: PluginFunctionalProviderContext) {
const testSubjects = getService('testSubjects');
// FAILING: https://github.com/elastic/kibana/issues/116463
describe.skip('', () => {
it('finds an index pattern', async () => {
await testSubjects.existOrFail('indexPatternTitle');
});
it('opens the field editor', async () => {
await testSubjects.click('addField');
await testSubjects.existOrFail('flyoutTitle');
});
});
}