You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the user flow spec (crystal spec spec/flows/user_spec.cr:16) I would get a failure. The flow tests that a user can log in, go to their account page and reset their password. However, the page appears to be loading too fast for selenium to be able to fill the password field. It's able to fill the password_confirmation however. The result is form errors when trying to change the password saying that passwordis required, is too short, and that password_confirmationmust match.
Putting a sleep(0.1) before filling the field (current committed) causes the test to pass, so I assume this is a race condition that we need to have flow wait to resolve.
When running the user flow spec (
crystal spec spec/flows/user_spec.cr:16
) I would get a failure. The flow tests that a user can log in, go to their account page and reset their password. However, the page appears to be loading too fast for selenium to be able to fill thepassword
field. It's able to fill thepassword_confirmation
however. The result is form errors when trying to change the password saying thatpassword
is required
,is too short
, and thatpassword_confirmation
must match
.Putting a
sleep(0.1)
before filling the field (current committed) causes the test to pass, so I assume this is a race condition that we need to have flow wait to resolve.edwardloveall/lucky_bits@b71f879
The text was updated successfully, but these errors were encountered: