From cd2cbabd4c289369dc1ab25e564166f8ce96edda Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 30 Aug 2013 12:01:33 +0530 Subject: [PATCH] fix webtest --- tests/phpunit/WebTest/Contact/GroupAddTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/WebTest/Contact/GroupAddTest.php b/tests/phpunit/WebTest/Contact/GroupAddTest.php index bd4298fdb0..a97d8a175a 100644 --- a/tests/phpunit/WebTest/Contact/GroupAddTest.php +++ b/tests/phpunit/WebTest/Contact/GroupAddTest.php @@ -78,7 +78,7 @@ class WebTest_Contact_GroupAddTest extends CiviSeleniumTestCase { //assert created by in the edit page $this->assertTrue($this->isElementPresent( - "xpath=id('Edit')/div[2]/div/table/tbody/tr[2]/td[contains(text(), '{$createdBy}')]")); + "xpath=//form[@id='Edit']/div[2]/div/table/tbody/tr[2]/td[contains(text(), '{$createdBy}')]")); $this->openCiviPage('group', 'reset=1'); //search groups using created by -- 2.25.1