mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* Fix dependencies tests Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com> Co-authored-by: Giorgos Bamparopoulos <georgios.bamparopoulos@elastic.co> Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
This commit is contained in:
parent
57febcecfa
commit
1b53bad936
1 changed files with 3 additions and 0 deletions
|
@ -50,12 +50,15 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
|
||||
it('returns correct metadata for the dependency', async () => {
|
||||
await generateData({ synthtraceEsClient, start, end });
|
||||
|
||||
const { status, body } = await callApi();
|
||||
const { span } = dataConfig;
|
||||
|
||||
expect(status).to.be(200);
|
||||
expect(body.metadata.spanType).to.equal(span.type);
|
||||
expect(body.metadata.spanSubtype).to.equal(span.subType);
|
||||
|
||||
await synthtraceEsClient.clean();
|
||||
});
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue