[英]How to modify location of e2e tests in Vue CLI?
I try to modify the Cypress test files location using the cypress.json
config parameters but no luck so far.我尝试使用
cypress.json
配置参数修改 Cypress 测试文件的位置,但到目前为止没有运气。
{
"testFiles": "e2e/specs/*.spec.js"
}
I get the following error message:我收到以下错误消息:
Can't run because no spec files were found.
We searched for any files inside of this folder:
tests/e2e/specs
It seems like there is a base directory that I can't modify.似乎有一个我无法修改的基本目录。
try adding:尝试添加:
"integrationFolder": "e2e/specs" "integrationFolder": "e2e/specs"
in cypress.json在 cypress.json 中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.