运行方案时出错,请正确指定软件包:找不到“ ../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更新他的代码:)