filiphric / cypress-plugin-api

Cypress plugin to show your API information in the Cypress UI runner
ISC License
250 stars 33 forks source link

Copy request button #114

Closed lucasdonato closed 1 year ago

lucasdonato commented 1 year ago

Hi Filip, it would be interesting to add a button to copy the body/response of each request.

filiphric commented 1 year ago

Early versions of the plugin had this button. The only problem with that was that you could only have this button for the very last cy.api() command and it had to be the the very last command. it wasn’t very optimal since the experience was different when you traveled back in time in your timeline and it confused people. It also had a weir memory leak issue that I wasn’t able to figure out