【发布时间】:2021-12-03 04:54:11
【问题描述】:
我写了一堆柏树测试。他们都工作得很好。但不知何故,他们都开始无法访问目标站点,并出现以下错误:
cy.visit() failed trying to load:
https://mywebsite.com/accounts/login/
We attempted to make an http request to this URL but the request failed without a response.
We received this error at the network level:
> Error: getaddrinfo ENOTFOUND mywebsite.com
当我在浏览器中显式打开 https://mywebsite.com/accounts/login/ 时,它会打开。那么这里可能出了什么问题呢?
【问题讨论】:
标签: javascript node.js reactjs automated-tests cypress