If you use Docker to deploy your Rails application you may want to use the same infrastructure to run your tests.
However the setup of your browser tests is far from obvious in Docker and may generate some confusion.
This Rails app present how to set up your Selenium tests in Docker as shown in this Blog post.
How to run it
- Install docker and docker-compose.
- docker-compose up.
- See your selenium test successfully pass.