Pycharm中未定义的步骤定义

时间:2019-05-31 15:29:13

标签: python selenium pycharm python-behave

当我按Alt + Enter时,我会看到“检查未定义步骤”选项。但是,我应该看到意图动作“创建步骤定义”。

我已经安装了Gherkin插件。

https://i.imgur.com/hFADmzR.png

我无法测试,因为我在cmd中获取了信息:

ConfigError: No steps directory in 'C:\WINDOWS\system32\features'

预先感谢...我无法在线找到问题的答案。

Feature: sign in to a pre-signed form  As a user I want to login and what happens

Scenario: Log in with valid data
    Given user is on Sign In form website
    When user sees filled in Sign In form and submits it
    Then User can see what's after being logged

0 个答案:

没有答案