+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
// Fill Title
$title = 'Title' . substr(sha1(rand()), 0, 4);
+ $htmlMessage = "Schedule Reminder Test";
$this->type('title', $title);
// Fill Entity Details
// Fill Subject
$subject = 'subject' . substr(sha1(rand()), 0, 4);
$this->type('subject', $subject);
+ $this->waitForElementPresent("html_message");
+ $this->fillRichTextField("html_message", $htmlMessage);
//click on save
$this->click('_qf_ScheduleReminders_next-bottom');
- $this->waitForPageToLoad($this->getTimeoutMsec());
-
+ $this->waitForElementPresent("xpath=//div[@id='reminder']/div/table/tbody//tr/td[1]/div[text()='{$title}']/../../td[7]/span/a[text()='Edit']");
$this->click("xpath=//div[@id='reminder']/div/table/tbody//tr/td[1]/div[text()='{$title}']/../../td[7]/span/a[text()='Edit']");
$this->waitForElementPresent('_qf_ScheduleReminders_cancel-bottom');