+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->select('status_id', 'value=1');
// Setting registration source
+ $this->waitForElementPresent('source');
$this->type('source', 'Event Partially Paid Webtest');
// Since we're here, let's check of screen help is being displayed properly
$this->waitForElementPresent('priceset');
$this->click("xpath=//input[@class='crm-form-radio']");
- sleep(1);
+ $this->waitForAjaxContent();
// record payment total amount
// amount populated after fee selection
$amtTotalOwed = (int) $this->getValue('id=total_amount');
// Is status message correct?
$this->waitForText('crm-notification-container', "Event registration for $displayName has been added");
- $this->waitForElementPresent("xpath=//form[@class='CRM_Event_Form_Search crm-search-form']/table//tbody/tr[1]/td[8]/span//a[text()='View']");
+ $this->waitForElementPresent("xpath=//form[@class='CRM_Event_Form_Search crm-search-form']/table[@class='selector row-highlight']//tbody/tr[1]/td[8]/span//a[text()='View']");
//click through to the participant view screen
- $this->click("xpath=//form[@class='CRM_Event_Form_Search crm-search-form']/table/tbody/tr[1]/td[8]/span//a[text()='View']");
+ $this->click("xpath=//form[@class='CRM_Event_Form_Search crm-search-form']/table[@class='selector row-highlight']/tbody/tr[1]/td[8]/span//a[text()='View']");
$this->waitForElementPresent("xpath=//button//span[contains(text(),'Done')]");
$this->webtestVerifyTabularData(