]> source.dussan.org Git - sonarqube.git/commitdiff
Make sure each IT is isolated
authorDavid Gageot <david@gageot.net>
Wed, 2 Sep 2015 14:14:01 +0000 (16:14 +0200)
committerDavid Gageot <david@gageot.net>
Wed, 2 Sep 2015 14:14:08 +0000 (16:14 +0200)
it/it-tests/src/test/java/selenium/SeleneseTest.java

index d45862843fc8f55b012662e2cf699b5ea4fca0fe..0c53b50c7d7826fe150879fb99b336c64ac6cc84 100644 (file)
@@ -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() + " ============");