diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-04-04 13:02:49 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-04-04 10:04:57 +0000 |
commit | a86798ca4d5bae6e07e61a79665db40e9364dff3 (patch) | |
tree | 31dd97ba0f60e956a6a89631ca379b8e04cc3d86 | |
parent | 15e24ec54f0268ed3729c7296556c20cb6fc5f42 (diff) | |
download | vaadin-framework-a86798ca4d5bae6e07e61a79665db40e9364dff3.tar.gz vaadin-framework-a86798ca4d5bae6e07e61a79665db40e9364dff3.zip |
Fix ScreenshotTB3Test removing reference images
Change-Id: Iaeb6943b534e3df4dad2f8689837425cdb6a65bc
-rw-r--r-- | uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |