From 1a599e058bfc7037543fc51d5142642760b467ca Mon Sep 17 00:00:00 2001 From: kurund Date: Wed, 14 Aug 2013 13:14:19 +0530 Subject: [PATCH] fixes for --filter=testContributionPageSeparatePaymentPayLater WebTest_Contribute_ContributionPageAddTest --- tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php b/tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php index 3f44a049a2..e2c4fb8d8c 100644 --- a/tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php +++ b/tests/phpunit/WebTest/Contribute/ContributionPageAddTest.php @@ -241,8 +241,9 @@ class WebTest_Contribute_ContributionPageAddTest extends CiviSeleniumTestCase { //View Contribution for separate contribution $this->waitForElementPresent("xpath=//div[@id='contributionSearch']//table//tbody/tr[1]/td[11]/span/a[text()='View']"); // Open search criteria again - $this->click("xpath=id('Search')/x:div[2]/x:div/x:div[1]"); + $this->click("xpath=id('Search')/div[2]/div/div[1]"); $this->waitForElementPresent("financial_type_id"); + $this->type("sort_name", $firstName); $this->select('financial_type_id',"label=Donation"); $this->clickLink('_qf_Search_refresh', "xpath=//div[@id='contributionSearch']//table//tbody/tr[1]/td[11]/span/a[text()='View']"); -- 2.25.1