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';
55import { getReplayEvent , shouldSkipReplayTest , waitForReplayRequest } from '../../../utils/replayHelpers' ;
66
77for ( 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+ */
816 sentryTest (
917 `replay events are flushed after max flash delay was reached (${ index } )` ,
1018 async ( { getLocalTestPath, page } ) => {
You can’t perform that action at this time.
0 commit comments