React ❤️ Rails

Bridge the Gap between Cypress & Rails for Testing

Most React apps with Rails-as-API aren’t built with end-to-end specs. Many of these developers think they are being E2E specs, because they have been misinformed about what E2E testing is. They think that using mock service workers and mocking out the API calls, and then testing the Rails app using request specs, is end-to-end. It is not. This is the primary antipattern that is now common throughout the React-Rails world.

Here are 3 gems that aim to bridge this gap and bring back true End-to-End testing for the modern React-Rails (separated apps) world.

https://github.com/roshreview/derail_specs

https://github.com/shakacode/cypress-on-rails

https://github.com/testdouble/cypress-rails

More Bridging Tools:

https://www.npmjs.com/package/react-rails-form-helpers