Example app to show how to run your selenium tests in a Docker environment with Rails and Capybara
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.gitignore
.rspec
Dockerfile
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
docker-compose.yml

README.md

README

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

  1. Install docker and docker-compose.
  2. docker-compose up.
  3. See your selenium test successfully pass.