Closed Bug 1779950 Opened 2 years ago Closed 2 years ago

Keep FxMS test corpus up to date for experimenter integration tests

Categories

(Firefox :: Messaging System, task, P1)

task

Tracking

()

RESOLVED FIXED
104 Branch
Iteration:
104.2 - July 11 - July 22
Tracking Status
firefox104 --- fixed

People

(Reporter: barret, Assigned: barret)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Bug 1778368 added a test corpus for make-schema.py for integration test purposes with Experimenter. These messages are copy-pasted from PanelTestProvider.jsm. Bug 1775187 expands this test corpus to include more messages from CFRMessageProvider.jsm and OnboardingMessageProvider.jsm. Again, these messages were extracted manually.

We want to automatically keep these up to date with:

  • a script to extract the messages and write the JSON files
  • a test that ensures that that the JSON files are up-to-date with respect to the various message providers.

This adds a new test that ensures that the *Provider.messages.json files are up
to date. The files themelves can be updated by running:

mach xpcshell browser/components/newtab/xpcbin/extract-test-corpus.js

Depends on D151984

Iteration: --- → 104.2 - July 11 - July 22
Priority: -- → P1
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/27ee9a04395f
Keep FxMS test corpus up-to-date for make-schemas.py r=nalexander
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: