so I am trying to test that when the button is clicked the onSubmit function is getting triggered.
but I keep getting a test error saying that the onSubmit function isnt