Selenium Test in Skeleton App Fails


I have tried the latest Yii 1.1.7 and created the skeleton app:

php YiiRoot/framework/yiic.php webapp testdrive

i have tried the Selenium PHPUnit test SiteTest.php, but the testContact() and testLoginLogout() has failed, because the forms are validated by JavaScript. So the Selenium clickWait operation does not work. I have changed clickWait for click and PHP usleep(500000) and now it works fine. One just have to take care where this clickWait can be placed and where cannot. E.g. in the testLoginLogout() the first occurence has to be replaced, while the second and third one can be left as is, because in this case the real form submit is provided.