Closed
Description
I've been struggling for a while trying to create integration tests that dealt with this library.
There are two things that would've saved me (and hopefully would save other devs) a lot of time had they been documented here:
-
Waiting for Ajax requests. Although not specific to this library, there's no way to test without knowing how to do this, and it's not the most thoroughly or widely documented trick. This guide worked well for me: https://robots.thoughtbot.com/automatically-wait-for-ajax-with-capybara
-
Configuring the test server used by Capybara to prevent this from breaking: https://stackoverflow.com/questions/27992619/capybara-selenium-webdriver-datatables-not-playing-nicely is a good reference.
Metadata
Metadata
Assignees
Labels
No labels