We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 136f496 commit d21e71eCopy full SHA for d21e71e
1 file changed
dev-packages/browser-integration-tests/suites/replay/customEvents/test.ts
@@ -7,6 +7,7 @@ import {
7
expectedFCPPerformanceSpan,
8
expectedFIDPerformanceSpan,
9
expectedFPPerformanceSpan,
10
+ expectedINPPerformanceSpan,
11
expectedLCPPerformanceSpan,
12
expectedMemoryPerformanceSpan,
13
expectedNavigationPerformanceSpan,
@@ -51,6 +52,13 @@ sentryTest(
51
52
53
await page.locator('#img-button').click();
54
55
+ // Page hide to trigger INP
56
+ await page.evaluate(() => {
57
+ window.dispatchEvent(new Event('pagehide'));
58
+ });
59
+
60
+ await page.waitForTimeout(500);
61
62
const replayEvent1 = getReplayEvent(await reqPromise1);
63
const { performanceSpans: performanceSpans1 } = getCustomRecordingEvents(await reqPromise1);
64
@@ -66,6 +74,7 @@ sentryTest(
66
74
67
75
expectedCLSPerformanceSpan,
68
76
77
69
78
70
79
71
80
expectedMemoryPerformanceSpan, // two memory spans - once per flush
0 commit comments