Open
Bug 1410333
Opened 7 years ago
Updated 2 years ago
[meta] Add automated tests for Activity Stream functionality
Categories
(Firefox :: New Tab Page, enhancement)
Firefox
New Tab Page
Tracking
()
NEW
People
(Reporter: icrisan, Unassigned)
References
(Depends on 26 open bugs, Blocks 1 open bug)
Details
(Keywords: meta)
Link to the Activity Stream wiki page: https://wiki.mozilla.org/QA/Activity_Stream_%28system_add-on%29
The scope of this meta bug is to gather all the related bugs for this functionality and to track the progress.
One bug will be logged for each scenario from the following testrail link: https://testrail.stage.mozaws.net/index.php?/suites/view/1565&group_by=cases:section_id&group_id=7241&group_order=asc
Updated•7 years ago
|
Component: General → Activity Streams: Newtab
Product: Core → Firefox
Updated•7 years ago
|
Comment 1•7 years ago
|
||
On the activity stream repository side, there's already 100% js line coverage, but those tests don't currently run from mozilla-central. Here's a useful tool to see what's covered by mochitests:
https://codecov.io/gh/marco-c/gecko-dev/tree/master/browser/extensions/activity-stream
Comment 2•7 years ago
|
||
(In reply to Andrei Oprea [:andreio] from bug 1410380 comment #1)
> Testing top stories with mochitests would require network access which is
> not possible. As an alternative: top stories and highlights sections are
> similar so testing for the other would cover both.
I'm reopening all the WONTFIXed top stories bugs. Network requests are allowed as long as they don't hit remote servers. There's plenty of client features that depend on remote services that are tested via mochitests with locally hosted or generated responses. In this case, the story responses are just json that don't need to be dynamic for basic test coverage. We could probably just point the pref to a data uri.
Assignee | ||
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•