From fb06ea422f02c5447bdc9873d04370e10003b5a2 Mon Sep 17 00:00:00 2001 From: Deepak Srivastava Date: Thu, 14 Mar 2013 17:41:07 +0530 Subject: [PATCH] towards webtest fixes --- tests/phpunit/WebTest/Contact/MergeContactsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/WebTest/Contact/MergeContactsTest.php b/tests/phpunit/WebTest/Contact/MergeContactsTest.php index 4cd0dd0a5d..8f9a10bcfc 100644 --- a/tests/phpunit/WebTest/Contact/MergeContactsTest.php +++ b/tests/phpunit/WebTest/Contact/MergeContactsTest.php @@ -202,8 +202,8 @@ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase { // Verify group merged $this->click("css=li#tab_group a"); - $this->waitForElementPresent("xpath=//div[@id='groupContact']//table/tbody/tr"); - $this->verifyText("xpath=//div[@id='groupContact']//table/tbody/tr/td/a", + $this->waitForElementPresent("xpath=//form[@id='GroupContact']//div[@class='view-content']//div[@class='dataTables_wrapper']/table/tbody/tr"); + $this->verifyText("xpath=//form[@id='GroupContact']//div[@class='view-content']//div[@class='dataTables_wrapper']/table/tbody/tr/td/a", preg_quote("$group") ); -- 2.25.1