Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(replay): Add test for fetch and XHR performance spans #7224

Merged
merged 4 commits into from
Feb 17, 2023

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Feb 17, 2023

This PR adds two Playwright tests to test fetch/xhr requests being recorded as performance spans

ref #7044

@Lms24 Lms24 merged commit 7f4c4ec into develop Feb 17, 2023
@Lms24 Lms24 deleted the lms/replay-pw-fetch-xhr branch February 17, 2023 15:55
@mydea
Copy link
Member

mydea commented Feb 20, 2023

This is good, but IMHO we should try to find a way to actually test the values of the payloads as well. This is obv. tricky due to timing etc., but in order to gain greater safety about e.g. unit mismatches and stuff like this, it would be awesome to have something like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants