diff --git a/packages/browser-integration-tests/suites/replay/maxReplayDuration/test.ts b/packages/browser-integration-tests/suites/replay/maxReplayDuration/test.ts index 59152992eede..1e27aef149e2 100644 --- a/packages/browser-integration-tests/suites/replay/maxReplayDuration/test.ts +++ b/packages/browser-integration-tests/suites/replay/maxReplayDuration/test.ts @@ -29,6 +29,7 @@ sentryTest('keeps track of max duration across reloads', async ({ getLocalTestPa await new Promise(resolve => setTimeout(resolve, SESSION_MAX_AGE / 2)); await page.reload(); + await page.click('#button1'); // After the second reload, we should have a new session (because we exceeded max age) const reqPromise3 = waitForReplayRequest(page, 0);