Skip to content

Commit

Permalink
Delete obsolete API test.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkambic committed Jun 7, 2022
1 parent 32fc66c commit b301772
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions x-pack/test/apm_api_integration/tests/csm/web_core_vitals.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,47 +32,4 @@ export default function rumServicesApiTests({ getService }: FtrProviderContext)
});
});
});

registry.when(
'CSM web core vitals with data',
{ config: 'trial', archives: ['8.0.0', 'rum_8.0.0'] },
() => {
it('returns web core vitals values', async () => {
const response = await supertest.get('/internal/apm/ux/web-core-vitals').query({
start: '2020-09-07T20:35:54.654Z',
end: '2020-09-16T20:35:54.654Z',
uiFilters: '{"serviceName":["kibana-frontend-8_0_0"]}',
percentile: 50,
});

expect(response.status).to.be(200);

expectSnapshot(response.body).toMatchInline(`
Object {
"cls": 0,
"clsRanks": Array [
100,
0,
0,
],
"coreVitalPages": 6,
"fcp": 817.5,
"fid": 1352.13,
"fidRanks": Array [
0,
0,
100,
],
"lcp": 1019,
"lcpRanks": Array [
100,
0,
0,
],
"tbt": 0,
}
`);
});
}
);
}

0 comments on commit b301772

Please sign in to comment.