File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
packages/integration-tests/suites/replay/flushing Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ import { getExpectedReplayEvent } from '../../../utils/replayEventTemplates';
5
5
import { getReplayEvent , shouldSkipReplayTest , waitForReplayRequest } from '../../../utils/replayHelpers' ;
6
6
7
7
for ( let index = 0 ; index < 50 ; index ++ ) {
8
+ /*
9
+ * In this test we're explicitly not forcing a flush by triggering a visibility change.
10
+ * Instead, we want to verify that the `flushMaxDelay` works in the sense that eventually
11
+ * a flush is triggered if some events are in the buffer.
12
+ * Note: Due to timing problems and inconsistencies in Playwright/CI, we can't reliably
13
+ * assert on the flush timestamps. Therefore we only assert that events were eventually
14
+ * sent (i.e. flushed).
15
+ */
8
16
sentryTest (
9
17
`replay events are flushed after max flash delay was reached (${ index } )` ,
10
18
async ( { getLocalTestPath, page } ) => {
You can’t perform that action at this time.
0 commit comments