我在testcafe中的测试突然停止工作。
我已经尝试重新安装teamcity记者与:
npm install -g testcafe testcafe-reporter-teamcity
和
npm install testcafe testcafe-reporter-teamcity
我可以看到我的node_modules中有testcafe reporter teamcity文件夹。但由于某种原因,它找不到它。
仍然是我在本地使用命令运行测试时遇到的错误:
testcafe firefox tests -c 4 --skip-js-errors --reporter teamcity
它将返回错误:
ERROR The provided "teamcity" reporter does not exist. Check that you have specified the report format correctly.
发现问题。
只是将版本降级为"testcafe-reporter-teamcity": "1.0.10"
似乎工作得很好。。出于某种原因,1.0.11给出了这个问题。