From eb99a32ad659c23cc31bf3e50d39e31a470d5f47 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Fri, 13 Mar 2015 17:17:23 -0700 Subject: [PATCH] CRM-16109 - suppress fee section for waitlist and approval-required registration flows. Fix failing webtest: testEventApprovalRegistration WebTest_Event_AddEventTest ---------------------------------------- * CRM-16109: Confusing empty display of fees section during confirmation and thank-you for waitlisted and require-approval registrations https://issues.civicrm.org/jira/browse/CRM-16109 --- tests/phpunit/WebTest/Event/AddEventTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/WebTest/Event/AddEventTest.php b/tests/phpunit/WebTest/Event/AddEventTest.php index f9e875a764..0b7b674d34 100644 --- a/tests/phpunit/WebTest/Event/AddEventTest.php +++ b/tests/phpunit/WebTest/Event/AddEventTest.php @@ -959,7 +959,7 @@ WHERE ceft.entity_id = %1 AND ceft.entity_table = 'civicrm_contribution'"; $this->waitForElementPresent("_qf_Confirm_next"); $this->click('_qf_Confirm_next'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $this->waitForElementPresent("xpath=//div[@class='section']"); + $this->waitForElementPresent("xpath=//div[@class='crm-group participant_info-group']"); $this->assertTextPresent("Thank You for Registering"); } -- 2.25.1