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
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
The should change lambda that's commented out in your example won't usually work with asynchronous drivers, because the server thread will likely still be processing the request when you check to see if it created an appointment. Capybara has a helper called wait_until to deal with these async issues:
original_count=Appointment.countclick_button"Pay Now & Request Appointment"wait_until{Appointment.count == original_count + 1}
It's generally better to look for something on the page rather than looking for changes in the database. If you use matchers like have_content and have_css, Capybara will synchronize for you.
https://gist.github.com/f028102c7633780a8fe4
This fills out the form without the :js => true but when I add :js => true, it doesn't fill out the form anymore.
This isn't related to the fixture transactions issue as I've already changed that part.
The text was updated successfully, but these errors were encountered: