Open Bug 1410333 Opened 2 years ago Updated 5 months ago
[meta] Add automated tests for Activity Stream functionality
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
Component: General → Activity Streams: Newtab
Product: Core → Firefox
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
(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.
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.