3

I'm using capybara and phantomjs (poltergeist). Seems that with that driver capybara is not always waiting until ajax processing is finished so I'm geting red specs randomly. Is there any way to test in rspec that datatable has finished loading records ?

1 Answer 1

0

From a similar question at Selenium through Capybara not loading page with jQuery dataTables 1.10.0 you can revert your ajax option to the old fnServerData and your specs should work again. Not sure why using ajax doesn't work though.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.