问题描述
我正在尝试运行一个非常基本的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');
});
非常感谢您。
解决方法
似乎Intellij 2020.2仅与黄瓜5.0.1兼容
使用黄瓜6.0.5和7.0.0-rc0将失败,因为黄瓜破坏了其API。
我们必须要求Jetbrain更新他的代码:)