我正在Chrome中的localhost上运行测试,它单击按钮,导航到一个新页面,然后导航回主页。当我的测试返回到带有“404此页面无法找到”的主页时,我的测试失败。还注意到,每个新url都会附加到本地主机url。例如: http://xxx.xxx.x.xxx.xx:34327/SEcdCwbVu*q2tjgyscm/http://localhost:3000/SEcdCwbVu*q2tjgyscm/http://localhost:3000/SEcdCwbVu*q2tjgyscm/http:/localhost:3000/main
不知道为什么会这样。随着Safari,测试正在通过。
浏览器:Chrome 104.0.5112.79/Monterey 12
TestCafe版本:1.19.0
app软件测试