Test fixes
[civicrm-core.git] / tests / phpunit / WebTest / Contact / CreateCmsUserFromContactTest.php
index eca8ec1c1d5e4a0149a1eb1af3ee749668c3effb..3ed844d6abb60da3903c2eb84a03409da89dbf2b 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2016                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -202,6 +202,7 @@ class WebTest_Contact_CreateCmsUserFromContactTest extends CiviSeleniumTestCase
 
     //submit with matching passwords
     $this->_fillCMSUserForm($firstName, $password, $password);
+    $this->waitForAjaxContent();
     $this->click("_qf_Useradd_next-bottom");
     $this->waitForPageToLoad($this->getTimeoutMsec());