X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FAdmin%2FForm%2FScheduleReminderTest.php;h=63b743137cda1c6929c6a01338ef9b2ddc7e0af2;hb=0ec03e9fabc23b802ac80cb68c44b5abaf7f8585;hp=7f74a6f788ae026681a57e726c41378e267aed01;hpb=06a1bc01beb8a40ba1680b6b00e084fe436cea93;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Admin/Form/ScheduleReminderTest.php b/tests/phpunit/WebTest/Admin/Form/ScheduleReminderTest.php index 7f74a6f788..63b743137c 100644 --- a/tests/phpunit/WebTest/Admin/Form/ScheduleReminderTest.php +++ b/tests/phpunit/WebTest/Admin/Form/ScheduleReminderTest.php @@ -25,6 +25,10 @@ */ 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'));