+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
// select the financial type for the selected membership type
$this->select('financial_type_id', 'value=2');
+ $this->waitForAjaxContent();
// the amount for the selected membership type
$this->type('total_amount', '100.00');
// click through to the membership view screen
$this->waitForAjaxContent();
- $this->click("xpath=//table[@class='display dataTable no-footer']/tbody/tr/td[9]/span/a[contains(text(), 'View')]");
+ $this->click("xpath=//div[@id='memberships']/div/table[@class='display dataTable no-footer']/tbody/tr/td[9]/span/a[contains(text(), 'View')]");
$this->waitForElementPresent("_qf_MembershipView_cancel-bottom");
$joinDate = date('F jS, Y');