Running through the Happy Path test to-dos. Tried to do a nice amount of refactoring to keep the testing concise but explicit, so I have some simple functions handling "Clicking Continue" and "Checking for Error Messages are Populated or Empty" since these are repeatable situations without a high amount of meaning or context for the test.
I would be interested to know if I should be waiting for a handleSubmit() to be called to confirm the happy path is successful rather than just checking the absence of error messages.
What does this PR do?
Running through the Happy Path test to-dos. Tried to do a nice amount of refactoring to keep the testing concise but explicit, so I have some simple functions handling "Clicking Continue" and "Checking for Error Messages are Populated or Empty" since these are repeatable situations without a high amount of meaning or context for the test.
I would be interested to know if I should be waiting for a
handleSubmit()
to be called to confirm the happy path is successful rather than just checking the absence of error messages.