<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
*/
-
require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_Profile_DedupeTest
+ */
class WebTest_Profile_DedupeTest extends CiviSeleniumTestCase {
protected function setUp() {
$this->click("_qf_Contact_upload_view");
$this->waitForPageToLoad($this->getTimeoutMsec());
$individualName = $this->getText("xpath=//div[@class='crm-summary-display_name']");
- $this->assertElementContainsText('crm-notification-container', "$individualName has been created.");
+ $this->waitForText('crm-notification-container', "$individualName has been created.");
// submit dupe using profile/create as anonymous
$this->openCiviPage('profile/create', 'gid=4&reset=1', '_qf_Edit_next');