Summary

Let’s recap what we have learned throughout the chapter.

We'll cover the following

In this chapter, we looked at using integration-testing tools, specifically Capybara, to test JavaScript from outside the client-side code. If we’re getting the sense that using JavaScript drivers with Capybara is flaky, brittle, and frustrating, the only thing that we left out slow. We recommend using those drivers sparingly. Handle testing client interactions in JavaScript to the extent possible, and use server-side testing to specify what data is sent to the client.

Get hands-on with 1200+ tech skills courses.