From a86798ca4d5bae6e07e61a79665db40e9364dff3 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Fri, 4 Apr 2014 13:02:49 +0300 Subject: [PATCH] Fix ScreenshotTB3Test removing reference images Change-Id: Iaeb6943b534e3df4dad2f8689837425cdb6a65bc --- uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java b/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java index 9f966d7973..c423eaff11 100644 --- a/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java +++ b/uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java @@ -107,7 +107,7 @@ public abstract class ScreenshotTB3Test extends AbstractTB3Test { for (File referenceFile : referenceFiles) { if (testBench(driver).compareScreen(referenceFile)) { // There might be failure files because of retries in TestBench. - deleteFailureFiles(referenceFile); + deleteFailureFiles(getErrorFileFromReference(referenceFile)); break; } else { failedReferenceFiles.add(referenceFile); -- 2.39.5