This branch restores the tests previously skipped
(as a consequence of the topology refactor) in
``test_application_notifications``.
Simplified the way the number of notifications is
tested: now, rather than checking a value in the DOM,
we check how many model instances are present in
the notifications model list.
Also added a test for the notifications view, that was
no longer exercised due to the change described above.
Reviewers: mp+139677_ code.launchpad. net,
Message:
Please take a look.
Description:
Restored notifications tests.
This branch restores the tests previously skipped application_ notifications` `.
(as a consequence of the topology refactor) in
``test_
Simplified the way the number of notifications is
tested: now, rather than checking a value in the DOM,
we check how many model instances are present in
the notifications model list.
Also added a test for the notifications view, that was
no longer exercised due to the change described above.
https:/ /code.launchpad .net/~frankban/ juju-gui/ fix-notificatio n-tests/ +merge/ 139677
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/6942045/
Affected files: application_ notifications. js
A [revision details]
M test/test_