X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FContact%2FAddTest.php;h=f35f9c19c63798813cafcae3d110dd7f9eba20f3;hb=62815961cf5f58daa43526d02d48bd17343bfead;hp=e4d37dbec4e527e312345c75b1e67233d680fc29;hpb=9d29f5f8596366df6a6ae99b97029da639e03004;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Contact/AddTest.php b/tests/phpunit/WebTest/Contact/AddTest.php index e4d37dbec4..f35f9c19c6 100644 --- a/tests/phpunit/WebTest/Contact/AddTest.php +++ b/tests/phpunit/WebTest/Contact/AddTest.php @@ -22,7 +22,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ require_once 'CiviTest/CiviSeleniumTestCase.php'; @@ -409,7 +409,6 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { //create new current employer $currentEmployer = substr(sha1(rand()), 0, 7) . "Web Access"; - //fill in email $this->type("email_1_email", substr(sha1(rand()), 0, 7) . "john@gmail.com"); @@ -444,8 +443,6 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { $this->click("_qf_Edit_next"); - // Is new contact created? - $this->waitForText("css=div.crm-status-box-msg", "$currentEmployer Created"); $this->select2('employer_id', $currentEmployer); //make sure shared address is selected @@ -477,9 +474,6 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { $this->click("_qf_Edit_next"); - // Is new contact created? - $this->waitForText("css=div.crm-status-box-msg", "$sharedHousehold Created"); - //make sure shared address is selected $this->waitForElementPresent('selected_shared_address-2'); @@ -503,4 +497,5 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { $this->assertElementContainsText('DataTables_Table_0', 'Employee of'); $this->assertElementContainsText('DataTables_Table_0', 'Household Member of'); } + }