cy.visit() failed frequently.
# i-need-help
r
I have 2 Applications with the same domain. I set the main URL to
baseUrl
in cypress.config.js and another URL to
env
as
url
. For some reason, I have to visit
cy.visit('url')
. However, frequently it fails to load and throws an error as
Timed out retrying after 15000ms
. I added a
debug()
but it's empty.
cy.visit('/') - (baseUrl)
works very well and
cy.visit('url')
also works sometimes. Did anyone face such error?
Copy code
Console was cleared
 Command:       visit
Resolved url:  'url'
Redirects:     []
 Cookies set:   []
In the console I get this empty array. Any help?