Log a user in to the WordPress dashboard.
Username of the user
Password of the user
Use the command without any argument, the admin will be used:
cy.login() Copy
cy.login()
Use the command with username and password:
cy.login( 'customer', 'strongpassword') Copy
cy.login( 'customer', 'strongpassword')
Log a user in to the WordPress dashboard.