@When("I fill in the login form with username \"$username\" password \"$password\"")
public void login(String username, String password) {
final WebElement loginForm = portal.getLoginForm();
loginForm.findElement(By.id("usernameField")).sendKeys(username);
loginForm.findElement(By.id("passwordField")).sendKeys(password);
loginForm.submit();
}
@Then("I see my portal page with the new user widget page")
public void iSeeMyNewUserPortalPage() {
final WebElement newUserDiv = portal.findElement(By.className("columns_3_newuser_static"));