From f31477d74191be4785733afffccc414668b3c088 Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 22 Mar 2013 12:58:27 +0530 Subject: [PATCH] fix webtest --- tests/phpunit/WebTest/Contact/AddCmsUserTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/WebTest/Contact/AddCmsUserTest.php b/tests/phpunit/WebTest/Contact/AddCmsUserTest.php index bd6baf23e4..67dfbdccb9 100644 --- a/tests/phpunit/WebTest/Contact/AddCmsUserTest.php +++ b/tests/phpunit/WebTest/Contact/AddCmsUserTest.php @@ -89,6 +89,7 @@ class WebTest_Contact_AddCmsUserTest extends CiviSeleniumTestCase { //Add profile Details $firstName = 'Ma' . substr(sha1(rand()), 0, 4); $lastName = 'An' . substr(sha1(rand()), 0, 7); + $this->waitForElementPresent('first_name'); $this->type('first_name', $firstName); $this->type('last_name', $lastName); -- 2.25.1