Merge branch '4.4' of https://github.com/civicrm/civicrm-core into 4.5
[civicrm-core.git] / tests / phpunit / WebTest / Admin / Form / ScheduleReminderTest.php
index 7f74a6f788ae026681a57e726c41378e267aed01..63b743137cda1c6929c6a01338ef9b2ddc7e0af2 100644 (file)
 */
 
 require_once 'CiviTest/CiviSeleniumTestCase.php';
+
+/**
+ * Class WebTest_Admin_Form_ScheduleReminderTest
+ */
 class WebTest_Admin_Form_ScheduleReminderTest extends CiviSeleniumTestCase {
 
   protected function setUp() {
@@ -61,7 +65,7 @@ class WebTest_Admin_Form_ScheduleReminderTest extends CiviSeleniumTestCase {
     $this->click('_qf_ScheduleReminders_next-bottom');
     $this->waitForPageToLoad($this->getTimeoutMsec());
 
-    $this->click("//div[@id='reminder']//div[@class='dataTables_wrapper']/table/tbody//tr/td[1][text()='{$title}']/../td[7]/span/a[text()='Edit']");
+    $this->click("//div[@id='reminder']//div[@id='option11_wrapper']/table/tbody//tr/td[1][text()='{$title}']/../td[7]/span/a[text()='Edit']");
     $this->waitForElementPresent('_qf_ScheduleReminders_cancel-bottom');
 
     $this->assertEquals($title, $this->getValue('id=title'));