Integration-Testing JavaScript with Capybara
Let's learn about integration-testing in JavaScript.
JavaScript integration test difficulty
Nearly every Rails site uses JavaScript for something, and often JavaScript is a critical part of the user experience on sites. However, many sites don’t test their JavaScript in meaningful ways.
Part of the reason is that JavaScript can be difficult to test. Interactions and logic are often dependent on user interaction or the specific state of ...