From b2a3d72f31ee10f1cd69c78cf2a281cd8d61d3b0 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Mon, 12 Aug 2013 18:05:37 +0530 Subject: [PATCH] minor test fix --- tests/phpunit/WebTest/Contact/UpdateProfileTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/WebTest/Contact/UpdateProfileTest.php b/tests/phpunit/WebTest/Contact/UpdateProfileTest.php index f3609bca88..f0f67725f0 100644 --- a/tests/phpunit/WebTest/Contact/UpdateProfileTest.php +++ b/tests/phpunit/WebTest/Contact/UpdateProfileTest.php @@ -72,7 +72,6 @@ class WebTest_Contact_UpdateProfileTest extends CiviSeleniumTestCase { $this->assertTrue($this->isTextPresent($street), 'In line ' . __LINE__); $this->assertTrue($this->isTextPresent($city), 'In line ' . __LINE__); $this->assertTrue($this->isTextPresent($postalCode), 'In line ' . __LINE__); - $this->assertTrue($this->isElementPresent("//div[@id='profilewrap1']/div[@id='crm-container']/div[7]/div[2][contains(text(), 'AR')]")); + $this->assertTrue($this->isElementPresent("//div[@id='profilewrap1']/div[@id='crm-container']/div/div[7]/div[2][contains(text(), 'AR')]")); } -} - +} \ No newline at end of file -- 2.25.1