+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->waitForText('crm-notification-container', "The Message Template '$msgTitle' has been saved.");
// Verify text.
- $this->assertTrue($this->isElementPresent("xpath=id('user')/div[2]/div[1]/table/tbody//tr/td[1][contains(text(), '$msgTitle')]"),
+ $this->assertTrue($this->isElementPresent("xpath=id('user')//div//div/table[@class='display dataTable no-footer']/tbody//tr/td[1][contains(text(), '$msgTitle')]"),
'Message Template Title not found!');
if (!$useTokens) {
- $this->assertTrue($this->isElementPresent("xpath=id('user')/div[2]/div[1]/table/tbody//tr/td[2][contains(text(), '$msgSubject')]"),
+ $this->assertTrue($this->isElementPresent("xpath=id('user')//div//div/table[@class='display dataTable no-footer']/tbody//tr/td[2][contains(text(), '$msgSubject')]"),
'Message Subject not found!');
}
}