Java, Bdd, Cucumber, Programming, Technology.
isRedirectedToHomepage; private String displayedMessage; @Given("the user is on the login page") public void the_user_is_on_the_login_page() { isLoginPage = true; } @When("the user enters a valid username {string}") public void the_user_enters_a_valid_username(String username) { if (isLoginPage) {