DescriptionTest 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.
https://code.launchpad.net/~frankban/juju-gui/bug-1116698-different-browsers/+merge/148017
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Test different browsers using the same env. #
MessagesTotal messages: 7
|