X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FEvent%2FAddParticipationTest.php;h=a5cda779ffc5c0e0457815eb30205f9b56abd029;hb=c4e6d4e890820913f538dc4e1663dfad2885d75e;hp=792de9a2d77a80985118bb15817571511c98366b;hpb=6aaef93661aaffbf8a30aa4930c64b6b62b52587;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Event/AddParticipationTest.php b/tests/phpunit/WebTest/Event/AddParticipationTest.php index 792de9a2d7..a5cda779ff 100644 --- a/tests/phpunit/WebTest/Event/AddParticipationTest.php +++ b/tests/phpunit/WebTest/Event/AddParticipationTest.php @@ -372,6 +372,18 @@ class WebTest_Event_AddParticipationTest extends CiviSeleniumTestCase { } } + function testAjaxCustomGroupLoad() { + $this->webtestLogin(); + + $customSets = array( + array('entity' => 'ParticipantEventName', 'subEntity' => 'Fall Fundraiser Dinner', + 'triggerElement' => array('name' => "event_id", 'type' => "select")), + array('entity' => 'ParticipantRole', 'subEntity' => 'Attendee','triggerElement' => array('type' => "checkbox")) + ); + $pageUrl = array('url' => "participant/add", 'args' => "reset=1&action=add&context=standalone"); + $this->customFieldSetLoadOnTheFlyCheck($customSets, $pageUrl); + } + function _fillParticipantDetails($firstName, $lastName, $processorId) { $this->select("id=profiles_1", "label=New Individual"); $this->waitForElementPresent('_qf_Edit_next'); @@ -385,5 +397,4 @@ class WebTest_Event_AddParticipationTest extends CiviSeleniumTestCase { $this->webtestAddCreditCardDetails(); $this->webtestAddBillingDetails(); } -} - +} \ No newline at end of file