]> 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 17:29:12 +0000 (19:29 +0200)
it/it-tests/src/test/java/selenium/SeleneseTest.java

index c681b03e3b9301dd8bff961598fecd505072bc2c..6db97d04de3382d39e3c353e26df8af2b252a8b9 100644 (file)
@@ -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() + " ============");