Merge lp:~frankban/juju-gui/fix-notification-tests into lp:juju-gui/experimental
Proposed by
Francesco Banconi
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 279 | ||||
Proposed branch: | lp:~frankban/juju-gui/fix-notification-tests | ||||
Merge into: | lp:juju-gui/experimental | ||||
Diff against target: |
318 lines (+74/-159) 1 file modified
test/test_application_notifications.js (+74/-159) |
||||
To merge this branch: | bzr merge lp:~frankban/juju-gui/fix-notification-tests | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+139677@code.launchpad.net |
Description of the change
Restored notifications tests.
This branch restores the tests previously skipped
(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.
To post a comment you must log in.
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_