fix(form): do not prevent submit when action attribute equals to an empty string

Closes #3370
this is not right. the point of the test is to simulate conditions when the form is being submitted. which means that we need the action attribute set to something