Bug
Setting logResponseBody to true seems to cause large responses to not be received by the browser.
logResponseBody should work correctly
Modify the log-options.js test case to use a large file (200KB) instead of index.html. I have not tried as unfortunately I cannot get these tests to run (syntax error on import statement).
Tested page URL:
Test code
const gqlLogger = RequestLogger(/graphql/, {
logResponseBody: true,
});
Hi @eug48
Thank you for your report. I've reproduced the problem.
Also, I've attached a simple example that demonstrates the problem.
I'm working on this
The fix was published in [email protected]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow.