~benji/juju-gui/bug-1110515-loading-message-2

Viewing all changes in revision 382.

Test different browsers using the same env.

Re-deploying the charm to run tests in multiple browsers
is no longer required. Browsers can be specified as space
separated values in the environment variable 
JUJU_GUI_TEST_BROWSERS. Chrome is the default.

Note that currently only chrome tests pass.

Other changes:

Implemented a clean up function that can be used to
restore a pristine Juju environment, and added a 
test (deploy a charm) demonstrating how to use it.

bin/test-charm now exits with an error if one or 
more tests fail.

Improved browser testing documentation.

QA:

JUJU_GUI_TEST_BROWSERS="chrome firefox ie" \
    bin/test-charm lp:juju-gui

You should see chrome tests passing, all the 
others failing (or raising errors), and the charm 
deployed only once.

R=gary.poster, matthew.scott
CC=
https://codereview.appspot.com/7307104

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: