filiphric / cypress-plugin-api

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

rethink how credentials are hidden #92

Open filiphric opened 1 year ago

filiphric commented 1 year ago

the current way of setting up credentials to hide is not ideal. some issues:

  1. credentials are anonymized character by character, revealing the length of hidden attribute
  2. no ability to hide response attributes
  3. once the credential is hidden, there’s really no way of showing it anymore

I’m thinking that hiding credentials could instead be implemented by pure css. hide the credential we want to hide and reveal it on hover. don’t have the technical solution, but might make for a little nicer user experience