Hide password using {log:false} in session based login #30415
Unanswered
DilawarQA23
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi there,
I am new to Cypress.
I am using custom command to maintain the login of the user for further test cases.
I want to hide the password using {log:false} in custom command of cypress but it does not working as expected.
the password (11221122) still displayed on cypress logs.
My test.cy file code
beforeEach(()=>
{
cy.login('[email protected]','11221122')
});
my custom command code
Cypress.Commands.add('login', (email, password) =>
{
Beta Was this translation helpful? Give feedback.
All reactions