Skip to content

Commit 0053ab5

Browse files
committed
add ttfb back to test
1 parent 1bc7b09 commit 0053ab5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • dev-packages/browser-integration-tests/suites/replay/multiple-pages

dev-packages/browser-integration-tests/suites/replay/multiple-pages/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,14 @@ sentryTest(
8181
const collectedPerformanceSpans = [...recording0.performanceSpans, ...recording1.performanceSpans];
8282
const collectedBreadcrumbs = [...recording0.breadcrumbs, ...recording1.breadcrumbs];
8383

84-
expect(collectedPerformanceSpans.length).toEqual(8);
84+
expect(collectedPerformanceSpans.length).toEqual(9);
8585
expect(collectedPerformanceSpans).toEqual(
8686
expect.arrayContaining([
8787
expectedNavigationPerformanceSpan,
8888
expectedLCPPerformanceSpan,
8989
expectedCLSPerformanceSpan,
9090
expectedFIDPerformanceSpan,
91+
expectedTTFBPerformanceSpan,
9192
expectedFPPerformanceSpan,
9293
expectedFCPPerformanceSpan,
9394
expectedMemoryPerformanceSpan, // two memory spans - once per flush

0 commit comments

Comments
 (0)