Tests fix
[civicrm-core.git] / tests / phpunit / WebTest / Event / AddParticipationTest.php
index 62aafb7987ed394253d38d5c2cbd5b145bd34356..7dadde372f99c39bbe62016df8d4f7ff931f80ff 100644 (file)
@@ -269,6 +269,7 @@ class WebTest_Event_AddParticipationTest extends CiviSeleniumTestCase {
     $this->click("xpath=//input[@class='crm-form-radio']");
 
     // Enter amount to be paid (note: this should default to selected fee level amount, s/b fixed during 3.2 cycle)
+    $this->waitForElementPresent('total_amount');
     $this->type('total_amount', '800');
 
     // Select payment method = Check and enter chk number