Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. @When("^Agent tries to entry to the system with the wrong credentials$")
  2. public void Agent_with_the_wrong_credentials() {
  3. Faker faker = new Faker();
  4. login(faker.name().fullName(),
  5. faker.lorem().fixedString(8),
  6. faker.lorem().fixedString(6));
  7.  
  8. }
  9.  
  10. @Then("^Agent can't entries to the system$")
  11. public void Agent_can_t_entries_to_the_system() {
  12. Assert.assertTrue(agent.PressLogin());
  13. Assert.assertFalse(agent.IsAgentLogined());
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement