public function submitCreateForm(TestGuy $I) { $I->wantTo('submit create form test'); $I->amOnPage('/sections/0/nacm/'); $I->canSeeInCurrentUrl('/sections/0/nacm/'); $data['newNodeForm'] = array('parent' => '--*?1!', 'label0_--*?1!--*?1!' => 'groups', 'value0_--*?1!--*?1!' => '', 'label1_--*?1!--*?1!--*?1!' => 'group', 'value1_--*?1!--*?1!--*?1!' => '', 'label2_--*?1!--*?1!--*?1!--*?1!' => 'name', 'value2_--*?1!--*?1!--*?1!--*?1!' => 'bestsupertestever'); $I->sendAjaxPostRequest('/sections/0/nacm/', $data); // check what is in answer $I->see('block--state'); $I->see('bestsupertestever'); $I->dontSee('500 Internal Server Error'); }