@@ -37,8 +37,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
3737 } ) ;
3838 } ) ;
3939
40- // SKIP FAILING TEST to unblock CI: https://github.com/elastic/kibana/issues/78942
41- describe . skip ( 'when data is loaded' , ( ) => {
40+ describe ( 'when data is loaded' , ( ) => {
4241 let response : any ;
4342 before ( async ( ) => {
4443 await esArchiver . load ( archiveName ) ;
@@ -61,7 +60,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
6160 } ) ;
6261
6362 it ( 'returns the correct number of buckets' , ( ) => {
64- expectSnapshot ( response . body . buckets . length ) . toMatchInline ( `19 ` ) ;
63+ expectSnapshot ( response . body . buckets . length ) . toMatchInline ( `45 ` ) ;
6564 } ) ;
6665
6766 it ( 'returns the correct bucket size' , ( ) => {
@@ -73,18 +72,14 @@ export default function ApiTest({ getService }: FtrProviderContext) {
7372 ( bucket : any ) => ! isEmpty ( bucket . samples )
7473 ) ;
7574
76- expectSnapshot ( bucketWithSamples . count ) . toMatchInline ( `2 ` ) ;
75+ expectSnapshot ( bucketWithSamples . count ) . toMatchInline ( `1 ` ) ;
7776
7877 expectSnapshot ( bucketWithSamples . samples . sort ( ( sample : any ) => sample . traceId ) )
7978 . toMatchInline ( `
8079 Array [
8180 Object {
82- "traceId": "a1333547d1257c636154290cddd38c3a",
83- "transactionId": "3e656b390989133d",
84- },
85- Object {
86- "traceId": "c799c34f4ee2b0f9998745ea7354d599",
87- "transactionId": "69b6251b239abb46",
81+ "traceId": "3dd90c5c2035f5bcb2728a34cb48d796",
82+ "transactionId": "69f3ff7d35056f63",
8883 },
8984 ]
9085 ` ) ;
0 commit comments