$this->click('radio_ts', 'ts_all');
$this->select('task', "label=Update pending contribution status");
- $this->clickLink("_qf_Search_next_action");
+ $this->click("_qf_Search_next_action");
$this->select('contribution_status_id', 'label=Completed');
$this->click('_qf_Status_next');
$this->waitForElementPresent("_qf_Result_done");
$this->_testVerifyPriceSet($validateStrings, $sid);
$this->openCiviPage('event/add', 'reset=1&action=add', '_qf_EventInfo_upload-bottom');
-
+ $this->waitForElementPresent("_qf_EventInfo_upload-bottom");
$eventTitle = 'My Conference - ' . substr(sha1(rand()), 0, 7);
$email = 'Smith' . substr(sha1(rand()), 0, 7) . '@example.com';
$eventDescription = 'Here is a description for this conference.';
$this->openCiviPage('admin/price/field', "reset=1&action=browse&sid={$sid}", 'newPriceField');
$this->click("xpath=//table[@id='options']/tbody/tr[3]/td[8]/a[text()='Edit Price Options']");
$this->waitForElementPresent("xpath=//span[contains(text(), 'Done')]");
- $this->click("xpath=//tr/td/div[text()='First Night']/../following-sibling::td[8]/span/a[text()='Edit Option']");
+ $this->click("xpath=//table[@id='options']/tbody/tr/td/div[text()='First Night']/../following-sibling::td[8]/span/a[text()='Edit Option']");
$this->waitForElementPresent("_qf_Option_cancel");
$this->type('label', 'First Night Edited');
$this->click('_qf_Option_next');
$this->openCiviPage("admin/messageTemplates/add", "action=add&reset=1");
+ $this->waitForElementPresent("_qf_MessageTemplates_cancel-bottom");
// Fill message title.
if (!$msgTitle) {
$msgTitle = 'msg_' . substr(sha1(rand()), 0, 7);
$this->click("_qf_Membership_upload");
//View Membership
- $this->waitForElementPresent("xpath=//div[@id='memberships']//table//tbody/tr[1]/td[9]/span/a[text()='View']");
- $this->click("xpath=//div[@id='memberships']//table/tbody/tr[1]/td[9]/span/a[text()='View']");
+ $this->waitForElementPresent("xpath=//table[@class='display dataTable no-footer']/tbody/tr[1]/td[9]/span/a[text()='View']");
+ $this->click("xpath=xpath=//table[@class='display dataTable no-footer']/tbody/tr[1]/td[9]/span/a[text()='View']");
$this->waitForElementPresent("_qf_MembershipView_cancel-bottom");
// verify soft credit data