简体   繁体   English

赛普拉斯测试未运行

[英]Cypress tests not running

在此处输入图片说明

whenever I am trying to run cypress tests I am getting this error. 每当我尝试运行赛普拉斯测试时,都会出现此错误。 I have cloned spectrum repo and this is my first time I am trying to run cypress tests 我已经克隆了频谱仓库,这是我第一次尝试进行赛普拉斯测试

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.

相关问题 使用 cypress-firebase 运行 cypress 测试时出现 Webpack 错误 - Webpack error when running cypress tests with cypress-firebase Cypress 测试在无头运行时失败,但在 Cypress 界面上运行时通过 - Cypress tests fail when running headless but pass when running on Cypress interface 通过 Travis CI 运行 cypress 测试时找不到 baseUrl - baseUrl not being found when running cypress tests through Travis CI 运行赛普拉斯测试时如何等待 AJAX 请求完成? - How to wait for AJAX requests to complete when running Cypress tests? 从命令行运行赛普拉斯测试得到=> CypressError:赛普拉斯测试在运行此命令时停止 - run cypress tests from command line getting => CypressError: Cypress test was stopped while running this command Cypress E2E 测试未在 gitlab.com 上以 CI 模式运行 - Cypress E2E tests not running in CI mode on gitlab.com Cypress测试在访问localhost时连续运行XHR帖子(运行vue.js) - Cypress tests continuously run XHR posts when visiting localhost (running vue.js) 使用 Tailwind 对 Nuxt 进行 Cypress 组件测试 - Cypress component tests for Nuxt with Tailwind 赛普拉斯测试的随机元素选择 - Randomising element selection for Cypress tests 在重新运行测试时重置赛普拉斯配置 - reset cypress config on rerunning tests
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM