diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-06-05 13:16:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-05 13:16:34 +0300 |
commit | 3556947300024080f2bc5ae82a98bf1f6056a019 (patch) | |
tree | ef68109f9f6cf6c7fee555f05161a8836ed5db3d /uitest/src/test/java | |
parent | 1dbae8ca96c4dfee00a9719f745b29b0a3f9123b (diff) | |
download | vaadin-framework-3556947300024080f2bc5ae82a98bf1f6056a019.tar.gz vaadin-framework-3556947300024080f2bc5ae82a98bf1f6056a019.zip |
Rename Chrome screenshots (#10966)
Diffstat (limited to 'uitest/src/test/java')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java | 1 | ||||
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java b/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java index d0ae375db0..dc74ab74b5 100644 --- a/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java +++ b/uitest/src/test/java/com/vaadin/tests/application/CriticalNotificationsTest.java @@ -5,7 +5,6 @@ import org.junit.Test; import com.vaadin.testbench.elements.ButtonElement; import com.vaadin.testbench.elements.CheckBoxElement; import com.vaadin.testbench.elements.NotificationElement; -import com.vaadin.testbench.parallel.BrowserUtil; import com.vaadin.tests.tb3.MultiBrowserThemeTest; public class CriticalNotificationsTest extends MultiBrowserThemeTest { diff --git a/uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java index 5e6f866b7f..674b329a44 100644 --- a/uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java +++ b/uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java @@ -149,18 +149,21 @@ public abstract class AbstractTB3Test extends ParallelTest { } catch (UnsupportedOperationException e) { // Opera does not support this... } + screenshotOnFailure.setQuitDriverOnFinish(false); } /** * Method for closing the tested application. */ protected void closeApplication() { - if (driver != null) { + if (getDriver() != null) { try { openTestURL("closeApplication"); } catch (Exception e) { e.printStackTrace(); } + // Finally quit the driver. + driver.quit(); } } |