diff --git a/tests/Kwc/FavouritesSelenium/SeleniumTest.php b/tests/Kwc/FavouritesSelenium/SeleniumTest.php
index <HASH>..<HASH> 100644
--- a/tests/Kwc/FavouritesSelenium/SeleniumTest.php
+++ b/tests/Kwc/FavouritesSelenium/SeleniumTest.php
@@ -38,6 +38,7 @@ class Kwc_FavouritesSelenium_SeleniumTest extends Kwf_Test_SeleniumTestCase
 
         // click on fav-icon to favourise
         $this->click("css=.switchLink > a");
+        sleep(1);
         $this->assertText('css=.kwcFavouritesPageComponentFavouritesCount', '3');
 
         //reload to check if persistent
@@ -46,6 +47,7 @@ class Kwc_FavouritesSelenium_SeleniumTest extends Kwf_Test_SeleniumTestCase
 
         // click on fav-icon to defavourise
         $this->click("css=.switchLink > a");
+        sleep(1);
         $this->assertText('css=.kwcFavouritesPageComponentFavouritesCount', '2');
 
         //reload to check if persistent
Add sleep to wait for javascript finished

Till now it asserted before javascript was finished