Пример #1
0
 @When("^I try to login with '(.+)' credentials$")
 public void when_I_try_to_login(String credentialsType) {
   LOGGER.info("Entering: I try to login with " + credentialsType + " credentials");
   NaviagtorFactory.getNavigator().when_I_try_to_login(credentialsType);
 }
Пример #2
0
 @Then("^I should see that I logged in '(.+)'$")
 public void then_I_login(String outcome) {
   LOGGER.info("Entering: I should see that I logged in " + outcome);
   NaviagtorFactory.getNavigator().then_I_login(outcome);
 }
Пример #3
0
 @Given("^I navigate to the mock application$")
 public void given_I_navigate_to_the_mock_application() {
   LOGGER.info("Entering: I navigate to the mock application");
   NaviagtorFactory.getNavigator().given_I_navigate_to_the_mock_application();
 }