Skip to content

Commit

Permalink
2x
Browse files Browse the repository at this point in the history
  • Loading branch information
Turini committed Oct 31, 2012
1 parent e7760d9 commit e7af9cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public void setup() {

@Test
public void deveLocalizarAMensagemDeBoasVindasDoProjeto() throws IOException{
File file = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
driver.get("http://localhost:7070/pm-75-leiloes/");
File file = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
WebElement mensagaem = driver.findElement(By.id("mensagem"));
assertTrue(mensagaem.isDisplayed());
assertTrue(mensagaem.getText().equals("Aplicação do curso pm-75-leiloes da Caelum!"));
Expand Down

0 comments on commit e7af9cf

Please sign in to comment.