integration test with javascript for the event creation form