feat(tests): better api for fill in and submit the form