Permalink
Browse files

removendo screenshot

  • Loading branch information...
Turini committed Oct 31, 2012
1 parent e7af9cf commit 56f51014ad976d1d1800c6e4041ec402b03cf3d2
@@ -1,16 +1,4 @@
Testsuite: br.com.caelum.leilao.integracao.BoasVindasTest
-Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.408 sec
-------------- Standard Output ---------------
-driver bonito: chromedriverLINUX
-------------- ---------------- ---------------
-------------- Standard Error -----------------
-Started ChromeDriver
-port=27176
-version=23.0.1240.0
-log=/home/Rodrigo/workspace/pm-75-leiloes/chromedriver.log
-[1031/084901:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
-[1031/084901:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
-[1031/084901:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
-------------- ---------------- ---------------
+Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.586 sec
-Testcase: deveLocalizarAMensagemDeBoasVindasDoProjeto took 6.391 sec
+Testcase: deveLocalizarAMensagemDeBoasVindasDoProjeto took 4.571 sec
View
@@ -19,7 +19,6 @@
</path>
<target name="compilar">
-<echo>Compilando</echo>
<mkdir dir="${build.dir}/classes/"/>
<mkdir dir="${build.dir}/classes-teste/"/>
<javac destdir="${build.dir}/classes/" srcdir="src/main/" classpathref="libs.classpath" debug="true" encoding="UTF-8" />
View
Binary file not shown.
@@ -27,11 +27,9 @@ public void setup() {
@Test
public void deveLocalizarAMensagemDeBoasVindasDoProjeto() throws IOException{
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!"));
- FileUtils.copyFile(file, new File("/tmp/test.png"));
}
@After

0 comments on commit 56f5101

Please sign in to comment.