File tree Expand file tree Collapse file tree
x-pack/test/apm_api_integration/tests/assistant Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
231231 const serviceSummary = response . body . context . find (
232232 ( { key } ) => key === 'serviceSummary'
233233 ) ;
234- expect ( serviceSummary ) . to . eql ( {
234+ expect ( serviceSummary ?. data ) . to . eql ( {
235235 'service.name' : 'non-existing-service' ,
236236 'service.environment' : [ ] ,
237237 instances : 1 ,
@@ -385,7 +385,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
385385 const serviceSummary = response . body . context . find (
386386 ( { key } ) => key === 'serviceSummary'
387387 ) ;
388- expect ( serviceSummary ) . to . eql ( {
388+ expect ( serviceSummary ?. data ) . to . eql ( {
389389 'service.name' : 'non-existing-service' ,
390390 'service.environment' : [ ] ,
391391 instances : 1 ,
You can’t perform that action at this time.
0 commit comments