簡體   English   中英

如何在 Vue CLI 中修改 e2e 測試的位置?

[英]How to modify location of e2e tests in Vue CLI?

我嘗試使用cypress.json配置參數修改 Cypress 測試文件的位置,但到目前為止沒有運氣。

{
  "testFiles": "e2e/specs/*.spec.js"
}

我收到以下錯誤消息:

Can't run because no spec files were found.

We searched for any files inside of this folder:

tests/e2e/specs

似乎有一個我無法修改的基本目錄。

嘗試添加:

"integrationFolder": "e2e/specs"

在 cypress.json 中

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM