Enable the What's New panel provider in mochitests to use Remote Settings data
Categories
(Firefox :: Messaging System, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: andreio, Assigned: andreio)
References
Details
Attachments
(1 file)
Remote Settings allows setting local data. This enables mochitests to populate the local RS db with data and prevent a network connection for syncing purposes.
If we write a test where we populate the whats-new
collection with test messages we can run in a scenario that is closer to reality than the current one that pushes fake messages for rendering to the panel.
Usage in tests: https://searchfox.org/mozilla-central/source/services/settings/test/unit/test_remote_settings_jexl_filters.js#14
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e687d00a3de0 Enable the What's New panel provider in mochitests to use Remote Settings data r=k88hudson
Comment 3•4 years ago
|
||
Backed out changeset e687d00a3de0 (Bug 1613101) for bc failures at browser_asrouter_whatsnewpanel.js.
https://hg.mozilla.org/integration/autoland/rev/3a22ad88177254e27142d2691c1ac3a0a7a240a4
Failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=288327502&repo=autoland&lineNumber=5709
Comment 4•4 years ago
|
||
There are node failures on ToolbarPanelHub.jsm too:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=288330500&repo=autoland&lineNumber=278
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/262da5ce2a55 Enable the What's New panel provider in mochitests to use Remote Settings data r=k88hudson
Comment 6•4 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Description
•