-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
fix: set "X-Request-Id" header in XMLHttpRequest only in Node.js #397
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening this one! I left a comment about determining the browser process more reliably. Let's also see how this affects the existing tests, I hope we're accounting for all the possibilities here.
@kettanaito Hello. Could you please approve workflow and review changes? |
@kettanaito @msutkowski @marcosvega91 @timdeschryver could you please review this PR? |
@avivasyuta, please be respectful of the maintainers' time. All of us approach open source to the best of our abilities, and if no one has looked at this pull request it simply means no one had time. I ask of you to be patient. |
I've added a check that we don't send |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good 🚀
Got some weird behavior from Playwright locally vs remote (encourages to uninstall |
I've resolved the issue with Playwright (see #407). Will update this branch and the tests should pass then. |
Welcome to contributors, @avivasyuta 👏 |
…js#397) Co-authored-by: avivasyuta <avivasyuta@avito.ru> Co-authored-by: Artem Zakharchenko <kettanaito@gmail.com>
Thank you for taking the time to view this PR. |
This change will be automatically released. But we also need to backport it to 0.17 to the current consumers of MSW would get it as well. @avivasyuta, would you be interested in cherry-picking this change to the |
Released: v0.24.0 🎉This has been released in v0.24.0! Make sure to always update to the latest version ( Predictable release automation by @ossjs/release. |
Set the
X-Request-Id
request header inXMLHttpRequestController
only for Node.js env.