Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @When("^Agent tries to entry to the system with the wrong credentials$")
- public void Agent_with_the_wrong_credentials() {
- Faker faker = new Faker();
- login(faker.name().fullName(),
- faker.lorem().fixedString(8),
- faker.lorem().fixedString(6));
- }
- @Then("^Agent can't entries to the system$")
- public void Agent_can_t_entries_to_the_system() {
- Assert.assertTrue(agent.PressLogin());
- Assert.assertFalse(agent.IsAgentLogined());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement