I am trying to simulate logging into a Google Account but I am already having issues just loading the login page.
This is my code:
cy.origin('https://accounts.google.com', () => {
cy.visit('/servicelogin')
})
And this is the error message that I am getting. I tried increasing the pageLoadTimeOut
but it still won't work.
Note: I am using cy.origin
because after a successful login on Google, I will be navigating to another domain for more testing.