Skip to content

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

Merged
Lms24 merged 4 commits intodevelopfrom
lms/replay-pw-fetch-xhr
Feb 17, 2023
Merged

test(replay): Add test for fetch and XHR performance spans#7224
Lms24 merged 4 commits intodevelopfrom
lms/replay-pw-fetch-xhr

Conversation

@Lms24
Copy link
Copy Markdown
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
Copy Markdown
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