diff --git a/x-pack/test/ingest_manager_api_integration/apis/epm/install_remove_assets.ts b/x-pack/test/ingest_manager_api_integration/apis/epm/install_remove_assets.ts index d33d0445d1cd6..5170867d7b545 100644 --- a/x-pack/test/ingest_manager_api_integration/apis/epm/install_remove_assets.ts +++ b/x-pack/test/ingest_manager_api_integration/apis/epm/install_remove_assets.ts @@ -91,6 +91,14 @@ export default function (providerContext: FtrProviderContext) { }); expect(res.statusCode).equal(200); }); + it('should have created the index for the transform', async function () { + // the index is defined in the transform file + const res = await es.transport.request({ + method: 'GET', + path: `/logs-all_assets.test_log_current_default`, + }); + expect(res.statusCode).equal(200); + }); it('should have installed the kibana assets', async function () { const resIndexPatternLogs = await kibanaServer.savedObjects.get({ type: 'index-pattern', @@ -260,6 +268,19 @@ export default function (providerContext: FtrProviderContext) { ); expect(res.statusCode).equal(404); }); + it('should have deleted the index for the transform', async function () { + // the index is defined in the transform file + const res = await es.transport.request( + { + method: 'GET', + path: `/logs-all_assets.test_log_current_default`, + }, + { + ignore: [404], + } + ); + expect(res.statusCode).equal(404); + }); it('should have uninstalled the kibana assets', async function () { let resDashboard; try {