* [esArchiver] drop support for --dir, use repo-relative paths instead (#101345) Co-authored-by: spalger <spalger@users.noreply.github.com> # Conflicts: # test/api_integration/apis/suggestions/suggestions.js # test/functional/apps/discover/_large_string.ts # test/functional/apps/visualize/index.ts # x-pack/test/functional/apps/infra/feature_controls/logs_security.ts # x-pack/test/functional/apps/saved_objects_management/import_saved_objects_between_versions_6.x_7.x.ts # x-pack/test/functional/apps/upgrade_assistant/upgrade_assistant.ts * convert references to `saved_objects/basic` archive * adapt other `saved_objects/*` archives * update management/saved_obejcts/relationships archives * replace old monitoring setup() usage * remove reference to `empty_kibana` archive Co-authored-by: spalger <spalger@users.noreply.github.com>
42 lines
1.7 KiB
TypeScript
42 lines
1.7 KiB
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 { FtrProviderContext } from '../../../functional/ftr_provider_context';
|
|
|
|
export default function ({ getService, getPageObjects, loadTestFile }: FtrProviderContext) {
|
|
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']);
|
|
|
|
describe('runPipeline', function () {
|
|
this.tags(['skipFirefox']);
|
|
|
|
before(async () => {
|
|
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
|
|
await esArchiver.load('test/functional/fixtures/es_archiver/visualize_embedding');
|
|
await kibanaServer.uiSettings.replace({
|
|
'dateFormat:tz': 'Australia/North',
|
|
defaultIndex: 'logstash-*',
|
|
});
|
|
await browser.setWindowSize(1300, 900);
|
|
await PageObjects.common.navigateToApp('settings');
|
|
await appsMenu.clickLink('Run Pipeline');
|
|
await testSubjects.find('pluginContent');
|
|
});
|
|
|
|
loadTestFile(require.resolve('./basic'));
|
|
loadTestFile(require.resolve('./tag_cloud'));
|
|
loadTestFile(require.resolve('./metric'));
|
|
loadTestFile(require.resolve('./esaggs'));
|
|
loadTestFile(require.resolve('./esaggs_timeshift'));
|
|
});
|
|
}
|