cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.7k stars 3.16k forks source link

Test Replay: Capture console props for Cypress commands and print to console on click (like `cy.request()`) #29911

Open jennifer-shehane opened 1 month ago

jennifer-shehane commented 1 month ago

What would you like?

Currently, Cypress does not capture the console props of Cypress commands (with the exception of cy.request()).

When clicking a command in the Command Log in Test Replay the following is printed to the console (with the exception of cy.request()).

Command details not yet supported

Screenshot 2024-07-23 at 10 01 20 AM

When clicking on a Command in the Command Log within Test Replay, we want to see the console props of the command for debugging purposes like shown below:

console-log-get-command-and-elements-found

Why is this needed?

No response

Other

No response

sszemeresky commented 3 weeks ago

+1 that's the funtionality test replay is advertised with