-- webtest fixes and some inprovements based on the error on server
[civicrm-core.git] / tests / phpunit / WebTest / Contribute / OnlineContributionTest.php
index ab5c0a6cd1577f32e97561f7ad777d79fb676cab..face7e289ce76463879ff96daa4d299d1a4f98c3 100644 (file)
@@ -105,7 +105,7 @@ class WebTest_Contribute_OnlineContributionTest extends CiviSeleniumTestCase {
     $this->select("state_province-1", "value=1001");
 
     // Honoree Info
-    $this->click("xpath=id('Main')/x:div[2]/x:fieldset/x:div[2]/x:div/x:label[text()='In Honor of']");
+    $this->click("xpath=//form[@id='Main']/div[2]/fieldset/div[2]/div/input");
     $this->waitForElementPresent("honor_email");
 
     $this->select("honor_prefix_id", "label=Ms.");