mozilla/fjord — pull request #301 by willkg (2014-05-30 22:14:28+00:00)
Title: [WIP] add smoketests to fjord

This adds a set of selenium-based smoke tests to fjord.

What's really going on is that it adds some slightly funky infrastructure so as to mimic the mozwebqa infrastructure used for the tests in the input-tests repository.

What works?

1. README for setting things up
2. running destructive and non-destructive tests
3. running the tests against localhost, stage or production (or other places!)
4. `nosetests tests/test_search.py` and `nosetests tests/test_generic_feedback.py`

My immediate need is to run it locally whenever I make ui changes and update the tests when I needed to. We could later run them in jenkins on commits, too. We can move these tests back to input-tests later and/or move tests they write here. This is designed not to be comprehensive tests--just client-side smoketests.

The magic is in:

1. `README.rst`
2. `tests/__init__.py`
3. `tests/test_search.py` (there's no magic there--just shows some tests)

Thoughts on this approach?