summaryrefslogtreecommitdiffstats
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 16:14:08 +0200
commit2fdbf71a68743ce4bb4b6307df94014ff9897544 (patch)
tree73d071dccaa17f437ecc62b47252c1f5669d74cb
parentb7d62595b994ba1a78d41a3834418c53f81587ab (diff)
downloadsonarqube-2fdbf71a68743ce4bb4b6307df94014ff9897544.tar.gz
sonarqube-2fdbf71a68743ce4bb4b6307df94014ff9897544.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 d45862843fc..0c53b50c7d7 100644
--- a/it/it-tests/src/test/java/selenium/SeleneseTest.java
+++ b/it/it-tests/src/test/java/selenium/SeleneseTest.java
@@ -36,6 +36,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() + " ============");