@Test
public void cadastroSemNome(){
System.setProperty("webdriver.gecko.driver","c:\\geckodriver.exe");
WebDriver driver = new FirefoxDriver();
WebElement email = driver.findElement(By.name("usuario.email"));
email.sendKeys("test@gmail.com");
WebElement botaoSalvar = driver.findElement(By.id("btnSalvar"));
botaoSalvar.click();
boolean emailCorreto = driver.getPageSource().contains("test@gmail.com");
assertTrue(emailCorreto);
driver.close();
}
}