[英]Cypress tests not running
The test appears to have timed out after waiting for a full minute. 等待一整分钟后,测试似乎已超时。 Try checking the response for error, along with the lines of 尝试检查响应是否有误,以及
cy.exec('npm run build').then((result) => {
console.log("code---->", result.code);
console.log("stdout---->", result.stdout);
console.log("error---->", result.stderr);
})
Replace 'npm run build' with your code. 将“ npm run build”替换为您的代码。
Also, what exactly are you trying to do there, in the before block? 另外,在before块中,您到底打算做什么?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.