Webtest Fix- Master
[civicrm-core.git] / tests / phpunit / WebTest / Contact / TagAddTest.php
index ee45db82d9fb583b65b93a272eb99ee4385ab0c7..ca1687f2e3a191795b6d1243ff4047a9d4b2ef73 100644 (file)
@@ -101,7 +101,7 @@ class WebTest_Contact_TagAddTest extends CiviSeleniumTestCase {
     $this->assertTrue($this->isTextPresent("The tag '$tagSetName' has been saved."));
 
     // sort by ID desc
-    $this->click("xpath=//div[@id='cat']/div/table/thead/tr/th[2]/div[text()='ID']");
+    $this->click("xpath=//table[@class='display dataTable no-footer']/thead/tr/th[2]/div[text()='ID']");
     $this->waitForElementPresent("css=table.display tbody tr td");
 
     // verify text