aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-09-02 16:14:01 +0200
committerDavid Gageot <david@gageot.net>2015-09-02 19:29:12 +0200
commitc392aadff1f0822d502e6f99b480a902c5d3e082 (patch)
tree534cbf13ae6e9adb28c00e11793647ee59a7909b
parent6bdbfb0f7be1d13e6a4f72834f7030aae285996a (diff)
downloadsonarqube-c392aadff1f0822d502e6f99b480a902c5d3e082.tar.gz
sonarqube-c392aadff1f0822d502e6f99b480a902c5d3e082.zip
Make sure each IT is isolated
-rw-r--r--it/it-tests/src/test/java/selenium/SeleneseTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/it/it-tests/src/test/java/selenium/SeleneseTest.java b/it/it-tests/src/test/java/selenium/SeleneseTest.java
index c681b03e3b9..6db97d04de3 100644
--- a/it/it-tests/src/test/java/selenium/SeleneseTest.java
+++ b/it/it-tests/src/test/java/selenium/SeleneseTest.java
@@ -55,6 +55,8 @@ public class SeleneseTest {
this.baseUrl = orchestrator.getServer().getUrl();
this.driver = Browser.FIREFOX.getDriverForThread();
+ driver.manage().deleteAllCookies();
+
for (File file : suite.getHtmlTests()) {
System.out.println();
System.out.println("============ " + file.getName() + " ============");