Hook up addon download count to AMO statistics

VERIFIED FIXED in mozilla2.0b7

Status

()

Toolkit
Add-ons Manager
VERIFIED FIXED
8 years ago
7 years ago

People

(Reporter: Unfocused, Assigned: Unfocused)

Tracking

Trunk
mozilla2.0b7
Points:
---
Bug Flags:
in-testsuite ?
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [rewrite])

Hook up addon download count to AMO statistics. Currently, the value is hard-coded.
Assignee: nobody → bmcbride
Version: unspecified → Trunk
Fixed awhile ago with bug 562902.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Verified fixed with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8pre) Gecko/20101106 Firefox/4.0b8pre

The tests on bug 562902 don't really test for the accurate download number. Does it require a manual test?
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Flags: in-litmus?
Target Milestone: --- → mozilla2.0b7
We don't expose the download number anymore
Flags: in-testsuite?
Flags: in-testsuite-
Flags: in-litmus?
Flags: in-litmus-
We do (kinda) - its in the details view of remote search results.
Oh, right
Flags: in-testsuite- → in-testsuite?
Would that really work with an automated test? I would be more in favor of comparing the number with the one from the live AMO site.
(In reply to comment #6)
> Would that really work with an automated test? I would be more in favor of
> comparing the number with the one from the live AMO site.

Since automated tests shouldn't be touching the network we can't do that, all we can do is verify that with a fixed API result that the correct numbers make it to the UI. Presumably AMO have tests verifying that the API is outputting the correct data.
(In reply to comment #7)
> (In reply to comment #6)
> > Would that really work with an automated test? I would be more in favor of
> > comparing the number with the one from the live AMO site.
> 
> Since automated tests shouldn't be touching the network we can't do that, all
> we can do is verify that with a fixed API result that the correct numbers make
> it to the UI. Presumably AMO have tests verifying that the API is outputting
> the correct data.

Krupa, can you comment on that? Do we have such a test available?

Comment 9

7 years ago
> Krupa, can you comment on that? Do we have such a test available?

We check for the download stats in discovery pane but not in the search results detail page. We will add a test for that. Thanks!
You need to log in before you can comment on or make changes to this bug.