From ac6e0435461f4e691bedbbf27a9af780b4df194c Mon Sep 17 00:00:00 2001 From: Pratik Joshi <pratik.joshi@webaccess.co.in> Date: Tue, 24 Sep 2013 18:01:23 +0530 Subject: [PATCH] fix for webtest : WebTest_Contribute_OnlineContributionTest::testOnlineContributionAdd --- tests/phpunit/WebTest/Contribute/OnlineContributionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/WebTest/Contribute/OnlineContributionTest.php b/tests/phpunit/WebTest/Contribute/OnlineContributionTest.php index 12f63dc29d..97bcdc74fd 100644 --- a/tests/phpunit/WebTest/Contribute/OnlineContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/OnlineContributionTest.php @@ -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=id('Main')/div[2]/fieldset/div[2]/div/label[text()='In Honor of']"); $this->waitForElementPresent("honor_email"); $this->select("honor_prefix_id", "label=Ms."); -- GitLab