diff --git a/cypress/e2e/error-tracking.cy.ts b/cypress/e2e/error-tracking.cy.ts index c506e06f3..9ec4b930e 100644 --- a/cypress/e2e/error-tracking.cy.ts +++ b/cypress/e2e/error-tracking.cy.ts @@ -19,7 +19,7 @@ describe('Exception autocapture', () => { cy.get('[data-cy-button-throws-error]').click() // ugh - cy.wait(500) + cy.wait(1500) cy.phCaptures({ full: true }).then((captures) => { expect(captures.map((c) => c.event)).to.deep.equal(['$pageview', '$autocapture', '$exception']) diff --git a/src/extensions/replay/sessionrecording.ts b/src/extensions/replay/sessionrecording.ts index 927645e3a..d0d6e1034 100644 --- a/src/extensions/replay/sessionrecording.ts +++ b/src/extensions/replay/sessionrecording.ts @@ -679,7 +679,6 @@ export class SessionRecording { return } this._tryAddCustomEvent('$pageview', { href }) - this._tryTakeFullSnapshot() } } catch (e) { logger.error('Could not add $pageview to rrweb session', e)