【问题标题】:Could not find any tests to run. We looked but did not find a cypress.json找不到任何要运行的测试。我们查看但没有找到 cypress.json
【发布时间】:2019-10-25 19:04:20
【问题描述】:

我在我的项目中安装了 Cypress,当我尝试使用 npx cypress run 运行 Cypress 时,出现以下错误:

找不到任何要运行的测试。
我们查看了但没有在此文件夹中找到 cypress.json 文件...

【问题讨论】:

    标签: javascript node.js ui-automation cypress


    【解决方案1】:

    如果你是第一次跑步,我猜你需要输入npx cypress open。创建项目后,您可以使用npx cypress run

    【讨论】:

    • 谢谢你我完全忘记了 npx cypress open
    猜你喜欢
    • 2015-07-22
    • 2021-07-09
    • 1970-01-01
    • 1970-01-01
    • 2021-01-10
    • 1970-01-01
    • 2011-05-09
    • 2011-09-04
    相关资源
    最近更新 更多