运行方案时出错,请正确指定软件包:找不到“ ../null”文件-Cucumber / CodeceptJs / IntelliJ

问题描述

我正在尝试运行一个非常基本的Cucumber / CodeceptJs功能文件,但收到此Error running Scenario please specify package correctly: "../null" file not found消息,并且不确定该工具的新功能。如果我可以帮忙知道我想念的东西,请

basic.feature

Feature: Business rules
 In order to achieve my goals
 As a persona
 I want to be able to interact with a system

Scenario: do something
  Given I have a defined step

steps.js

const { I } = inject();

Given('I have a defined step',() => {
    I.amOnPage('/my-page/ui');
});

enter image description here

enter image description here

enter image description here

非常感谢您。

解决方法

似乎Intellij 2020.2仅与黄瓜5.0.1兼容

使用黄瓜6.0.5和7.0.0-rc0将失败,因为黄瓜破坏了其API。

我们必须要求Jetbrain更新他的代码:)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...