コード例 #1
0
 @When("^I log in with invalid credentials$")
 public void I_log_in_with_invalid_credentials() throws Throwable {
   StepUtils.login(StepUtils.USERNAME, "incorrect");
 }
コード例 #2
0
 @When("^I log in as Alan Turing$")
 public void I_log_in_as_Alan_Turing() throws Throwable {
   StepUtils.login(StepUtils.USERNAME, StepUtils.PASSWORD);
 }