Skip to content

Commit

Permalink
fix ttfb test for webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Nov 29, 2024
1 parent b8570e7 commit 54aae93
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ sentryTest('should capture TTFB vital.', async ({ getLocalTestUrl, page }) => {
const responseStart = await page.evaluate("performance.getEntriesByType('navigation')[0].responseStart;");
if (responseStart !== 0) {
expect(eventData.measurements?.ttfb?.value).toBeDefined();
expect(eventData.measurements?.['ttfb.requestTime']?.value).toBeDefined();
}

expect(eventData.measurements?.['ttfb.requestTime']?.value).toBeDefined();
});

0 comments on commit 54aae93

Please sign in to comment.