example of end-to-end browser testing with docker
Branch: master
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
test
.gitignore
Makefile
README.md
package.json

README.md

Example application showing end-2-end browser tests with docker containers that can be viewable with a vnc client.

To run:

  • start up the selenium container with make dockerSelenium

  • start up the app container with make dockerRun

  • inside the app container npm install then npm start to start the app on http://0.0.0.0:3030

  • in another terminal window attach inside the app container with make dockerAttach

  • run the tests with npm test

If you are using boot2docker you can view the app at <boot2docker ip>:3030.

To watch selenium with a vnc client: vnc://<boot2docker-ip>:5900 password secret.

HTML templates from: http://materializecss.com

vnc-screenshot