2019-03-21 08:36:39 +01:00
|
|
|
/*
|
2021-01-20 02:54:11 +01:00
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
2021-02-04 03:39:13 +01:00
|
|
|
* 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.
|
2019-03-21 08:36:39 +01:00
|
|
|
*/
|
|
|
|
|
2019-11-26 15:41:45 +01:00
|
|
|
import { FtrProviderContext } from '../../../functional/ftr_provider_context';
|
|
|
|
|
2020-05-22 10:08:13 +02:00
|
|
|
export default function ({ getService, getPageObjects, loadTestFile }: FtrProviderContext) {
|
2019-03-21 08:36:39 +01:00
|
|
|
const browser = getService('browser');
|
|
|
|
const esArchiver = getService('esArchiver');
|
|
|
|
const kibanaServer = getService('kibanaServer');
|
|
|
|
const appsMenu = getService('appsMenu');
|
|
|
|
const testSubjects = getService('testSubjects');
|
|
|
|
const PageObjects = getPageObjects(['common', 'header']);
|
|
|
|
|
2020-05-22 10:08:13 +02:00
|
|
|
describe('runPipeline', function () {
|
2019-06-01 02:18:31 +02:00
|
|
|
this.tags(['skipFirefox']);
|
|
|
|
|
2019-03-21 08:36:39 +01:00
|
|
|
before(async () => {
|
2021-06-09 04:45:04 +02:00
|
|
|
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
|
|
|
|
await esArchiver.load('test/functional/fixtures/es_archiver/visualize_embedding');
|
2019-11-26 15:41:45 +01:00
|
|
|
await kibanaServer.uiSettings.replace({
|
|
|
|
'dateFormat:tz': 'Australia/North',
|
|
|
|
defaultIndex: 'logstash-*',
|
|
|
|
});
|
2019-03-21 08:36:39 +01:00
|
|
|
await browser.setWindowSize(1300, 900);
|
|
|
|
await PageObjects.common.navigateToApp('settings');
|
|
|
|
await appsMenu.clickLink('Run Pipeline');
|
|
|
|
await testSubjects.find('pluginContent');
|
|
|
|
});
|
|
|
|
|
|
|
|
loadTestFile(require.resolve('./basic'));
|
2019-04-04 17:52:05 +02:00
|
|
|
loadTestFile(require.resolve('./tag_cloud'));
|
2019-06-28 08:16:09 +02:00
|
|
|
loadTestFile(require.resolve('./metric'));
|
2020-04-30 19:47:03 +02:00
|
|
|
loadTestFile(require.resolve('./esaggs'));
|
2021-06-02 20:40:57 +02:00
|
|
|
loadTestFile(require.resolve('./esaggs_timeshift'));
|
2019-03-21 08:36:39 +01:00
|
|
|
});
|
|
|
|
}
|