Using Cypress I am trying to automate an application URL. on hitting the URL, a window alert opens but is not readable for to enter user id and password. I was advised by few to pass the username and password in the URL of the application, now i can by the alert, but nothing appears in the application page its showing blank. Please advise if any other ways are there
Finally found the solution
cy.visit("url",{ headers:{ Authorization:"Value" } })
To obtain the Authorization value, using postman hit the url after giving the UID and PWD and take from Headers, the value.