Merge lp:~deryck/launchpad/fix-me-too-unit-test-491441 into lp:launchpad/db-devel
Proposed by
Deryck Hodge
Status: | Merged |
---|---|
Approved by: | Edwin Grubbs |
Approved revision: | not available |
Merge reported by: | Deryck Hodge |
Merged at revision: | not available |
Proposed branch: | lp:~deryck/launchpad/fix-me-too-unit-test-491441 |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
30 lines (+3/-3) 1 file modified
lib/canonical/launchpad/javascript/bugs/tests/test_me_too.js (+3/-3) |
To merge this branch: | bzr merge lp:~deryck/launchpad/fix-me-too-unit-test-491441 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edwin Grubbs (community) | code | Approve | |
Review via email: mp+15561@code.launchpad.net |
Commit message
Make the me too JavaScript unit test pass again.
To post a comment you must log in.
This branch fixes the JavaScript unit test for the "affects me too" feature. This is bug 491441.
Four of the tests in the module were broken because the click to open the overlay was never completed, since the test used mousedown. The fix is to simply use a click event. Now all the tests pass.
To run the test:
firefox lib/canonical/ launchpad/ javascript/ bugs/tests/ test_me_ too.js