From d9a0c6be26cd44622ea765650fe937726018606f Mon Sep 17 00:00:00 2001
From: Web Access <web@web-desktop.(none)>
Date: Thu, 27 Mar 2014 20:46:19 +0530
Subject: [PATCH] Webtest fixes

---
 tests/phpunit/WebTest/Contact/AddTest.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tests/phpunit/WebTest/Contact/AddTest.php b/tests/phpunit/WebTest/Contact/AddTest.php
index 66eeca074b..d32b16a766 100644
--- a/tests/phpunit/WebTest/Contact/AddTest.php
+++ b/tests/phpunit/WebTest/Contact/AddTest.php
@@ -257,10 +257,7 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase {
     $this->select("preferred_language", "value=fr_FR");
 
     //Notes section
-    $this->clickAt("xpath=//div[text()='
-   
-    Notes
-  ']");
+    $this->clickAt("//*[@id='Contact']/div[2]/div[6]/div[1]");
     $this->waitForElementPresent("subject");
     $this->type("subject", "Grant's note");
     $this->type("note", "This is a household contact webtest note.");
-- 
GitLab