https://cypress.io logo
Just to let you know I resolved this problem. So m...
# e2e-testing
p
Just to let you know I resolved this problem. So my company has cloudfare protection which was recognising GitHub IPs as bot. So solution for this is to change link in visit for DNS content address and to add in header Host with the url of your site. cy.visit('Your_DNS_Content_Address', { headers: { Accept: 'application/json, text/plain, */*', Host: 'URL_of_your_site', 'User-Agent': 'axios/0.27.2', }, }); Regarding this: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses you will get more than 2000 IPs in response so it's not possible to be used...but if you want to try this is the way to do it