DEV Community

Discussion on: Testing Material UI form components

Collapse
 
kevinburton profile image
Kevin Burton

I would be interested in hearing your experience with submitting the form. I notice that you use 'fireEvent.click' which is the only way I could get it to work. I have seen others claim that fireEvent.submit works, but I have not had that experience. Thanks again for your post. It was most helpful.

Collapse
 
sama profile image
Samaila Bala

Hello Kevin, thanks for reading the article. I don't have any experience with using fireEvent.submit. However, I'll check it out to see how it works.