Q:

Cypress - can I suppress printing of my typed text with cy.type(text)?

Testing with Cypress, when I run .type(text) the text entered appears on the output. In the case of usernames & passwords this is not desirable. Is there any way I can suppress this? Example:
cy.get("[type='password']")                 
        .click()                                    
        .type(pw)                                   
        .should('have.value', pw)   

A:

I am not sure if this will help you, but you could try this:
cy.get("[type='password']").then(($input)=>{
            $input.val('YOUR PASSWORD');
        })

I did this and did not see the password in my Cypress GUI.

