Skip to content

Commit 539aefb

Browse files
committed
test: close webdriver after each unit test
1 parent 5338702 commit 539aefb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/java/com/flowingcode/vaadin/addons/chipfield/integration/AbstractViewTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import org.hamcrest.Description;
77
import org.hamcrest.Matcher;
88
import org.hamcrest.TypeSafeDiagnosingMatcher;
9+
import org.junit.After;
910
import org.junit.Before;
1011
import org.junit.BeforeClass;
1112
import org.junit.Rule;
@@ -72,6 +73,11 @@ public void setup() throws Exception {
7273
getDriver().get(getURL(route));
7374
}
7475

76+
@After
77+
public void after() {
78+
getDriver().close();
79+
}
80+
7581
/**
7682
* Returns deployment host name concatenated with route.
7783
*

0 commit comments

Comments
 (0)