Closed
Bug 1232441
Opened 10 years ago
Closed 10 years ago
Improve karma unit test coverage - include panel tests, error detection
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(Not tracked)
RESOLVED
FIXED
Iteration:
46.1 - Dec 28
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
The karma tests in the github repo are currently not running the panel tests.
Also, we've not got detection of errors, which we should be able to add quite easily.
Additionally, I'd like to get them running Chrome locally, even if we can't easily do it on travis at the moment.
| Assignee | ||
Updated•10 years ago
|
Rank: 11
Priority: -- → P1
| Assignee | ||
Comment 1•10 years ago
|
||
Most of the test changes are fixes for Google Chrome.
We add in shared/standalone testing on Google Chrome locally. Remote doesn't yet work - I tried it on travis but there wasn't an obvious quick fix. Bug 994962 can pick the CI side of things up.
I've changed how the head/tail work so that we explicitly remove the two addEventListeners we don't want, and leave the stubbing to the tests.
Attachment #8698564 -
Flags: review?(dmose)
| Assignee | ||
Updated•10 years ago
|
Attachment #8698564 -
Flags: review?(edilee)
| Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8698564 [details] [review]
Link to Github pull-request: https://github.com/mozilla/loop/pull/10
Ok, I've now updated the PR with tools that let us run Chrome on Travis!
We run the latest Chrome stable which we have to get via a roundabout route. Travis has Chromium 37 installed by default and that doesn't support all the webrtc things we need for the unit tests (and the sdk will say unsupported for older than 39 anyway).
Attachment #8698564 -
Flags: review?(mdeboer)
Comment 4•10 years ago
|
||
I'm happy to review this, but I didn't get time to today. I'll pick it up in the morning, unless someone else has grabbed it by then.
Updated•10 years ago
|
Attachment #8698564 -
Flags: review?(mdeboer)
Attachment #8698564 -
Flags: review?(edilee)
Comment 5•10 years ago
|
||
Comment on attachment 8698564 [details] [review]
Link to Github pull-request: https://github.com/mozilla/loop/pull/10
Looks very nice! Please re-request review when the comments have been addressed or responded to...
Attachment #8698564 -
Flags: review?(dmose) → feedback+
| Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8698564 [details] [review]
Link to Github pull-request: https://github.com/mozilla/loop/pull/10
Updated PR
Attachment #8698564 -
Flags: review?(dmose)
Comment 7•10 years ago
|
||
Comment on attachment 8698564 [details] [review]
Link to Github pull-request: https://github.com/mozilla/loop/pull/10
Looks good! r=dmose with comment changes addressed.
Attachment #8698564 -
Flags: review?(dmose)
Attachment #8698564 -
Flags: review+
Attachment #8698564 -
Flags: feedback+
| Assignee | ||
Comment 8•10 years ago
|
||
Status: NEW → RESOLVED
Iteration: --- → 46.1 - Dec 28
Points: --- → 5
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•