public function checkContactSubmitCorrectData(FunctionalTester $I) { $I->submitForm('#contact-form', ['ContactForm[name]' => 'tester', 'ContactForm[email]' => '*****@*****.**', 'ContactForm[subject]' => 'test subject', 'ContactForm[body]' => 'test content', 'ContactForm[verifyCode]' => 'testme']); $I->seeEmailIsSent(); $I->see('Thank you for contacting us. We will respond to you as soon as possible.'); }