Closed
Bug 1252088
Opened 10 years ago
Closed 10 years ago
Ripple click effect needs more unit tests
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: standard8, Assigned: mancas)
References
Details
(Keywords: regression, Whiteboard: [btpp-active])
Attachments
(1 file)
I was assessing releasing bug 1192208 in 1.1 and realised that it landed with very few unit tests. This reduced my confidence in pushing it out for a release slightly earlier.
We should cover this deficit. At a minimum we need to review & add tests for:
- https://github.com/mozilla/loop/commit/ffa38d3b682c8f1ea3a793dcfd6db7691789348b
- https://github.com/mozilla/loop/commit/f8a84b1dfb3341637569d465882354bcfd58f924
At a quick glance, this amounts to:
- In the first cset:
-- tests for remoteCursorStore.js & views.jsx changes in the first cset
- In the second cset:
-- tests for views.jsx changes
-- test for handling of _onRemoteCursorPositionChange (i.e. send event, does it get forwarded)
I'm reasonably happy for the bootstrap changes to be covered by other tests in a separate bug - as we need to get testing ifra in place for those wrt shared pointers.
| Reporter | ||
Updated•10 years ago
|
Rank: 15
Updated•10 years ago
|
Whiteboard: [btpp-active]
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → b.mcb
Status: NEW → ASSIGNED
Comment 1•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8726115 [details] [review]
[loop] mancas:bug1252088 > mozilla:master
I left a comment in the PR about the tests
Attachment #8726115 -
Flags: review?(standard8)
| Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8726115 [details] [review]
[loop] mancas:bug1252088 > mozilla:master
Looking good, I think there's just one small test to add still, but correct me if you think I'm wrong.
Attachment #8726115 -
Flags: review?(standard8)
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8726115 [details] [review]
[loop] mancas:bug1252088 > mozilla:master
I left a link in github to the test you're looking for. Please let me know if that test is enough or not.
Thanks!
Attachment #8726115 -
Flags: review?(standard8)
| Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8726115 [details] [review]
[loop] mancas:bug1252088 > mozilla:master
Thanks for pointing me in the direction of that test. Not sure how I missed it before.
Attachment #8726115 -
Flags: review?(standard8) → review+
| Assignee | ||
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•