mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 03:24:45 -04:00
## Summary Part of https://github.com/elastic/kibana/issues/186139. Relies on https://github.com/elastic/kibana/pull/204284. Second step of breaking up https://github.com/elastic/kibana/pull/199066 into smaller pieces. Removes the bfetch and bfetch-error plugins. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
44 lines
1.8 KiB
JavaScript
44 lines
1.8 KiB
JavaScript
/*
|
|
* 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; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
export default function ({ loadTestFile, getService }) {
|
|
const kibanaServer = getService('kibanaServer');
|
|
const esArchiver = getService('esArchiver');
|
|
|
|
describe('Maps endpoints', () => {
|
|
before(async () => {
|
|
await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/logstash_functional');
|
|
await kibanaServer.importExport.load(
|
|
'x-pack/test/functional/fixtures/kbn_archiver/maps.json'
|
|
);
|
|
await esArchiver.load('x-pack/test/functional/es_archives/maps/data');
|
|
});
|
|
|
|
after(async () => {
|
|
await esArchiver.unload('x-pack/test/functional/es_archives/logstash_functional');
|
|
await esArchiver.unload('x-pack/test/functional/es_archives/maps/data');
|
|
await kibanaServer.importExport.unload(
|
|
'x-pack/test/functional/fixtures/kbn_archiver/maps.json'
|
|
);
|
|
});
|
|
|
|
describe('apis', () => {
|
|
loadTestFile(require.resolve('./maps_telemetry'));
|
|
loadTestFile(require.resolve('./get_indexes_matching_pattern'));
|
|
loadTestFile(require.resolve('./create_doc_source'));
|
|
loadTestFile(require.resolve('./validate_drawing_index'));
|
|
loadTestFile(require.resolve('./delete_feature'));
|
|
loadTestFile(require.resolve('./index_data'));
|
|
loadTestFile(require.resolve('./fonts_api'));
|
|
loadTestFile(require.resolve('./index_settings'));
|
|
loadTestFile(require.resolve('./migrations'));
|
|
loadTestFile(require.resolve('./get_tile'));
|
|
loadTestFile(require.resolve('./get_grid_tile'));
|
|
loadTestFile(require.resolve('./search'));
|
|
});
|
|
});
|
|
}
|