Skip to content

Conversation

mydea
Copy link
Member

@mydea mydea commented Apr 26, 2023

Also one test was actually incorrect.

Also extending browser integration test max. time a bit as I had a few times where we exceeded 15min, sadly.

Also one test was actually incorrect.
@mydea mydea requested review from AbhiPrasad and billyvg April 26, 2023 13:31
@mydea mydea self-assigned this Apr 26, 2023
});
});

const envHeader = await getFirstSentryEnvelopeRequest<EventEnvelopeHeaders>(page, url, envelopeHeaderRequestParser);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually does page.goto(url) under the hood, so we were reloading the page, re-initializing replay.

await waitForReplayRunning(page);
const replay = await getReplaySnapshot(page);

expect(replay.session?.id).toBeDefined();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just incorrect, we expect this to be undefined now 😅

@mydea mydea merged commit ec1a441 into develop Apr 26, 2023
@mydea mydea deleted the fn/fix-flaky-test branch April 26, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants