+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->waitForElementPresent("_qf_EventInfo_upload-bottom");
$this->select("event_type_id", "value=1");
+ $this->waitForAjaxContent();
// Attendee role s/b selected now.
$this->select("default_role_id", "value=1");
$this->type("address_1_city", "San Francisco");
$this->type("address_1_postal_code", "94117");
$this->select('address_1_country_id', 'UNITED STATES');
+ $this->waitForAjaxContent();
$this->select("address_1_state_province_id", "value=1004");
$this->type("email_1_email", "info@civicrm.org");
$this->clickLink("_qf_Basic_refresh", "//div[@class='crm-search-results']/table[@class='selector row-highlight']/tbody/tr/", FALSE);
// click through to the Contribution view screen
- $this->click("xpath=//div[@class='crm-search-results']/table[@class='selector row-highlight']/tbody/tr/td[11]//span/a[text()='View']");
+ $this->click("xpath=//table[@class='selector row-highlight']/tbody/tr/td[11]//span/a[text()='View']");
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->click("css=li#tab_rel a");
//check the status message
$this->waitForText('crm-notification-container', "Relationship created.");
- $this->waitForElementPresent("xpath=//div[@class='dataTables_wrapper no-footer']//table/tbody//tr/td[9]/span/a[text()='View']");
- $this->click("xpath=//div[@class='dataTables_wrapper no-footer']//table/tbody//tr/td[9]/span/a[text()='View']");
+ $this->waitForElementPresent("xpath=//div[@class='crm-contact-relationship-current']//div[@class='dataTables_wrapper no-footer']//table/tbody//tr/td[9]/span/a[text()='View']");
+ $this->click("xpath=//div[@class='crm-contact-relationship-current']//div[@class='dataTables_wrapper no-footer']//table/tbody//tr/td[9]/span/a[text()='View']");
$this->waitForElementPresent("xpath=//table[@class='crm-info-panel']");
$this->webtestVerifyTabularData(
$this->select2("event_type_id", "Conference");
$this->click("_qf_Advanced_refresh");
$this->waitForElementPresent("xpath=//div[@class='crm-content-block']//div[@id='search-status']");
- $this->assertElementContainsText("xpath=//div[@class='crm-content-block']//div[@id='search-status']/table/tbody/tr[1]/td[1]", "2 Contacts");
+ $this->assertElementContainsText("xpath=//div[@id='search-status']/table/tbody/tr[1]/td[1]", "2 Contacts");
}
public function testAdvanceSearchForLog() {