DescriptionTests mutating URL and not removing test nodes.
One of the hotkeys tests mutated the URL.
Both tests in that test case also failed when run
in isolation, and some variables were unused.
Also fixed tests leaving elements in the DOM:
as a consequence, "Environmenton excellent provider"
was visible at the top of the page after a test run.
Now the container used by those tests is removed
after each test is run. Also removed an XXX saying
that removing the elements in afterEach can be
problematic. I've tried to reproduce the erroneus
behavior described, running the test suite several
times, without success. Anyway, removing in afterEach
what was created in beforeEach is something we do
everywhere in the tests. So, that XXX confused me
a bit, any hint?
To avoid flickering in the test page, I tried to
hide the nodes used by tests where possible.
https://code.launchpad.net/~frankban/juju-gui/bug-1081803-tests-mutate-url/+merge/135670
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 3
Patch Set 2 : Tests mutating URL and not removing test nodes. #
Total comments: 1
Patch Set 3 : Tests mutating URL and not removing test nodes. #
MessagesTotal messages: 6
|