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)

enhancement

Tracking

()

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
Depends on: 1410344
Depends on: 1410373
Depends on: 1410377
Depends on: 1410378
Depends on: 1410380
Depends on: 1410385
Depends on: 1410389
Depends on: 1410391
Depends on: 1410393
Depends on: 1410397
Depends on: 1410398
Depends on: 1410400
Depends on: 1410402
Depends on: 1410422
Depends on: 1410425
Depends on: 1410431
Depends on: 1410434
Depends on: 1410435
Depends on: 1410440
Depends on: 1410444
Depends on: 1410446
Depends on: 1410791
Depends on: 1410795
Depends on: 1410798
Depends on: 1410802
Depends on: 1410804
Depends on: 1410811
Depends on: 1410813
Depends on: 1410818
Depends on: 1410825
Depends on: 1410828
Depends on: 1410832
Depends on: 1410836
Depends on: 1410874
Depends on: 1410880
Depends on: 1410882
Depends on: 1410888
Depends on: 1410898
Depends on: 1410899
Component: General → Activity Streams: Newtab
Product: Core → Firefox
Depends on: 1410897
Blocks: 1410897
No longer depends on: 1410897
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
Depends on: 1411174
Depends on: 1411175
Depends on: 1421844
(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.
Depends on: 1441570
Depends on: 1442633
Component: Activity Streams: Newtab → New Tab Page
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.