-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Current behavior
After updating to Cypress 8.2.0, request and/or response bodies are no longer displayed in the console when clicking on certain requests in the log. Example:
The selected request has both a request body and a response body, but the information displayed in the console suggests that it has neither. Expanding the XmlHttpRequest
object does show the response body, but not the request body. This is both misleading and inconvenient when examining requests.
Note that this issue does not seem to affect all requests, but those it does affect, it seems to affect consistently.
Desired behavior
In Cypress 8.1.0, the request and response bodies are clearly shown in the console output:
Test code to reproduce
it('', () => {
cy.visit('http://automationpractice.com/index.php?controller=authentication&back=my-account')
cy.get('#email_create').type('a@b{enter}')
})
When the test has finished, open the console and click the POST 200 /index.php
request at the bottom of the runner log. Note that I do not own or control this website. It appears to be flaky sometimes; if that happens, please try again after a few minutes.
Cypress Version
8.2.0
Other
No response