[英]Integration and Plugin folders missing in cypress
I have generated cypress folder..In that i could see only support and fixture folders.我已经生成了 cypress 文件夹。我只能看到 support 和 fixture 文件夹。 Integration and plugin folders are missing...pls help to resolve
缺少集成和插件文件夹...请帮助解决
You have to first initialize the project using `npm init.您必须首先使用 npm init 初始化项目。
Then install cypress using npm install cypress
, as of today the current version is 10.3.0, which should be installed.然后使用
npm install cypress
,截至今天当前版本是 10.3.0,应该安装。
Then You have to run the command npx cypress open
, then you should see a window like this:然后你必须运行命令
npx cypress open
,然后你应该看到一个像这样的窗口:
The plugins file is no longer supported after Cypress version 10.0.0.在赛普拉斯 10.0.0 版之后不再支持插件文件。 You should use config.js or config.ts
您应该使用 config.js 或 config.ts
Encountered this myself, following what I now believe is an out-of-date tutorial.我自己遇到了这个,遵循我现在认为是过时的教程。 Apparently both the Integration folder and Plugins file/folder are deprecated, no longer created at install/setup.
显然,集成文件夹和插件文件/文件夹都已弃用,不再在安装/设置时创建。
Although it is difficult to interpret the documentation:虽然很难解释文档:
pluginsFile
and no integrationFolder
.pluginsFile
也没有integrationFolder
。pluginsFile
(and folder) and, the integrationFolder
.pluginsFile
(和文件夹)和integrationFolder
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.