File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
x-pack/test/ingest_manager_api_integration/apis/epm Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,14 @@ export default function (providerContext: FtrProviderContext) {
9191 } ) ;
9292 expect ( res . statusCode ) . equal ( 200 ) ;
9393 } ) ;
94+ it ( 'should have created the index for the transform' , async function ( ) {
95+ // the index is defined in the transform file
96+ const res = await es . transport . request ( {
97+ method : 'GET' ,
98+ path : `/logs-all_assets.test_log_current_default` ,
99+ } ) ;
100+ expect ( res . statusCode ) . equal ( 200 ) ;
101+ } ) ;
94102 it ( 'should have installed the kibana assets' , async function ( ) {
95103 const resIndexPatternLogs = await kibanaServer . savedObjects . get ( {
96104 type : 'index-pattern' ,
@@ -260,6 +268,19 @@ export default function (providerContext: FtrProviderContext) {
260268 ) ;
261269 expect ( res . statusCode ) . equal ( 404 ) ;
262270 } ) ;
271+ it ( 'should have deleted the index for the transform' , async function ( ) {
272+ // the index is defined in the transform file
273+ const res = await es . transport . request (
274+ {
275+ method : 'GET' ,
276+ path : `/logs-all_assets.test_log_current_default` ,
277+ } ,
278+ {
279+ ignore : [ 404 ] ,
280+ }
281+ ) ;
282+ expect ( res . statusCode ) . equal ( 404 ) ;
283+ } ) ;
263284 it ( 'should have uninstalled the kibana assets' , async function ( ) {
264285 let resDashboard ;
265286 try {
You can’t perform that action at this time.
0 commit comments