mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[plugin_functional] remove doc_views test (#119424)
* [plugin_functional] remove data views test * [plugin_functional] fix tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
2014fb1173
commit
3bde2ec0ef
3 changed files with 0 additions and 68 deletions
|
@ -29,7 +29,6 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|||
require.resolve('./test_suites/panel_actions'),
|
||||
require.resolve('./test_suites/core_plugins'),
|
||||
require.resolve('./test_suites/management'),
|
||||
require.resolve('./test_suites/doc_views'),
|
||||
require.resolve('./test_suites/application_links'),
|
||||
require.resolve('./test_suites/data_plugin'),
|
||||
require.resolve('./test_suites/saved_objects_management'),
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
/*
|
||||
* 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 expect from '@kbn/expect';
|
||||
import { PluginFunctionalProviderContext } from '../../services';
|
||||
|
||||
export default function ({ getService, getPageObjects }: PluginFunctionalProviderContext) {
|
||||
const testSubjects = getService('testSubjects');
|
||||
const find = getService('find');
|
||||
const PageObjects = getPageObjects(['common', 'discover', 'timePicker']);
|
||||
|
||||
describe('custom doc views', function () {
|
||||
before(async () => {
|
||||
await PageObjects.common.navigateToApp('discover');
|
||||
await PageObjects.timePicker.setDefaultAbsoluteRange();
|
||||
});
|
||||
|
||||
it('should show custom doc views', async () => {
|
||||
await testSubjects.click('docTableExpandToggleColumn');
|
||||
const angularTab = await find.byButtonText('Angular doc view');
|
||||
const reactTab = await find.byButtonText('React doc view');
|
||||
expect(await angularTab.isDisplayed()).to.be(true);
|
||||
expect(await reactTab.isDisplayed()).to.be(true);
|
||||
});
|
||||
|
||||
it('should render angular doc view', async () => {
|
||||
const angularTab = await find.byButtonText('Angular doc view');
|
||||
await angularTab.click();
|
||||
const angularContent = await testSubjects.find('angular-docview');
|
||||
expect(await angularContent.getVisibleText()).to.be('logstash-2015.09.22');
|
||||
});
|
||||
|
||||
it('should render react doc view', async () => {
|
||||
const reactTab = await find.byButtonText('React doc view');
|
||||
await reactTab.click();
|
||||
const reactContent = await testSubjects.find('react-docview');
|
||||
expect(await reactContent.getVisibleText()).to.be('logstash-2015.09.22');
|
||||
});
|
||||
});
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
/*
|
||||
* 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 '../../services';
|
||||
|
||||
export default function ({ getService, loadTestFile }: PluginFunctionalProviderContext) {
|
||||
const esArchiver = getService('esArchiver');
|
||||
|
||||
// SKIPPED: https://github.com/elastic/kibana/issues/100060
|
||||
describe.skip('doc views', function () {
|
||||
before(async () => {
|
||||
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/discover');
|
||||
});
|
||||
|
||||
loadTestFile(require.resolve('./doc_views'));
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue