Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


UI tests #184

tristen opened this Issue · 3 comments

2 participants


Tests for UI interaction need to be built out to ensure we don't break interactions moving forward.

Looks like mocha is already in place for API side tests my plan would be to use mocha for this as well.

@tristen tristen self-assigned this

@tristen let me know if you want to sync up here -- curious to see what you're thinking.

  • Add a template var test to the style template. The vars to this template are passed in here ( If you add a value like test: 'test' in req.query, then in the template you'll be able to only include test scripts if test is in the querystring.
  • Include chai, mocha, and a test lib for the style page in the template. Do this at the end.
  • Write a really simple test assertion. And get it to run by going to the style page at like http://localhost:3000/style?id=tmstyle:///tmp-1371d3fb&test=true

Then let's hook it up to travis + phantom.

@tristen tristen referenced this issue

UI tests #194

1 of 1 task complete
@tristen tristen closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.