An Example of Meteor + Travis-ci + Nightwatch
Switch branches/tags
Nothing to show
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-logs
test-reports
tests
.gitignore
.travis.yml
README.md
nightwatch
nightwatch.json
package.json
run_tests
selenium-server-standalone-2.44.0.jar

README.md

Example of Meteor + Travis CI + Nightwatch

Build Status

You can see a successful build and an intentional failed build in the Travis-CI history of this project.

Right now, we are only using selenium and firefox on travis-ci.

If you want to see how to implement this yourself, take a look at the .travis.yml file.

screenshot

Things to notice

  • I have chosen to include the selenium stand-alone driver in my git repo, you may not want to so.
  • I have chosen to explicitly state that tests happen on http://localhost:3000/

TODO

  • I am downloading and installing the full Meteor application on every commit, it might be worth trying to cache it.
  • variation to do a phantomjs - which would be faster
  • variation to do an API interface to use multiple browser profiles at once - which would be awesome