cypress-plugin-api icon indicating copy to clipboard operation
cypress-plugin-api copied to clipboard

rethink how credentials are hidden

Open filiphric opened this issue 2 years ago • 0 comments

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

filiphric avatar Dec 20 '22 12:12 filiphric