kibana/test/functional/apps/management/index.js
Bhavya RM 544c26b659
Functional tests to add index alias reference (#17343) (#17406)
* Functional tests to add index alias reference (#17343)
Test to make sure Kibana handles index alias reference.
2018-03-27 14:48:03 -04:00

31 lines
1.2 KiB
JavaScript

export default function ({ getService, loadTestFile }) {
const esArchiver = getService('esArchiver');
describe('management', function () {
// on setup, we create an settingsPage instance
// that we will use for all the tests
before(async function () {
await esArchiver.unload('logstash_functional');
await esArchiver.load('empty_kibana');
await esArchiver.loadIfNeeded('makelogs');
});
after(async function () {
await esArchiver.unload('makelogs');
await esArchiver.unload('empty_kibana');
});
loadTestFile(require.resolve('./_create_index_pattern_wizard'));
loadTestFile(require.resolve('./_index_pattern_create_delete'));
loadTestFile(require.resolve('./_index_pattern_results_sort'));
loadTestFile(require.resolve('./_index_pattern_popularity'));
loadTestFile(require.resolve('./_kibana_settings'));
loadTestFile(require.resolve('./_scripted_fields'));
loadTestFile(require.resolve('./_index_pattern_filter'));
loadTestFile(require.resolve('./_scripted_fields_filter'));
loadTestFile(require.resolve('./_import_objects'));
loadTestFile(require.resolve('./_test_huge_fields'));
loadTestFile(require.resolve('./_handle_alias'));
});
}