【发布时间】:2018-11-16 08:50:31
【问题描述】:
我可以使用命令行运行测试
> ./node_modules/.bin/wdio wdio.conf.js
但如果我尝试从 IntelliJ 的运行/调试配置中运行它,我会收到各种不同的错误。
功能文件或目录: /path_to_my_feature_file/myfeature.feature
Cucumber.js 参数:wdio.conf.js
可执行路径: /path_to_my_project/node_modules/.bin/wdio
给我
指定了多个配置文件
如果我删除 Cucumber Arguments,它只会无限期地运行。如果我停止它运行,我会收到错误
加载配置文件失败
加载配置文件时似乎存在某种问题,但我不知道如何解决。有什么建议? wdio.conf.js 存在并且在项目根目录中。
【问题讨论】:
-
你使用什么运行配置?请尝试 Node.js - 请参阅 i.stack.imgur.com/ieFVT.png
-
谢谢莉娜。我一直在使用 cucumber.js。我在你的图片中尝试了 Node.js - 它没有错误,但测试似乎也没有运行 - 他们只是什么都不做,看起来他们开始但不停止,不输出任何东西.
-
已知问题,请参阅我的回答以了解解决方法
标签: node.js intellij-idea cucumber