Undefined step: Given login baidu
You can implement missing steps with the snippets below:
@Given(“^login baidu$”)
public void login_baidu() throws Throwable {
// Write code here that turns the phrase above into concrete actions
throw new PendingException();
}
代码如下
Feature:10001
Scenario: login baidu and search "how to get rich"
Given login baidu
Then input username
And input password
也有成功create dedintion
暂时没找到原因