diff --git a/Kwf/Test/SeleniumTestCase.php b/Kwf/Test/SeleniumTestCase.php
index <HASH>..<HASH> 100644
--- a/Kwf/Test/SeleniumTestCase.php
+++ b/Kwf/Test/SeleniumTestCase.php
@@ -41,6 +41,13 @@ class Kwf_Test_SeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase
         if (!$cfg = Kwf_Registry::get('testServerConfig')) {
             throw new Kwf_Exception("testServerConfig not set");
         }
+
+        Kwf_Util_Apc::callClearCacheByCli(array('type'=>'user'));
+        Kwf_Cache::factory('Core', 'Memcached', array(
+            'lifetime'=>null,
+            'automatic_cleaning_factor' => false,
+            'automatic_serialization'=>true))->clean();
+
         $d = $this->_domain;
         if (!$d) {
             $domain = $cfg->server->domain;
clear cache before running selenium test

fixes tests